Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Udevstart does NOT create sound devices!
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
scatat
n00b
n00b


Joined: 08 Mar 2006
Posts: 3

PostPosted: Wed Mar 08, 2006 1:41 pm    Post subject: Udevstart does NOT create sound devices! Reply with quote

Hi - I'm pulling my hair out here.

Having uprgraded my Xbox running Gentoo after stable use for about a year, I am having problms getting Alsa to work after an emerge world, kernel recompile and reboot.

I have read other fourm threads and the Alsa guide and have followed ALL of the advice before posting here.

The solution to most udev/Alsa problems seems to be to run udevstart. However, this is NOT WORK for me - when I do an ls of /dev/sound:
Code:

ted ~ # ls /dev/sound/*
/dev/sound/sequencer  /dev/sound/sequencer2


All I see is sequencer devices - no oss bits or anything. This is despite the fact that all modules are loaded fine.

Code:

Module                  Size  Used by
snd_pcm_oss            38432  0
snd_mixer_oss          13440  1 snd_pcm_oss
snd_seq_dummy           1156  0
snd_seq_oss            23936  0
snd_seq_midi_event      3456  1 snd_seq_oss
snd_seq                34448  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          4364  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_intel8x0           19648  0
snd_ac97_codec         61824  1 snd_intel8x0
snd_pcm                57480  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              14212  2 snd_seq,snd_pcm
snd                    29028  9 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore               3936  1 snd
snd_page_alloc          4612  2 snd_intel8x0,snd_pcm




Here are the relevant package versions:
Code:

Calculating dependencies ...done!
[ebuild   R   ] sys-fs/udev-079-r1  (-selinux) 0 kB
[ebuild   R   ] sys-apps/baselayout-1.11.14-r6  -bootstrap -build -static -unicode 0 kB
[ebuild   R   ] media-libs/alsa-lib-1.0.10  -doc -jack 0 kB
[ebuild   R   ] media-sound/alsa-utils-1.0.10  +nls 0 kB
[ebuild   R   ] media-sound/alsa-headers-1.0.10  0 kB


The kernel version is the latest stable xbox-sources:

Code:

Linux ted 2.6.12.5-xbox #5 Wed Mar 8 08:47:13 GMT 2006 i686 Celeron (Coppermine) GenuineIntel GNU/Linux


I'm quite happy to recreate the device nodes myself, but have no idea! Any help would be appreciated.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54815
Location: 56N 3W

PostPosted: Wed Mar 08, 2006 5:30 pm    Post subject: Reply with quote

scatat,

As you say, this should not be required.
Edit /etc/conf.d/rc to turn on the dev tarball if its off. This will preserve you manual /dev entries across reboots
Read
Code:
man mknod
to find out how to drive the mknod command.

This shows the major/minor device numbers in
Code:
ls -l /dev/snd
total 0
crw-rw---- 1 root audio 116,  0 Mar  8 16:59 controlC0
crw-rw---- 1 root audio 116, 32 Mar  8 17:00 controlC1
crw-rw---- 1 root audio 116, 24 Mar  8 16:59 pcmC0D0c
crw-rw---- 1 root audio 116, 16 Mar  8 16:59 pcmC0D0p
crw-rw---- 1 root audio 116, 25 Mar  8 16:59 pcmC0D1c
crw-rw---- 1 root audio 116, 18 Mar  8 16:59 pcmC0D2p
crw-rw---- 1 root audio 116, 56 Mar  8 17:00 pcmC1D0c
crw-rw---- 1 root audio 116,  1 Mar  8 17:00 seq
crw-rw---- 1 root audio 116, 33 Mar  8 16:59 timer
and in
Code:
ls -l /dev/sound
total 0
crw-rw---- 1 root audio 14, 12 Mar  8 17:00 adsp
crw-rw---- 1 root audio 14,  4 Mar  8 17:00 audio
crw-rw---- 1 root audio 14, 20 Mar  8 17:00 audio1
crw-rw---- 1 root audio 14,  3 Mar  8 17:00 dsp
crw-rw---- 1 root audio 14, 19 Mar  8 17:00 dsp1
crw-rw---- 1 root audio 14,  0 Mar  8 17:00 mixer
crw-rw---- 1 root audio 14, 16 Mar  8 17:00 mixer1
crw-rw---- 1 root audio 14,  1 Mar  8 17:00 sequencer
crw-rw---- 1 root audio 14,  8 Mar  8 17:00 sequencer2

There is a complete list in /usr/src/linux/Documentation/devices.txt
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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