Re: 2.6.23.11 : ehci not working with a710 camera

David Brownell <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <20071216203141.48BCE16AEFA@adsl-69-226-248-13.dsl.pltn13.pacbell.net>
> When I plug the camera I got [1]. When I plug a pendrive i got [3].
> When I plug the camera on another port I got [2].

(Appended text is slightly edited to remove line wraps.)

Summary:  [1] failed, but [2] and [3] worked.


> Could it be an hadware problem on the port. But then why it works with 
> the pen drive ?

Clearly there is *some* difference at the hardware level.  Different
devices (even of the same make/model) have different characteristics.
So do different host ports and cables.  I'd try using different cables
with that camera, to start with.

But I don't like blaming this on hardware, since I still recall that
these problems started to crop up sometime in the 2.6.5 to 2.6.10 time
frame ... making me suspect changes that were made in that period were
a bit less hardware-friendly than before.

I'm going to dust off some old patches and send you one to try...

One interesting point is that in all three cases there were about
53.5 msec between the "new high speed USB device..." message and
the "port N high speed" messages.  I'd have thought the failure
case would have taken a bit more time.

- Dave


> [1]
> [  133.765504] usb usb2: usb resume
> [  133.765826] ehci_hcd 0000:00:10.3: resume root hub
> [  133.806161] hub 2-0:1.0: hub_resume
> [  133.806455] hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0000
> [  133.806748] ehci_hcd 0000:00:10.3: GetStatus port 6 status 001803 POWER sig=j CSC CONNECT
> [  133.806941] hub 2-0:1.0: port 6, status 0501, change 0001, 480 Mb/s
> [  133.926087] hub 2-0:1.0: debounce: port 6: total 100ms stable 100ms status 0x501
> [  133.979571] ehci_hcd 0000:00:10.3: port 6 high speed
> [  133.979579] ehci_hcd 0000:00:10.3: GetStatus port 6 status 001005 POWER sig=se0 PE CONNECT
> [  134.032641] usb 2-6: new high speed USB device using ehci_hcd and address 2
> [  134.033015] ehci_hcd 0000:00:10.3: devpath 6 ep0in 3strikes
> [  134.033388] ehci_hcd 0000:00:10.3: devpath 6 ep0in 3strikes
> [  134.033763] ehci_hcd 0000:00:10.3: devpath 6 ep0in 3strikes
> [  134.086183] ehci_hcd 0000:00:10.3: port 6 high speed
> [  134.086193] ehci_hcd 0000:00:10.3: GetStatus port 6 status 001007 POWER sig=se0 PE CSC CONNECT
> [  134.086643] hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0040
> [  134.086855] ehci_hcd 0000:00:10.3: GetStatus port 6 status 001002 POWER sig=se0 CSC
> [  134.087048] hub 2-0:1.0: port 6, status 0100, change 0001, 12 Mb/s
> [  134.115900] ehci_hcd 0000:00:10.3: GetStatus port 6 status 001803 POWER sig=j CSC CONNECT
> [  134.235799] hub 2-0:1.0: debounce: port 6: total 125ms stable 100ms status 0x501
> [  134.289378] ehci_hcd 0000:00:10.3: port 6 high speed
> [  134.289389] ehci_hcd 0000:00:10.3: GetStatus port 6 status 001005 POWER sig=se0 PE CONNECT
> [  134.342388] usb 2-6: new high speed USB device using ehci_hcd and address 3
> [  134.342809] ehci_hcd 0000:00:10.3: devpath 6 ep0in 3strikes
> [  134.343182] ehci_hcd 0000:00:10.3: devpath 6 ep0in 3strikes
> [  134.343557] ehci_hcd 0000:00:10.3: devpath 6 ep0in 3strikes
> [  134.395977] ehci_hcd 0000:00:10.3: port 6 high speed
> [...]
>
>
> [2]
> [ 1795.601805] usb usb2: usb resume
> [ 1795.602148] ehci_hcd 0000:00:10.3: resume root hub
> [ 1795.642237] hub 2-0:1.0: hub_resume
> [ 1795.642439] hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0000
> [ 1795.642659] ehci_hcd 0000:00:10.3: GetStatus port 5 status 001803 POWER sig=j CSC CONNECT
> [ 1795.642861] hub 2-0:1.0: port 5, status 0501, change 0001, 480 Mb/s
> [ 1795.762133] hub 2-0:1.0: debounce: port 5: total 100ms stable 100ms status 0x501
> [ 1795.815681] ehci_hcd 0000:00:10.3: port 5 high speed
> [ 1795.815689] ehci_hcd 0000:00:10.3: GetStatus port 5 status 001005 POWER sig=se0 PE CONNECT
> [ 1795.868704] usb 2-5: new high speed USB device using ehci_hcd and address 25
> [ 1795.922290] ehci_hcd 0000:00:10.3: port 5 high speed
> [ 1795.922301] ehci_hcd 0000:00:10.3: GetStatus port 5 status 001005 POWER sig=se0 PE CONNECT
> [ 1796.004178] usb 2-5: default language 0x0409
> [ 1796.014851] usb 2-5: new device strings: Mfr=1, Product=2, SerialNumber=3
> [ 1796.015045] usb 2-5: Product: Canon Digital Camera
> [ 1796.015247] usb 2-5: Manufacturer: Canon Inc.
> [ 1796.015440] usb 2-5: SerialNumber:
> [ 1796.015776] usb 2-5: uevent
> [ 1796.016848] usb 2-5: usb_probe_device
> [ 1796.017697] usb 2-5: configuration #1 chosen from 1 choice
> [ 1796.019362] usb 2-5: adding 2-5:1.0 (config #1, interface 0)
> [ 1796.019676] usb 2-5:1.0: uevent
> [ 1796.019871] usb 2-5:1.0: uevent
> [ 1796.022102] drivers/usb/core/inode.c: creating file '025'
>
>
> [3]
> [ 2050.564073] usb usb2: usb resume
> [ 2050.564426] ehci_hcd 0000:00:10.3: resume root hub
> [ 2050.603011] hub 2-0:1.0: hub_resume
> [ 2050.603212] hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0000
> [ 2050.603435] ehci_hcd 0000:00:10.3: GetStatus port 6 status 001803 POWER sig=j CSC CONNECT
> [ 2050.603637] hub 2-0:1.0: port 6, status 0501, change 0001, 480 Mb/s
> [ 2050.722933] hub 2-0:1.0: debounce: port 6: total 100ms stable 100ms status 0x501
> [ 2050.776450] ehci_hcd 0000:00:10.3: port 6 high speed
> [ 2050.776458] ehci_hcd 0000:00:10.3: GetStatus port 6 status 001005 POWER sig=se0 PE CONNECT
> [ 2050.829590] usb 2-6: new high speed USB device using ehci_hcd and address 39
> [ 2050.883061] ehci_hcd 0000:00:10.3: port 6 high speed
> [ 2050.883070] ehci_hcd 0000:00:10.3: GetStatus port 6 status 001005 POWER sig=se0 PE CONNECT
> [ 2050.953769] usb 2-6: default language 0x0409
> [ 2050.954771] usb 2-6: new device strings: Mfr=1, Product=2, SerialNumber=3
> [ 2050.954973] usb 2-6: Product: USB Mass Storage Device
> 	... truncated ...

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.