Re: usb detecting only high speed devices only - not detecting lowspeed devices

From: Andrew Morton
Date: Tue Feb 26 2008 - 19:07:18 EST



(cc linux-usb)

On Tue, 26 Feb 2008 19:13:26 +0530 "mahendra varman" <mahendravarman15@xxxxxxxxx> wrote:

> Hello all
>
> In a project Iam using 7448 powerpc processor . In that board iam
> using ISP 1562 philips PCI based usb controller.
> The problem iam facing is in Linux level the usb ports are detecting
> only ehci high speed devices(flash mem stick)
> But it is not detecting low speed devices(mouse,keyboard) and
> reporting Unlink no irq..Controller probably using wrong irq.
>
> As per ISP 1562 the same interrupt is routed to 3 functions inside one
> controller( 2 ohci and 1 ehci)
> The interrupt works for the ehci device ( flash mem stick)
> The same interrupt is assigned for ohci function. I removed the flash
> stick and inserted an ohci device(mouse)
> but iam getting unlink after no IRQ
>
> How the interrupt works for ehci and the same interrupt not working for ohci ?
>
> I can ensure that the IRQ assignment has been done properly as well as
> I have enabled necesary configs in menuconfig for ehci and ohci
>
> I tried linux version 2.6.12 , 2.6.16.60 and also 2.6.23 , 2.6.24 ..
> In all these iam facing the above issues
>
> Please shed some light to solve the issue
>
> Thanks
>
>
> Below are some observations
> -----------------------------------------------
> BEFORE INSERTING MOUSE
> / # cat /proc/interrupts
> CPU0
> 12: 99 tsi108_pic Level serial
> 36: 1 tsi108_PCI_int Level VMEBus (Tsi148)
> 39: 0 tsi108_PCI_int Level ehci_hcd:usb1,
> ohci_hcd:usb2, ohci_hcd :usb3
>
> AFTER INSERTING MOUSE
> / # usb 3-1: new low speed USB device using ohci_hcd and address 2
> ohci_hcd 0000:01:04.1: Unlink after no-IRQ? Controller is probably
> using the wrong IRQ.
>
> / # cat /proc/interrupts
> CPU0
> 12: 130 tsi108_pic Level serial
> 36: 1 tsi108_PCI_int Level VMEBus (Tsi148)
> 39: 2 tsi108_PCI_int Level ehci_hcd:usb1,
> ohci_hcd:usb2, ohci_hcd:usb3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/