I'm having a problem with USB on a Alpha DP264 system. I've tried several
kernels with the latest being 2.6.11.11. The motherboard has an onboard
Cypress/Contaq 82c693UB chip. The chip is recognized by the OHCI driver,
but there seems to be some problem during initialization. I've tried
poking around a couple of different places but I haven't been able
to figure out enough about USB to find out what is wrong. I appreciate
if someone can look at these messages and see what might be going wrong.
lspci shows:
00:05.3 USB Controller: Contaq Microsystems 82c693 (prog-if 10 [OHCI])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+
FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort-
<MAbort- >SERR-
<PERR-
Latency: 64, Cache Line Size 08
Interrupt: pin A routed to IRQ 10
Region 0: Memory at 0000000009070000 (32-bit, non-prefetchable)
[size=4K]
00: 80 10 93 c6 07 01 80 02 00 10 03 0c 08 40 80 00
10: 00 00 07 09 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 0a 01 00 00
40: 00 00 0f 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
These are the log messages after I modprobe usbcore, mount /proc/bus/usb and
modprobe
ohci-hcd:
Jun 12 12:43:45 fish kernel: usbcore: registered new driver usbfs
Jun 12 12:43:45 fish kernel: usbcore: registered new driver hub
Jun 12 12:44:39 fish kernel: ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host
Controller (OHCI)
Driver (PCI)
Jun 12 12:44:39 fish kernel: ohci_hcd: block sizes: ed 80 td 96
Jun 12 12:44:39 fish kernel: ohci_hcd 0000:00:05.3: OHCI Host Controller
Jun 12 12:44:39 fish kernel: PCI: Setting latency timer of device 0000:00:05.3
to 64
Jun 12 12:44:39 fish kernel: ohci_hcd 0000:00:05.3: irq 10, pci mem 0x9070000
Jun 12 12:44:39 fish kernel: ohci_hcd 0000:00:05.3: new USB bus registered,
assigned bus
number 1
Jun 12 12:44:39 fish kernel: ohci_hcd 0000:00:05.3: resetting from state
'reset', control
= 0x0
Jun 12 12:44:39 fish kernel: ohci_hcd 0000:00:05.3: enabling initreset quirk
Jun 12 12:44:39 fish kernel: ohci_hcd 0000:00:05.3: OHCI controller state
Jun 12 12:44:39 fish kernel: ohci_hcd 0000:00:05.3: OHCI 1.0, with legacy
support
registers
Jun 12 12:44:39 fish kernel: ohci_hcd 0000:00:05.3: control 0x083
HCFS=operational CBSR=3
Jun 12 12:44:39 fish kernel: ohci_hcd 0000:00:05.3: cmdstatus 0x00000 SOC=0
Jun 12 12:44:39 fish kernel: ohci_hcd 0000:00:05.3: intrstatus 0x00000044 RHSC
SF
Jun 12 12:44:39 fish kernel: ohci_hcd 0000:00:05.3: intrenable 0x8000000a MIE
RD WDH
Jun 12 12:44:39 fish kernel: ohci_hcd 0000:00:05.3: hcca frame #0003
Jun 12 12:44:39 fish kernel: ohci_hcd 0000:00:05.3: roothub.a 01000202 POTPGT=1
NPS NDP=2
Jun 12 12:44:39 fish kernel: ohci_hcd 0000:00:05.3: roothub.b 00000000
PPCM=0000 DR=0000
Jun 12 12:44:39 fish kernel: ohci_hcd 0000:00:05.3: roothub.status 00028002
OCIC DRWE OCI
Jun 12 12:44:39 fish kernel: ohci_hcd 0000:00:05.3: roothub.portstatus [0]
0x00000100 PPS
Jun 12 12:44:39 fish kernel: ohci_hcd 0000:00:05.3: roothub.portstatus [1]
0x00000100 PPS
Jun 12 12:44:39 fish kernel: usb usb1: new device strings: Mfr=3, Product=2,
SerialNumber=1
Jun 12 12:44:39 fish kernel: usb usb1: default language 0x0409
Jun 12 12:44:39 fish kernel: usb usb1: Product: OHCI Host Controller
Jun 12 12:44:39 fish kernel: usb usb1: Manufacturer: Linux 2.6.11.11 ohci_hcd
Jun 12 12:44:39 fish kernel: usb usb1: SerialNumber: 0000:00:05.3
Jun 12 12:44:39 fish kernel: usb usb1: hotplug
Jun 12 12:44:39 fish kernel: usb usb1: adding 1-0:1.0 (config #1, interface 0)
Jun 12 12:44:39 fish kernel: usb 1-0:1.0: hotplug
Jun 12 12:44:39 fish kernel: hub 1-0:1.0: usb_probe_interface
Jun 12 12:44:39 fish kernel: hub 1-0:1.0: usb_probe_interface - got id
Jun 12 12:44:39 fish kernel: hub 1-0:1.0: USB hub found
Jun 12 12:44:39 fish kernel: hub 1-0:1.0: 2 ports detected
Jun 12 12:44:39 fish kernel: hub 1-0:1.0: standalone hub
Jun 12 12:44:39 fish kernel: hub 1-0:1.0: no power switching (usb 1.0)
Jun 12 12:44:39 fish kernel: hub 1-0:1.0: global over-current protection
Jun 12 12:44:39 fish kernel: hub 1-0:1.0: power on to power good time: 2ms
Jun 12 12:44:39 fish kernel: hub 1-0:1.0: local power source is good
Jun 12 12:44:39 fish kernel: hub 1-0:1.0: over-current condition exists
Jun 12 12:44:39 fish kernel: ohci_hcd 0000:00:05.3: created debug files
Jun 12 12:44:39 fish kernel: hub 1-0:1.0: state 5 ports 2 chg 0006 evt 0007
Jun 12 12:44:39 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00000100 PPS
Jun 12 12:44:39 fish kernel: hub 1-0:1.0: port 1, status 0100, change 0000, 12
Mb/s
Jun 12 12:44:39 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [1] =
0x00000100 PPS
Jun 12 12:44:39 fish kernel: hub 1-0:1.0: port 2, status 0100, change 0000, 12
Mb/s
Jun 12 12:44:39 fish kernel: hub 1-0:1.0: overcurrent change
Jun 12 12:44:40 fish kernel: hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0001
Jun 12 12:46:08 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00000100 PPS
Jun 12 12:46:08 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [1] =
0x00000100 PPS
and lsusb shows this:
Bus 001 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.11.11 ohci_hcd
iProduct 2 OHCI Host Controller
iSerial 1 0000:00:05.3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
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 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x0002
No power switching (usb 1.0)
Ganged overcurrent protection
bPwrOn2PwrGood 1 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
If I plug in a USB keyboard or a wall powered hub I get these messages:
Jun 12 13:07:33 fish kernel: hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0002
Jun 12 13:07:33 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00010101 CSC PPS CCS
Jun 12 13:07:33 fish kernel: hub 1-0:1.0: port 1, status 0101, change 0001, 12
Mb/s
Jun 12 13:07:33 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00000101 PPS CCS
Jun 12 13:07:33 fish last message repeated 4 times
Jun 12 13:07:33 fish kernel: hub 1-0:1.0: debounce: port 1: total 100ms stable
100ms
status 0x101
Jun 12 13:07:33 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:33 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 50ms
Jun 12 13:07:33 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:33 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:33 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:33 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:33 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:33 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:33 fish kernel: hub 1-0:1.0: port 1 not enabled, trying reset
again...
Jun 12 13:07:34 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:34 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:34 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:34 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:34 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:34 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:34 fish kernel: hub 1-0:1.0: port 1 not enabled, trying reset
again...
Jun 12 13:07:34 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:34 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:34 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:34 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:35 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:35 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:35 fish kernel: hub 1-0:1.0: port 1 not enabled, trying reset
again...
Jun 12 13:07:35 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:35 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:35 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:35 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:35 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:35 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:35 fish kernel: hub 1-0:1.0: port 1 not enabled, trying reset
again...
Jun 12 13:07:35 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:35 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:36 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:36 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:36 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:36 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:36 fish kernel: hub 1-0:1.0: port 1 not enabled, trying reset
again...
Jun 12 13:07:36 fish kernel: hub 1-0:1.0: Cannot enable port 1. Maybe the USB
cable is
bad?
Jun 12 13:07:36 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:36 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 50ms
Jun 12 13:07:36 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:36 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:36 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:36 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:36 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:36 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:36 fish kernel: hub 1-0:1.0: port 1 not enabled, trying reset
again...
Jun 12 13:07:37 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:37 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:37 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:37 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:37 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:37 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:37 fish kernel: hub 1-0:1.0: port 1 not enabled, trying reset
again...
Jun 12 13:07:37 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:37 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:37 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:37 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:38 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:38 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:38 fish kernel: hub 1-0:1.0: port 1 not enabled, trying reset
again...
Jun 12 13:07:38 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:38 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:38 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:38 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:38 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:38 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:38 fish kernel: hub 1-0:1.0: port 1 not enabled, trying reset
again...
Jun 12 13:07:38 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:38 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:39 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:39 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:39 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:39 fish kernel: hub 1-0:1.0: port 1 not reset yet, waiting 200ms
Jun 12 13:07:39 fish kernel: hub 1-0:1.0: port 1 not enabled, trying reset
again...
Jun 12 13:07:39 fish kernel: hub 1-0:1.0: Cannot enable port 1. Maybe the USB
cable is
bad?
Jun 12 13:07:39 fish kernel: hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0002
Jun 12 13:07:39 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00120101 PRSC PESC PPS CCS
Jun 12 13:07:39 fish kernel: hub 1-0:1.0: port 1 enable change, status 00000101
Jun 12 13:07:39 fish kernel: hub 1-0:1.0: reset change on port 1
Jun 12 13:09:10 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [0] =
0x00000101 PPS CCS
Jun 12 13:09:10 fish kernel: ohci_hcd 0000:00:05.3: GetStatus
roothub.portstatus [1] =
0x00000100 PPS
and lsusb shows:
Bus 001 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.11.11 ohci_hcd
iProduct 2 OHCI Host Controller
iSerial 1 0000:00:05.3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
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 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x0002
No power switching (usb 1.0)
Ganged overcurrent protection
bPwrOn2PwrGood 1 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0101 power connect
Port 2: 0000.0100 power
Please let me know if there is anything else I need to send.
Thanks,
Alan
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users