lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1341433169.4131.13.camel@piranha.localdomain>
Date:	Wed, 04 Jul 2012 22:19:29 +0200
From:	Frederik Himpe <fhimpe@...enet.be>
To:	Alan Stern <stern@...land.harvard.edu>
Cc:	linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
	linux-uvc-devel@...ts.sourceforge.net
Subject: Re: Logitech HD Webcam C525 does not work when connected to USB 2
 port, works on USB 3

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@...anha:/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@...enet.be>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