1 |
Duncan wrote: |
2 |
> So you're saying that it only happens as a regular user? |
3 |
No, it happens exactly the same even if logged in as root. |
4 |
I just restarted and tested. |
5 |
|
6 |
> Just to check, your user is in the audio group, right? |
7 |
yes |
8 |
|
9 |
> What's the permissions on all the components in the /dev/snd dir? Check |
10 |
> both before and after running alsaconf, to see if there's a change, |
11 |
> either in devices listed or in permissions. |
12 |
> |
13 |
> Here's what I have here: |
14 |
> |
15 |
> ls -l /dev/snd |
16 |
> total 0 |
17 |
> crw-rw---- 1 root audio 116, 0 2009-06-30 14:05 controlC0 |
18 |
> crw-rw---- 1 root audio 116, 24 2009-06-30 14:05 pcmC0D0c |
19 |
> crw-rw---- 1 root audio 116, 16 2009-07-01 07:26 pcmC0D0p |
20 |
> crw-rw---- 1 root audio 116, 25 2009-06-30 14:05 pcmC0D1c |
21 |
> crw-rw---- 1 root audio 116, 1 2009-06-30 14:05 seq |
22 |
> crw-rw---- 1 root audio 116, 33 2009-06-30 14:05 timer |
23 |
|
24 |
|
25 |
Mine before running alsaconf |
26 |
|
27 |
ls -l /dev/snd |
28 |
total 0 |
29 |
crw-rw---- 1 root audio 116, 4 2009-07-01 07:35 controlC0 |
30 |
crw-rw---- 1 root audio 116, 8 2009-07-01 07:35 controlC1 |
31 |
crw-rw---- 1 root audio 116, 3 2009-07-01 07:35 pcmC0D0c |
32 |
crw-rw---- 1 root audio 116, 7 2009-07-01 07:35 pcmC1D0c |
33 |
crw-rw---- 1 root audio 116, 6 2009-07-01 07:35 pcmC1D0p |
34 |
crw-rw---- 1 root audio 116, 5 2009-07-01 07:35 pcmC1D1c |
35 |
crw-rw---- 1 root audio 116, 9 2009-07-01 07:35 seq |
36 |
crw-rw---- 1 root audio 116, 2 2009-07-01 07:35 timer |
37 |
|
38 |
Mine after running alsaconf |
39 |
ls -l /dev/snd |
40 |
total 0 |
41 |
crw-rw---- 1 root audio 116, 6 2009-07-01 11:39 controlC0 |
42 |
crw-rw---- 1 root audio 116, 5 2009-07-01 11:39 pcmC0D0c |
43 |
crw-rw---- 1 root audio 116, 4 2009-07-01 11:39 pcmC0D0p |
44 |
crw-rw---- 1 root audio 116, 3 2009-07-01 11:39 pcmC0D1c |
45 |
crw-rw---- 1 root audio 116, 7 2009-07-01 11:39 seq |
46 |
crw-rw---- 1 root audio 116, 2 2009-07-01 11:39 timer |
47 |
|
48 |
There is some differences. Less entries, and notice the time. |
49 |
I had just restarted the system to cause the problem. |
50 |
I did each command just a few minutes apart, the first one however shows |
51 |
a morning time, this is when it does not work, and the second shows the |
52 |
correct time, after running alsaconf and it is working. |
53 |
I am not sure what to make of it yet. |
54 |
|
55 |
|
56 |
> pam-console has been obsolete on Gentoo for years now, I think, but |
57 |
> perhaps you are still running it? |
58 |
no, i have not installed it, mainly such things are default. |
59 |
|
60 |
> Then there's udev. At least with the ~arch version I have |
61 |
> installed (udev-141-r1), its permission rules for alsa seem to be in |
62 |
> /lib64/udev/rules.d/40-alsa.rules . That doesn't appear to be |
63 |
> CONFIG_PROTECTed by default, so any changes made to the rules there will |
64 |
> be overwritten when you update udev. FWIW, here's the file as I have it: |
65 |
> |
66 |
> # do not edit this file, it will be overwritten on update |
67 |
> |
68 |
> SUBSYSTEM=="sound", GROUP="audio" |
69 |
> KERNEL=="controlC[0-9]*", NAME="snd/%k" |
70 |
> KERNEL=="hwC[D0-9]*", NAME="snd/%k" |
71 |
> KERNEL=="pcmC[D0-9cp]*", NAME="snd/%k" |
72 |
> KERNEL=="midiC[D0-9]*", NAME="snd/%k" |
73 |
> KERNEL=="timer", NAME="snd/%k" |
74 |
> KERNEL=="seq", NAME="snd/%k" |
75 |
> KERNEL=="mixer0", SYMLINK+="mixer" |
76 |
|
77 |
Mine, |
78 |
/lib64/udev/rules.d/40-alsa.rules |
79 |
# do not edit this file, it will be overwritten on update |
80 |
|
81 |
SUBSYSTEM=="sound", GROUP="audio" |
82 |
KERNEL=="controlC[0-9]*", NAME="snd/%k" |
83 |
KERNEL=="hwC[D0-9]*", NAME="snd/%k" |
84 |
KERNEL=="pcmC[D0-9cp]*", NAME="snd/%k" |
85 |
KERNEL=="midiC[D0-9]*", NAME="snd/%k" |
86 |
KERNEL=="timer", NAME="snd/%k" |
87 |
KERNEL=="seq", NAME="snd/%k" |
88 |
KERNEL=="mixer0", SYMLINK+="mixer" |
89 |
|
90 |
Seems to match yours. |