1 |
On Sunday 18 December 2005 08:35, a tiny voice compelled Ernie Schroder to |
2 |
write: |
3 |
> On Sunday 18 December 2005 00:42, a tiny voice compelled Richard Fish to |
4 |
> |
5 |
> write: |
6 |
> > On 12/17/05, Ernie Schroder <schroder@×××××.net> wrote: |
7 |
> > > > Is /dev/dsp actually missing on startup, or just created with the |
8 |
> > > > wrong permissions? |
9 |
> > > |
10 |
> > > Apparently it has the wrong permissions, or so says the message when I |
11 |
> > > start KDE,but if I reset them, next boot they are changed. Either |
12 |
> > > resetting permissions, or doing # udevstart allows me to use /dev/dsp |
13 |
> > > as user but changes don't survive a reboot. |
14 |
> > |
15 |
> > Hmm, /dev/dsp is only necessary for legacy OSS support...it should not |
16 |
> > be necessary with KDE, which _should_ be able to use the ALSA |
17 |
> > interface. Do you have the alsa USE flag set? |
18 |
> |
19 |
> Hmm, no |
20 |
> |
21 |
> IIRC, when I first installed on this box, I had to go with oss (nforce2 |
22 |
> mobo w/onboard sound). |
23 |
> |
24 |
> > What are the permissions that it is being created with? (Do "ls -l |
25 |
> > /dev/dsp" from a console after startup without logging into KDE). |
26 |
(loged into kde but I have not done # udevstart as of yet): |
27 |
|
28 |
lrwxrwxrwx 1 root root 9 Dec 18 03:45 /dev/dsp -> sound/dsp |
29 |
|
30 |
After doing # udevstart: |
31 |
$ sudo udevstart |
32 |
ernie@MRK ~ $ ls -l /dev/dsp |
33 |
lrwxrwxrwx 1 root root 9 Dec 18 09:02 /dev/dsp -> sound/dsp |
34 |
|
35 |
|
36 |
Looks the same to me, but I seem to have permissions for /dev/dsp Saytime |
37 |
works now, it didn't give me audio befor udevstart. Look at the times wierd |
38 |
huh? |
39 |
Now, before logging into KDE: |
40 |
lrwxrwxrwx Time is still odd |
41 |
|
42 |
> > |
43 |
> > > > Are you using a device tarball (RC_DEVICE_TARBALL in /etc/conf.d/rc)? |
44 |
> > > |
45 |
> > > Yes. |
46 |
> > |
47 |
> > I would suggest turning TARBALL off. It is almost certainly not needed |
48 |
> > today. |
49 |
> |
50 |
> Turned it off. Let's see |
51 |
|
52 |
Not a good idea there. A device node for my nvidia graphics card was not |
53 |
created. I edited xorg.conf, changing driver from nvidia to "nv" just to get |
54 |
X up and running |
55 |
Gotta recreate them. I guess. OK created the nvidia devices like so: |
56 |
|
57 |
mknod -m 660 /dev/nvidia0 c 195 0 |
58 |
mknod -m 660 /dev/nvidia1 c 195 1 |
59 |
mknod -m 660 /dev/nvidiactl c 195 255 |
60 |
And changed back to TARBALL="on" |
61 |
Let's see |
62 |
changed back to "nvidia" and rebooted. X working properly. |
63 |
> |
64 |
> > One possibility is that the device is comfing from the tarball, but |
65 |
> > not being recreated by udev for some reason. You can check this with: |
66 |
> > |
67 |
> > tar -tjvf /lib/udev-state/devices.tar.bz2 |
68 |
> |
69 |
> $ sudo tar -tjvf /lib/udev-state/devices.tar.bz2 | grep dsp |
70 |
> crw------- root/audio 14,19 2004-02-19 04:28:48 dsp1 |
71 |
> crw------- root/audio 14,35 2004-02-19 04:28:48 dsp2 |
72 |
> crw------- root/audio 14,51 2004-02-19 04:28:48 dsp3 |
73 |
> |
74 |
> > Also, what messages do you get on bootup between "Starting udevd" and |
75 |
> > "Mounting /dev/pts..." |
76 |
> |
77 |
> Can't see Starting udevd is dmesg or kern.log.0 will try to catch it next |
78 |
> boot |
79 |
> |
80 |
I don't see "Starting udevd" but I do see: |
81 |
Configuring System to use udev |
82 |
setting /sbin/udevsend as hotplug agent |
83 |
mounting devpts at /dev/pts.... |
84 |
|
85 |
> > Do you CONFIG_SND_PCM_OSS=y or =m in your kernel configuration? |
86 |
> |
87 |
> cat /usr/src/linux/.config | grep SND_PCM_OSS |
88 |
> CONFIG_SND_PCM_OSS=y |
89 |
> |
90 |
> Rebooting with these changes. I'll get back to you soon. Thanks again. |
91 |
> |
92 |
> > -Richard |
93 |
> |
94 |
> Rebooting with these changes. I'll get back to you soon. Thanks again. |
95 |
> -- |
96 |
> Regards, Ernie |
97 |
> 100% Microsoft and Intel free |
98 |
> |
99 |
> 08:07:29 up 8:26, 2 users, load average: 0.21, 0.69, 0.66 |
100 |
> Linux 2.6.14-gentoo-r42.6.14-r-4_new i686 AMD Athlon(tm) XP 2400+ |
101 |
|
102 |
-- |
103 |
Regards, Ernie |
104 |
100% Microsoft and Intel free |
105 |
|
106 |
08:53:27 up 7 min, 2 users, load average: 0.58, 0.43, 0.18 |
107 |
Linux 2.6.14-gentoo-r42.6.14-r-4_new i686 AMD Athlon(tm) XP 2400+ |
108 |
-- |
109 |
gentoo-user@g.o mailing list |