Re: [MeeGo-dev] usbmoded?

2011-03-31 Thread Luiz Augusto von Dentz
Hi Philippe,

On Thu, Mar 31, 2011 at 6:06 PM, Philippe De Swert
 wrote:
> 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 +, 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).

Can you take a look at this thread:

http://www.mail-archive.com/meego-dev@meego.com/msg07699.html

-- 
Luiz Augusto von Dentz
Computer Engineer
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] usbmoded?

2011-03-31 Thread Arjan van de Ven

On 3/31/2011 8:06 AM, Philippe De Swert wrote:

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...


HAL is not part of MeeGo and never was.. so that's a non starter

___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] usbmoded?

2011-03-31 Thread Philippe De Swert
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 +, 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


Re: [MeeGo-dev] usbmoded?

2011-01-21 Thread Roger Quadros

On 01/11/2011 09:51 AM, ext Patrick Ohly wrote:

On Mo, 2011-01-10 at 11:11 +, 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.


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?



Philippe, is the maintainer of usb-moded. he may know best.

--
regards,
-roger
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev


[MeeGo-dev] usbmoded? (was: Re: MeeGo Comms: Bluez-4.84 and obexd-0.39 MeeGo Integration Notification)

2011-01-11 Thread Patrick Ohly
On Mo, 2011-01-10 at 11:11 +, 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. 

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?

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.


___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev