webcamd quirkyness

J.R. Oldroyd fbsd at opal.com
Thu Mar 31 13:25:23 UTC 2011


On Thu, 31 Mar 2011 09:26:14 +0200, Hans Petter Selasky <hselasky at c2i.net> wrote:
> 
> Compile the webcamd port with debugging option set. Then use the -s and -m 
> options to enable debugging in the various drivers.
> 

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=0xffffffff (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=0xffffffff
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-UC300 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 successfully
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=$0x80121cbb0 (48. bytes)
DBG: usbvideo_register: Allocated cams[1].user_data=$0x80121cb80 (48. bytes)
DBG: usbvideo_register: Allocated cams[2].user_data=$0x80121cb50 (48. bytes)
DBG: usbvideo_register: Allocated cams[3].user_data=$0x80121cb20 (48. bytes)
: v1.4:Konica Webcam driver
DBG: usbvideo_register: Allocated $0x801238400 (1712. bytes) for 1. cameras
DBG: usbvideo_register: Allocated cams[0].user_data=$0x801244e00 (200. bytes)
DBG: usbvideo_register: Allocated $0x801245000 (4688. bytes) for 4. cameras
DBG: usbvideo_register: Allocated cams[0].user_data=$0x80121caf0 (48. bytes)
DBG: usbvideo_register: Allocated cams[1].user_data=$0x80121cac0 (48. bytes)
DBG: usbvideo_register: Allocated cams[2].user_data=$0x80121ca90 (48. bytes)
DBG: usbvideo_register: Allocated cams[3].user_data=$0x80121ca60 (48. bytes)
: 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 
Attached ugen3.3[0] to cuse unit 0
uvcvideo: Probing generic UVC device 
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=0xffffffff -B
.. same trace as above, until:
lirc_dev: IR Remote Control driver registered, major 13 
Attached ugen3.3[0] to cuse unit -1
#

and that's all.

	-jr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-usb/attachments/20110331/c7274837/signature.pgp


More information about the freebsd-usb mailing list