I have a CF-1KB barcode reader connected to an RS232 to PS/2 adaptor and a PS/2 to USB adaptor. I'm not sure how the device works so I'm trying to figure it out by looking at what information I'm getting from the device.
When connected to my computer, it gives me
[ 3673.610054] usb 4-1: new low speed USB device using uhci_hcd and address 3 [ 3673.900448] input: Generic USB K/B as /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.0/input/input16 [ 3673.900746] generic-usb 0003:13BA:0017.0003: input,hidraw0: USB HID v1.10 Keyboard [Generic USB K/B] on usb-0000:00:1a.1-1/input0 [ 3673.916733] input: Generic USB K/B as /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.1/input/input17 [ 3673.916890] generic-usb 0003:13BA:0017.0004: input,hidraw1: USB HID v1.10 Mouse [Generic USB K/B] on usb-0000:00:1a.1-1/input1
sudo cat /dev/hidraw0 and
sudo cat /dev/hidraw1 gives me either unreproducible gibberish each time I scan something or nothing at all.
Where can I look to find useful data from the device?