USB hub a nefunkcni pripojene zarizeni

Zdenek SUTR Kaminski sutr na valachian-labs.com
Středa Srpen 9 10:42:15 CEST 2006


Dobry den,

  koupil jsem 7mi portovy usb 2.0 hub s externim napajenim. Po zapojeni do 
pocitace se mi objevi v dmesg:

usb 2-3: new high speed USB device using ehci_hcd and address 5
usb 2-3: configuration #1 chosen from 1 choice
hub 2-3:1.0: USB hub found
hub 2-3:1.0: 7 ports detected

a lsusb -v hlasi:

Bus 002 Device 006: ID 04cc:1521 Philips Semiconductors USB 2.0 Hub
Device Descriptor:
   bLength                18
   bDescriptorType         1
   bcdUSB               2.00
   bDeviceClass            9 Hub
   bDeviceSubClass         0 Unused
   bDeviceProtocol         1 Single TT
   bMaxPacketSize0        64
   idVendor           0x04cc Philips Semiconductors
   idProduct          0x1521 USB 2.0 Hub
   bcdDevice            2.00
   iManufacturer           0
   iProduct                0
   iSerial                 0
   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
       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     0x0001  1x 1 bytes
         bInterval              12
Hub Descriptor:
   bLength               9
   bDescriptorType      41
   nNbrPorts             7
   wHubCharacteristic 0x0032
     No power switching (usb 1.0)
     No overcurrent protection
     TT think time 16 FS bits
   bPwrOn2PwrGood        0 * 2 milli seconds
   bHubContrCurrent    100 milli Ampere
   DeviceRemovable    0x00
   PortPwrCtrlMask    0x60
  Hub Port Status:
    Port 1: 0000.0000
    Port 2: 0000.0000
    Port 3: 0000.0000
    Port 4: 0000.0000
    Port 5: 0000.0000
    Port 6: 0000.0000
    Port 7: 0000.0000
Device Qualifier (for other device speed):
   bLength                10
   bDescriptorType         6
   bcdUSB               2.00
   bDeviceClass            9 Hub
   bDeviceSubClass         0 Unused
   bDeviceProtocol         0
   bMaxPacketSize0        64
   bNumConfigurations      1


coz je v poradku.

Kdyz pak pripojim mys do nejakeho portu, tak vidim v port styatus zmenu 
na:

  Hub Port Status:
    Port 1: 0000.0100 power
    Port 2: 0000.0100 power
    Port 3: 0000.0100 power
    Port 4: 0000.0100 power
    Port 5: 0000.0100 power
    Port 6: 0000.0103 power enable connect
    Port 7: 0000.0100 power
    Port 8: 0000.0100 power

coz je asi take v poradku. Nicmene mys neni dale rozpoznana a 
nefunguje.Pri zasunuti do portu v hubu mys blikne a dost. Pri zasunuti 
primo do usb portu na desce, kam chci jinak zasunout hub, tak mys blikne a 
zacne trvale sviti a je rozpoznana

usb 1-3: new low speed USB device using ohci_hcd and address 3
usb 1-3: configuration #1 chosen from 1 choice
input: Logitech Optical USB Mouse as /class/input/input3
input: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on 
usb-0000:00:02.0-3


a funguje. Kde delam neco spatne? Mel jsem za to, ze na usb hubu neni 
zadna magie.

Pouzivam FC5 s aktualnimi updaty. a vyse uvedene chovani je jak na 
notebooku (centrino), tak na stolnim pc (amd64).

Za kazdy dobry napad diky.

Z.K.
--
Wallachian Laboratories? Freeride in UN*X systems...


Další informace o konferenci Linux