Hi all!Хочу иметь USB сканер штрих-кодов Cipher-1000 + Linux
подключаю->
# 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
Хочу проверить по аналогии с com portoвским
# stty -F /dev/ttyUSB0 cread clocal 38400 raw
# cat /dev/ttyUSB0
when scan barcode and ... NOTHING !!!
В чем проблема ???
P.S. Все отлично работает по MS WS2003