From mboxrd@z Thu Jan 1 00:00:00 1970 From: Niv Date: Sat, 25 Mar 2006 03:14:09 +0000 Subject: udev: how to define a webcam that has a microphone? Message-Id: <4424D3B7.2050604@fastmail.fm> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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&kid0944&bid$1720&dat1642 _______________________________________________ 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