View previous topic :: View next topic |
Author |
Message |
neilhwatson l33t
Joined: 06 Feb 2003 Posts: 719 Location: Canada
|
Posted: Sat Apr 22, 2006 3:22 pm Post subject: Sound (ALSA) stopped working |
|
|
Quite a few sound problems this month. There must be a bug somehere. My sound stopped working after and update. I can't recall exactly what was updated but, it was not my kernel. Currently my volumes and card seem O.K. but, there is no sound.
Code: |
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Live [Sound Blaster Live!], device 0: emu10k1 [EMU10K1]
Subdevices: 32/32
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
Subdevice #8: subdevice #8
Subdevice #9: subdevice #9
Subdevice #10: subdevice #10
Subdevice #11: subdevice #11
Subdevice #12: subdevice #12
Subdevice #13: subdevice #13
Subdevice #14: subdevice #14
Subdevice #15: subdevice #15
Subdevice #16: subdevice #16
Subdevice #17: subdevice #17
Subdevice #18: subdevice #18
Subdevice #19: subdevice #19
Subdevice #20: subdevice #20
Subdevice #21: subdevice #21
Subdevice #22: subdevice #22
Subdevice #23: subdevice #23
Subdevice #24: subdevice #24
Subdevice #25: subdevice #25
Subdevice #26: subdevice #26
Subdevice #27: subdevice #27
Subdevice #28: subdevice #28
Subdevice #29: subdevice #29
Subdevice #30: subdevice #30
Subdevice #31: subdevice #31
card 0: Live [Sound Blaster Live!], device 2: emu10k1 efx [EMU10K1 EFX]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
amixer
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 23 [74%] [on]
Front Right: Playback 23 [74%] [on]
Simple mixer control 'Headphone LFE',1
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Headphone',1
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 100
Mono:
Front Left: Playback 0 [0%]
Front Right: Playback 0 [0%]
Simple mixer control 'Headphone Center',1
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Tone',0
Capabilities: pswitch
Playback channels: Front Left - Front Right
Mono:
Front Left: Playback [on]
Front Right: Playback [on]
Simple mixer control 'Bass',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 40
Front Left: 20 [50%]
Front Right: 20 [50%]
Simple mixer control 'Treble',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 40
Front Left: 20 [50%]
Front Right: 20 [50%]
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 22 [71%] [on]
Front Right: Playback 22 [71%] [on]
Simple mixer control 'Surround',0
Capabilities: pvolume cvolume cswitch
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 100 Capture 0 - 100
Front Left: Playback 70 [70%] Capture 0 [0%] [off]
Front Right: Playback 70 [70%] Capture 0 [0%] [off]
Simple mixer control 'Center',0
Capabilities: pvolume pvolume-joined
Playback channels: Mono
Limits: Playback 0 - 100
Mono: Playback 70 [70%]
Simple mixer control 'LFE',0
Capabilities: pvolume pvolume-joined
Playback channels: Mono
Limits: Playback 0 - 100
Mono: Playback 70 [70%]
Simple mixer control 'Wave',0
Capabilities: pvolume cvolume cswitch
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 100 Capture 0 - 100
Front Left: Playback 70 [70%] Capture 100 [100%] [off]
Front Right: Playback 70 [70%] Capture 100 [100%] [off]
Simple mixer control 'Wave Center',0
Capabilities: pvolume pvolume-joined
Playback channels: Mono
Limits: Playback 0 - 100
Mono: Playback 70 [70%]
Simple mixer control 'Wave LFE',0
Capabilities: pvolume pvolume-joined
Playback channels: Mono
Limits: Playback 0 - 100
Mono: Playback 70 [70%]
Simple mixer control 'Wave Surround',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 100
Mono:
Front Left: Playback 70 [70%]
Front Right: Playback 70 [70%]
Simple mixer control 'Music',0
Capabilities: pvolume cvolume cswitch
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 100 Capture 0 - 100
Front Left: Playback 70 [70%] Capture 100 [100%] [off]
Front Right: Playback 70 [70%] Capture 100 [100%] [off]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 22 [71%] [on] Capture [off]
Front Right: Playback 22 [71%] [on] Capture [off]
Simple mixer control 'Line LiveDrive',0
Capabilities: pvolume cvolume cswitch
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 100 Capture 0 - 100
Front Left: Playback 70 [70%] Capture 0 [0%] [off]
Front Right: Playback 70 [70%] Capture 0 [0%] [off]
Simple mixer control 'Line2 LiveDrive',1
Capabilities: pvolume cvolume cswitch
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 100 Capture 0 - 100
Front Left: Playback 70 [70%] Capture 0 [0%] [off]
Front Right: Playback 70 [70%] Capture 0 [0%] [off]
Simple mixer control 'CD',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 22 [71%] [on] Capture [off]
Front Right: Playback 22 [71%] [on] Capture [off]
Simple mixer control 'Mic',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Mono
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono: Playback 22 [71%] [on]
Front Left: Capture [on]
Front Right: Capture [on]
Simple mixer control 'Mic Boost (+20dB)',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Mic Select',0
Capabilities: enum
Items: 'Mic1' 'Mic2'
Item0: 'Mic1'
Simple mixer control 'Video',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 22 [71%] [on] Capture [off]
Front Right: Playback 22 [71%] [on] Capture [off]
Simple mixer control 'Phone',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Mono
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono: Playback 22 [71%] [on]
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'IEC958 Coaxial',0
Capabilities: pvolume cvolume cswitch
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 100 Capture 0 - 100
Front Left: Playback 76 [76%] Capture 0 [0%] [off]
Front Right: Playback 76 [76%] Capture 0 [0%] [off]
Simple mixer control 'IEC958 LiveDrive',0
Capabilities: pvolume cvolume cswitch
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 100 Capture 0 - 100
Front Left: Playback 76 [76%] Capture 0 [0%] [off]
Front Right: Playback 76 [76%] Capture 0 [0%] [off]
Simple mixer control 'IEC958 Optical Raw',0
Capabilities: pswitch
Playback channels: Front Left - Front Right
Mono:
Front Left: Playback [on]
Front Right: Playback [on]
Simple mixer control 'IEC958 TTL',0
Capabilities: pvolume cvolume cswitch
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 100 Capture 0 - 100
Front Left: Playback 74 [74%] Capture 0 [0%] [off]
Front Right: Playback 74 [74%] Capture 0 [0%] [off]
Simple mixer control 'PC Speaker',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 15
Mono: Playback 11 [73%] [on]
Simple mixer control 'Aux',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 22 [71%] [on] Capture [off]
Front Right: Playback 22 [71%] [on] Capture [off]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 0 [0%] [on]
Front Right: Capture 0 [0%] [on]
Simple mixer control 'Mix',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Mix Mono',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'AC97',0
Capabilities: pvolume cvolume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 100 Capture 0 - 100
Front Left: Playback 70 [70%] Capture 100 [100%]
Front Right: Playback 70 [70%] Capture 100 [100%]
Simple mixer control 'External Amplifier',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'SB Live Analog/Digital Output Jack',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
ls -al /dev/sound
total 0
drwxr-xr-x 2 root root 160 Apr 21 19:09 .
drwxr-xr-x 16 root root 29880 Apr 21 19:09 ..
crw-rw---- 1 root audio 14, 12 Apr 21 19:09 adsp
crw-rw---- 1 root audio 14, 4 Apr 21 19:09 audio
crw-rw---- 1 root audio 14, 3 Apr 21 19:09 dsp
crw-rw---- 1 root audio 14, 0 Apr 21 19:09 mixer
crw-rw---- 1 root audio 14, 1 Apr 21 19:09 sequencer
crw-rw---- 1 root audio 14, 8 Apr 21 19:09 sequencer2
ls -la /dev/snd
total 0
drwxr-xr-x 2 root root 300 Apr 21 19:09 .
drwxr-xr-x 16 root root 29880 Apr 21 19:09 ..
crw-rw---- 1 root audio 116, 0 Apr 21 19:09 controlC0
crw-rw---- 1 root audio 116, 4 Apr 21 19:09 hwC0D0
crw-rw---- 1 root audio 116, 6 Apr 21 19:09 hwC0D2
crw-rw---- 1 root audio 116, 8 Apr 21 19:09 midiC0D0
crw-rw---- 1 root audio 116, 9 Apr 21 19:09 midiC0D1
crw-rw---- 1 root audio 116, 10 Apr 21 19:09 midiC0D2
crw-rw---- 1 root audio 116, 24 Apr 21 19:09 pcmC0D0c
crw-rw---- 1 root audio 116, 16 Apr 21 19:09 pcmC0D0p
crw-rw---- 1 root audio 116, 25 Apr 21 19:09 pcmC0D1c
crw-rw---- 1 root audio 116, 26 Apr 21 19:09 pcmC0D2c
crw-rw---- 1 root audio 116, 18 Apr 21 19:09 pcmC0D2p
crw-rw---- 1 root audio 116, 1 Apr 21 19:09 seq
crw-rw---- 1 root audio 116, 33 Apr 21 19:09 timer
|
Whenever I run something that produces sound (e.g. ogg123), no errors are reported yet, no sound is produced. Any trouble shooting ideas? _________________ The true guru is a teacher.
Neil Watson |
|
Back to top |
|
|
overkll Veteran
Joined: 21 Sep 2004 Posts: 1249 Location: Austin, Texas
|
Posted: Sat Apr 22, 2006 3:52 pm Post subject: |
|
|
What version of alsa are you using? If you upgrade to 1.0.11 or any of the 1.0.11 release candidates (now removed from portage) you'll need to unmute the sources as you did when you originally installed alsa. for some strange reason, this upgrade mutes everything again.
So check to make sure what you need/desire is unmuted. |
|
Back to top |
|
|
neilhwatson l33t
Joined: 06 Feb 2003 Posts: 719 Location: Canada
|
Posted: Sat Apr 22, 2006 4:11 pm Post subject: |
|
|
As far as I an tell everything is unmuted. My alsa driver is from the my kernel. _________________ The true guru is a teacher.
Neil Watson |
|
Back to top |
|
|
suck_ma_penguin Apprentice
Joined: 03 May 2004 Posts: 180
|
Posted: Sat Apr 22, 2006 5:04 pm Post subject: |
|
|
I have exactly the same problem. It's completely baffling, everything is as it should be, but there's no sound... |
|
Back to top |
|
|
suck_ma_penguin Apprentice
Joined: 03 May 2004 Posts: 180
|
Posted: Sat Apr 22, 2006 5:15 pm Post subject: |
|
|
Fixed it. I had to roll back to udev-079. 087 seems to break alsa for me. It creates all the nodes and stuff, but they just don't work. Very strange. Try that! |
|
Back to top |
|
|
neilhwatson l33t
Joined: 06 Feb 2003 Posts: 719 Location: Canada
|
Posted: Sat Apr 22, 2006 5:34 pm Post subject: |
|
|
udev-079 or udev-079-r1? I tried 079 but the problem persists. _________________ The true guru is a teacher.
Neil Watson |
|
Back to top |
|
|
suck_ma_penguin Apprentice
Joined: 03 May 2004 Posts: 180
|
Posted: Sat Apr 22, 2006 5:35 pm Post subject: |
|
|
sorry, 079-r1, my bad |
|
Back to top |
|
|
neilhwatson l33t
Joined: 06 Feb 2003 Posts: 719 Location: Canada
|
Posted: Sat Apr 22, 2006 5:54 pm Post subject: |
|
|
Gold star for you. That did the trick. Let me know which bug you open. I'll put in my two cents. _________________ The true guru is a teacher.
Neil Watson |
|
Back to top |
|
|
suck_ma_penguin Apprentice
Joined: 03 May 2004 Posts: 180
|
|
Back to top |
|
|
neilhwatson l33t
Joined: 06 Feb 2003 Posts: 719 Location: Canada
|
Posted: Sat Apr 22, 2006 6:11 pm Post subject: |
|
|
I think I see the problem. I re-emerged the lasted udev to experiment. I had to start alsa, run udevstart to set the /dev/sound files. Then I had to use the alsamixer to set the volume levels. I had to ensure that, in my case, the TEC958 settings were all zero. Also, as has been mentioned, the PCM and Master volumes must be on. Now my sound works properly. BTW, my card is a SB-Live. _________________ The true guru is a teacher.
Neil Watson |
|
Back to top |
|
|
suck_ma_penguin Apprentice
Joined: 03 May 2004 Posts: 180
|
Posted: Sat Apr 22, 2006 6:12 pm Post subject: |
|
|
so you got it working with udev-087? |
|
Back to top |
|
|
neilhwatson l33t
Joined: 06 Feb 2003 Posts: 719 Location: Canada
|
Posted: Sat Apr 22, 2006 6:30 pm Post subject: |
|
|
Yep.
Code: |
* sys-fs/udev
Latest version available: 087
Latest version installed: 087
Size of downloaded files: 185 kB
Homepage: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
Description: Linux dynamic and persistent device naming support (aka userspace devfs)
License: GPL-2
|
_________________ The true guru is a teacher.
Neil Watson |
|
Back to top |
|
|
suck_ma_penguin Apprentice
Joined: 03 May 2004 Posts: 180
|
Posted: Sat Apr 22, 2006 9:28 pm Post subject: |
|
|
But if udev isn't creating the proper nodes on bootup then it's not really working properly. The mixer and sound settings have nothing to do with udev, or shouldn't have. |
|
Back to top |
|
|
suck_ma_penguin Apprentice
Joined: 03 May 2004 Posts: 180
|
Posted: Sun Apr 23, 2006 12:01 pm Post subject: |
|
|
Ok i got it working too now, bug is closed. I have a feeling this might have been to do with "RC_DEVICE_TARBALL" in /etc/conf.d/rc... I'm still not sure though. Never mind. |
|
Back to top |
|
|
|
|
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
|
|