Our product includes some custom hardware, that connects to a PC via USB. We\'ve started looking into automatic testing, but so far I\'m unable to find a tool that can recor
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