LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-23-2007, 08:36 PM   #1
shahgols
Member
 
Registered: Dec 2006
Posts: 97

Rep: Reputation: 15
alsa problem


Hi everyone,

I am actually running a Slackware based distro, but since they couldn't help me on their forum, I am here hoping for some help.

I am running Vector Linux 5.8 Standard. I have a SB Live. alsaconf detects my sound card and installs the right driver too. However, 9 times out of 10, there is no sound coming from mplayer or VLC. I see this error when I am rebooting:

Stopping alsa
Shutting down sound drives: Unable to find simple control 'PCM', 0

I have searched the 2 pages of google results on this particular error and didn't find an answer that works. But then I am a newbie to linux, so maybe I missed something.

BTW, it is only the streaming audio and youtube kind of videos that don't have sound. I can listen to CDs just fine.

Thanks in advance for your help.
 
Old 02-23-2007, 09:52 PM   #2
shahgols
Member
 
Registered: Dec 2006
Posts: 97

Original Poster
Rep: Reputation: 15
Forgot to say that when I configure my sound card with alsa from Puppy Linux, it plays music just fine. I am not sure, can the settings from the alsa files in Puppy Linux be compared with the same files in Vector Linux to find out what the problem is?

Please help, I have to keep VL and I have to listen to music because I am addicted to both.
 
Old 02-24-2007, 05:12 PM   #3
shahgols
Member
 
Registered: Dec 2006
Posts: 97

Original Poster
Rep: Reputation: 15
FWIW, when it's working amxier returns a lot more information. Here's the output of amixer when everything is fine:

Code:
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [on]
  Front Right: Playback 31 [100%] [on]
Simple mixer control 'Master Mono',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [on]
Simple mixer control '3D Control - Switch',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control '3D Control Sigmatel - Depth',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 3
  Mono: 3 [100%]
Simple mixer control '3D Control Sigmatel - Rear Depth',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 3
  Mono: 3 [100%]
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [on]
  Front Right: Playback 31 [100%] [on]
Simple mixer control 'PCM Out Path & Mute',0
  Capabilities: enum
  Items: 'pre 3D' 'post 3D'
  Item0: 'pre 3D'
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [off]
  Front Right: Playback 0 [0%] [off]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch pswitch-joined cswitch 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 'CD',0
  Capabilities: pvolume pswitch pswitch-joined cswitch 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 29 [94%] [on] Capture [off]
  Front Right: Playback 29 [94%] [on] Capture [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch 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 [on]
  Front Right: Capture [on]
Simple mixer control 'Mic Boost (+20dB)',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
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-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-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 'PC Speaker',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 15
  Mono: Playback 1 [7%] [on]
Simple mixer control 'Aux',0
  Capabilities: pvolume pswitch pswitch-joined cswitch 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 'Mono Output Select',0
  Capabilities: enum
  Items: 'Mix' 'Mic'
  Item0: 'Mix'
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-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-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'Analog/Digital Output Jack',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'External Amplifier',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Sigmatel 4-Speaker Stereo',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Sigmatel Output Bias',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Sigmatel Surround',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [off]
  Front Right: Playback 0 [0%] [off]
Simple mixer control 'Sigmatel Surround Phase Inversion Playback ',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
And here's the output when it's not working:

Code:
root:# amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 27
  Mono:
  Front Left: Playback 20 [74%] [on]
  Front Right: Playback 20 [74%] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 20
  Front Left: Capture 20 [100%] [on]
  Front Right: Capture 20 [100%] [on]
Currently I can't play any streaming audio (but I can listen to CDs). The output of lsmod and lspci are as follows:

Code:
root:# lsmod
Module                  Size  Used by
xt_tcpudp               3968  4
iptable_nat             6660  0
ip_nat                 13868  1 iptable_nat
xt_state                2816  7
iptable_mangle          3200  0
ipt_REJECT              4864  1
ip_conntrack_ftp        6640  0
ip_conntrack_irc        6128  0
iptable_filter          3328  1
ip_conntrack           37600  5 iptable_nat,ip_nat,xt_state,ip_conntrack_ftp,ip_conntrack_irc
ip_tables              12020  3 iptable_nat,iptable_mangle,iptable_filter
x_tables               11140  5 xt_tcpudp,iptable_nat,xt_state,ipt_REJECT,ip_tables
freq_table              4512  0
snd_seq_midi            6944  0
lp                     10120  0
parport_pc             23364  0
parport                29640  2 lp,parport_pc
sg                     25500  0
snd_seq_dummy           3716  0
snd_seq_oss            27392  0
snd_seq_midi_event      6528  2 snd_seq_midi,snd_seq_oss
snd_seq                42320  6 snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            37280  0
snd_mixer_oss          14080  2 snd_pcm_oss
snd_emu10k1x           15140  1
snd_rawmidi            18592  2 snd_seq_midi,snd_emu10k1x
snd_seq_device          6924  5 snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd_ac97_codec         80160  1 snd_emu10k1x
via_rhine              19848  0
mii                     5376  1 via_rhine
usblp                  11520  0
evdev                   8320  0
snd_hda_intel          14868  1
snd_ac97_bus            3072  1 snd_ac97_codec
serio_raw               6148  0
snd_hda_codec         138416  1 snd_hda_intel
emu10k1_gp              3840  0
gameport               11912  2 emu10k1_gp
shpchp                 29604  0
snd_pcm                61828  5 snd_pcm_oss,snd_emu10k1x,snd_ac97_codec,snd_hda_intel,snd_hda_codec
snd_timer              18692  2 snd_seq,snd_pcm
snd                    39780  14 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_emu10k1x,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
soundcore               8032  2 snd
snd_page_alloc          8072  3 snd_emu10k1x,snd_hda_intel,snd_pcm
Code:
root:# lspci
00:00.0 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.5 PIC: VIA Technologies, Inc. P4M890 I/O APIC Interrupt Controller
00:00.6 Host bridge: VIA Technologies, Inc. P4M890 Security Device
00:00.7 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
00:02.0 PCI bridge: VIA Technologies, Inc. P4M890 PCI to PCI Bridge Controller
00:03.0 PCI bridge: VIA Technologies, Inc. P4M890 PCI to PCI Bridge Controller
00:0f.0 RAID bus controller: VIA Technologies, Inc. VT8237A SATA 2-Port Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 07)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237A PCI to ISA Bridge
00:11.7 Host bridge: VIA Technologies, Inc. VT8251 Ultra VLINK Controller
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 7c)
00:13.0 PCI bridge: VIA Technologies, Inc. VT8237A Host Bridge
00:13.1 PCI bridge: VIA Technologies, Inc. VT8237A PCI to PCI Bridge
01:00.0 VGA compatible controller: VIA Technologies, Inc. Unknown device 3343 (rev 02)
04:01.0 Audio device: VIA Technologies, Inc. VIA High Definition Audio Controller (rev 10)
05:04.0 Multimedia audio controller: Creative Labs [SB Live! Value] EMU10k1X
05:04.1 Input device controller: Creative Labs [SB Live! Value] Input device controller
 
