Re: saa7134-alsa buglet?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Giorgio

Giorgio Moscardi schrieb:
> Just noticed something weird when loading saa7134-alsa. From dmesg:
> 
> saa7134 ALSA driver for DMA sound loaded
> saa7133[0]/alsa: saa7133[0] at 0xfa020000 irq 11 registered as card -1
> 
> Why -1? The module works correctly, but -1 would lead me to think it's 
> failing. Actually the correct device number would be 1 (and still it reports 
> as -1 even when the device number was 0 or 2):
> 
> unholycathedral v4l-dvb # cat /proc/asound/pcm
> 00-03: emu10k1 : Multichannel Playback : playback 1
> 00-02: emu10k1 efx : Multichannel Capture/PT Playback : playback 8 : capture 1
> 00-01: emu10k1 mic : Mic Capture : capture 1
> 00-00: emu10k1 : ADC Capture/Standard PCM Playback : playback 32 : capture 1
> 01-00: SAA7134 PCM : SAA7134 PCM : capture 1
> 
> Sorry if I'm just wasting your time :).

The -1 gets reported when the device number was to be assigned automatically.
If you assign the card number with the option index=, you will get a proper
report.
But yes, we should change this.

Hartmut

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux