[linux-dvb] saa7134-alsa buglet?
hartmut.hackmann at t-online.de
Thu Jan 18 21:58:28 CET 2007
Giorgio Moscardi schrieb:
> Just noticed something weird when loading saa7134-alsa. From dmesg:
> saa7134 ALSA driver for DMA sound loaded
> saa7133/alsa: saa7133 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
But yes, we should change this.
More information about the linux-dvb