Skip to contentSkip to conversation

USB device not accepting new address=2 (error=-19)

DISCUSSION ckbb ckbb 2 participants 2 messages Aug 20, 2003

lore
Share & tools
lore

ckbb ckbb

author
#0 lore raw

yes it is coustomised board and ISP1161A host controller is connected to a fpga device which is on the PCI bus. Infact it is one of the general purpose io (gpio-23) to which usb interrupt line is connected and gpio is programmed as an interrupt. I am getting the 'sof' interrupt continuously (at every 1msec) and I can see the corresponding interrupt count in /proc/interrupts is incrementing accordingly.

Regarding hc 1161a, I have been told by phillips factory people that the driver is working fine with the x86 platform. I did a port to the powerpc platform.

Quoted 36 lines

From: Greg KH <[email protected]>
To: ckbb ckbb <[email protected]>
CC: [email protected]
Subject: Re: USB device not accepting new address=2 (error=-19)
Date: Tue, 19 Aug 2003 16:50:12 -0700

Quoted 1 line · ckbb ckbb

I am stuck with the following error. I really appreciate any help for

this

Quoted 3 lines

problem. May be it is known bug in the usb stack.

I am using linux2.4.21, powerpc processor, phillips 1161a host

controller

Quoted 2 lines

I am getting interrupts & hardware seems to be OK. I have configured

EHCI &

Quoted 13 lines

OHCI, scsi, usb mass storage in the kernel configuration.

usb.c: new USB bus registered, assigned bus number 1
Product: USB OHCI Root Hub
SerialNumber: c7911000
hub.c: USB hub found
hub.c: 1 port detected
hcd_1161.c : usb devices found..
usbutil: USB int. status bits cleared 0x00060000
usbutil: USB interrupt.1 Enabled ox00020000 ISP116x_HCD Initialization Successful

Quoted 3 lines

usb.c: USB device not accepting new address=2 (error=-19)

usb.c: USB device not accepting new address=3 (error=-19)

Looks like a pci interrupt routing issue. Is the usb host controller actually getting interrupts?

Quoted 8 lines

Is this a custom motherboard, or is it a Apple machine?

Odds are it's a bug in the hcd_1161 driver as almost no one uses that driver and I doubt it is up to date.

thanks,

greg k-h

_________________________________________________________________
<b>MSN 8:</b> Get 6 months for $9.95/month http://join.msn.com/?page=dept/dialup

#1 lore raw
Quoted 10 lines · ckbb ckbb

yes it is coustomised board and ISP1161A host controller is connected to a fpga device which is on the PCI bus. Infact it is one of the general purpose io (gpio-23) to which usb interrupt line is connected and gpio is programmed as an interrupt. I am getting the 'sof' interrupt continuously (at every 1msec) and I can see the corresponding interrupt count in /proc/interrupts is incrementing accordingly.

Regarding hc 1161a, I have been told by phillips factory people that the driver is working fine with the x86 platform. I did a port to the powerpc platform.

Then I would suggest looking at that driver, for that is where the data comes back from the usb device to. And it looks like no data is being received properly.

Good luck,

greg k-h