Hi all, Sorry for the very very late reply. I was waiting for the open sourcing of usb_moded to finally come through.
On Fri, 2011-01-21 at 16:12 +0200, Roger Quadros wrote: > On 01/11/2011 09:51 AM, ext Patrick Ohly wrote: > > On Mo, 2011-01-10 at 11:11 +0000, Luiz Augusto von Dentz wrote: > >> Fine, but what is the situation for usb in meego, currently we depend > >> on com.meego.usb_moded to detect cable plug/unplug, if that hasn't > >> change then it is ok to integrate obexd as it is otherwise it would be > >> nice to have it fixed e.g. by using udev directly. Something that needs to be done for usb_moded also, since the detection is done atm using Nokia internal battery/charging software. I have started working on udev support, but it has not been progressing due to the lack of documentation for udev/libudev (or I missed the useful manual/description) and having to allocate time on other more pressing internal matters. And also not finding a suitable kernel entry/device to check for. I have not found anything yet that will tell me if it is a cable or a charger that is getting connected. HAL can be used too, but that bit is not really nicest and the most flexible code. To be honest it is more a quick hack to get started. (I have re-added support to build with it) And as we all know HAL has been as good as dead since end of 2009... > > The last thing I heard was that usbmoded is not in MeeGo. Can someone > > from the architects clarify what the status is around it and what might > > take its place? Well finally it managed to pass all the legal checks etc within Nokia, so it is now available for use here: https://meego.gitorious.org/meego-middleware/usb_moded It still needs work to be more generically usable though, but most of the Nokia specific things can be compiled out already. Patches, comments and flames are welcome (although the last one a bit less;)). (I plan to add a document explaining the API and functionality soon). Cheers, Philippe _______________________________________________ MeeGo-dev mailing list MeeGo-dev@meego.com http://lists.meego.com/listinfo/meego-dev http://wiki.meego.com/Mailing_list_guidelines