Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Surround Sound with alsa-driver
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
Rukie
l33t
l33t


Joined: 26 Jan 2004
Posts: 692
Location: SE Wi, Home of cheese and cowtippers.......

PostPosted: Sun Jul 23, 2006 5:25 am    Post subject: Surround Sound with alsa-driver Reply with quote

Well, my surround sound used to work fine but within the past month or so I reinstalled gentoo... anyways...

I try to use aplay -Dsurround51 foo.wav and I get
Quote:
aplay: set_params:901: Channels count non available


Now, thats using the older version of alsa-utils, if I use the current version I get error 906, I'm about to try the latest .12 version. Any ideas?

I have alsa-driver for my emu10k1 (Creative Labs with LiveDrive) sound card, I've got a nice Creative 5.1 surround sound speakers n stuff too... so any suggestions? Danke :-)

LSPCI:
Quote:

00:0b.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
00:0b.1 Input device controller: Creative Labs SB Live! Game Port (rev 07)


LSMOD
Quote:

snd_seq_midi 8416 0
snd_emu10k1_synth 7168 0
snd_emux_synth 35840 1 snd_emu10k1_synth
snd_seq_virmidi 7168 1 snd_emux_synth
snd_seq_midi_emul 6784 1 snd_emux_synth
snd_pcm_oss 40544 1
snd_mixer_oss 17856 1 snd_pcm_oss
snd_seq_oss 33984 0
snd_seq_midi_event 7552 3 snd_seq_midi,snd_seq_virmidi,snd_seq_oss
snd_seq 51344 8 snd_seq_midi,snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_oss,snd_seq_midi_event
snd_emu10k1 119204 3 snd_emu10k1_synth
snd_rawmidi 25248 3 snd_seq_midi,snd_seq_virmidi,snd_emu10k1
snd_ac97_codec 90528 1 snd_emu10k1
snd_ac97_bus 2176 1 snd_ac97_codec
snd_pcm 85448 3 snd_pcm_oss,snd_emu10k1,snd_ac97_codec
snd_seq_device 8524 7 snd_seq_midi,snd_emu10k1_synth,snd_emux_synth,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi
snd_timer 23556 3 snd_seq,snd_emu10k1,snd_pcm
snd_page_alloc 9992 2 snd_emu10k1,snd_pcm
snd_util_mem 4672 2 snd_emux_synth,snd_emu10k1
snd_hwdep 9412 2 snd_emux_synth,snd_emu10k1
snd 53476 15 snd_emux_synth,snd_seq_virmidi,snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_pcm,snd_seq_device,snd_timer,snd_hwdep

_________________
Gentoomania! Support the Open Source!
http://www.rukie.ath.cx
Back to top
View user's profile Send private message
Rukie
l33t
l33t


Joined: 26 Jan 2004
Posts: 692
Location: SE Wi, Home of cheese and cowtippers.......

PostPosted: Sun Jul 23, 2006 5:40 am    Post subject: Reply with quote

rukie@blackbird ~ $ speaker-test -c6

speaker-test 1.0.12rc1

Playback device is default
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
ALSA lib pcm_params.c:2152:(snd_pcm_hw_refine_slave) Slave PCM not usable
Broken configuration for playback: no configurations available: Invalid argument
Setting of hwparams failed: Invalid argument
_________________
Gentoomania! Support the Open Source!
http://www.rukie.ath.cx
Back to top
View user's profile Send private message
Rukie
l33t
l33t


Joined: 26 Jan 2004
Posts: 692
Location: SE Wi, Home of cheese and cowtippers.......

PostPosted: Mon Jul 24, 2006 5:52 am    Post subject: Reply with quote

I've got center and front left/front right working... but I'm not gettin any sound from the rears...
_________________
Gentoomania! Support the Open Source!
http://www.rukie.ath.cx
Back to top
View user's profile Send private message
peterk0
Apprentice
Apprentice


Joined: 25 Mar 2003
Posts: 188
Location: Prague

PostPosted: Mon Jul 24, 2006 9:30 am    Post subject: Reply with quote

hi,

can you post your amixer output?
Back to top
View user's profile Send private message
Rukie
l33t
l33t


Joined: 26 Jan 2004
Posts: 692
Location: SE Wi, Home of cheese and cowtippers.......

PostPosted: Mon Jul 24, 2006 2:13 pm    Post subject: Reply with quote

