On Wed, 03.02.10 16:38, Jo?o Paulo Rechi Vita (jprvita at gmail.com) wrote: > On Tue, Feb 2, 2010 at 09:10, Lennart Poettering <lennart at poettering.net> wrote: > > On Fri, 29.01.10 12:53, Jo?o Paulo Rechi Vita (jprvita at gmail.com) wrote: > > > >> > Any help on testing and getting this working together or comments on the > >> > topic would be appreciated. > >> > > >> > [1] http://www.spinics.net/lists/linux-bluetooth/msg04250.html > >> > [2] http://www.spinics.net/lists/linux-bluetooth/msg04251.html > >> > > >> > > >> > > >> > >> I forgot to add, suspending of the sink/source seemed to cause > >> disconnection by the AG, so you might want to disable > >> module-suspend-on-idle when testing. BTW, Lennart, is there any way to > >> mark a source/sink to not be suspended? > > > > Not really. As Colin mentioned you can make suspending a simple NOOP > > which does what you want. That said I do believe it makes a lot of > > sense to actually mark sinks as "suspendable". I.e. Introduce a sink > > flag PA_SINK_SUSPENDABLE or so that we flag for all sinks that > > actually support suspending and leave unset fo all others, like yours. > > > > Even after figuring out suspending wasn't really causing any problem > to my tests, it sounds like a good thing to have support for. > > > Anyway, the patches look really good to me. I'd be happy to merge > > this, though is the bluez counterpart merged yet? (sorry, haven't > > closely followed bluez development for a while) > > > > BlueZ part is still not merged, the code is under peer-review now but > it's likely to be merged soon. There may be some modification on which > signals to listen in order to load module-bluetooth-device (for HFP > case only), also. I'll send a patch rebased against git's head when > the merging time comes. Is this merged now into Bluez? Or even released? If so I should probably merge your code into our master. Could you publish this on one of your public git trees? Lennart -- Lennart Poettering Red Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/ GnuPG 0x1A015CC4