Shortly: everything else works but ADAT capture fails.
This is my first time playing with ALSA, so there might be an easy solution... Anyway, I have now tried one week with two different computers and installations without results.. so, You are my last hope!
The sound card is: # cat /proc/asound/cards 0 [PST ]: Digi96 - RME Digi96/8 PST RME Digi96/8 PST at 0xd8000000, irq 9
Everything seems to be all right: # cat /proc/asound/pcm 00-00: Digi96 IEC958 : Digi96 IEC958 : playback 1 : capture 1 00-01: Digi96 ADAT : Digi96 ADAT : playback 1 : capture 1
I can playback to and capture from hw:0,0 and playback to hw:0,1 but: # arecord -D hw:0,1 -t wav -c2 -f s16_le -r44100 -d30 -v test_adat.wav ALSA lib pcm_hw.c:1055:(snd_pcm_hw_open) open /dev/snd/pcmC0D1c failed: Input/output error arecord: main:480: audio open error: Input/output error
I suppose the ADAT capture thing should exist: # cat /proc/asound/card0/pcm1c/info card: 0 device: 1 subdevice: 0 stream: CAPTURE id: Digi96 ADAT ...
The error message remains the same if I change the input (numid=5) from analog (3) to optical (0).
# cat /proc/asound/card0/rme96
...
Input settings
input: analog (2 channels)
sample rate: 44100 Hz
sample format: 16 bit
...
# cat /proc/asound/card0/rme96
...
Input settings
input: optical (8 channels)
sample rate: 44100 Hz
sample format: 16 bit
The sampling rate (in the "Input settings") will kindly follow the change in the sampling rate at the ADAT source (Apogee AD-8000), so I think they are in sync (the red light in the Digi96 rear panel doesn't light).
An other question is about "sample format: how can I change it from 16-bits to 24-bits? I'm sure there are 24 bits in the cable but how can I tell it to the driver?
Some background information: # cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 0.9.4. Compiled on Aug 9 2003 for kernel 2.4.20-8 with versioned symbols.
# cat /proc/asound/devices 0: [0- 0]: ctl 17: [0- 1]: digital audio playback 25: [0- 1]: digital audio capture 16: [0- 0]: digital audio playback 24: [0- 0]: digital audio capture 33: : timer
# cat /etc/modules.conf alias eth0 8139too alias usb-controller usb-uhci alias char-major-116 snd options snd snd_major=116 snd_cards_limit=2 alias snd-card-0 snd-rme96 alias snd-card-1 es1371 # Didn't exist in the 2nd computer I tried options snd-rme96 snd_index=0 snd_id="PST" snd_enable=1 options es1371 snd_index=1 snd_id="ES1371" alias char-major-14 soundcore alias sound-slot-0 snd-card-0 alias sound-service-0-0 snd-mixer-oss alias sound-service-0-1 snd-seq-oss alias sound-service-0-3 snd-pcm-oss alias sound-service-0-8 snd-seq-oss alias sound-service-0-12 snd-pcm-oss alias sound-slot-1 snd-card-1 alias sound-service-1-0 snd-mixer-oss alias sound-service-1-3 snd-pcm-oss alias sound-service-1-12 snd-pcm-oss
--------- /var/log/messages -------------
...
Aug 9 22:32:48 akusti kernel: PCI: Found IRQ 9 for device 00:09.0
Aug 9 22:32:48 akusti kernel: PCI: Sharing IRQ 9 with 00:07.2
Aug 9 22:32:48 akusti kernel: es1371: version v0.32 time 18:00:00 Mar 13 2003
Aug 9 22:32:48 akusti kernel: PCI: Found IRQ 10 for device 00:0b.0
Aug 9 22:32:48 akusti kernel: es1371: found chip, vendor id 0x1274 device id 0x1371 revision 0x06
Aug 9 22:32:48 akusti kernel: es1371: found es1371 rev 6 at io 0xe400 irq 10
Aug 9 22:32:48 akusti kernel: es1371: features: joystick 0x0
Aug 9 22:32:48 akusti kernel: ac97_codec: AC97 Audio codec, id: CRY3 (Cirrus Logic CS4297)
Aug 9 22:32:50 akusti modprobe: modprobe: Can't locate module snd-card-2
Aug 9 22:32:50 akusti modprobe: modprobe: Can't locate module snd-card-2
Aug 9 22:32:50 akusti modprobe: modprobe: Can't locate module snd-card-3
Aug 9 22:32:50 akusti modprobe: modprobe: Can't locate module snd-card-3
------------------------------------------
I would be grateful fo any assistance!
panu
------------------------------------------------------- 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 _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user