linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bug in latest udev
@ 2005-02-05 13:16 Stefan Schweizer
  2005-02-05 13:29 ` Kay Sievers
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Stefan Schweizer @ 2005-02-05 13:16 UTC (permalink / raw)
  To: linux-hotplug

Hi,

the latest udev release has a bug in the rules file:


# alsa devices
KERNEL="controlC[0-9]*",        NAME="snd/%k", GROUP="audio"
KERNEL="hw[CD0-9]*",            NAME="snd/%k", GROUP="audio"
KERNEL="pcm[CD0-9cp]*",         NAME="snd/%k", GROUP="audio"
KERNEL="midiC[D0-9]*",          NAME="snd/%k", GROUP="audio"
KERNEL="timer",                 NAME="snd/%k", GROUP="audio"
KERNEL="seq",                   NAME="snd/%k", GROUP="audio"


the GROUP="audio" part is misssing in the current file.
Could you please correct that in the rules file?

thanks,
Stefan


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
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] 7+ messages in thread

* Re: Bug in latest udev
  2005-02-05 13:16 Bug in latest udev Stefan Schweizer
@ 2005-02-05 13:29 ` Kay Sievers
  2005-02-05 14:03 ` Stefan Schweizer
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Kay Sievers @ 2005-02-05 13:29 UTC (permalink / raw)
  To: linux-hotplug

On Sat, 2005-02-05 at 14:16 +0100, Stefan Schweizer wrote:
> Hi,
> 
> the latest udev release has a bug in the rules file:

> # alsa devices
> KERNEL="controlC[0-9]*",        NAME="snd/%k", GROUP="audio"
> KERNEL="hw[CD0-9]*",            NAME="snd/%k", GROUP="audio"
> KERNEL="pcm[CD0-9cp]*",         NAME="snd/%k", GROUP="audio"
> KERNEL="midiC[D0-9]*",          NAME="snd/%k", GROUP="audio"
> KERNEL="timer",                 NAME="snd/%k", GROUP="audio"

This file is just an example and not every time up to date. The
individual distribution rules files need to catch up now, so I wouldn't
call this a "bug".

And you may use a "subsystem only"-rule for that:
  SUBSYSTEM="sound", GROUP="audio"

This will apply to all your audio devices if you don't specify any other
GROUP with the individual rules.

Ah, and please be more specific in the Subject of the mail.

Thanks,
Kay



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
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] 7+ messages in thread

* Re: Bug in latest udev
  2005-02-05 13:16 Bug in latest udev Stefan Schweizer
  2005-02-05 13:29 ` Kay Sievers
@ 2005-02-05 14:03 ` Stefan Schweizer
  2005-02-05 14:05 ` Marco d'Itri
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Stefan Schweizer @ 2005-02-05 14:03 UTC (permalink / raw)
  To: linux-hotplug

On Sat, 05 Feb 2005 14:29:46 +0100, Kay Sievers <kay.sievers@vrfy.org> wrote:
> This file is just an example and not every time up to date. The
> individual distribution rules files need to catch up now, so I wouldn't
> call this a "bug".
I am using gentoo .. so I think it should be up-to-date as the gentoo
rules are used as example.
> 
> And you may use a "subsystem only"-rule for that:
>   SUBSYSTEM="sound", GROUP="audio"
> 
sounds reasonable, but works for me only when the subsystem rules is
before the other alsa rules.
> This will apply to all your audio devices if you don't specify any other
> GROUP with the individual rules.
> 
> Ah, and please be more specific in the Subject of the mail.
sorry :(
I will try to check that before I send a mail next time

Regards,
Stefan


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
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] 7+ messages in thread

* Re: Bug in latest udev
  2005-02-05 13:16 Bug in latest udev Stefan Schweizer
  2005-02-05 13:29 ` Kay Sievers
  2005-02-05 14:03 ` Stefan Schweizer
@ 2005-02-05 14:05 ` Marco d'Itri
  2005-02-05 14:24 ` Kay Sievers
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Marco d'Itri @ 2005-02-05 14:05 UTC (permalink / raw)
  To: linux-hotplug

On Feb 05, Stefan Schweizer <sschweizer@gmail.com> wrote:

> sounds reasonable, but works for me only when the subsystem rules is
> before the other alsa rules.
This is how it's supposed to work.

-- 
ciao,
Marco


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
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] 7+ messages in thread

