mirror of https://lore.kernel.org/lkml/
 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: Wed, 04 Jul 2012 22:19:29 +0200	[thread overview]
Message-ID: <1341433169.4131.13.camel@piranha.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1207041425330.15857-100000@netrider.rowland.org>

On Wed, 2012-07-04 at 14:42 -0400, Alan Stern wrote:
> On Wed, 4 Jul 2012, Frederik Himpe wrote:
> 
> > > What happens if you disable USB runtime suspend on the affected system?  
> > > Windows tends not to use it.
> > 
> > It appears to make a difference, but it still does not work perfectly.
> > 
> > I disabled autosuspend like this:
> > root@piranha:/sys# for i in $(find -name autosuspend); do echo 0 > $i; done
> 
> That doesn't disable autosuspend.  The proper way is:
> 
> 	echo on >/sys/bus/usb/devices/.../power/control
> 
> where you fill in the "..." with the directory name for the webcam.

usb trace from trying mplayer a few times after disabling autosuspend:

ffff880415761ec0 897158138 S Ii:1:081:7 -115:128 16 <
ffff8803c49ec800 897158252 S Co:1:081:0 s 21 01 0100 0003 001a 26 = 01000101 15160500 00000000 00000000 00000000 00000000 0000
ffff8803c49ec800 897162252 C Co:1:081:0 -71 0
ffff8803c49ec800 897162388 S Co:1:081:0 s 01 0b 0000 0003 0000 0
ffff8803c49ec800 897166377 C Co:1:081:0 -71 0
ffff880415761ec0 897166486 C Ii:1:081:7 -2:128 0
ffff880415761ec0 897844606 S Ii:1:081:7 -115:128 16 <
ffff8803c49ec800 897844749 S Co:1:081:0 s 21 01 0100 0003 001a 26 = 01000101 15160500 00000000 00000000 00000000 00000000 0000
ffff8803c49ec800 897848746 C Co:1:081:0 -71 0
ffff8803c49ec800 897848879 S Co:1:081:0 s 01 0b 0000 0003 0000 0
ffff8803c49ec800 897852873 C Co:1:081:0 -71 0
ffff880415761ec0 897852965 C Ii:1:081:7 -2:128 16 = 0000e83f 335dbc5f f438be84 08004500
ffff880415761ec0 898444380 S Ii:1:081:7 -115:128 16 <
ffff8803c49ecd40 898444471 S Co:1:081:0 s 21 01 0100 0003 001a 26 = 01000101 15160500 00000000 00000000 00000000 00000000 0000
ffff8803c49ecd40 898448507 C Co:1:081:0 -71 0
ffff8803c49ecd40 898448639 S Co:1:081:0 s 01 0b 0000 0003 0000 0
ffff8803c49ecd40 898452616 C Co:1:081:0 -71 0
ffff880415761ec0 898452722 C Ii:1:081:7 -2:128 0
ffff880415761ec0 899007841 S Ii:1:081:7 -115:128 16 <
ffff8803c49ec800 899007939 S Co:1:081:0 s 21 01 0100 0003 001a 26 = 01000101 15160500 00000000 00000000 00000000 00000000 0000
ffff8803c49ec800 899011863 C Co:1:081:0 -71 0
ffff8803c49ec800 899012005 S Co:1:081:0 s 01 0b 0000 0003 0000 0
ffff8803c49ec800 899015986 C Co:1:081:0 -71 0
ffff880415761ec0 899016082 C Ii:1:081:7 -2:128 0

dmesg contains:
[ 9146.620398] uvcvideo: Failed to set UVC probe control : -71 (exp. 26).

-- 
Frederik Himpe <fhimpe@telenet.be>


  reply	other threads:[~2012-07-04 20:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-30 19:21 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
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 [this message]
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=1341433169.4131.13.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®