Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No Sound - second sound card - ALSA.
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
zeroth
Tux's lil' helper
Tux's lil' helper


Joined: 27 Feb 2006
Posts: 128

PostPosted: Sun Jul 02, 2006 5:59 am    Post subject: No Sound - second sound card - ALSA. Reply with quote

Intro
Two sound cards, both built as modules.
card0: emu10k1, Audigy 2 ZS Platinum PCI.
card1: intel8x0, Intel ICH5 onbard.

Problem
No sound from the second card (card 1). it works if I change /etc/asound.conf back to card 0 (the audigy).
XMMS plays, but no sound comes out.

Testing with aplay (a wave from the game Oblivion)
# aplay heartdead.wav
Playing WAVE 'heartdead.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
aplay: set_params:906: Channels count non available

Testing with aplay (a wave from Windows)
# aplay tada.wav
Playing WAVE 'tada.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Stereo
Warning: rate is not accurate (requested = 22050Hz, got = 48000Hz)
please, try the plug plugin (-Dplug:default)

/etc/asound.conf
pcm.!default {
type hw
card 1
}
ctl.!default {
type hw
card 1
}

cat /proc/asound/cards
0 [Audigy2 ]: Audigy2 - Audigy 2 ZS [SB0350]
Audigy 2 ZS [SB0350] (rev.4, serial:0x20021102) at 0xa000, irq 20
1 [ICH5 ]: ICH4 - Intel ICH5
Intel ICH5 with CMI9739 at 0xfc001000, irq 20

lsmod
Module Size Used by
snd_seq_midi 6336 -
snd_emu10k1_synth 6568 -
snd_emux_synth 33928 -
snd_seq_virmidi 5192 -
snd_seq_midi_emul 6568 -
snd_intel8x0 29252 -
snd_emu10k1 120036 -
snd_rawmidi 19872 -
snd_ac97_codec 91208 -
snd_ac97_bus 1640 -
snd_util_mem 3112 -
snd_hwdep 6764 -
fglrx 380876 -

cat /etc/modules.d/alsa
Code:

alias char-major-116 snd
alias char-major-14 soundcore

#card 1
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-emu10k1

alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

options snd-emu10k1 index=0

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

#card 2
alias snd-card-1 snd-intel8x0
alias sound-slot-1 snd-intel8x0

alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-1 snd-seq-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-8 snd-seq-oss
alias sound-service-1-12 snd-pcm-oss

options snd-intel8x0 index=1

alias /dev/mixer1 snd-mixer-oss
alias /dev/dsp1 snd-pcm-oss

options snd cards_limit=2


More Info
http://www.geocities.com/zeroth404/files/img/snapshot5.png - this is the second card. (ala `alsamixer -c1`)
Notice the first Master Volume is missing its meter bar.

amixer -c1
Code:

# amixer -c1
Simple mixer control 'Master',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [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 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [on]
  Front Right: Playback 255 [100%] [on]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [off]
  Front Right: Playback 31 [100%] [off]
Simple mixer control 'Surround Jack Mode',0
  Capabilities: enum
  Items: 'Shared' 'Independent'
  Item0: 'Shared'
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [off]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [on]
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 31 [100%] [on] Capture [off]
  Front Right: Playback 31 [100%] [on] 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 31 [100%] [on] Capture [off]
  Front Right: Playback 31 [100%] [on] Capture [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-ex
clusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [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 31 [100%] [on] Capture [off]
  Front Right: Playback 31 [100%] [on] Capture [off]
Simple mixer control 'Phone',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-ex
clusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [on]
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined cswitch cswitch-joined
  Playback channels: Mono
  Capture channels: Mono
  Mono: Playback [on] Capture [off]
Simple mixer control 'IEC958 Capture Monitor',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Capture Valid',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Playback AC97-SPSA',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 3
  Mono: 3 [100%]
Simple mixer control 'IEC958 Playback Source',0
  Capabilities: enum
  Items: 'Analog' 'Digital'
  Item0: 'Analog'
Simple mixer control 'PC Speaker',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 15
  Mono: Playback 0 [0%] [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 31 [100%] [on] Capture [off]
  Front Right: Playback 31 [100%] [on] 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 [on]
  Front Right: Capture [on]
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 'Channel Mode',0
  Capabilities: enum
  Items: '2ch' '4ch' '6ch'
  Item0: '2ch'
Simple mixer control 'External Amplifier',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]


Last edited by zeroth on Mon Jul 03, 2006 2:45 am; edited 9 times in total
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Sun Jul 02, 2006 9:51 am    Post subject: Reply with quote

zeroth

there may not be a problem

in mine, there is no MM, the second column where yours does.
The second is a master 3d control.

I'm not sure but it may be case of one, not both.
_________________
idella4@aus
Back to top
View user's profile Send private message
zeroth
Tux's lil' helper
Tux's lil' helper


Joined: 27 Feb 2006
Posts: 128

PostPosted: Sun Jul 02, 2006 4:30 pm    Post subject: Reply with quote

Yeah I see that now ...

I still can't get aplay to play any sound to that card.

user@helix/mnt/win/2k/WINNT/Media# aplay tada.wav -D hw:1,0
Playing WAVE 'tada.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Stereo
Warning: rate is not accurate (requested = 22050Hz, got = 48000Hz)
please, try the plug plugin

user@helix/mnt/win/2k/WINNT/Media# aplay ~/heartdead.wav -D hw:1,0
Playing WAVE '/home/user/heartdead.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
aplay: set_params:906: Channels count non available

the heartdead.wav is a sound from the game Oblivion.
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Sun Jul 02, 2006 4:37 pm    Post subject: Reply with quote

seeing your master is a 3d option, it looks like the error message is saying your attempt to make sound via aplay id 'underdone'.
i.e. aplay takes a number of other arguements.
The msg is prompting you in this case for a channel count.

Keep at it.
Sound seems me to take quite a bit of setting up, esp. with 2 sound devices.
_________________
idella4@aus
Back to top
View user's profile Send private message
zeroth
Tux's lil' helper
Tux's lil' helper


Joined: 27 Feb 2006
Posts: 128

PostPosted: Sun Jul 02, 2006 9:36 pm    Post subject: Reply with quote

I've changed my default sound card to card 1 via /etc/asound.conf


xmms plays, but no sound comes out. it works if I change the default back to card 0.

this is very fishy...
Back to top
View user's profile Send private message
zeroth
Tux's lil' helper
Tux's lil' helper


Joined: 27 Feb 2006
Posts: 128

PostPosted: Mon Jul 03, 2006 1:36 am    Post subject: Reply with quote

updated First post with lots of information, and a better discription of the problem
Back to top
View user's profile Send private message
gustafson
Guru
Guru


Joined: 12 Aug 2004
Posts: 430

PostPosted: Mon Jul 03, 2006 3:31 pm    Post subject: Reply with quote

Try downgrading alsa-utils to alsa-utils-1.0.10, it worked for me.

https://forums.gentoo.org/viewtopic-t-476766-highlight-.html
Back to top
View user's profile Send private message
zeroth
Tux's lil' helper
Tux's lil' helper


Joined: 27 Feb 2006
Posts: 128

PostPosted: Mon Jul 03, 2006 9:08 pm    Post subject: Reply with quote

gustafson wrote:
Try downgrading alsa-utils to alsa-utils-1.0.10, it worked for me.

https://forums.gentoo.org/viewtopic-t-476766-highlight-.html


actually, I just tried upgrading to 1.0.12-rc1

still no sound.
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