View previous topic :: View next topic |
Author |
Message |
pat Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/80b213bb3d73a46fa3ec3.gif)
Joined: 26 Aug 2002 Posts: 102 Location: Lausanne, Switzerland
|
Posted: Mon Sep 13, 2004 10:34 pm Post subject: udev and /dev/dsp problem |
|
|
Hi !
I have two different PC, running 2.6.8 gentoo sources, with UDEV (latest "stable" version: sys-fs/udev-030 ), with two different comporment, concerning sound support.
On the the first PC, I have /dev/dsp, not on the second (In fact, /dev/sound/ directory only exists on the first PC...) But /dev/snd/ does exist on both
Really annoying when I use a program that want to use the dsp device on the second PC...
Here is the diff between the grep SND /usr/src/linux/.config output for the first (working) and for the second PC:
Code: | 4d3
< CONFIG_SND_HWDEP=m
13,14c12,15
< # CONFIG_SND_VERBOSE_PRINTK is not set
< # CONFIG_SND_DEBUG is not set
---
> CONFIG_SND_VERBOSE_PRINTK=y
> CONFIG_SND_DEBUG=y
> # CONFIG_SND_DEBUG_MEMORY is not set
> CONFIG_SND_DEBUG_DETECT=y
20c21
< CONFIG_SND_MPU401=m
---
> # CONFIG_SND_MPU401 is not set
58c59
< CONFIG_SND_EMU10K1=m
---
> # CONFIG_SND_EMU10K1 is not set
78,79c79,80
< # CONFIG_SND_INTEL8X0 is not set
< # CONFIG_SND_INTEL8X0M is not set
---
> CONFIG_SND_INTEL8X0=m
> CONFIG_SND_INTEL8X0M=m
|
I don't see what could cause such a problem...
Udev rules and permissions concerning sound devices are exactly the same on both PC's
And users are in the audio group...
Where's the problem ? I'm searching for two weeks (forums/google), unsuccessfully though
Could anyone give me some help, please ! Thanks ![Wink :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Raistlin l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1784031407449a32cfd7c14.jpg)
Joined: 17 May 2004 Posts: 691 Location: Boston, MA
|
Posted: Tue Sep 14, 2004 6:08 am Post subject: |
|
|
well, i've posted a similar question here. although i am using devfs, neither /dev/dspX nor other required devices got gnerated when i followed the howto concerning ALSA. i also had to manually add the devices for my nvidia card (/dev/nvidiaX and /dev/nvidiactl). for the sound issue i changed the directory to /dev and run the script MAKEDEV: Code: | $>cd /dev
$>MAKEDEV |
and my problems were gone... i don't have a clue, why the devices didn't get generated... on my other pc's there was no such problem.
cheers, raist. _________________ Zwei Was Eins Initially
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Maedhros Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/8825449514782674ca8d88.gif)
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Tue Sep 14, 2004 7:11 am Post subject: |
|
|
Things like /dev/dsp, and /dev/sound/* are OSS devices, while /dev/snd/* are ALSA. It looks to me like you want to be enabling OSS emulation support (found in among the ALSA options) when you build you kernel. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pat Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/80b213bb3d73a46fa3ec3.gif)
Joined: 26 Aug 2002 Posts: 102 Location: Lausanne, Switzerland
|
Posted: Tue Sep 14, 2004 10:00 am Post subject: |
|
|
Thank you It works !
Note, I just run MAKEDEV audio (first with -n option to see what devices would be created), so MAKEDEV didn't create every devices it knows...
Thanks ![Cool 8)](images/smiles/icon_cool.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pat Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/80b213bb3d73a46fa3ec3.gif)
Joined: 26 Aug 2002 Posts: 102 Location: Lausanne, Switzerland
|
Posted: Tue Sep 14, 2004 3:50 pm Post subject: |
|
|
Quote: | It looks to me like you want to be enabling OSS emulation support (found in among the ALSA options) when you build you kernel. |
It think is enabled
Code: | CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
|
Or did I miss something ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Maedhros Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/8825449514782674ca8d88.gif)
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Tue Sep 14, 2004 3:56 pm Post subject: |
|
|
pat wrote: | It think is enabled |
Meh, I couldn't tell from the diff of your config file. Doesn't look like you have missed anything... how odd! _________________ No-one's more important than the earthworm. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|