View previous topic :: View next topic |
Author |
Message |
gojuka Apprentice


Joined: 18 Oct 2002 Posts: 235 Location: Kingston, Ontario, Canada
|
Posted: Tue Oct 28, 2003 11:45 pm Post subject: Oh where, oh where, did my sound devices go ... |
|
|
So now, all of a sudden, my sound no longer works. My bad for actually rebooting my PeeCee. I should know better ... once it works, don't fscking breath.
Code: | mark@tess mark $ ls -l /dev/snd/
total 0
crw-rw---- 1 root audio 116, 0 Dec 31 1969 controlC0
crw-rw---- 1 root audio 116, 33 Dec 31 1969 timer
mark@tess mark $ ls -l /dev/sound/
total 0
mark@tess mark $ |
*sigh*. Any idea how I get my sound devices back? I am using devfs. Maybe I just need to re-emerge some part of ALSA? I have no idea ...
Mark _________________ we're outta control |
|
Back to top |
|
 |
bmichaelsen Veteran


Joined: 17 Nov 2002 Posts: 1277 Location: Hamburg, Germany
|
Posted: Wed Oct 29, 2003 12:04 am Post subject: |
|
|
Are the ALSA modules loaded? E.g. do you see something like this:
Code: | 29.10.03 1:12 root /home/bjoern$ lsmod
Module Size Used by Not tainted
tdfx 28832 1
snd-ens1371 14188 0
snd-rawmidi 15072 0 [snd-ens1371]
snd-seq-device 4448 0 [snd-rawmidi]
snd-pcm 64736 0 [snd-ens1371]
snd-timer 15880 0 [snd-pcm]
snd-page-alloc 5228 0 [snd-pcm]
snd-ac97-codec 37888 0 [snd-ens1371]
snd 31812 0 [snd-ens1371 snd-rawmidi snd-seq-device snd-pcm snd-timer snd-ac97-codec] |
Greetz, Björn |
|
Back to top |
|
 |
Brazil Tux's lil' helper


Joined: 08 Apr 2003 Posts: 117 Location: Los Angeles, California
|
Posted: Wed Oct 29, 2003 12:15 am Post subject: |
|
|
I am playing around w/ udev (to replace devfs) and I ended up w/ the same problem....
I had too recreate a lot if indoe files to make things work again... something you do anyway if you are not using devfs.
What I did is just download the latest alsa driver tar.gz/bz2 file from alsa-project.org, and in the top of the extracted folder used a script the install uses. There are actually two script files: snddevices and snddevices.sh. They are actually the same file and the same scripts... I think some systems out there have to have the .sh...
Anyway... the script is fine as it is, except it assigns the permissions of the new dev files to belong to the audio group. Just edit the the top of the file, and change the line that calls the permission command (think it was chmod) from (root,audio) to (root,wheel) to make it less of a pain for us gentoo users... (because portage assigns it to wheel)
If you do have devfsd running, and you want it to take care of... I'm guess it didn't work for you becasue the file node and aliases where not defined in your devfsd and modules.conf config files... also check if you have devfsd starting at boot...
The script will make it work no matter what... but then no one but yourself is keeping track of the files made in /dev...
-Brazil |
|
Back to top |
|
 |
gojuka Apprentice


Joined: 18 Oct 2002 Posts: 235 Location: Kingston, Ontario, Canada
|
Posted: Wed Oct 29, 2003 3:00 am Post subject: |
|
|
Here is my lsmod:
Code: | tess root # lsmod
Module Size Used by Tainted: P
isofs 26804 0 (autoclean)
zlib_inflate 18692 0 (autoclean) [isofs]
sg 29804 0 (autoclean)
snd-pcm-oss 40196 0 (autoclean) (unused)
snd-pcm 63104 0 (autoclean) [snd-pcm-oss]
snd-timer 15464 0 (autoclean) [snd-pcm]
snd-page-alloc 5036 0 (autoclean) [snd-pcm]
snd-mixer-oss 13848 0 (autoclean) [snd-pcm-oss]
snd 31524 0 (autoclean) [snd-pcm-oss snd-pcm snd-timer snd-mixer-oss]
soundcore 3972 0 (autoclean) [snd]
floppy 51804 0 (autoclean)
agpgart 18896 4 (autoclean)
nvidia 1631264 22 (autoclean)
parport_pc 13732 1 (autoclean)
lp 6560 0 (autoclean)
parport 14656 1 (autoclean) [parport_pc lp]
ide-cd 30696 0 (autoclean)
sr_mod 18680 0 (autoclean)
cdrom 29696 0 (autoclean) [ide-cd sr_mod]
rtc 7548 0 (autoclean)
vfat 10828 0 (autoclean)
fat 33272 0 (autoclean) [vfat]
ide-scsi 8944 0
scsi_mod 87380 3 [sg sr_mod ide-scsi]
visor 9896 0 (unused)
usbserial 18460 0 [visor]
hid 19684 0 (unused)
mousedev 4404 1
input 3520 0 [hid mousedev]
uhci 27536 0 (unused)
usbcore 64576 1 [visor usbserial hid uhci]
8139too 15688 1
mii 2464 0 [8139too]
|
Mark _________________ we're outta control |
|
Back to top |
|
 |
gojuka Apprentice


Joined: 18 Oct 2002 Posts: 235 Location: Kingston, Ontario, Canada
|
Posted: Wed Oct 29, 2003 3:38 am Post subject: |
|
|
oi ...
My bad. I apparently overwrote my /etc/modules.d/alsa at some point, during an etc-update probably.
-5 karma for me.
I'm all better now.
Mark _________________ we're outta control |
|
Back to top |
|
 |
bmichaelsen Veteran


Joined: 17 Nov 2002 Posts: 1277 Location: Hamburg, Germany
|
Posted: Wed Oct 29, 2003 9:52 am Post subject: |
|
|
Have fun with your regained sound  |
|
Back to top |
|
 |
|