Re: [Linux-usb-users] problem with EHCI controller

2007-03-15 Thread Alan Stern
On Thu, 15 Mar 2007, Lei Sun wrote: > Thanks Alan: > FYI, the last log message i sent you is with CONFIG_USB_DEBUG turned on ! > I used "ehci_dbg" macro (or whatever else), but the messages were not > showing up even with CONFIG_USB_DEBUG set. So I had to use "printk" instead. > Any explaina

Re: [Linux-usb-users] problem with EHCI controller

2007-03-15 Thread Lei Sun
--- Original Message - From: "Alan Stern" <[EMAIL PROTECTED]> To: "Lei Sun" <[EMAIL PROTECTED]> Cc: Sent: Thursday, March 15, 2007 11:07 AM Subject: Re: [Linux-usb-users] problem with EHCI controller > On Wed, 14 Mar 2007, Lei Sun wrote: > >> H

Re: [Linux-usb-users] problem with EHCI controller

2007-03-15 Thread Alan Stern
On Wed, 14 Mar 2007, Lei Sun wrote: > Here is the log with more debug messages. But you didn't have CONFIG_USB_DEBUG turned on! Well, never mind. > in ehci_hub_status_data() , both ports status are 0x1000, and VBUS power is > still off. On the contrary, 0x1000 means that VBUS power is on. Or

Re: [Linux-usb-users] problem with EHCI controller

2007-03-14 Thread Lei Sun
riginal Message - From: "Alan Stern" <[EMAIL PROTECTED]> To: "Lei Sun" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, March 14, 2007 5:17 PM Subject: Re: [Linux-usb-users] problem with EHCI controller > On Wed, 14 Mar 2007, Lei Sun wrote: > >> Here is

Re: [Linux-usb-users] problem with EHCI controller

2007-03-14 Thread Alan Stern
On Wed, 14 Mar 2007, Lei Sun wrote: > Here is the usb relaed dmesg, it's a bit long , > Maybe i need to look into the schematics, see why the VBUS power is lost > after driver initailzed, the power is on before booting up linux. Your log shows port status = 0x1803, which means that VBUS power wa

Re: [Linux-usb-users] problem with EHCI controller

2007-03-14 Thread Lei Sun
tered. - Original Message - From: "Alan Stern" <[EMAIL PROTECTED]> To: "Lei Sun" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, March 14, 2007 4:49 PM Subject: Re: [Linux-usb-users] problem with EHCI controller > On Wed, 14 Mar 2007, Lei Sun wrote: > >

Re: [Linux-usb-users] problem with EHCI controller

2007-03-14 Thread Alan Stern
On Wed, 14 Mar 2007, Lei Sun wrote: > > On Wed, 14 Mar 2007, Lei Sun wrote: > > > >> Thanks for your reply! Appreciate it ! > >> > >> the debugging code in ehci_hub_status_data() shows that the port status > >> always return "0x1000" with or without flah devices plugged in. > > > > That disagrees

Re: [Linux-usb-users] problem with EHCI controller

2007-03-14 Thread Lei Sun
> On Wed, 14 Mar 2007, Lei Sun wrote: > >> Thanks for your reply! Appreciate it ! >> >> the debugging code in ehci_hub_status_data() shows that the port status >> always return "0x1000" with or without flah devices plugged in. > > That disagrees with what you said earlier: > 3. Read port sta

Re: [Linux-usb-users] problem with EHCI controller

2007-03-14 Thread Alan Stern
On Wed, 14 Mar 2007, Lei Sun wrote: > Thanks for your reply! Appreciate it ! > > the debugging code in ehci_hub_status_data() shows that the port status > always return "0x1000" with or without flah devices plugged in. That disagrees with what you said earlier: >>> 3. Read port status register

Re: [Linux-usb-users] problem with EHCI controller

2007-03-14 Thread Lei Sun
;Alan Stern" <[EMAIL PROTECTED]> To: "Lei Sun" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, March 14, 2007 1:57 PM Subject: Re: [Linux-usb-users] problem with EHCI controller > On Wed, 14 Mar 2007, Lei Sun wrote: > >> Hi : >> I have a customized xscale

Re: [Linux-usb-users] problem with EHCI controller

2007-03-14 Thread Alan Stern
On Wed, 14 Mar 2007, Lei Sun wrote: > Hi : > I have a customized xscale based board, with philips ISP1562 PCI USB > controller, I am using linux-2.6.17.8 without "CONFIG_PM" option. > When booting up with a flash drive plugged, the kernel seems to be able > detect and configure the host cont

[Linux-usb-users] problem with EHCI controller

2007-03-14 Thread Lei Sun
Hi : I have a customized xscale based board, with philips ISP1562 PCI USB controller, I am using linux-2.6.17.8 without "CONFIG_PM" option. When booting up with a flash drive plugged, the kernel seems to be able detect and configure the host controller correctly, but it's not be able to dete