I have this usb card:
Edimax USB 2.0 PCI Card
Chip: VIA VT6202 Ver. 8.
Ports: 4

It works correctly with uhci, but does not work with ehci.

Modprobe gives 2 errors with ehci [0].

Interresting is, that uhci finds 2 hubs with 2 ports, but ehci finds 1 hub 
with 4 ports [1] [2].

Do you think there is just one hub for ehci, or has the hub detection in the 
driver a bug?

Also possible is that the wireing on the motherboard has a problem, because 
the motherboard has 4 ports integrated. These ports work with ohci. What can 
i do if this is the problem?

Here are the error messages when I plug in an usb storage with ehci [3].

Thanks for any tipps, please ask for more information if needed!
Markus

[0]
May 22 09:10:54 localhost kernel: ehci_hcd 00:0c.2: USB 2.0 enabled, EHCI
0.95, driver 2003-Dec-29/2.4
May 22 09:10:54 localhost kernel: hub.c: USB hub found
May 22 09:10:54 localhost kernel: hub.c: 4 ports detected
Mai 22 09:10:54 localhost usb: Initializing USB controller (ehci-hcd):
succeeded
May 22 09:10:54 localhost kernel: hub.c: port 3 over-current change
May 22 09:10:54 localhost kernel: hub.c: port 4 over-current change

[1]
1.1. uhci

Bus 002 Device 001: ID 0000:0000 Virtual Hub
  idVendor           0x0000 Virtual
  idProduct          0x0000 Hub
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.7 uhci_hcd
  iProduct                2 VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller (#2)
  iSerial                 1 0000:00:0c.1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none


Bus 001 Device 001: ID 0000:0000 Virtual Hub
  idVendor           0x0000 Virtual
  idProduct          0x0000 Hub
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.7 uhci_hcd
  iProduct                2 VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller
  iSerial                 1 0000:00:0c.0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none

1.2. ehci:

Bus 001 Device 001: ID 0000:0000 Virtual Hub
  idVendor           0x0000 Virtual
  idProduct          0x0000 Hub
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.7 ehci_hcd
  iProduct                2 VIA Technologies, Inc. USB 2.0
  iSerial                 1 0000:00:0c.2
       Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none

[2]
2.1. uhci_hcd

May 31 07:31:07 superbyte kernel: uhci_hcd 0000:00:0c.0: VIA Technologies, 
Inc. USB
May 31 07:31:07 superbyte kernel: uhci_hcd 0000:00:0c.0: irq 5, io base 
0000da00
May 31 07:31:07 superbyte kernel: uhci_hcd 0000:00:0c.0: new USB bus 
registered, assigned bus number 2
May 31 07:31:07 superbyte kernel: hub 2-0:1.0: USB hub found
May 31 07:31:07 superbyte kernel: hub 2-0:1.0: 2 ports detected
May 31 07:31:07 superbyte kernel: AMD756: dev 1106:3038, router pirq : 2 get 
irq : 11
May 31 07:31:07 superbyte kernel: PCI: Found IRQ 11 for device 0000:00:0c.1
May 31 07:31:07 superbyte kernel: uhci_hcd 0000:00:0c.1: VIA Technologies, 
Inc. USB (#2)
May 31 07:31:07 superbyte kernel: uhci_hcd 0000:00:0c.1: irq 11, io base 
0000dc00
May 31 07:31:07 superbyte kernel: uhci_hcd 0000:00:0c.1: new USB bus 
registered, assigned bus number 3
May 31 07:31:07 superbyte kernel: hub 3-0:1.0: USB hub found
May 31 07:31:07 superbyte kernel: hub 3-0:1.0: 2 ports detected

2.2. ehci_hcd

May 31 07:31:07 superbyte kernel: AMD756: dev 1106:3104, router pirq : 3 get 
irq :  9
May 31 07:31:07 superbyte kernel: PCI: Found IRQ 9 for device 0000:00:0c.2
May 31 07:31:07 superbyte kernel: PCI: Sharing IRQ 9 with 0000:00:0a.0
May 31 07:31:07 superbyte kernel: ehci_hcd 0000:00:0c.2: VIA Technologies, 
Inc. USB 2.0
May 31 07:31:07 superbyte kernel: ehci_hcd 0000:00:0c.2: irq 9, pci mem 
d8965f00
May 31 07:31:07 superbyte kernel: ehci_hcd 0000:00:0c.2: new USB bus 
registered, assigned bus number 4
May 31 07:31:07 superbyte kernel: ehci_hcd 0000:00:0c.2: USB 2.0 enabled, EHCI 
0.95, driver 2003-Dec-29
May 31 07:31:07 superbyte kernel: hub 4-0:1.0: USB hub found
May 31 07:31:07 superbyte kernel: hub 4-0:1.0: 4 ports detected



[3]
3.1. Port 2: (raw sense data error)
Jun  6 20:05:07 superbyte kernel: usb 1-2: new high speed USB device using 
address 3
Jun  6 20:05:08 superbyte kernel: scsi10 : SCSI emulation for USB Mass Storage 
devices
Jun  6 20:05:08 superbyte kernel:   Vendor: TinyDisk  Model: 2004-03-31        
Rev: 2.00
Jun  6 20:05:08 superbyte kernel:   Type:   Direct-Access                      
ANSI SCSI revision: 02
Jun  6 20:05:08 superbyte kernel: sda: Unit Not Ready, sense:
Jun  6 20:05:08 superbyte kernel: Current : sense = 70  6
Jun  6 20:05:08 superbyte kernel: ASC=28 ASCQ= 0
Jun  6 20:05:08 superbyte kernel: Raw sense data:0x70 0x00 0x06 0x00 0x00 0x00 
0x00 0x0a 0x00 0x00 0x00 0x00 0x28 0x00 0x00 0x00 0x00 0x00
Jun  6 20:05:08 superbyte kernel: SCSI device sda: 512000 512-byte hdwr 
sectors (262 MB)
Jun  6 20:05:08 superbyte kernel: sda: assuming Write Enabled
Jun  6 20:05:08 superbyte kernel:  sda: sda1
Jun  6 20:05:08 superbyte kernel: Attached scsi removable disk sda at scsi10, 
channel 0, id 0, lun 0
Jun  6 20:05:08 superbyte kernel: Attached scsi generic sg0 at scsi10, channel 
0, id 0, lun 0,  type 0
Jun  6 20:05:09 superbyte scsi.agent[7176]: disk at /devices/
pci0000:00/0000:00:0c.2/usb1/1-2/1-2:1.0/host10/10:0:0:0

3.2. Port 4:

ehci_hcd 0000:00:0c.2: port 4 reset error -110
hub 4-0:1.0: hub_port_status failed (err = -32)
ehci_hcd 0000:00:0c.2: port 4 reset error -110
hub 4-0:1.0: hub_port_status failed (err = -32)
ehci_hcd 0000:00:0c.2: port 4 reset error -110
hub 4-0:1.0: hub_port_status failed (err = -32)
ehci_hcd 0000:00:0c.2: port 4 reset error -110
hub 4-0:1.0: hub_port_status failed (err = -32)
ehci_hcd 0000:00:0c.2: port 4 reset error -110
hub 4-0:1.0: hub_port_status failed (err = -32)
hub 4-0:1.0: Cannot enable port 4.  Maybe the USB cable is bad?
usb 3-2: new full speed USB device using address 2
usb 3-2: USB disconnect, address 2


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to