[alsa-devel] [FFADO-devel] Sample program for hwdep interface

Jonathan Woithe jwoithe at just42.net
Sat Dec 21 11:11:23 CET 2013


Hi Takashi

[CC list trimmed to include just the lists]

On Fri, Dec 20, 2013 at 11:46:15PM +0900, Takashi Sakamoto wrote:
> This is how to use hwdep interface for firewire devices.
> I hope FFADO developers read this.
> 
> With hwdep interface, the program in user land can do:
> 1.get firewire node infomation
> 2.get notification when starting/stopping kernel streaming
> 3.lock/unlock kernel streaming

1 could be useful.  2 and 3, while not essential, are nice to have.

> For jackd with FFADO backend, it's better to lock kernel streaming in 
> advance. Then snd-bebob/snd-fireworks can't interrupt FFADO streaming.

If someone is using a kernel which has the streaming drivers for these
devices there would be no reason at all for that person to run FFADO's
streaming driver.  They would just use the ALSA jackd backend and be done
with it.  So rather than having FFADO mess around with this locking I think
it would be better in the long run for FFADO to determine whether there's
kernel streaming support for the device in question and refuse to run if
there is.

> And with snd-fireworks, the program can do:
> 4.transmit command of EFW transaction
> 5.receive response of EFW transaction
> 
> 4/5 is my complete solution for ticket #360.
> Make echo audiofire 8 and audiofire 12 work with recent firmwares
> http://subversion.ffado.org/ticket/360

I thought this ticket was more or less resolved.  How exactly does this
program deal with ticket #360?  This ticket requires fixes within FFADO's
mixer/control code (or so I thought).  Or is this program simply
demonstrating what FFADO must do?

Thanks for your ongoing work with these devices.

Regards
  jonathan


More information about the Alsa-devel mailing list