linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* USB - Interrupt problem
@ 2002-11-18  6:26 Nageswari S
  2002-11-18 15:11 ` Matt Porter
  0 siblings, 1 reply; 2+ messages in thread
From: Nageswari S @ 2002-11-18  6:26 UTC (permalink / raw)
  To: 'linuxppc-embedded@lists.linuxppc.org'


Hi,
I have a custom PowerPC board (IBM 405 Based) with USB - OHCI compliant
controller on OPB bus. I have taken SA1111 usb driver as a refernce and
enabled USB. The root hub got initialised and
cat /proc/bus/usb/devices outputs


" T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=
" B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
" D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxP
" P:  Vendor=0000 ProdID=0000 Rev= 0.00
" S:  Product=USB OHCI Root Hub
" S:  SerialNumber=ef601200
" C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
" I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00
" E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

but, there is no change in interrupts when I connect a USB device.
cat /proc/interrupts output is


           CPU0
  2:     119608  405IAP UIC Edge      NE2000
 11:          1  405IAP UIC Edge      usb-ohci
 29:        604  405IAP UIC Edge      keyboard
BAD:          0

Also, whatever device I connect, it does not get listed in
/proc/bus/usb/devices
Could anybody please tell me as to where the problem is regarding the
interrupts.


Any help or suggestion would be very helpful....

Thank you for your time....

regards,
Nageswari

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: USB - Interrupt problem
  2002-11-18  6:26 USB - Interrupt problem Nageswari S
@ 2002-11-18 15:11 ` Matt Porter
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Porter @ 2002-11-18 15:11 UTC (permalink / raw)
  To: Nageswari S; +Cc: 'linuxppc-embedded@lists.linuxppc.org'


On Mon, Nov 18, 2002 at 11:56:04AM +0530, Nageswari S wrote:
> but, there is no change in interrupts when I connect a USB device.
> cat /proc/interrupts output is
>
>
>            CPU0
>   2:     119608  405IAP UIC Edge      NE2000
>  11:          1  405IAP UIC Edge      usb-ohci
>  29:        604  405IAP UIC Edge      keyboard
> BAD:          0
>
> Also, whatever device I connect, it does not get listed in
> /proc/bus/usb/devices
> Could anybody please tell me as to where the problem is regarding the
> interrupts.
>
>
> Any help or suggestion would be very helpful....

Couple options off the top of my head:

1) Check your triggering/polarity for the ohci device.  Are you
   sure the UIC is set correctly for this device?  Is this something
   custom hanging off the ebc?

2) You have a bug in your custom ohci HCI driver which causes it
   to stall before device insertion.  Verify whatever status register
   ohci has that it is still running (I dunno, only know uhci stuffs
   here).

Regards,
--
Matt Porter
porter@cox.net
This is Linux Country. On a quiet night, you can hear Windows reboot.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2002-11-18 15:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-18  6:26 USB - Interrupt problem Nageswari S
2002-11-18 15:11 ` Matt Porter

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).