Quote:
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 25 [81%] [on]
Front Right: Playback 25 [81%] [on]
Simple mixer control 'Headphone LFE',1
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Headphone',1
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 100
Mono:
Front Left: Playback 100 [100%]
Front Right: Playback 100 [100%]
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 '3D Control - Switch',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control '3D Control Sigmatel - Depth',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 3
Mono: 2 [67%]
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 23 [74%] [on]
Front Right: Playback 23 [74%] [on]
Simple mixer control 'Front',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 100
Front Left: Capture 75 [75%] [off]
Front Right: Capture 75 [75%] [off]
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 90 [90%] Capture 90 [90%] [off]
Front Right: Playback 90 [90%] Capture 90 [90%] [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 100 [100%] [off]
Front Right: Playback 100 [100%] Capture 100 [100%] [off]
Simple mixer control 'Wave Center',0
Capabilities: pvolume pvolume-joined
Playback channels: Mono
Limits: Playback 0 - 100
Mono: Playback 51 [51%]
Simple mixer control 'Wave LFE',0
Capabilities: pvolume pvolume-joined
Playback channels: Mono
Limits: Playback 0 - 100
Mono: Playback 48 [48%]
Simple mixer control 'Wave Surround',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 100
Mono:
Front Left: Playback 100 [100%]
Front Right: Playback 100 [100%]
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 '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-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 28 [90%] [on] Capture [off]
Front Right: Playback 28 [90%] [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 [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: 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 '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
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 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 15 [100%] [off]
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 '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 [on]
Front Right: Capture [on]
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]
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 [on]
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 17 [55%] [on]
Front Right: Playback 17 [55%] [on]
Simple mixer control 'Sigmatel Surround Phase Inversion Playback ',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]

_________________
Gentoomania! Support the Open Source!
http://www.rukie.ath.cx
Back to top
View user's profile Send private message
peterk0
Apprentice
Apprentice


Joined: 25 Mar 2003
Posts: 188
Location: Prague

PostPosted: Mon Jul 24, 2006 2:54 pm    Post subject: Reply with quote

looks good, you have turned on everything i think should be on but SB Live Analog/Digital Output Jack, try to turn it on. also the last options like Sigmatel Surround Phase Inversion Playback and Sigmatel Output Bias may be unnecessary
Back to top
View user's profile Send private message
Rukie
l33t
l33t


Joined: 26 Jan 2004
Posts: 692
Location: SE Wi, Home of cheese and cowtippers.......

PostPosted: Mon Jul 24, 2006 3:46 pm    Post subject: Reply with quote

I've tried the digital, but sound gets fuzzy with it...
_________________
Gentoomania! Support the Open Source!
http://www.rukie.ath.cx
Back to top
View user's profile Send private message
Rukie
l33t
l33t


Joined: 26 Jan 2004
Posts: 692
Location: SE Wi, Home of cheese and cowtippers.......

PostPosted: Tue Jul 25, 2006 3:08 am    Post subject: Reply with quote

any other suggestions?
_________________
Gentoomania! Support the Open Source!
http://www.rukie.ath.cx
Back to top
View user's profile Send private message
peterk0
Apprentice
Apprentice


Joined: 25 Mar 2003
Posts: 188
Location: Prague

PostPosted: Tue Jul 25, 2006 9:13 am    Post subject: Reply with quote

i'm sorry, i'm afraid i can't help you :(
i thought it could be in some amixer settings, because that's what i get (only front speakers) when i missconfigure alsa.
Back to top
View user's profile Send private message
Rukie
l33t
l33t


Joined: 26 Jan 2004
Posts: 692
Location: SE Wi, Home of cheese and cowtippers.......

PostPosted: Thu Jul 27, 2006 2:41 am    Post subject: Reply with quote

Ok, I was playing around with audacious, when it selects "OSS" as the sound driver, sound works in the center/left front speaker. When I try alsa or anything else, I can get error saying "Check that you have configured your sound card properly, that you are using the correct device, (or something else I can't remember).

These are the alsa drivers, should I go back to the alsa kernel? I was hoping the drivers would get me surround sound, but alas, they didn't. Any suggestions?
_________________
Gentoomania! Support the Open Source!
http://www.rukie.ath.cx
Back to top
View user's profile Send private message
peterk0
Apprentice
Apprentice


Joined: 25 Mar 2003
Posts: 188
Location: Prague

PostPosted: Thu Jul 27, 2006 9:41 am    Post subject: Reply with quote

alsa-drivers afaik are for those not runnig 2.6 kernel series, if you're with 2.6.x, you should stick to the kernel drivers.
here is my alsa kernel confing, try to compare, maybe you find smth ...

Code:

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m
CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
# CONFIG_SND_DYNAMIC_MINORS is not set
# CONFIG_SND_SUPPORT_OLD_API is not set
CONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
...
CONFIG_SND_EMU10K1=m
Back to top
View user's profile Send private message
Rukie
l33t
l33t


Joined: 26 Jan 2004
Posts: 692
Location: SE Wi, Home of cheese and cowtippers.......

PostPosted: Sat Jul 29, 2006 4:25 am    Post subject: Reply with quote

woot ;)
I did as suggested.. went back to the alsa kernel modules n stuff.. and wala.. my computer refuses to boot :-D
Workign on fixing the whole Unknown symbols n such errors.. recompiling the kernel atm with the new gentoo-r4 version...

Lez see what happens...
_________________
Gentoomania! Support the Open Source!
http://www.rukie.ath.cx
Back to top
View user's profile Send private message
peterk0
Apprentice
Apprentice


Joined: 25 Mar 2003
Posts: 188
Location: Prague

PostPosted: Sat Jul 29, 2006 6:15 am    Post subject: Reply with quote

unknowm symbols in modules are often caused by loading the improper modules for the current kernel. just do
Code:

cd /usr/src/linux
make mrproper
make && make modules_install


but before this, unmerge alsa-drivers and backup your .config
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