Bug in latest udev
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 10 lines · Stefan Schweizer
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 3 lines · Kay Sievers
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.
Quoted 4 lines
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.
Quoted 4 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 2 lines · Stefan Schweizer
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.
Signature · 13 lines
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 [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 6 lines · Stefan Schweizer
Quoted 3 lines · Kay Sievers
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.
Quoted 5 lines
Quoted 3 lines
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.
Quoted 2 lines
Quoted 2 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 2 lines · Kay Sievers
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
etc/udev/rules.d/50-udev.rules renamed from etc/udev/gentoo/udev.rules +2 -0
@@ -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"
Kay Sievers
AppliedQuoted 5 lines · Stefan Schweizer
Quoted 2 lines · Kay Sievers
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel