Reading barcode from RaspberryPi3

d daeken kwon 3 years 6 months ago
12 0 0

Model: DS6878

When I connect barcode reader to Raspberry, I can see /dev/ttydraw2.
I tried to get barcode value like below but failed. (No letter is seen)
$ sudo cat -v /dev/hidraw2

I checked dmesg for checking this.

[ 6147.485443] usb 1-1.5: new full-speed USB device number 9 using dwc_otg
[ 6147.629252] usb 1-1.5: New USB device found, idVendor=05e0, idProduct=1200
[ 6147.629269] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6147.629277] usb 1-1.5: Product: Symbol Bar Code Scanner
[ 6147.629285] usb 1-1.5: Manufacturer: ᄅSymbol Technologies, Inc, 2002
[ 6147.629294] usb 1-1.5: SerialNumber: S/N:96AA0CFD8BAA3F4A94FF0901C73C93F6 Rev:NBCACAAS3
[ 6147.641380] input: ᄅSymbol Technologies, Inc, 2002 Symbol Bar Code Scanner as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/0003:05E0:1200.0006/input/input5
[ 6147.706868] hid-generic 0003:05E0:1200.0006: input,hidraw2: USB HID v1.10 Keyboard [ᄅSymbol Technologies, Inc, 2002 Symbol Bar Code Scanner] on usb-3f980000.usb-1.5/input0

I think that something is needed to change USB HID to ttyUSBx or ttyACMx.
I've searched ZEBRA Site but I can not find.
Could you help me to solve this ?

CONTACT
Can’t find what you’re looking for?