All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frederik Himpe <fhimpe@telenet.be>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org,
	linux-uvc-devel@lists.sourceforge.net
Subject: Re: Logitech HD Webcam C525 does not work when connected to USB 2 port, works on USB 3
Date: Mon, 02 Jul 2012 22:12:30 +0200	[thread overview]
Message-ID: <1341259950.4325.11.camel@piranha.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1207011138460.18102-100000@netrider.rowland.org>

On Sun, 2012-07-01 at 11:54 -0400, Alan Stern wrote:
> On Sun, 1 Jul 2012, Frederik Himpe wrote:
> 
> > > A usbmon trace would be more helpful.  Or perhaps a pair of traces, one 
> > > for the USB-2 port and one for the USB-3 port.  See the instructions in 
> > > Documentation/usb/usbmon.txt.
> > 
> > OK, I created a usbmon trace both from the USB-2 port as the USB-3 port.
> > During the trace, I connected the USB webcam to the USB port and started
> > mplayer, which failed on USB-2 but worked fine on USB-3.
> > 
> > The two traces can be found here:
> > http://artipc10.vub.ac.be/~frederik/webcam/
> 
> There are two significant differences between the USB-2 and USB-3 
> traces, although I don't know what to make of them.
> 
> Initially it looks like the driver writes a bunch of values to the 
> webcam and asks it to repeat them back.  That's what happens in the 
> USB-3 trace, anyway.  The USB-2 trace shows the values being written, 
> but when asked to repeat them back the webcam sends nothing.
> 
> For example, with USB-3:
> 
> ffff8804085042c0 470397794 S Co:3:003:0 s 22 01 0100 0086 0003 3 = 803e00
> ffff8804085042c0 470399896 C Co:3:003:0 0 3 >
> ffff8804085042c0 470400004 S Ci:3:003:0 s a2 81 0100 0086 0003 3 <
> ffff8804085042c0 470401270 C Ci:3:003:0 0 3 = 803e00
> 
> The 803e00 values get sent and then received.  The analogous part of
> the USB-2 trace shows:
> 
> ffff88040cc1f5c0 208122798 S Co:1:006:0 s 22 01 0100 0086 0003 3 = 803e00
> ffff88040cc1f5c0 208124781 C Co:1:006:0 0 3 >
> ffff88040cc1f5c0 208124818 S Ci:1:006:0 s a2 81 0100 0086 0003 3 <
> ffff88040cc1f5c0 208126156 C Ci:1:006:0 0 0
> 
> Exactly the same values are sent and the request is the same, but no 
> data gets returned.  I have no idea what that means.
> 
> Secondly, both traces show that the webcam stopped being used for a
> short time and was suspended.  A few seconds later, when it was resumed
> again, it worked okay in the USB-3 trace.  But in the USB-2 trace, it
> didn't.  After the resume it failed to reply to the first packet sent
> (a Get-Device-Status request), and thus it had to be re-enumerated.
> 
> Have you tried using the webcam on a different computer?

I just tried it on a different system (Dell Latitude E6400), and it
worked fine on the USB2 ports (kernel version was 3.4.1 on that system,
though). The webcam also works fine on the affected system and USB2
ports in Windows.

-- 
Frederik Himpe <fhimpe@telenet.be>


  reply	other threads:[~2012-07-02 20:12 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-30 19:21 Logitech HD Webcam C525 does not work when connected to USB 2 port, works on USB 3 Frederik Himpe
2012-07-01  2:12 ` Alan Stern
2012-07-01 12:34   ` Frederik Himpe
2012-07-01 15:54     ` Alan Stern
2012-07-02 20:12       ` Frederik Himpe [this message]
2012-07-03  0:40         ` Alan Stern
2012-07-04 18:21           ` Frederik Himpe
2012-07-04 18:42             ` Alan Stern
2012-07-04 20:19               ` Frederik Himpe
2012-07-05  1:20                 ` Alan Stern
2012-07-05 19:35                   ` Frederik Himpe
2012-07-05 21:24                     ` Alan Stern
2012-07-11  6:11                       ` Heinz Diehl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1341259950.4325.11.camel@piranha.localdomain \
    --to=fhimpe@telenet.be \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=linux-uvc-devel@lists.sourceforge.net \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.