Date: Sun, 10 Jan 2010 22:41:16 +0100 From: Hans Petter Selasky <hselasky@c2i.net> To: Diego Ochoa Tocachi <diego.ochoat@gmail.com> Cc: freebsd-multimedia@freebsd.org, Brandon Gooch <jamesbrandongooch@gmail.com>, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing Message-ID: <201001102241.16422.hselasky@c2i.net> In-Reply-To: <6951cb851001101331k20b47961ve5b037c44a0ca9d7@mail.gmail.com> References: <201001101437.37269.hselasky@c2i.net> <201001102034.44191.hselasky@c2i.net> <6951cb851001101331k20b47961ve5b037c44a0ca9d7@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 10 January 2010 22:31:50 Diego Ochoa Tocachi wrote: > 2010/1/10 Hans Petter Selasky <hselasky@c2i.net> 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 > root@amd64-builder.daemonology.net:/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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001102241.16422.hselasky>