linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Niv <nivw2002@fastmail.fm>
To: linux-hotplug@vger.kernel.org
Subject: udev: how to define a webcam that has a microphone?
Date: Sat, 25 Mar 2006 03:14:09 +0000	[thread overview]
Message-ID: <4424D3B7.2050604@fastmail.fm> (raw)

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

                 reply	other threads:[~2006-03-25  3:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4424D3B7.2050604@fastmail.fm \
    --to=nivw2002@fastmail.fm \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).