Here is the log with more debug messages.

in ehci_hub_status_data() , both ports status are 0x1000, and VBUS power is 
still off.
for another different flash drive , in ehci_irq() the status read is 0x1002 
.
Thanks!
lei

ehci_hcd: block sizes: qh 128 qtd 96 itd 192 sitd 96
PCI: enabling device 0000:00:0d.2 (0140 -> 0142)
PCI: Enabling bus mastering for device 0000:00:0d.2
ehci_hcd 0000:00:0d.2: EHCI Host Controller
ehci_hcd 0000:00:0d.2: new USB bus registered, assigned bus number 1
PCI: Enabling Mem-Wr-Inval for device 0000:00:0d.2
ehci_hcd 0000:00:0d.2: irq 28, io mem 0x4b002000
ehci_hcd 0000:00:0d.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.17.8 ehci_hcd
usb usb1: SerialNumber: 0000:00:0d.2
usb usb1: uevent
usb usb1: configuration #1 chosen from 1 choice
usb 1-0:1.0: uevent
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
 <5>ehci_irq: status=0x00000004 addr=0x4b002024
PCD deteted, i=2
command=10009
status=0 reset_done=0
status=1803 reset_done=0
ohci_hcd: block sizes: ed 64 td 64
PCI: enabling device 0000:00:0d.0 (0140 -> 0142)
PCI: Enabling bus mastering for device 0000:00:0d.0
ohci_hcd 0000:00:0d.0: OHCI Host Controller
ohci_hcd 0000:00:0d.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:0d.0: irq 28, io mem 0x4b000000
ehci_hub_status_data: ports 0: status=0x1000
ehci_hub_status_data: ports 1: status=0x1000
ehci_hub_status_data: ports 0: status=0x1000
ehci_hub_status_data: ports 1: status=0x1000
usb usb2: Product: OHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.17.8 ohci_hcd
usb usb2: SerialNumber: 0000:00:0d.0
usb usb2: uevent
usb usb2: configuration #1 chosen from 1 choice
usb 2-0:1.0: uevent
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
ehci_hub_status_data: ports 0: status=0x1000
ehci_hub_status_data: ports 1: status=0x1000
ehci_hub_status_data: ports 0: status=0x1000
ehci_hub_status_data: ports 1: status=0x1000
PCI: enabling device 0000:00:0d.1 (0140 -> 0142)
PCI: Enabling bus mastering for device 0000:00:0d.1
ohci_hcd 0000:00:0d.1: OHCI Host Controller
ohci_hcd 0000:00:0d.1: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:0d.1: irq 28, io mem 0x4b001000
ehci_hub_status_data: ports 0: status=0x1000
ehci_hub_status_data: ports 1: status=0x1000
ehci_hub_status_data: ports 0: status=0x1000
----- Original Message ----- 
From: "Alan Stern" <[EMAIL PROTECTED]>
To: "Lei Sun" <[EMAIL PROTECTED]>
Cc: <Linux-usb-users@lists.sourceforge.net>
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 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 was on
> when you plugged in the flash device.  But the log doesn't contain any
> messages from ehci_hub_status_data().  That routine should also see the
> port status is 0x1803 and it should return 1.
>
>> <5>ehci_irq: status=0x00000004
>> PCD deteted, i=2
>> command=10009
>> status=0
>> status=1803
>
> What happens the next time ehci_hub_status_data() is called after this?
>
> Alan Stern
> 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to