On Tue, 2003-05-27 at 12:51, Ernie Schroder wrote:
> On Tuesday 27 May 2003 03:38 pm, Tom Wesley wrote:
> > On Tuesday 27 May 2003 20:30, Ernie Schroder wrote:
> > > I just emergerd the "camstream" package for frame capture with my
> > > logitek quickcam. The driver is loaded and the application runs as
> > > root I have opened up permissions to camstream as below:
> > >
> > > # ls -l /usr/bin/camstream
> > > -rwxrwxrwx    1 root     wheel      369236 May 27 14:12
> > > /usr/bin/camstream
> > >
> > > But, although I can start the program as user, it doesn't find the
> > > camera. I suppose I need to give user permission to the device but
> > > darned if I can find the device name. below is pertinant lines from
> > > dmesg:
> > >
> > >
> > > Linux video capture interface: v1.00
> > > usb.c: registered new driver quickcam
> > > USB Quickcam Class ff SubClass ff idVendor 46d idProduct 840
> > > USB Quickcam camera found using: $Id: quickcam.c,v 1.111 2003/01/27
> > > 09:41:03 tuukkat Exp $
> > > quickcam: probe of HDCS1000 sensor = 08 00 id: 08
> > > quickcam: HDCS1000 sensor detected
> > >
> > > I did find this:
> > > ls -l /dev/v4l/video0
> > > crwxrwx---    1 root     video     81,   0 Dec 31  1969
> > > /dev/v4l/video0
> > >
> > > (user is in group "video")
> > > I must have overlooked something...
> >
> > the device file is probably
> >   /dev/video0
> > or maybe a number greater than zero if you have more than one video
> > device.
> 
> Tom,
> Good idea, I immediately felt kind of dumb, but /dev/video0 is a link to 
> /dev/v4l/video0
> 
> $ ls -l /dev/video0
> lr-xr-xr-x    1 root     root           10 May 27 13:55 /dev/video0 -> 
> v4l/video0
> 
> What now?

Wouldnt it be better to just add a line into /etc/devfsd.conf that says
something like:

REGISTER        ^v4l/video0$     PERMISSIONS root.video 660

and then do
# killall -HUP devfsd

Dont blame me if this borks anything, its only a sudgestion.. but thats
what I would do. Just make sure your user is in the video group.

Its a good idea to try to use the system instead of fighting wit it.



-- 
Deck of Cards: $1.29. Card Table: $14.99. "101 Solitaire Variations"
book: $6.59. Finding a cheaper replacement for the one thing Windows is
ideal for: priceless.


--
[EMAIL PROTECTED] mailing list

Reply via email to