Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Looking for virtual USB HID driver

We designed a special communication tool for use on a wheelchair to control lights etc. We use Z-wave. We have app for control of these devices via PC.

Unfortunately, the app expects a USB stick. Our design does not allow a USB connected stick. Instead we use serial interface module that links to the pc via Bluetooth and a virtual comport. We know that the application uses HID standard windriver. (no third party driver involved)

We were wondering if we could use a HID "wrapper" driver that simulates the USB identifiers and PnP in a way that the application thinks that a stick is connected, and then links the Bluetooth virtual comport data to the app.

like image 489
jacob Avatar asked Jan 24 '23 00:01

jacob


1 Answers

Yes, I believe it is possible, could be quite interesting, never thought of simulating a HID device with a PC. Does anyone in your group have any driver development experience? If not, prepare for a steep learning curve.

Question: by "USB stick" do you mean a USB flash drive that contains a file with the instructions, or some type of HID device, like a mouse or a joystick, as the title suggests?

It doesn't really matter though, in either case it is certainly possible to write a driver to simulate it with a PC. Whether it is economical for your shop/project to upskill you to the point where you can do that is the main question. This would definitely not be code you can cut out in a weekend.

like image 190
Dale Avatar answered Jan 25 '23 13:01

Dale