Aha! I had an older version that someone from the ffado list pointed me to. I grabbed the .c and .h file from your link and built them (after defining CSR_IPCR and CSR_OPCR locally, my kernel-dev pkg doesnt have them) and now jack starts and I can record and play from ardour, but only at 44.1Khz, even though I start jackd with -r48000. It looks like 44.1Khz is the default setting the AF12 powers up at, and the alsa driver doesn't know how to change SR yet, is this the case?
I start the device up using ffado to force it into 48K, but then jack will no longer start using the alsa driver until I cycle power on the device.
The driver appears to work good in 44.1K though. Aplay plays wav files using plughw, but not hw.
I also wonder if you can explain to me how to clone just that driver so I can keep up with it correctly using git pull. I'm a little weak on git. I just grabbed the .c and .h files manually and made my own Makefile for standalone module building.
Doug
On 06/17/2011 07:17 AM, Clemens Ladisch wrote:
Doug McLain wrote:
[nostar@iggy firewire]$ cat /proc/asound/cards 3 [AudioFire12 ]: Fireworks - AudioFire12 Echo Digital Audio AudioFire12 v5.0, GUID 0014860fc44a84a6 at fw1.0, S400
[nostar@iggy export]$ aplay -D plughw:AudioFire12 wg.wav aplay: main:660: audio open error: No such file or directory
[nostar@iggy export]$ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: NVidia [HDA NVidia], device 0: ALC1200 Analog [ALC1200 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: NVidia [HDA NVidia], device 1: ALC1200 Digital [ALC1200 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0
There is not PCM device for the AF12.
In theory, it shouldn't be possible for the driver to attach to the device without having created the PCM device. Are you sure that you have the latest version of the driver? Where exactly did you get it from? Please check that the fireworks.c file has 2275 lines, like this one: http://git.alsa-project.org/?p=alsa-kprivate.git;a=blob;hb=fireworks;f=sound...
Regards, Clemens