1 |
I have tried creating this rule: |
2 |
|
3 |
/etc/udev/rules.d/40-seq.rules |
4 |
KERNEL=="snd/seq", GROUP="audio", MODE="0666" |
5 |
|
6 |
...but I'm not sure about the kernel key pair. I have tried matching "/dev/snd/seq" and just "seq" |
7 |
aswell. |
8 |
|
9 |
The Bug 406871 for sys-fs/udev-171-r5 looks exactly right, butI have sys-fs/udev-171-r6 installed. I''l check my kernel config and try disabling tmpfs. I have read that it helps real time audio performanc with jack(audio-connection-kit)though. |
10 |
|
11 |
I have tried removing all the rules in /etc/udev/rules.d. but the mode and permissions on /dev/snd/seq persist. |
12 |
|
13 |
Thanks for everyones help. |
14 |
|
15 |
--- marcec@×××.de wrote: |
16 |
|
17 |
From: Marc Joliet <marcec@×××.de> |
18 |
To: gentoo-user@l.g.o |
19 |
Subject: Re: [gentoo-user] /dev/snd/seq access mode and permission |
20 |
Date: Fri, 17 Aug 2012 21:20:08 +0200 |
21 |
|
22 |
Am Fri, 17 Aug 2012 11:40:47 +0200 |
23 |
schrieb Marc Joliet <marcec@×××.de>: |
24 |
|
25 |
> Am Fri, 17 Aug 2012 01:54:34 -0700 |
26 |
> schrieb Cinder <cinder@××××××××××.com>: |
27 |
> |
28 |
> > Hi, how do I make changes to permissions and access mode of device nodes persistent? At the moment I have to chown and chmod the /dev/snd/seq node every boot to make it accessible to my user. the other nodes are fine. Here's the output of ls -l /dev/snd/ |
29 |
> > |
30 |
> > total 0 |
31 |
> > drwxr-xr-x 2 root root 60 Aug 17 18:44 by-path |
32 |
> > crw-rw----+ 1 root audio 116, 12 Aug 17 18:44 controlC0 |
33 |
> > crw-rw----+ 1 root audio 116, 11 Aug 17 18:44 hwC0D0 |
34 |
> > crw-rw----+ 1 root audio 116, 10 Aug 17 18:44 hwC0D3 |
35 |
> > crw-rw----+ 1 root audio 116, 9 Aug 17 18:44 hwC0D4 |
36 |
> > crw-rw----+ 1 root audio 116, 8 Aug 17 18:44 hwC0D5 |
37 |
> > crw-rw----+ 1 root audio 116, 7 Aug 17 18:44 pcmC0D0c |
38 |
> > crw-rw----+ 1 root audio 116, 6 Aug 17 18:44 pcmC0D0p |
39 |
> > crw-rw----+ 1 root audio 116, 5 Aug 17 18:44 pcmC0D1p |
40 |
> > crw-rw----+ 1 root audio 116, 4 Aug 17 18:44 pcmC0D3p |
41 |
> > crw-rw----+ 1 root audio 116, 3 Aug 17 18:44 pcmC0D7p |
42 |
> > crw-rw----+ 1 root audio 116, 2 Aug 17 18:44 pcmC0D8p |
43 |
> > crw------- 1 root root 116, 1 Aug 17 18:44 seq |
44 |
> > crw-rw----+ 1 root audio 116, 33 Aug 17 18:44 timer |
45 |
> > |
46 |
> > I need /dev/snd/seq to look look the others. I can't find the udev rule or configuration that creates these nodes. Many thanks for any consideration. |
47 |
> |
48 |
> I have a hack for the same issue in my /etc/local.d/. A comment I put there |
49 |
> says this: |
50 |
> |
51 |
> # this is caused by using devtmpfs, which creates nodes with root:root and 600; |
52 |
> # I believe this is fixed by udev upstream |
53 |
> |
54 |
> So devtmpfs creates the device node before udev runs, but udev does not correct |
55 |
> the access permissions, which is however fixed by udev upstream (perhaps |
56 |
> already in ~arch?). Sadly I do not remember where I read this, but google should |
57 |
> be of help there. |
58 |
|
59 |
Ah, yes, I did a quick search on b.g.o and found this: |
60 |
|
61 |
https://bugs.gentoo.org/show_bug.cgi?id=406871 |
62 |
|
63 |
So my comment is wrong, it doesn't have anything to do with devtmpfs, but udev |
64 |
upstream did fix it :) . |
65 |
|
66 |
HTH |
67 |
-- |
68 |
Marc Joliet |
69 |
-- |
70 |
"People who think they know everything really annoy those of us who know we |
71 |
don't" - Bjarne Stroustrup |
72 |
|
73 |
|
74 |
|
75 |
|
76 |
_____________________________________________________________ |
77 |
Get your FREE, LinuxWaves.com Email Now! --> http://www.LinuxWaves.com |
78 |
Join Linux Discussions! --> http://Community.LinuxWaves.com |