PDAudioCF questions
Greetings:
I'm testing the Core Sound PDAudioCF card on a laptop, an Omnibook
4150, using a CF-to-PCMCIA adapter. The card appears to initialize correctly, and 'cat /proc/asound/cards' tells me this:
0 [PDAudioCF ]: PDAudio-CF - Core Sound PDAudio-CF
Core Sound PDAudio-CF at 0x100, irq 11'ls /proc/asound/card0' yields this information:
dlphilp@localhost:~$ ls /proc/asound/card0/ id oss_mixer pcm0c
where 'pcm0c' is a subdirectory and oss_mixer simply lists mixer elements. However, I've been unable to invoke a mixer for the card. That might be why I receive the following error trying to use arecord:
dlphilp@localhost:~$ arecord -Dhw:PDAudioCF -f cd RIFF$ÿÿWAVEfmt o`aD¬o±acodataÿÿRecording WAVE 'stdout' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo arecord: pcm_read:1110: read error: Input/output error
The test is done with ALSA 0.9.6 under kernel 2.4.18. If anyone else
is working with this card I'd like to hear about your success/failure, particularly if you've used it on a laptop (not a PDA). I'll also check the archives for previous messages about this card. TIA!
Best regards,
== Dave Phillips
The Book Of Linux Music & Sound at http://www.nostarch.com/lms.htm
The Linux Soundapps Site at http://linux-sound.org
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
Quoted 14 lines · On Thu, 14 Aug 2003 07:54:23 -0500 Dave Phillips <[email protected]> wrote:
Greetings:
I'm testing the Core Sound PDAudioCF card on a laptop, an Omnibook
4150, using a CF-to-PCMCIA adapter. The card appears to initialize correctly, and 'cat/proc/asound/cards' tells me this:0 [PDAudioCF ]: PDAudio-CF - Core Sound PDAudio-CF Core Sound PDAudio-CF at 0x100, irq 11'ls
/proc/asound/card0' yields this information:dlphilp@localhost:~$ ls /proc/asound/card0/ id oss_mixer pcm0c
Quoted 8 lines
where 'pcm0c' is a subdirectory and
oss_mixersimply lists mixer elements. However, I've been unable to invoke a mixer for the card. That might be why I receive the following error trying to use arecord:dlphilp@localhost:~$ arecord -Dhw:PDAudioCF -f cd RIFF$ÿÿWAVEfmt o`aD¬o±acodataÿÿRecording WAVE 'stdout' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo arecord: pcm_read:1110: read error: Input/output error
Hi Dave,
Do you have a digital input connected? The thing that makes digital inputs different from analogue ones is that they need to synch to the serial input stream. For the PDAudioCF, this means that you need to tell it the input sample rate. You can find this out by doing:
amixer -c PDAudioCF cget iface=PCM,name='IEC958 External Rate'
which will give you the sample rate if you have an input connected or 0 if no input is connected.
Once you know the input sample rate you should do one of these:
arecord -Dhw:PDAudioCF -r <rate> -f cd file.wav arecord -Dhw:PDAudioCF -r <rate> -f cd >/dev/null
Erik
Signature · 16 lines
+-----------------------------------------------------------+ Erik de Castro Lopo [email protected] (Yes it's valid) +-----------------------------------------------------------+ Everything that I've learned about computers I have boiled down into three principles: PC/Windows: You think it won't work, and it won't. Macintosh: You think it will work, but it won't. Unix: You think it won't work, but if you find the right guru, you can make it work. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01