Date: Thu, 31 Mar 2011 09:25:12 -0400 From: "J.R. Oldroyd" <fbsd@opal.com> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: webcamd quirkyness Message-ID: <20110331092512.562a8119@shibato.opal.com> In-Reply-To: <201103310926.14184.hselasky@c2i.net> References: <20110330173032.65721bb9@shibato.opal.com> <201103310926.14184.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/BW4V/nW=D1RRuaep2O69yqD Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 31 Mar 2011 09:26:14 +0200, Hans Petter Selasky <hselasky@c2i.net> = wrote: >=20 > Compile the webcamd port with debugging option set. Then use the -s and -= m=20 > options to enable debugging in the various drivers. >=20 Done. This appears to be a uvc camera. This morning, having rebooted the laptop since my report yesterday, I am finding it creates /dev/video0 100% of the time now when run in the foreground, with both the original non-debug version and with the debug version. But it still fails 100% of the time with -B. Running with -m uvc_driver.trace=3D0xffffffff (is that a suitable value?), for both without and with -B gives the two traces below. You'll see there are no uvc messages present at all in the -B version. # ./webcamd -d 3.3 -i 0 -m uvc_driver.trace=3D0xffffffff Linux video capture interface: v2.00 benq: registered conex: registered etoms: registered finepix: registered gspca_gl860: driver startup - version 0.9d10 gspca_gl860: driver registered gspca: main v2.9.0 registered jeilinj: registered ALi m5602: registered mars: registered mr97310a: registered ov519: registered ov534: registered ov534_9: registered pac207: registered pac7302: registered pac7311: registered sn9c20x: registered sonixb: registered sonixj: registered spca500: registered spca501: registered spca505: registered spca506: registered spca508: registered spca561: registered sq905: registered sq905c: registered stk014: registered stv0680: registered STV06xx: registered sunplus: registered t613: registered tv8532: registered vc032x: registered zc3xx: registered pwc: Philips webcam module version 10.0.13 loaded. pwc: Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750 = & PCVC830/840. pwc: Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC= -C10 and MPC-C30, pwc: the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC30= 0 and VCS-UM100. cpia2: V4L-Driver for Vision CPiA2 based cameras v2.0.0 em28xx driver loaded Em28xx: Initialized (Em28xx dvb Extension) extension pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner pvrusb2: Debug mask is 31 (0x1f) dib0700: loaded with support for 14 different device-types au0828 driver loaded b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded succ= essfully stv0680: registered SE401 usb camera driver version 0.24 registering DBG: usbvideo_register: Allocated $0x80121a000 (4688. bytes) for 4. cameras DBG: usbvideo_register: Allocated cams[0].user_data=3D$0x80121cbb0 (48. byt= es) DBG: usbvideo_register: Allocated cams[1].user_data=3D$0x80121cb80 (48. byt= es) DBG: usbvideo_register: Allocated cams[2].user_data=3D$0x80121cb50 (48. byt= es) DBG: usbvideo_register: Allocated cams[3].user_data=3D$0x80121cb20 (48. byt= es) : v1.4:Konica Webcam driver DBG: usbvideo_register: Allocated $0x801238400 (1712. bytes) for 1. cameras DBG: usbvideo_register: Allocated cams[0].user_data=3D$0x801244e00 (200. by= tes) DBG: usbvideo_register: Allocated $0x801245000 (4688. bytes) for 4. cameras DBG: usbvideo_register: Allocated cams[0].user_data=3D$0x80121caf0 (48. byt= es) DBG: usbvideo_register: Allocated cams[1].user_data=3D$0x80121cac0 (48. byt= es) DBG: usbvideo_register: Allocated cams[2].user_data=3D$0x80121ca90 (48. byt= es) DBG: usbvideo_register: Allocated cams[3].user_data=3D$0x80121ca60 (48. byt= es) : Zoran 364xx USB Video Class driver (v0.1.0) IR JVC protocol handler initialized IR LIRC bridge handler initialized IR NEC protocol handler initialized IR RC5(x) protocol handler initialized IR RC6 protocol handler initialized IR Sony protocol handler initialized lirc_dev: IR Remote Control driver registered, major 13=20 Attached ugen3.3[0] to cuse unit 0 uvcvideo: Probing generic UVC device=20 uvcvideo: Found format YUV 4:2:2 (YUYV). uvcvideo: - 640x480 (30.0 fps) uvcvideo: - 352x288 (30.0 fps) uvcvideo: - 320x240 (30.0 fps) uvcvideo: - 176x144 (30.0 fps) uvcvideo: - 160x120 (30.0 fps) uvcvideo: Found a Status endpoint (addr 83). uvcvideo: Found UVC 1.00 device (04f2:b1d6) uvcvideo: Added control 0x7ebae0Ul/2 to device entity 3 uvcvideo: Added control 0x7ebb18Ul/3 to device entity 3 uvcvideo: Added control 0x7ebb50Ul/6 to device entity 3 uvcvideo: Added control 0x7ebb88Ul/7 to device entity 3 uvcvideo: Added control 0x7ebbc0Ul/8 to device entity 3 uvcvideo: Added control 0x7ebbf8Ul/9 to device entity 3 uvcvideo: Added control 0x7ebc30Ul/10 to device entity 3 uvcvideo: Added control 0x7ebca0Ul/1 to device entity 3 uvcvideo: Added control 0x7ebcd8Ul/4 to device entity 3 uvcvideo: Added control 0x7ebd10Ul/5 to device entity 3 uvcvideo: Added control 0x7ebd80Ul/11 to device entity 3 uvcvideo: Added control 0x7ebf40Ul/3 to device entity 1 uvcvideo: Scanning UVC chain: OT 2 <- XU 4 <- PU 3 <- IT 1 uvcvideo: Found a valid video chain (1 -> 2). uvcvideo: UVC device initialized. uvcvideo: uvc_v4l2_open uvcvideo: uvc_v4l2_release Creating /dev/video0 ^C # ./webcamd -d 3.3 -i 0 -m uvc_driver.trace=3D0xffffffff -B .. same trace as above, until: lirc_dev: IR Remote Control driver registered, major 13=20 Attached ugen3.3[0] to cuse unit -1 # and that's all. -jr --Sig_/BW4V/nW=D1RRuaep2O69yqD Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAk2UgLgACgkQls33urr0k4n5cQCZAWA2EsSZ2EYChK9cTIJ5oUQ1 IEwAoIsQJzO2mxrmum4obX8cQjRfoMKw =yu8f -----END PGP SIGNATURE----- --Sig_/BW4V/nW=D1RRuaep2O69yqD--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110331092512.562a8119>