Leif,
I’ve done the change you suggested in setad.c and
works! But the problems persist.
In the U
option:
=cut===================================== Checking device drivers 00:/dev/sound/dsp 44100 Hz 2 Chan. 16 bit 02:/dev/sound/dsp1 32000 Hz 2 Chan 16 bit 03:/dev/sound/dsp2 448000 Hz 2 Chan 16 bit Select device for input by line number _ =cut===================================== Now I can select 03 without
problem.
Linrad
asks:
=cut===================================== 1: One RX channel (…) 2: One RX channel I/Q (…) 3: Two RX channels (…) =cut===================================== I answer: 1 (the Bt chip is mono) and
then:
=cut===================================== INTERNAL ERROR: 1027 (errno=2) routine:set_analog_io file:setad.c Failed to set no of channels (should never happen) PRESS ENTER! =cut===================================== My conclusions:
- Now the SNDCTL_DSP_GETISPACE call works (as you supposed). - Reading the btaudio debug log (the Bt878a audio module) I can see how it answer “2 channels” when Linrad asks and this is wrong. The chip is mono. - Reading the soundboard_init.log I can see how Linrad detects the board as RDONLY “and” WRONLY and I think this is wrong because this board is just an ADC, never a DAC. The audio module it’s not answering correctly the
questions from the OSS, so I should look into another direction. Actually the
btaudio module is obsolete and no longer supported.I should check the new one
that ALSA has for this hardware and stop bugging around :)
I’ll keep you informed, thanks!
Juan
|