Webcamd testers wanted on FreeBSD 8.2
Hi, Can someone running FreeBSD 8.2-RC1 with more than one or external USB webcam or DVB-XXX devices verify the following: 1) Install /usr/ports/multimedia/webcamd 2) Reboot 3) Check that character devices are created for your device(s) under /dev /dev/videoX for webcams /dev/dvb/adapterX for DVB devices 3) HAL should show your device. lshal | grep -i video lshal | grep -i dvb 4) Hot replug the USB plug of your USB webcam/DVB device, perform checks 1,2 and 3. If same result everything is OK. --HPS ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Webcamd testers wanted on FreeBSD 8.2
On Saturday 08 January 2011 18:41:10 Hans Petter Selasky wrote: Hi, Can someone running FreeBSD 8.2-RC1 with more than one or external USB webcam or DVB-XXX devices verify the following: 1) Install /usr/ports/multimedia/webcamd 2) Reboot 3) Check that character devices are created for your device(s) under /dev /dev/videoX for webcams /dev/dvb/adapterX for DVB devices 3) HAL should show your device. lshal | grep -i video lshal | grep -i dvb 4) Hot replug the USB plug of your USB webcam/DVB device, perform checks 1,2 and 3. If same result everything is OK. Hi, After that the devd notify string was changed last year, hald stopped registering attached USB devices because the match string was too narrow. Can someone with HAL knowledge please review the attached patch for /usr/ports/sysutils/hal . My patch uses strstr() instead of strncmp(), but really a full parse with respect to characters is required, because cdev=ugen, could appear inside some strings. When it works, lshal will show USB devices plugged after boot. --HPS diff -ur hal.orig/files/patch-hald_freebsd_hf-usb2.c hal/files/patch-hald_freebsd_hf-usb2.c --- hal.orig/files/patch-hald_freebsd_hf-usb2.c 2011-01-08 19:01:54.0 +0100 +++ hal/files/patch-hald_freebsd_hf-usb2.c 2011-01-08 19:05:14.0 +0100 @@ -133,8 +133,8 @@ + (strcmp(type, CREATE) strcmp(type, DESTROY))) +return FALSE; + -+ if (! strncmp(data, cdev=ugen, strlen(cdev=ugen)) || -+ ! strncmp(data, cdev=usb, strlen(cdev=usb))) ++ if ((strstr(data, cdev=ugen) != NULL) || ++ (strstr(data, cdev=usb) != NULL)) +return TRUE; + + return FALSE; ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Webcamd testers wanted on FreeBSD 8.2
On Sat, Jan 8, 2011 at 8:41 PM, Hans Petter Selasky hsela...@c2i.net wrote: Hi, Can someone running FreeBSD 8.2-RC1 with more than one or external USB webcam or DVB-XXX devices verify the following: Hello. Can the boot sequence of .ko modules in loader.conf somehow influence the success of the detection camera? I've seen this problem on FreeBSD-current amd64 some time ago. Maybe it was a coincidence - but the /dev/video0 does not always appear when loading the module was at the end of the list. In the near future I will test in 9-0 CURRENT and 8.2-RC2 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Webcamd testers wanted on FreeBSD 8.2
On Sat, Jan 8, 2011 at 10:46 PM, kerbzo ker...@gmail.com wrote: I use one webcam with webcamd but sometime after reboot /dev/video0 is not created at all. BTW, it may be associated with the initialization of the USB ports - this situation reminded me of the problem with external USB devices (cdrom or usb memstick) in sysinstall FreeBSD 8x - in some case the device was not found without the Re-Scan Devices. Sometimes it is not required and it is not required on FreeBSD 7x. Re-Scan - it's just power reset as I understand ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Webcamd testers wanted on FreeBSD 8.2
Hi, I can confirm this issue with 8-STABLE built about one week ago. I use one webcam with webcamd but sometime after reboot /dev/video0 is not created at all. However, cuse4bsd.ko was never the last loaded module. Bye, On Sat, Jan 8, 2011 at 7:07 PM, Subbsd sub...@gmail.com wrote: On Sat, Jan 8, 2011 at 8:41 PM, Hans Petter Selasky hsela...@c2i.net wrote: Hi, Can someone running FreeBSD 8.2-RC1 with more than one or external USB webcam or DVB-XXX devices verify the following: Hello. Can the boot sequence of .ko modules in loader.conf somehow influence the success of the detection camera? I've seen this problem on FreeBSD-current amd64 some time ago. Maybe it was a coincidence - but the /dev/video0 does not always appear when loading the module was at the end of the list. In the near future I will test in 9-0 CURRENT and 8.2-RC2 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Webcamd testers wanted on FreeBSD 8.2
speaking of webcamd, any idea on how to debug operation of skype and webcamd ? The thread at http://lists.freebsd.org/pipermail/freebsd-multimedia/2010-October/011327.html indicates the problem and shows symptoms. The most recent version of webcamd (0.1.18) now supports more of my webcams but still with similar problems. If (as it seems) the problem is related to the output format generated by the camera, i wonder if it is possible to tweak webcamd to generate a specific video format on startup, irrespective of the native camera format ? I am under the impression (perhaps wrong) that webcamd (or libv4l1) implements some conversion of the native formats ? cheers luigi ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Webcamd testers wanted on FreeBSD 8.2
On Sunday 09 January 2011 00:17:04 Luigi Rizzo wrote: speaking of webcamd, any idea on how to debug operation of skype and webcamd ? The thread at http://lists.freebsd.org/pipermail/freebsd-multimedia/2010-October/011327.h tml indicates the problem and shows symptoms. The most recent version of webcamd (0.1.18) now supports more of my webcams but still with similar problems. If (as it seems) the problem is related to the output format generated by the camera, i wonder if it is possible to tweak webcamd to generate a specific video format on startup, irrespective of the native camera format ? Hi Luigi, You can try adding a printout in: kernel/kern_file.c, function linux_ioctl() to get all the ioctls that skype issues. Maybe you get some clues from that. I am under the impression (perhaps wrong) that webcamd (or libv4l1) implements some conversion of the native formats ? libv4l does format conversion yes. That's the idea behind libv4l, to not do that format conversion in the kernel. --HPS ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org