Fedora linux forum

Форум русской поддержки ОС Fedora linux

https://myhandmade7.com разнообразные рецепты консервирования баклажанов на зиму. Подробное описание сауна с бассейном воронеж тут

#1 2009-05-13 10:40:28

wait
New member
Зарегистрирован: 2009-05-13
Сообщений: 1

barcode scanner Opticon OPV-1001 Fedora 10

Бьюсь уже 3 день, в винде ставится драйвер который эмулирует com порт и все работает на ура, в Fedora он опзнается видится в usb устройствах и даже может сканировать подает сигнал что штрих код считан, но вывести его хотя бы на экран не получается, проблема в том что modprobe или не до конца отрабатывает или я что то еще не доделал.
вот вывод устройств ucb вроде как видится он
[root@MailServer ~]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 065a:0009 Optoelectronics Co., Ltd
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

при его поключении в ucb в логах пишет следующее

[root@MailServer log]# dmesg | tail -6
usb 3-1: new full speed USB device using uhci_hcd and address 3
usb 3-1: configuration #1 chosen from 1 choice
usb 3-1: New USB device found, idVendor=065a, idProduct=0009
usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 3-1: Product: Barcode Device
usb 3-1: Manufacturer: Optoelectronics Co., Ltd.


кусок вывода lsusb -v

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.27.5-117.fc10.i686 uhci_hcd
  iProduct                2 UHCI Host Controller
  iSerial                 1 0000:00:1d.1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
Hub Port Status:
   Port 1: 0000.0103 power enable connect
   Port 2: 0000.0100 power
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

[root@MailServer log]# cat /proc/bus/usb/devices

кусок вывода

T:  Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=065a ProdID=0009 Rev= 2.04
S:  Manufacturer=Optoelectronics Co., Ltd.
S:  Product=Barcode Device
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms

здесь вроде про то что драйвера нет

но попытка его создать была

[root@MailServer log]# modprobe usbserial vendor=0x1d6b  product=0x0001

может подскажите что не так или что еще надо сделать ?

Отредактированно wait (2009-05-13 11:40:51)

Неактивен