Mocking USB input

Mocking usb devices using umockdev

Umockdev is a linux based application which record the behaviour as well as properties of hardware and run the software independent of actual hardware it is running on. Hardware devices can be simulated in virtual environments
without disturbing the whole system.It currently supports sysfs, uevents, basic support for /dev devices, and recording/mocking usbdevfs ioctls (for PtP/MTP devices). It helps for creating integration test for hardware related libraries.

source code and examples

umockdev home page

Leave a Comment