Discussion:
[linux-uvc-devel] General UVC camera - quirks required
Julian Thonhauser
2015-04-12 13:30:44 UTC
Permalink
Dear UVC developers!

I recently bought a cheap mini camera on amazon (link
<http://www.amazon.de/dizauL®Weltweit-Spiegelreflexkamera-Ultra-kleinen-microSDHC-Speicherkarte/dp/B00QGHFZSI>,
sorry. it's only available in Germany). I tested the feature to use it as
webcam: On windows there were no problems. On Linux I needed to use the
quirks=2 option to use it.

*dmesg output without quirks enabled:*
















*[ 7508.809600] usb 1-1.2: new high-speed USB device number 10 using
ehci-pci[ 7508.981230] usb-storage 1-1.2:1.0: USB Mass Storage device
detected[ 7508.981393] scsi host22: usb-storage 1-1.2:1.0[ 7509.989436]
scsi 22:0:0:0: Direct-Access GENPLUS USB-MSDC DISK A 1.00 PQ: 0 ANSI:
0[ 7509.992252] sd 22:0:0:0: [sdc] Test WP failed, assume Write Enabled[
7509.993385] sd 22:0:0:0: [sdc] Asking for cache data failed[ 7509.993395]
sd 22:0:0:0: [sdc] Assuming drive cache: write through[ 7509.995136] sd
22:0:0:0: [sdc] Attached SCSI removable disk[ 7514.837602] usb 1-1.2: USB
disconnect, device number 10[ 7514.838453] scsi 22:0:0:0: rejecting I/O to
offline device[ 7514.838461] scsi 22:0:0:0: killing request[ 7515.730785]
usb 1-1.2: new high-speed USB device number 11 using ehci-pci[ 7515.815801]
uvcvideo: Found UVC 1.00 device GENERAL - UVC (1b3f:2002)[ 7515.816048]
uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling
workaround.[ 7515.816980] input: GENERAL - UVC as
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/input/input45[
7538.040233] uvcvideo: Failed to query (130) UVC probe control : -32 (exp.
26).[ 7538.047617] uvcvideo: Failed to query (130) UVC probe control : -32
(exp. 26).*

*with quirks enabled:*


















*[ 7606.408266] usb 1-1.2: new high-speed USB device number 12 using
ehci-pci[ 7606.580678] usb-storage 1-1.2:1.0: USB Mass Storage device
detected[ 7606.581016] scsi host23: usb-storage 1-1.2:1.0[ 7607.583133]
scsi 23:0:0:0: Direct-Access GENPLUS USB-MSDC DISK A 1.00 PQ: 0 ANSI:
0[ 7607.586185] sd 23:0:0:0: [sdc] Test WP failed, assume Write Enabled[
7607.587304] sd 23:0:0:0: [sdc] Asking for cache data failed[ 7607.587313]
sd 23:0:0:0: [sdc] Assuming drive cache: write through[ 7607.588320] sd
23:0:0:0: [sdc] Attached SCSI removable disk[ 7610.885325] usb 1-1.2: USB
disconnect, device number 12[ 7610.886042] scsi 23:0:0:0: rejecting I/O to
offline device[ 7610.886051] scsi 23:0:0:0: killing request[ 7610.886147]
scsi 23:0:0:0: [sdc] Write Protect is on[ 7610.886156] scsi 23:0:0:0: [sdc]
Mode Sense: 0c 00 8c 16[ 7611.781757] usb 1-1.2: new high-speed USB device
number 13 using ehci-pci[ 7611.866797] uvcvideo: Found UVC 1.00 device
GENERAL - UVC (1b3f:2002)[ 7611.866800] uvcvideo: Forcing device quirks to
0x2 by module parameter for testing purpose.[ 7611.866800] uvcvideo: Please
report required quirks to the linux-uvc-devel mailing list.[ 7611.867191]
uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling
workaround.[ 7611.867737] input: GENERAL - UVC as
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/input/input47*

*lshw section:*








**-usb description: Video product: GENERAL - UVC vendor: GENERAL
physical id: 2 bus info: ***@1:1.2 version: 1.00 capabilities: usb-2.00
configuration: driver=snd-usb-audio maxpower=200mA speed=480Mbit/s*

I hope you are able to fix it. If you need other information, please feel
free to contract me.

----------
Linux arch 3.19.3-3-ARCH #1 SMP PREEMPT Wed Apr 8 14:10:00 CEST 2015 x86_64
GNU/Linux
----------
% lsmod | grep uvc
uvcvideo 84822 0
videobuf2_vmalloc 13286 1 uvcvideo
videobuf2_core 39635 1 uvcvideo
videodev 135040 3 uvcvideo,v4l2_common,videobuf2_core
media 18365 2 uvcvideo,videodev
usbcore 199382 10
uas,snd_usb_audio,uvcvideo,usb_storage,snd_usbmidi_lib,ehci_hcd,ehci_pci,usbhid,xhci_hcd,xhci_pci
----------

Thanks!

Loading...