From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765180AbYB0AHS (ORCPT ); Tue, 26 Feb 2008 19:07:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753409AbYB0AHF (ORCPT ); Tue, 26 Feb 2008 19:07:05 -0500 Received: from smtp1.linux-foundation.org ([207.189.120.13]:56788 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751071AbYB0AHB (ORCPT ); Tue, 26 Feb 2008 19:07:01 -0500 Date: Tue, 26 Feb 2008 16:05:38 -0800 From: Andrew Morton To: "mahendra varman" Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: usb detecting only high speed devices only - not detecting low speed devices Message-Id: <20080226160538.086a681d.akpm@linux-foundation.org> In-Reply-To: <4ac2955e0802260543n7d7e5d81nb590d2bc10648269@mail.gmail.com> References: <4ac2955e0802260543n7d7e5d81nb590d2bc10648269@mail.gmail.com> X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org (cc linux-usb) On Tue, 26 Feb 2008 19:13:26 +0530 "mahendra varman" 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