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

[linrad] problem setting up "non-standard" AD hardware



Hi all,

I have a problem setting up my AD hardware with Linrad.

My system is a Mandrake 9.1 with two "audio" boards.

Both audio boards have been tested and work with programs like SOX, and the system audio mixer.

All the installation process was perfect: svgalib, nasm, Linrad 01-17. Everything OK.

My first audio board is a Sound Blaster compatible card. In the U option, Linrad detects it under /dev/sound/dsp and can be configured without any problem.

The second audio board is a Bt878a TV card. It can be used as ADC up to 448000 samples per second and 16 bits. I know this can be a bit strange but you can read the setup process here: http://www.domenech.org/bt878a-adc/index-e.htm

In the U option Linrad says:

=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=====================================

If I select "00" it works but if I select "03" (the Bt878 ADC) it says "ERROR (press any key)". Doesn't matter if I try "03","3", "02", "2", always the same message. 

I know this is not a standard sound device and maybe has not much sense to worry about, but I think it's a pity to get so close (Linux and Linrad detects the hardware) and loose the opportunity to play with higher frequencies with low cost hardware.

At the bottom you have my "soundboard_init.log".

thanks!

Juan Domenech





=soundboard_init.log==================
Checking /dev/sound/dsp
--------------------------------------------------------------------------------
/dev/sound/dsp opened as RDONLY 
16bit format supported
32bit format NOT supported
Max no of channels = 2
Max input speed 44100 Hz
----------------------------------------------------------------------------------------------------------------------------------------------------------------
/dev/sound/dsp opened as WRONLY 
16bit format supported
32bit format NOT supported
Max no of channels = 2
Max input speed 44100 Hz
----------------------------------------------------------------------------------------------------------------------------------------------------------------
/dev/sound/dsp opened as RDWR 
16bit format supported
32bit format NOT supported
Max no of channels = 2
Max input speed 44100 Hz
--------------------------------------------------------------------------------
Checking /dev/sound/dsp0
Checking /dev/sound/dsp1
--------------------------------------------------------------------------------
/dev/sound/dsp1 opened as RDONLY 
16bit format supported
32bit format NOT supported
Max no of channels = 2
Max input speed 32000 Hz
ioctl(GETISPACE)  failed
----------------------------------------------------------------------------------------------------------------------------------------------------------------
/dev/sound/dsp1 opened as WRONLY 
16bit format supported
32bit format NOT supported
Max no of channels = 2
Max input speed 32000 Hz
----------------------------------------------------------------------------------------------------------------------------------------------------------------
/dev/sound/dsp1 opened as RDWR 
16bit format supported
32bit format NOT supported
Max no of channels = 2
Max input speed 32000 Hz
ioctl(GETISPACE)  failed
--------------------------------------------------------------------------------
Checking /dev/sound/dsp2
--------------------------------------------------------------------------------
/dev/sound/dsp2 opened as RDONLY 
16bit format supported
32bit format NOT supported
Max no of channels = 2
Max input speed 448000 Hz
ioctl(GETISPACE)  failed
----------------------------------------------------------------------------------------------------------------------------------------------------------------
/dev/sound/dsp2 opened as WRONLY 
16bit format supported
32bit format NOT supported
Max no of channels = 2
Max input speed 448000 Hz
----------------------------------------------------------------------------------------------------------------------------------------------------------------
/dev/sound/dsp2 opened as RDWR 
16bit format supported
32bit format NOT supported
Max no of channels = 2
Max input speed 448000 Hz
ioctl(GETISPACE)  failed
--------------------------------------------------------------------------------
Checking /dev/sound/dsp3
Checking /dev/sound/dsp4
Checking /dev/sound/dsp5
Checking /dev/sound/dsp6
Checking /dev/sound/dsp7
Checking /dev/sound/dsp8
Checking /dev/sound/dsp9
Checking /dev/sound/dsp10
Checking /dev/sound/dsp11
Checking /dev/sound/dsp12
Checking /dev/sound/dsp13
Checking /dev/sound/dsp14
Checking /dev/sound/dsp15

 /dev/sound/dsp selected by user for input.   dev_flag=7
User selected RDWR
Min sampling speed = 5000 Hz
44100 Hz selected by user
44100 Hz reported by device
Input format: 16 bit
Read test OK
/dev/sound/dsp1 opened as WRONLY
Max output speed 32000
Write failed
/dev/sound/dsp2 opened as WRONLY
Max output speed 448000
Write failed
User selected /dev/sound/dsp for output.
Normal end
=cut=========================------------=_1130368748-3383-1
Content-Type: text/html
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have a problem setting up my AD hardware with 
Linrad.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>My system is a Mandrake 9.1 with two ?audio? 
boards.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Both audio boards have been tested and work with 
programs like SOX, and the system audio mixer.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>All the installation process was perfect: svgalib, 
nasm, Linrad 01-17. Everything OK.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>My first audio board is a Sound Blaster compatible 
card. In the U option, Linrad detects it under /dev/sound/dsp and can be 
configured without any problem.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The second audio board is a Bt878a TV card. It can 
be used as ADC up to 448000 samples per second and 16 bits. I know this can be a 
bit strange but you can read the setup process here: <A 
href="http://www.domenech.org/bt878a-adc/index-e.htm";>http://www.domenech.org/bt878a-adc/index-e.htm</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>In the U option Linrad says:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>=cut=====================================<BR>Checking device 
drivers<BR>00:/dev/sound/dsp&nbsp;&nbsp; 44100 Hz&nbsp;&nbsp;&nbsp; 2 
Chan.&nbsp;&nbsp;&nbsp; 16 bit<BR>02:/dev/sound/dsp1&nbsp;&nbsp; 32000 
Hz&nbsp;&nbsp;&nbsp; 2 Chan&nbsp;&nbsp;&nbsp; 16 
bit<BR>03:/dev/sound/dsp2&nbsp;&nbsp; 448000 Hz&nbsp;&nbsp;&nbsp; 2 
Chan&nbsp;&nbsp;&nbsp; 16 bit<BR>Select device for input by line number&nbsp; 
_</FONT></DIV>
<DIV><FONT face=Arial 
size=2>=cut=====================================</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>If I select ?00? it works but if I select ?03? (the 
Bt878 ADC) it says ?ERROR (press any key)?. Doesn?t matter if I try ?03?,?3?, 
?02?, ?2?, always the same message. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I know this is not a standard sound device and 
maybe has not much sense to worry about, but I think it?s a pity to get so close 
(Linux and Linrad detects the hardware) and loose the opportunity to play with 
higher frequencies with low cost hardware.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>At the bottom you have&nbsp;my 
?soundboard_init.log?.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>thanks!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Juan Domenech</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>=soundboard_init.log==================</FONT></DIV>
<DIV><FONT face=Arial size=2>Checking 
/dev/sound/dsp<BR>--------------------------------------------------------------------------------<BR>/dev/sound/dsp 
opened as RDONLY <BR>16bit format supported<BR>32bit format NOT supported<BR>Max 
no of channels = 2<BR>Max input speed 44100 
Hz<BR>----------------------------------------------------------------------------------------------------------------------------------------------------------------<BR>/dev/sound/dsp 
opened as WRONLY <BR>16bit format supported<BR>32bit format NOT supported<BR>Max 
no of channels = 2<BR>Max input speed 44100 
Hz<BR>----------------------------------------------------------------------------------------------------------------------------------------------------------------<BR>/dev/sound/dsp 
opened as RDWR <BR>16bit format supported<BR>32bit format NOT supported<BR>Max 
no of channels = 2<BR>Max input speed 44100 
Hz<BR>--------------------------------------------------------------------------------<BR>Checking 
/dev/sound/dsp0<BR>Checking 
/dev/sound/dsp1<BR>--------------------------------------------------------------------------------<BR>/dev/sound/dsp1 
opened as RDONLY <BR>16bit format supported<BR>32bit format NOT supported<BR>Max 
no of channels = 2<BR>Max input speed 32000 Hz<BR>ioctl(GETISPACE)&nbsp; 
failed<BR>----------------------------------------------------------------------------------------------------------------------------------------------------------------<BR>/dev/sound/dsp1 
opened as WRONLY <BR>16bit format supported<BR>32bit format NOT supported<BR>Max 
no of channels = 2<BR>Max input speed 32000 
Hz<BR>----------------------------------------------------------------------------------------------------------------------------------------------------------------<BR>/dev/sound/dsp1 
opened as RDWR <BR>16bit format supported<BR>32bit format NOT supported<BR>Max 
no of channels = 2<BR>Max input speed 32000 Hz<BR>ioctl(GETISPACE)&nbsp; 
failed<BR>--------------------------------------------------------------------------------<BR>Checking 
/dev/sound/dsp2<BR>--------------------------------------------------------------------------------<BR>/dev/sound/dsp2 
opened as RDONLY <BR>16bit format supported<BR>32bit format NOT supported<BR>Max 
no of channels = 2<BR>Max input speed 448000 Hz<BR>ioctl(GETISPACE)&nbsp; 
failed<BR>----------------------------------------------------------------------------------------------------------------------------------------------------------------<BR>/dev/sound/dsp2 
opened as WRONLY <BR>16bit format supported<BR>32bit format NOT supported<BR>Max 
no of channels = 2<BR>Max input speed 448000 
Hz<BR>----------------------------------------------------------------------------------------------------------------------------------------------------------------<BR>/dev/sound/dsp2 
opened as RDWR <BR>16bit format supported<BR>32bit format NOT supported<BR>Max 
no of channels = 2<BR>Max input speed 448000 Hz<BR>ioctl(GETISPACE)&nbsp; 
failed<BR>--------------------------------------------------------------------------------<BR>Checking 
/dev/sound/dsp3<BR>Checking /dev/sound/dsp4<BR>Checking 
/dev/sound/dsp5<BR>Checking /dev/sound/dsp6<BR>Checking 
/dev/sound/dsp7<BR>Checking /dev/sound/dsp8<BR>Checking 
/dev/sound/dsp9<BR>Checking /dev/sound/dsp10<BR>Checking 
/dev/sound/dsp11<BR>Checking /dev/sound/dsp12<BR>Checking 
/dev/sound/dsp13<BR>Checking /dev/sound/dsp14<BR>Checking 
/dev/sound/dsp15</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;/dev/sound/dsp selected by user for 
input.&nbsp;&nbsp; dev_flag=7<BR>User selected RDWR<BR>Min sampling speed = 5000 
Hz<BR>44100 Hz selected by user<BR>44100 Hz reported by device<BR>Input format: 
16 bit<BR>Read test OK<BR>/dev/sound/dsp1 opened as WRONLY<BR>Max output speed 
32000<BR>Write failed<BR>/dev/sound/dsp2 opened as WRONLY<BR>Max output speed 
448000<BR>Write failed<BR>User selected /dev/sound/dsp for output.<BR>Normal 
end</DIV>
<DIV>=cut=========================</FONT></DIV></BODY></HTML>
LINRADDARNIL
c