Hi Elimar,

On Sat, 19 Feb 2011 16:56:03 +0100, Elimar Riesebieter <riese...@lxtec.de>
wrote:
$ aplay -l
**** Liste der Hardware-GerÃ??te (PLAYBACK) ****
Karte 0: Generic [HD-Audio Generic], GerÃ??t 3: ATI HDMI [ATI HDMI]
  Sub-GerÃ??te: 1/1
  Sub-GerÃ??t #0: subdevice #0
Karte 1: CA0106 [CA0106], GerÃ??t 0: ca0106 [CA0106]
  Sub-GerÃ??te: 1/1
  Sub-GerÃ??t #0: subdevice #0

In this case the hdmi driver of your graphic card is the primary
soundcard.

According to /usr/share/doc/alsa-base/README.Debian.gz you should
set your CA0160 as the primary soundcard.

I  have created a /etc/modprobe.d/sound.conf now with:
alias snd-card-0 ca0106
options ca0106 index=0


Interesting is that a normal user can't find a sound card:
(That's different to the PC with the onboard sound with CM6501)

user@PC:~$ aplay -l
aplay: device_list:235: keine Soundkarten gefunden ...

root@PC:# aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: CA0106 [CA0106], Gerät 0: ca0106 [CA0106]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: CA0106 [CA0106], Gerät 1: ca0106 [CA0106]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: CA0106 [CA0106], Gerät 2: ca0106 [CA0106]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: CA0106 [CA0106], Gerät 3: ca0106 [CA0106]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 2: Generic [HD-Audio Generic], Gerät 3: ATI HDMI [ATI HDMI]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0


root@PC:# aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=CA0106
    CA0106, CA0106
    Default Audio Device
front:CARD=CA0106,DEV=0
    CA0106, CA0106
    Front speakers
rear:CARD=CA0106,DEV=0
    CA0106, CA0106
    Rear speakers
center_lfe:CARD=CA0106,DEV=0
    CA0106, CA0106
    Center and Subwoofer speakers
side:CARD=CA0106,DEV=0
    CA0106, CA0106
    Side speakers
surround40:CARD=CA0106,DEV=0
    CA0106, CA0106
    4.0 Surround output to Front and Rear speakers
surround41:CARD=CA0106,DEV=0
    CA0106, CA0106
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=CA0106,DEV=0
    CA0106, CA0106
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=CA0106,DEV=0
    CA0106, CA0106
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=CA0106,DEV=0
    CA0106, CA0106
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=CA0106,DEV=0
    CA0106, CA0106
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=Generic
    HD-Audio Generic, ATI HDMI
    HDMI Audio Output


It's the same trying to play a soundfile:

user@PC:~$ aplay /usr/share/sounds/alsa/Front_Center.wav
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4170:(_snd_config_evaluate) function snd_func_card_driver
returned error: Datei oder Verzeichnis nicht gefunden
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4170:(_snd_config_evaluate) function snd_func_concat
returned error: Datei oder Verzeichnis nicht gefunden
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4170:(_snd_config_evaluate) function snd_func_refer
returned error: Datei oder Verzeichnis nicht gefunden
ALSA lib conf.c:4649:(snd_config_expand) Evaluate error: Datei oder
Verzeichnis nicht gefunden
ALSA lib pcm.c:2190:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:654: Fehler beim Öffnen des Gerätes: Datei oder Verzeichnis
nicht gefunden


root@PC:# aplay /usr/share/sounds/alsa/Front_Center.wav
Wiedergabe: WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit
Little Endian, Rate: 48000 Hz, mono

Here it only plays noise, also with other soundfiles!


 > Please post the output og

$ lsmod | grep snd

root@PC:# lsmod | grep snd
snd_hda_codec_atihdmi 2251 1 snd_ca0106 29152 0 snd_usb_audio 64070 0 snd_hda_intel 19987 0 snd_ac97_codec 99186 1 snd_ca0106
snd_usb_lib            13928  1 snd_usb_audio
snd_hda_codec          54244  2 snd_hda_codec_atihdmi,snd_hda_intel
snd_seq_midi            4400  0 ac97_bus                1086  1 snd_ac97_codec
snd_pcm                60503  5
snd_ca0106,snd_usb_audio,snd_hda_intel,snd_ac97_codec,snd_hda_codec
snd_seq_midi_event      4628  1 snd_seq_midi
snd_rawmidi            15515  3 snd_ca0106,snd_usb_lib,snd_seq_midi
snd_seq                42881  2 snd_seq_midi,snd_seq_midi_event
snd_timer              15582  2 snd_pcm,snd_seq
snd_hwdep               5380  2 snd_usb_audio,snd_hda_codec
snd_seq_device          4493  3 snd_seq_midi,snd_rawmidi,snd_seq
snd                    46446  11
snd_ca0106,snd_usb_audio,snd_hda_intel,snd_ac97_codec,snd_hda_codec,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_hwdep,snd_seq_device
soundcore               4598  1 snd
snd_page_alloc          6249  3 snd_ca0106,snd_hda_intel,snd_pcm
usbcore               122034  7
snd_usb_audio,snd_usb_lib,uvcvideo,usbhid,ohci_hcd,ehci_hcd


~$ cat /proc/asound/cards
 0 [CA0106         ]: CA0106 - CA0106
                      AudigyLS [Unknown] at 0xe800 irq 23
 1 [U0x46d0x825    ]: USB-Audio - USB Device 0x46d:0x825
                      USB Device 0x46d:0x825 at usb-0000:00:13.2-6, high
speed
 2 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xfebbc000 irq 17

Soundcard 1 must be the deactivated onboard sound of the mainboard.


Elimar

Regards
Karsten



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to