* Re: Bug in latest udev
  2005-02-05 13:16 Bug in latest udev Stefan Schweizer
                   ` (2 preceding siblings ...)
  2005-02-05 14:05 ` Marco d'Itri
@ 2005-02-05 14:24 ` Kay Sievers
  2005-02-05 14:40 ` Stefan Schweizer
  2005-02-05 15:42 ` Kay Sievers
  5 siblings, 0 replies; 7+ messages in thread
From: Kay Sievers @ 2005-02-05 14:24 UTC (permalink / raw)
  To: linux-hotplug

On Sat, 2005-02-05 at 15:03 +0100, Stefan Schweizer wrote:
> On Sat, 05 Feb 2005 14:29:46 +0100, Kay Sievers <kay.sievers@vrfy.org> wrote:
> > This file is just an example and not every time up to date. The
> > individual distribution rules files need to catch up now, so I wouldn't
> > call this a "bug".
> I am using gentoo .. so I think it should be up-to-date as the gentoo
> rules are used as example.

Ah, ok.

> > And you may use a "subsystem only"-rule for that:
> >   SUBSYSTEM="sound", GROUP="audio"
> > 
> sounds reasonable, but works for me only when the subsystem rules is
> before the other alsa rules.

Yes, we stop the rule processing if we find a NAME key. You may need to
place all the permissions-only rules on the top of the file.

> > This will apply to all your audio devices if you don't specify any other
> > GROUP with the individual rules.

If the SUBSYSTEM rule works for you? Would be nice, if you can send a
patch for the gentoo rules to apply.

Thanks,
Kay



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
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] 7+ messages in thread

* Re: Bug in latest udev
  2005-02-05 13:16 Bug in latest udev Stefan Schweizer
                   ` (3 preceding siblings ...)
  2005-02-05 14:24 ` Kay Sievers
@ 2005-02-05 14:40 ` Stefan Schweizer
  2005-02-05 15:42 ` Kay Sievers
  5 siblings, 0 replies; 7+ messages in thread
From: Stefan Schweizer @ 2005-02-05 14:40 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 240 bytes --]

On Sat, 05 Feb 2005 15:24:12 +0100, Kay Sievers <kay.sievers@vrfy.org> wrote:
> If the SUBSYSTEM rule works for you? Would be nice, if you can send a
> patch for the gentoo rules to apply.

I hope the attached patch is ok.

Regards,
Stefan

[-- Attachment #2: add-group-audio-to-alsa-in-dev-rules.patch --]
[-- Type: application/octet-stream, Size: 380 bytes --]

--- udev-051/etc/udev/gentoo/udev.rules	2005-02-03 01:26:58.000000000 +0100
+++ /etc/udev/rules.d/50-udev.rules	2005-02-05 15:02:10.000000000 +0100
@@ -32,6 +32,8 @@
 KERNEL="3dfx*",		NAME="%k", GROUP="video"
 
 # alsa devices
+SUBSYSTEM="sound", GROUP="audio"
+
 KERNEL="controlC[0-9]*",	NAME="snd/%k"
 KERNEL="hw[CD0-9]*",		NAME="snd/%k"
 KERNEL="pcm[CD0-9cp]*",		NAME="snd/%k"

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Bug in latest udev
  2005-02-05 13:16 Bug in latest udev Stefan Schweizer
                   ` (4 preceding siblings ...)
  2005-02-05 14:40 ` Stefan Schweizer
@ 2005-02-05 15:42 ` Kay Sievers
  5 siblings, 0 replies; 7+ messages in thread
From: Kay Sievers @ 2005-02-05 15:42 UTC (permalink / raw)
  To: linux-hotplug

On Sat, 2005-02-05 at 15:40 +0100, Stefan Schweizer wrote:
> On Sat, 05 Feb 2005 15:24:12 +0100, Kay Sievers <kay.sievers@vrfy.org> wrote:
> > If the SUBSYSTEM rule works for you? Would be nice, if you can send a
> > patch for the gentoo rules to apply.
> 
> I hope the attached patch is ok.

Applied.

Thanks,
Kay



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
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] 7+ messages in thread

end of thread, other threads:[~2005-02-05 15:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-05 13:16 Bug in latest udev Stefan Schweizer
2005-02-05 13:29 ` Kay Sievers
2005-02-05 14:03 ` Stefan Schweizer
2005-02-05 14:05 ` Marco d'Itri
2005-02-05 14:24 ` Kay Sievers
2005-02-05 14:40 ` Stefan Schweizer
2005-02-05 15:42 ` Kay Sievers

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).