LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   can't read from USB barcode scanner (https://www.linuxquestions.org/questions/linux-hardware-18/cant-read-from-usb-barcode-scanner-554363/)

JoyPA 05-16-2007 10:21 AM

can't read from USB barcode scanner
 
Hi all!

I have attached to my system USB barcode scanner Cipher-1000

# cat /etc/sysconfig/hwconf
................
class: OTHER
bus: USB
detached: 0
desc: "Unknown USB device 0x745:0x1000"
usbclass: 255
usbsubclass: 0
usbprotocol: 0
usbbus: 2
usblevel: 1
usbport: 1
usbdev: 2
vendorId: 0745
deviceId: 1000
...............

# /sbin/modprobe usbserial vendor=0x745 product=0x1000

localhost kernel: usbcore: registered new driver usbserial
localhost kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
localhost kernel: usbserial_generic 2-2:1.0: generic converter detected
localhost kernel: usb 2-2: generic converter now attached to ttyUSB0
localhost kernel: usbcore: registered new driver usbserial_generic
localhost kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core

# cat /proc/tty/drivers
/dev/tty /dev/tty 5 0 system:/dev/tty
/dev/console /dev/console 5 1 system:console
/dev/ptmx /dev/ptmx 5 2 system
/dev/vc/0 /dev/vc/0 4 0 system:vtmaster
usbserial /dev/ttyUSB 188 0-254 serial
serial /dev/ttyS 4 64-95 serial
pty_slave /dev/pts 136 0-1048575 pty:slave
pty_master /dev/ptm 128 0-1048575 pty:master
unknown /dev/tty 4 1-63 console

# stty -F /dev/ttyUSB0 cread clocal 38400 raw

For checking device do the follow
# cat /dev/ttyUSB0
when scan barcode and ... NOTHING !!!

What & where I do not right ????

P.S. scanner checked under MS WS 2003.

Thanks for help.


All times are GMT -5. The time now is 10:50 AM.