Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ALSA doesn't work - SoundBlaster Live.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
RayQ
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jul 2005
Posts: 93

PostPosted: Sat Jul 16, 2005 5:23 pm    Post subject: ALSA doesn't work - SoundBlaster Live. Reply with quote

I am running Gentoo linux kernel 2.6.12-gentoo-r4. My sound card is, according to lspci, "Creative Labs SB Live!". I have emerged alsa-utils, and ALSA support is compiled in the kernel.
I can't get any kind of output through my speakers. I did what http://www.gentoo.org/doc/en/alsa-guide.xml says I should do, no dice.

cat /proc/asound/cards says this:
Code:

0 [S51            ]: EMU10K1 - SB Live 5.1
                     SB Live 5.1 (rev.7, serial:0x80641102) at 0xd880, irq 22
1 [I82801DBICH4   ]: ICH4 - Intel 82801DB-ICH4
                     Intel 82801DB-ICH4 with AD1981A at 0xfebff800, irq 17


Any idea what the problem might be?
I've checked that:

  • My speakers are plugged in
  • They are plugged into the correct socket-thingy
  • My sound channels are not muted (alsamxixer, unmuted with M (shows an infinite sign instead of MM) and raised volume)


It used to work in Slackware Linux, and it worked also in my other OS, Windows XP.

Thanks :)
Back to top
View user's profile Send private message
SnEptUne
l33t
l33t


Joined: 23 Aug 2004
Posts: 656

PostPosted: Sat Jul 16, 2005 6:08 pm    Post subject: Reply with quote

Have you loaded the modules or is it compiled into the kernel? What is the output of this?

Code:
dmesg | grep Sound


Can you play wav file with aplay? Have you unmuted all the channel as described in the guide? I am no expert though, so my advices may not be of assistanes.

What is the output of amixer?
Code:
amixer

_________________
"There will be more joy in heaven over the tear-bathed face of a repentant sinner than over the white robes of a hundred just men." (LM, 114)
Back to top
View user's profile Send private message
RayQ
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jul 2005
Posts: 93

PostPosted: Sat Jul 16, 2005 6:52 pm    Post subject: Reply with quote

ALSA is compiled straight into the kernel.

Aplay can play .wavs :D

dmesg | grep Sound outputs nothing.

This is the output of amixer:
Code:

Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%] [on]
  Front Right: Playback 31 [100%] [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
  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
  Limits: 0 - 40
  Mono: 21 [52%]
  Front Left:
  Front Right:
Simple mixer control 'Treble',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Limits: 0 - 40
  Mono: 20 [50%]
  Front Left:
  Front Right:
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 27 [87%] [on]
  Front Right: Playback 27 [87%] [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 100 [100%] Capture 0 [0%] [off]
  Front Right: Playback 100 [100%] Capture 0 [0%] [off]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined
  Playback channels: Mono
  Limits: Playback 0 - 100
  Mono: Playback 100 [100%]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined
  Playback channels: Mono
  Limits: Playback 0 - 100
  Mono: Playback 100 [100%]
Simple mixer control 'Synth',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 100 [100%] Capture 0 [0%] [off]
  Front Right: Playback 100 [100%] Capture 0 [0%] [off]
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 100 [100%] Capture 0 [0%] [off]
  Front Right: Playback 100 [100%] Capture 0 [0%] [off]
Simple mixer control 'Wave Center',0
  Capabilities: pvolume pvolume-joined
  Playback channels: Mono
  Limits: Playback 0 - 100
  Mono: Playback 0 [0%]
Simple mixer control 'Wave LFE',0
  Capabilities: pvolume pvolume-joined
  Playback channels: Mono
  Limits: Playback 0 - 100
  Mono: Playback 0 [0%]
Simple mixer control 'Wave Surround',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 100
  Front Left: Playback 0 [0%]
  Front Right: Playback 0 [0%]
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 23 [74%] [on] Capture [on]
  Front Right: Playback 23 [74%] [on] Capture [on]
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 0 [0%] Capture 0 [0%] [off]
  Front Right: Playback 0 [0%] 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 0 [0%] Capture 0 [0%] [off]
  Front Right: Playback 0 [0%] 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 24 [77%] [on] Capture [off]
  Front Right: Playback 24 [77%] [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 20 [65%] [on]
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'Mic Boost (+20dB)',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Mic Select',0
  Capabilities:
  Mono:
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 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] 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 0 [0%] [off]
  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 0 [0%] Capture 0 [0%] [off]
  Front Right: Playback 0 [0%] 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 0 [0%] Capture 0 [0%] [off]
  Front Right: Playback 0 [0%] Capture 0 [0%] [off]
Simple mixer control 'IEC958 Optical Raw',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Front Left: Playback [off]
  Front Right: Playback [off]
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 0 [0%] Capture 0 [0%] [off]
  Front Right: Playback 0 [0%] 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 12 [80%] [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 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] 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 0 [0%] Capture 100 [100%]
  Front Right: Playback 0 [0%] 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 [off]

Back to top
View user's profile Send private message
RayQ
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jul 2005
Posts: 93

PostPosted: Sat Jul 16, 2005 6:58 pm    Post subject: Reply with quote

Ah thanks, that output you told me to dump helped me see what my error was :D Now I can play again.
Many thanks!
Back to top
View user's profile Send private message
globe_sa
n00b
n00b


Joined: 14 Jun 2005
Posts: 4
Location: Johannesburg, South-Africa

PostPosted: Sat Jul 23, 2005 5:27 pm    Post subject: And how did you fix it ? Reply with quote

Hi RayQ.

I have the same problem as you, except I cant see what the problem is ... :(
I am very new to gentoo, please can you help me to get my sound going ?
_________________
Globe
Back to top
View user's profile Send private message
SnEptUne
l33t
l33t


Joined: 23 Aug 2004
Posts: 656

PostPosted: Tue Aug 02, 2005 4:45 pm    Post subject: Reply with quote

globe_sa, have you umute the appripriate controls?

Code:

# amixer set Master 100 unmute
# amixer set PCM 100 unmute
(if that is not sufficient)
# amixer set Center 100 unmute
# amixer set Surround 100 unmute

_________________
"There will be more joy in heaven over the tear-bathed face of a repentant sinner than over the white robes of a hundred just men." (LM, 114)
Back to top
View user's profile Send private message
ChristyMcJesus
Apprentice
Apprentice


Joined: 02 Oct 2004
Posts: 184

PostPosted: Tue Aug 02, 2005 6:16 pm    Post subject: Reply with quote

My sound has recently stopped working for no apparent reason. ALSA starts at boot with no errors, and my mixer settings are fine. The only time I get an error is if I try to stop ALSA:

Code:
# /etc/init.d/alsasound stop
 * WARNING:  you are stopping a boot service.
 * Storing ALSA Mixer Levels ...                                                                        [ ok ]
 * Unloading ALSA ...                                                                                   [ ok ]
 * Unloading ALSA modules ...                                                                           [ !! ]
Back to top
View user's profile Send private message
punkmikey
n00b
n00b


Joined: 23 Apr 2005
Posts: 43
Location: Sheffield, UK

PostPosted: Tue Aug 02, 2005 6:24 pm    Post subject: Reply with quote

Quote:
My sound has recently stopped working for no apparent reason. ALSA starts at boot with no errors, and my mixer settings are fine. The only time I get an error is if I try to stop ALSA:

Code:
# /etc/init.d/alsasound stop
* WARNING: you are stopping a boot service.
* Storing ALSA Mixer Levels ... [ ok ]
* Unloading ALSA ... [ ok ]
* Unloading ALSA modules ... [ !! ]


Its just alerting you to the fact that your stoping a service that is set to start at boot time. Not an error really, more a kind of "you DO know what your doing, don't you?"
_________________
Intel Core Quad Q6600 @ 3GHz
4gig DDR2 RAM
GeForce 8800 GTS 640MB
Abit IP35
Soundblaster Audigy2
Back to top
View user's profile Send private message
ChristyMcJesus
Apprentice
Apprentice


Joined: 02 Oct 2004
Posts: 184

PostPosted: Tue Aug 02, 2005 8:08 pm    Post subject: Reply with quote

punkmikey wrote:
Quote:
My sound has recently stopped working for no apparent reason. ALSA starts at boot with no errors, and my mixer settings are fine. The only time I get an error is if I try to stop ALSA:

Code:
# /etc/init.d/alsasound stop
* WARNING: you are stopping a boot service.
* Storing ALSA Mixer Levels ... [ ok ]
* Unloading ALSA ... [ ok ]
* Unloading ALSA modules ... [ !! ]


Its just alerting you to the fact that your stoping a service that is set to start at boot time. Not an error really, more a kind of "you DO know what your doing, don't you?"


Note the !! after "Unloading ALSA modules", indicating it failed to stop it. That's the error.
Back to top
View user's profile Send private message
punkmikey
n00b
n00b


Joined: 23 Apr 2005
Posts: 43
Location: Sheffield, UK

PostPosted: Tue Aug 02, 2005 10:27 pm    Post subject: Reply with quote

oh. yeah. :oops:
_________________
Intel Core Quad Q6600 @ 3GHz
4gig DDR2 RAM
GeForce 8800 GTS 640MB
Abit IP35
Soundblaster Audigy2
Back to top
View user's profile Send private message
globe_sa
n00b
n00b


Joined: 14 Jun 2005
Posts: 4
Location: Johannesburg, South-Africa

PostPosted: Tue Aug 02, 2005 11:01 pm    Post subject: Reply with quote

SnEptUne wrote:
globe_sa, have you umute the appripriate controls?

Code:

# amixer set Master 100 unmute
# amixer set PCM 100 unmute
(if that is not sufficient)
# amixer set Center 100 unmute
# amixer set Surround 100 unmute



Hi SnEptUne
Thanks for the reply.
I have done what you suggested, but no luck !
But I must add that the last two commands gave me this :
Code:
Penguin ~ # amixer set Center 100 unmute
amixer: Unknown playback setup 'unmute'..

Penguin ~ # amixer set Surround 100 unmute
amixer: Unknown playback setup 'unmute'..


:?

Edit : Wait ! It's working ! Thanks SO much !! Yippy ! I can listen mp3's again !!
SnEptUne you are the best !
_________________
Globe
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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