linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udev: how to define a webcam that has a microphone?
@ 2006-03-25  3:14 Niv
  0 siblings, 0 replies; only message in thread
From: Niv @ 2006-03-25  3:14 UTC (permalink / raw)
  To: linux-hotplug

hay there,
I wrote a rule for the webcam, but it seems that the alsa is loaded
before video for linux and so the microphone in loaded , and my rule is
not obaid.

I was wondering where I may read more to solve it.

BUS="usb", SYSFS{idVendor}="046d", SYSFS{idProduct}="08c5",
NAME="v4l/video2", S
YMLINK="video2 qc5000" , GROUP="webcam"

also, I lost my /etc/group and /etc/passwd and wanted to add the missing
groups.

ls -la /dev/v4l/
total 0
drwxr-xr-x 2 root root 120 Mar 24 19:45 .
drwxr-xr-x 21 root root 29600 Mar 25 00:24 ..
crw-rw---- 1 root video 81, 64 Mar 22 19:33 radio0
crw-rw---- 1 root video 81, 224 Mar 22 19:33 vbi0
crw-rw---- 1 root webcam 81, 2 Mar 24 19:45 video0
crw-rw---- 1 root tv 81, 0 Mar 24 19:45 video1

I tried to add a group named webcam with gid 81:
# fgrep 81 /etc/group
webcam:x:81:niv

but I still get the 81 listed and not "webcam"
so how do I fix it?

Thanks,
Niv


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x110944&bid$1720&dat\x121642
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-03-25  3:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-25  3:14 udev: how to define a webcam that has a microphone? Niv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).