linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* USB device not accepting new address=2 (error=-19)
@ 2003-08-19 23:33 ckbb ckbb
  2003-08-19 23:50 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: ckbb ckbb @ 2003-08-19 23:33 UTC (permalink / raw)
  To: linux-kernel

I am stuck with the following error. I really appreciate any help for this 
problem. May be it is known bug in the usb stack.

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

I am getting interrupts & hardware seems to be OK. I have configured EHCI & 
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

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

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


root@10.0.0.160:/proc/bus/usb# cat drivers
usbdevfs
hub
usb-storage
root@10.0.0.160 :/proc/bus/usb# cat devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 1
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB OHCI Root Hub
S: SerialNumber=c7962400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
root@10.0.0.160 :/proc/bus/usb#


cat of 'proc/scsi/scsi' is empty....

Thanks
Chandrasekhar Konakalla

_________________________________________________________________
<b>Get MSN 8</b> and help protect your children with advanced parental 
controls.  http://join.msn.com/?page=features/parental


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: USB device not accepting new address=2 (error=-19)
  2003-08-19 23:33 USB device not accepting new address=2 (error=-19) ckbb ckbb
@ 2003-08-19 23:50 ` Greg KH
  0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2003-08-19 23:50 UTC (permalink / raw)
  To: ckbb ckbb; +Cc: linux-kernel

On Tue, Aug 19, 2003 at 07:33:32PM -0400, ckbb ckbb wrote:
> I am stuck with the following error. I really appreciate any help for this 
> problem. May be it is known bug in the usb stack.
> 
> I am using linux2.4.21, powerpc processor, phillips 1161a host controller
> 
> I am getting interrupts & hardware seems to be OK. I have configured EHCI & 
> 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
> 
> 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?

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: USB device not accepting new address=2 (error=-19)
  2003-08-20 14:01 ckbb ckbb
@ 2003-08-20 15:55 ` Greg KH
  0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2003-08-20 15:55 UTC (permalink / raw)
  To: ckbb ckbb; +Cc: linux-kernel

On Wed, Aug 20, 2003 at 10:01:20AM -0400, ckbb ckbb wrote:
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: USB device not accepting new address=2 (error=-19)
@ 2003-08-20 14:01 ckbb ckbb
  2003-08-20 15:55 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: ckbb ckbb @ 2003-08-20 14:01 UTC (permalink / raw)
  To: greg; +Cc: linux-kernel

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.


>From: Greg KH <greg@kroah.com>
>To: ckbb ckbb <ckbroadbus@hotmail.com>
>CC: linux-kernel@vger.kernel.org
>Subject: Re: USB device not accepting new address=2 (error=-19)
>Date: Tue, 19 Aug 2003 16:50:12 -0700
>
>On Tue, Aug 19, 2003 at 07:33:32PM -0400, ckbb ckbb wrote:
> > I am stuck with the following error. I really appreciate any help for 
>this
> > problem. May be it is known bug in the usb stack.
> >
> > I am using linux2.4.21, powerpc processor, phillips 1161a host 
>controller
> >
> > I am getting interrupts & hardware seems to be OK. I have configured 
>EHCI &
> > 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
> >
> > 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?
>
>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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-08-20 16:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-19 23:33 USB device not accepting new address=2 (error=-19) ckbb ckbb
2003-08-19 23:50 ` Greg KH
2003-08-20 14:01 ckbb ckbb
2003-08-20 15:55 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).