I am attempting to use this guide to create a rule for a symbol barcode scanner. The scanner works perfectly in Linux, becoming a keyboard when it is plugged in... except that is not what I want. I would like the output to go to a file, or a serial port style device.
I have written a rule in a file named 09-symbol.rules:
Code:
ATTRS{idVendor}=="05e0", OPTIONS+="ignore_device"
I also tried
Code:
SYSFS{idVendor}=="05e0", OPTIONS+="ignore_device"
I then
Code:
sudo /etc/init.d/udev restart
I then disconnect and re-connect the device, which causes this output in /var/messages
Code:
Aug 30 02:39:36 inky kernel: [53458.705373] usb 4-1: new full speed USB device using uhci_hcd and address 8
Aug 30 02:39:37 inky kernel: [53458.911375] usb 4-1: configuration #1 chosen from 1 choice
Aug 30 02:39:37 inky kernel: [53458.922426] input: ?Symbol Technologies, Inc, 2002 Symbol Bar Code Scanner as /devices/pci0000:00/0000:00:1d.3/usb4/4-1/4-1:1.0/input/input20
Aug 30 02:39:37 inky kernel: [53458.949614] input,hidraw0: USB HID v1.10 Keyboard [?Symbol Technologies, Inc, 2002 Symbol Bar Code Scanner] on usb-0000:00:1d.3-1
I intentionally used the "ignore_device" rule, so I would know when I have the rule recognized, and then could work on what I want the rule to do, but as you can see, it is still set-up as an HID keyboard.
Thanks for your help !