Robert Murrell
|
Re: How to use a USB barcode reader as an HID device
|
Robert Murrell
12/10/2012 10:17 AM
post97936
|
Re: How to use a USB barcode reader as an HID device
I have verified that the console is in raw mode. I found the setup program for the barcode reader that lets me
configure some parameters. I programmed it to issue a carriage return after a read, and ran devc-con-hid in edit mode.
This didn't help.
I found that if I boosted the priority of the usbdi_event_handler(6) task in io-hid to 15, the problem went away. This
priority is above the UI, logging, and Ethernet tasks and even with our serial communications task.
I could boost this task's priority in our application when it starts, but I only want to do this as a last resort. Is
there any native way to boost this task in io-hid?
I would be satisfied by a custom version of io-hid, but access to the source code is nearly impossible now.
|
|
|