Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev and /dev/dsp problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
pat
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2002
Posts: 102
Location: Lausanne, Switzerland

PostPosted: Mon Sep 13, 2004 10:34 pm    Post subject: udev and /dev/dsp problem Reply with quote

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 8O

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:
Back to top
View user's profile Send private message
Raistlin
l33t
l33t


Joined: 17 May 2004
Posts: 691
Location: Boston, MA

PostPosted: Tue Sep 14, 2004 6:08 am    Post subject: Reply with quote

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
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Tue Sep 14, 2004 7:11 am    Post subject: Reply with quote

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
View user's profile Send private message
pat
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2002
Posts: 102
Location: Lausanne, Switzerland

PostPosted: Tue Sep 14, 2004 10:00 am    Post subject: Reply with quote

Thank you :D 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 8)
Back to top
View user's profile Send private message
pat
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2002
Posts: 102
Location: Lausanne, Switzerland

PostPosted: Tue Sep 14, 2004 3:50 pm    Post subject: Reply with quote

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 :wink:
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
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Tue Sep 14, 2004 3:56 pm    Post subject: Reply with quote

pat wrote:
It think is enabled :wink:

Meh, I couldn't tell from the diff of your config file. :wink: Doesn't look like you have missed anything... how odd!
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum