On Sunday 10 January 2010 22:31:50 Diego Ochoa Tocachi wrote: > 2010/1/10 Hans Petter Selasky <[email protected]>
freebsd-current not CC'ed. > Hi, > > I was trying this driver with: > > my webcam: > ugen7.2: <Lenovo EasyCamera vendor 0x046d> at usbus7, cfg=0 md=HOST > spd=HIGH (480Mbps) pwr=ON > > my system: > FreeBSD starkiller 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 > 21:11:58 UTC 2010 > [email protected]:/usr/obj/usr/src/sys/GENERIC > amd64 > > When turn on the webcam: > > Jan 10 16:13:25 starkiller root: Unknown USB device: vendor 0x046d product > 0x09b6 bus uhub7 > Jan 10 16:13:25 starkiller kernel: ugen7.2: <vendor 0x046d> at usbus7 > > when execute ./webcamd -d ugen7.2 -i 0 -v 0 > Jan 10 16:13:29 starkiller root: Unknown USB device: vendor 0x046d product > 0x09b6 bus uhub7 > > Issues: > > To access /dev/video0 with a no-root user in operator group, I changed > permisions: chmod 0660 /dev/video0 manually > > I can access using pwcview but I cant access from cheese, Do I something to > get this? > > > Thanks for this software, good work!!! > Hi, You're welcome! Some V4L drivers only support mmap and not read and write. To get that working your application must replace open/read/write/close calls by libv4l2 or libv4l1_open/read/write/close calls, and link with libv4l2 or libv4l1. --HPS _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "[email protected]"
