Re: sound devices



Em Sábado, 2 de Junho de 2007 17:43, Marc escreveu:

Hi,

I have a strange sound problem.

In order to get sound in tvtime, I use
sox -r 32000 -w -t alsa hw:2,0 -t alsa hw:0,0

Sometimes I get no sound, and when I check my sound devices with

marc@M1:~$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: ICH5 [Intel ICH5], device 0: Intel ICH [Intel ICH5]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: ICH5 [Intel ICH5], device 1: Intel ICH - MIC ADC [Intel ICH5 - MIC
ADC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: ICH5 [Intel ICH5], device 2: Intel ICH - MIC2 ADC [Intel ICH5 -
MIC2 ADC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: ICH5 [Intel ICH5], device 3: Intel ICH - ADC2 [Intel ICH5 - ADC2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: SAA7134 [SAA7134], device 0: SAA7134 PCM [SAA7134 PCM]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Audio [GN Netcom USB Digital Audio], device 0: USB Audio [USB
Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

I see that the SAA7134 and the GN netcom USB headset device changed card
nr --> GN netcom becomes card 1 and SAA7134 becomes card 2
I did not unplug the USB headset, so this cannot be the reason.

In order to get sound again, I have to kill sox and start it again with
the correct SAA card nr.
As this happens regularly, it is getting annoying.

Is there a way to fix the card nr of the SAA, so I don't have to change
sox ?


Set you devices order in /etc/modprobe.conf
with the index parameter...
sintaxe example

options [module of 1st sound card] index=0
options snd-usb-audio index=1
options[other module] index=2

and so on

other tips; index=-2 will not set the device order, it just prevents that it
get the 1st place.

regards
ArameFarpado
.



Relevant Pages

  • Re: Sound through HDMI with ATI Radeon HD 4550
    ... I've changed my graphic card and I've bought an ATI Radeon HD 4550. ... HDMI output support ... Subdevice #0: subdevice #0 ... Try another sound output device and verify alsa-mixer ouput and digital output source in volumen control on your desktop. ...
    (Debian-User)
  • Re: Testing ALSA and writing an appropriate .asoundrc
    ... The computer has two sound cards: one of them, ... with an HDMI video and audio cable. ... Subdevice #0: subdevice #0 ... So 'Intel' is one (the builtin Intel sound card), ...
    (Debian-User)
  • Re: System -> Administration -> Soundcard detection no longer hear sound
    ... the sound test. ... You can also look at aplay -lLv to see the info alsa has about your card and how it has configured it. ... during installation and after installation, ... Subdevice #0: subdevice #0 ...
    (Fedora)
  • Re: sound card detected, but no sound...
    ... I wrote about this last week...Suddenly my sound just stopped about two ... I thought maybe something fried the on-board audio controller, so, I ... I did lspci, and it gives me both, the on-board sound, and the new card, ... Subdevice #0: subdevice #0 ...
    (Ubuntu)
  • Fw: Sound Problem -- More Information
    ... Sound worked prior to that. ... Subdevice #0: subdevice #0 ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Config options: 0 ...
    (Debian-User)