I have a barcode scanner and I was testing some configurations to make it work for a client and I messed up so deep. The problem is that I wrongly selected the IBM USB OEM option and now I am stuck with a scanner that doesn't want to boot.
I made a little research and this is what I managed to know:
When I attach the device to a USB port this is what dmesg tells me:
[ 738.106806] usb 1-4: new full-speed USB device number 100 using xhci_hcd
[ 738.133622] usb 1-4: Device not responding to setup address.
[ 738.369618] usb 1-4: Device not responding to setup address.
[ 738.578798] usb 1-4: device not accepting address 100, error -71
The device refuses to boot and then power cycles. I managed to get documentation about IBM USB OEM codes and I have a manual that says that I have to send this data to at least have it in operating mode and accepting barcode reads:
3.2.2
Command Description
3.2.2.1 Enable Scanner
Command: 11h, 00h, 00h, 00h, 00h, 00h, 00h, 00h, 00h, 00h, 00h
This command enables the scanner to read bar codes.
Scanner response: Send three-byte status indicating “scanner enabled”.
Is there a way to send this hex raw data trough all ports as some kind of stream so with a little bit of luck I can get the barcode scanner operating to switch it to HID mode?
Or there is another way to make it work at least to accept a single barcode? If this place is the wrong place to ask this kind of question, please guys point me in the right direction because I need to fix this ASAP.
Thank you. Sorry for my bad English.