From: <ad...@dr...> - 2008-12-30 17:25:04
|
On Mon, Dec 29, 2008 at 11:03:56AM -0800, Dan Dennedy wrote: > On Thu, Dec 18, 2008 at 12:03 AM, Stefan Richter Hi! > >>> During the last hours, I've never seen an event in ffado. poll returns, > >>> but the revents are always 0, so no iteration starts. > > ... > >> would it be beneficial > >> to add a raw1394_get_iso_fd() that would return the handle->iso.fd on > >> firewire, since that has worked for you? > > > > iso_init() adds iso.fd to the epoll_fd. > and? You are saying it should work, but something is not. He said > polling the iso.fd does work. At least I got some events, though I haven't checked in detail what. I'll need to rerun the tests. > Well, Adrian, this is my decision, so please let me know. It should be > easy for you to stab a function in there to get at that fd, even it is > hardwired to firewire, to run some tests. If it works, I can get this > new lib released. Deal. I'll investigate how things look like when I explicitly ask for the iso.fd for all stream handles. (read: I'll patch libraw1394 AND ffado to see what happens) I guess this is all useless without David Moore's iso timestamp patch: http://marc.info/?l=linux1394-devel&m=121679423418348 I just applied it to 2.6.28, unfortunately I'm away from my hardware, so don't expect any results before Tuesday. Cheerio JFTR: CONFIG_EPOLL is set. -- mail: ad...@th... http://adi.thur.de PGP/GPG: key via keyserver |