View previous topic :: View next topic |
Author |
Message |
Xiol Apprentice
Joined: 24 Jul 2003 Posts: 209 Location: UK
|
Posted: Sat Sep 18, 2004 1:07 pm Post subject: [SOLVED] ALSA does not work after re-installation of system |
|
|
I've recently reinstalled my system on a new hard drive and I can't bloody get my sound working again.
It's definately picking up my soundcard:
Code: |
xerxes root # uname -a
Linux xerxes 2.6.7-gentoo-r14 #3 Sat Sep 18 13:23:22 GMT 2004 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz GenuineIntel GNU/Linux
xerxes root # lspci | grep -i audio
0000:00:0b.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
xerxes root # lsmod
Module Size Used by
snd_seq_midi 8736 0
snd_emu10k1_synth 7808 0
snd_emux_synth 36224 1 snd_emu10k1_synth
snd_seq_virmidi 7296 1 snd_emux_synth
snd_seq_midi_emul 7552 1 snd_emux_synth
snd_emu10k1 94728 3 snd_emu10k1_synth
snd_rawmidi 22308 3 snd_seq_midi,snd_seq_virmidi,snd_emu10k1
snd_ac97_codec 68100 1 snd_emu10k1
snd_util_mem 3968 2 snd_emux_synth,snd_emu10k1
snd_hwdep 9348 2 snd_emux_synth,snd_emu10k1
snd_seq_oss 34432 0
snd_seq_midi_event 6528 3 snd_seq_midi,snd_seq_virmidi,snd_seq_oss
snd_seq 49936 8 snd_seq_midi,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_oss,snd_seq_midi_event
snd_seq_device 7944 7 snd_seq_midi,snd_emu10k1_synth,snd_emux_synth,snd_emu10k1,snd_rawmidi,snd_seq_oss,snd_seq
snd_pcm_oss 52264 0
snd_pcm 84232 3 snd_emu10k1,snd_pcm_oss
snd_page_alloc 10760 2 snd_emu10k1,snd_pcm
snd_timer 22660 2 snd_seq,snd_pcm
snd_mixer_oss 19328 1 snd_pcm_oss
snd 48228 19 snd_seq_midi,snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_util_mem,snd_hwdep,snd_seq_oss,snd_seq_midi_event,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
nvidia 4819092 12
|
I've tried both using modules and compiling ALSA directly into kernel (2.6.7-gentoo-r14). Neither works. /etc/modules.d/alsa is setup as best I know (essentially the same as my previous system which worked on the same kernel).
I can 'play' music without any errors, but I don't get any sound. I know my hardware is fine because the sound works perfectly in Windows.
I have unmuted and raised the volume of my card in alsamixer and kmix.
Sound doesn't work on the console or in KDE, so although I've had sound issues with KDE before, I know it's not KDE alone this time.
As far as I'm aware my configuration is perfect and virtually identical to my previous installation, except this time it's not working.
I can't play any sound or video files and get audio on them. I've tried Noatun, mplayer and aplay to play MP3, OGG and WAV, and MPG/AVI files.
I'm totally stumped as to what to do next. Any ideas?
Last edited by Xiol on Sun Sep 19, 2004 12:23 pm; edited 1 time in total |
|
Back to top |
|
|
Tsonn Guru
Joined: 03 Jun 2004 Posts: 550
|
Posted: Sat Sep 18, 2004 1:38 pm Post subject: |
|
|
For some reason my system always sets PCM volume to zero on boot... have you checked that that isn't muted/zeroed? _________________ If your question was answered, please edit the first post and add [SOLVED] to the title. Thanks! |
|
Back to top |
|
|
Xiol Apprentice
Joined: 24 Jul 2003 Posts: 209 Location: UK
|
Posted: Sat Sep 18, 2004 1:44 pm Post subject: |
|
|
Yes. I assure you all my volume controls are unmuted.
PCM and Master are at 100%, so are a few other things, too. |
|
Back to top |
|
|
Tsonn Guru
Joined: 03 Jun 2004 Posts: 550
|
Posted: Sat Sep 18, 2004 1:52 pm Post subject: |
|
|
Just checking
Have a look at the contents of /dev/sound... see if you can get any sound from each audio or dsp device by doing:
Code: |
cat /dev/urandom > /dev/sound/audio
|
_________________ If your question was answered, please edit the first post and add [SOLVED] to the title. Thanks! |
|
Back to top |
|
|
Xiol Apprentice
Joined: 24 Jul 2003 Posts: 209 Location: UK
|
Posted: Sat Sep 18, 2004 1:55 pm Post subject: |
|
|
Nope, nothing. |
|
Back to top |
|
|
Tsonn Guru
Joined: 03 Jun 2004 Posts: 550
|
Posted: Sat Sep 18, 2004 2:12 pm Post subject: |
|
|
Hmm. You could try booting from a LiveCD and doing the same test there. (I think a LiveCD will autodetect such things...) _________________ If your question was answered, please edit the first post and add [SOLVED] to the title. Thanks! |
|
Back to top |
|
|
Xiol Apprentice
Joined: 24 Jul 2003 Posts: 209 Location: UK
|
Posted: Sat Sep 18, 2004 2:39 pm Post subject: |
|
|
Yes, my sound works under a LiveCD and Windows.
I forgot to say as well that I am using my old kernel .config, so it's unlikely to be a kernel issue. |
|
Back to top |
|
|
Tsonn Guru
Joined: 03 Jun 2004 Posts: 550
|
Posted: Sat Sep 18, 2004 9:01 pm Post subject: |
|
|
I'm afraid I'm out of good suggestions
You could try compiling the kernel using genkernel, to get one that's close to the LiveCD. But since logically it probably isn't a kernel problem, that's a bit of a long shot. _________________ If your question was answered, please edit the first post and add [SOLVED] to the title. Thanks! |
|
Back to top |
|
|
vladtheinhaler n00b
Joined: 19 Sep 2004 Posts: 7 Location: Long Branch, New Jersey, United States
|
Posted: Sun Sep 19, 2004 2:44 am Post subject: |
|
|
I as well would really appreciate it if someone could figure out what in the world is going on here, because I'm having the same exact problem. Everything Xiol has said so far applies to me, right down to the detail of both using an Audigy card.
Again, sound works flawlessly in Windows and on the LiveCD, and yes, everything is unmuted, no, cat'ing the device does not produce any output, and no, i do not recieve any errors when I play a file. In XMMS the visualization plugin even responds correctly, I just can't hear anything whatsoever.
Using genkernel to produce an intentionally bloated kernel sounds like an extremely unattractive option to me, though if no other solution can be found I'll do what must be done . |
|
Back to top |
|
|
jschellhaass Guru
Joined: 20 Jan 2004 Posts: 341
|
Posted: Sun Sep 19, 2004 4:43 am Post subject: |
|
|
I had the same problem. All sound modules load without errors but no sound. This is what fixed sound for me. This is with an SB Live! 5.1 card that was working until I upgraded to kde 3.3
One of the things I found was the SB card was sharing an IRQ with the nvidia card so I moved the card to a different slot. This was strange since sound was working.
I also had to turn up IEC958 TTL;
amixer set 'IEC958 TTL' 100
Here are a couple of other things to check;
cat /proc/interrupts - do this in a console under X so it picks up the video card IRQ.
If the sound card is sharing an IRQ try booting the system with acpi=off.
Jeff |
|
Back to top |
|
|
Xiol Apprentice
Joined: 24 Jul 2003 Posts: 209 Location: UK
|
Posted: Sun Sep 19, 2004 9:05 am Post subject: |
|
|
Code: | dane@xerxes dane $ cat /proc/interrupts
CPU0
0: 609832 IO-APIC-edge timer
1: 100 IO-APIC-edge i8042
8: 2 IO-APIC-edge rtc
12: 58 IO-APIC-edge i8042
14: 9943 IO-APIC-edge ide0
15: 42 IO-APIC-edge ide1
16: 42273 IO-APIC-level nvidia
17: 1179 IO-APIC-level eth0
19: 1644 IO-APIC-level EMU10K1
20: 3182 IO-APIC-level acpi, ohci_hcd
21: 0 IO-APIC-level ohci_hcd
22: 0 IO-APIC-level ohci_hcd
NMI: 0
LOC: 609752
ERR: 0
MIS: 0 |
I'm not seeing any conflicts there?
I will, however, try booting with ACPI off just to check.
[Update]
ACPI makes no difference. Still sitting here in silence. |
|
Back to top |
|
|
lynxnyl Apprentice
Joined: 15 Aug 2004 Posts: 253 Location: Ljubljana, Slovenija
|
Posted: Sun Sep 19, 2004 11:05 am Post subject: |
|
|
I have almost the same problems(tried the same things) with sblive 5.1. But, I can't make amixer to work at all.
Code: | amixer: Mixer attach default error: No such device |
Other curiosities:
- kde3.3 without arts, with alsa
- the user is in the audio group, root too and none of them have access permissions to /dev/sound/audio (even after chmoding it)
- soundcard is sharing the interrupt with ohci_hcd |
|
Back to top |
|
|
Xiol Apprentice
Joined: 24 Jul 2003 Posts: 209 Location: UK
|
Posted: Sun Sep 19, 2004 12:23 pm Post subject: |
|
|
Ran 'alsaconf' as root.
Dunno what it did, but my sound is working now. |
|
Back to top |
|
|
lynxnyl Apprentice
Joined: 15 Aug 2004 Posts: 253 Location: Ljubljana, Slovenija
|
Posted: Sun Sep 19, 2004 1:09 pm Post subject: |
|
|
Nice script(it worked), I wonder why none of the guides mentioned it. Didn't save my skin though. Additionally, now I get
Code: |
/usr/sbin/alsactl: save_state:1061: No soundcards found...
|
when stopping alsa. |
|
Back to top |
|
|
mcuddy n00b
Joined: 06 Dec 2004 Posts: 71
|
Posted: Mon Dec 27, 2004 5:54 am Post subject: update |
|
|
Had the same problem... looked through lots of newer threads, none mentioned alsaconf. I ran it and now my sound works. Thanks to whoever found this utility. |
|
Back to top |
|
|
butters Guru
Joined: 13 May 2002 Posts: 427 Location: Poughkeepsie, NY
|
Posted: Tue Dec 28, 2004 10:56 am Post subject: |
|
|
I think my problem is similar to yours. I have a i8x0 chipset that is detected by ALSA during bootup. I can unmute the channels using amixer as root (but not as my regular user), but apps can't open the ALSA output device. I think this is a permissions problem, but can't figure it out. The alsaconf script doesn't detect any sound cards, but that may be because the ALSA driver is already loaded. _________________ If tugboats were bigger, they'd be the ones getting tugged. |
|
Back to top |
|
|
|