Old 02-24-2007, 05:44 PM   #4
shahgols
Member
 
Registered: Dec 2006
Posts: 97

Original Poster
Rep: Reputation: 15
FWIW, here are the outputs of lsmod and lspci when everything is working.

Code:
afshin:$ lsmod
Module                  Size  Used by
xt_tcpudp               3968  4
iptable_nat             6660  0
ip_nat                 13868  1 iptable_nat
xt_state                2816  7
iptable_mangle          3200  0
ipt_REJECT              4864  1
ip_conntrack_ftp        6640  0
ip_conntrack_irc        6128  0
iptable_filter          3328  1
ip_conntrack           37600  5 iptable_nat,ip_nat,xt_state,ip_conntrack_ftp,ip_conntrack_irc
ip_tables              12020  3 iptable_nat,iptable_mangle,iptable_filter
x_tables               11140  5 xt_tcpudp,iptable_nat,xt_state,ipt_REJECT,ip_tables
freq_table              4512  0
snd_seq_midi            6944  0
lp                     10120  0
parport_pc             23364  0
parport                29640  2 lp,parport_pc
sg                     25500  0
snd_seq_dummy           3716  0
snd_seq_oss            27392  0
snd_seq_midi_event      6528  2 snd_seq_midi,snd_seq_oss
snd_seq                42320  6 snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            37280  0
snd_mixer_oss          14080  3 snd_pcm_oss
usblp                  11520  0
snd_emu10k1x           15140  3
snd_rawmidi            18592  2 snd_seq_midi,snd_emu10k1x
snd_seq_device          6924  5 snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
serio_raw               6148  0
via_rhine              19848  0
mii                     5376  1 via_rhine
snd_ac97_codec         80160  1 snd_emu10k1x
snd_ac97_bus            3072  1 snd_ac97_codec
snd_hda_intel          14868  1
snd_hda_codec         138416  1 snd_hda_intel
snd_pcm                61828  6 snd_pcm_oss,snd_emu10k1x,snd_ac97_codec,snd_hda_intel,snd_hda_codec
snd_timer              18692  3 snd_seq,snd_pcm
snd                    39780  14 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_emu10k1x,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
soundcore               8032  3 snd
snd_page_alloc          8072  3 snd_emu10k1x,snd_hda_intel,snd_pcm
evdev                   8320  0
emu10k1_gp              3840  0
gameport               11912  2 emu10k1_gp
shpchp                 29604  0
Code:
root:# lspci
00:00.0 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:00.5 PIC: VIA Technologies, Inc. P4M890 I/O APIC Interrupt Controller
00:00.6 Host bridge: VIA Technologies, Inc. P4M890 Security Device
00:00.7 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
00:02.0 PCI bridge: VIA Technologies, Inc. P4M890 PCI to PCI Bridge Controller
00:03.0 PCI bridge: VIA Technologies, Inc. P4M890 PCI to PCI Bridge Controller
00:0f.0 RAID bus controller: VIA Technologies, Inc. VT8237A SATA 2-Port Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 07)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237A PCI to ISA Bridge
00:11.7 Host bridge: VIA Technologies, Inc. VT8251 Ultra VLINK Controller
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 7c)
00:13.0 PCI bridge: VIA Technologies, Inc. VT8237A Host Bridge
00:13.1 PCI bridge: VIA Technologies, Inc. VT8237A PCI to PCI Bridge
01:00.0 VGA compatible controller: VIA Technologies, Inc. Unknown device 3343 (rev 02)
04:01.0 Audio device: VIA Technologies, Inc. VIA High Definition Audio Controller (rev 10)
05:04.0 Multimedia audio controller: Creative Labs [SB Live! Value] EMU10k1X
05:04.1 Input device controller: Creative Labs [SB Live! Value] Input device controller
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with ALSA, no sound through alsa, oss works SB Live! 5.1 Michalxo Linux - Hardware 2 01-21-2007 05:24 AM
sound problem: maybe alsa config problem tajo01 Debian 6 04-28-2006 04:52 AM
[1] ALSA problem & [2] FreeFontPath problem MTT1k Linux - General 12 02-03-2006 05:36 AM
alsa problem on 2.6.10 fafis Linux - Software 4 09-04-2005 05:39 PM
alsa problem falcon1959 Linux - General 1 06-24-2004 06:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration