mobile phone (obex) support in hal
Bastien Nocera
hadess at hadess.net
Thu Feb 15 15:18:21 PST 2007
On Tue, 2006-12-05 at 00:21 +0200, Alex Kanavin wrote:
> Hi folks,
>
> I would like to add support for USB OBEX interfaces that many modern
> mobile phones (all higher-end Nokia and SE for example) have. They
> usually look like this:
<snip>
> There are many things you can do over these interfaces: access the
> phones' filesystem, synchronize calendar/contacts/notes, install
> software, and do other kinds of device management. As far as I see
> there are two things that need to be done in hal:
>
> 1) Often phones provide more than one interface, for different
> purposes. The only way to find out the purpose is to read its
> description (iInterface above) but currently hal does not support
> this. It should be very easy to fix, I have filed a bug report with
> more information:
> https://bugs.freedesktop.org/show_bug.cgi?id=9215
Adding this would actually be easy, might not even be needed. The
Communications Device Class docs[1] say that "0xb" is obex. So
"usb.interface.subclass" with a value of "11 (0xb)" means that you have
the USB OBEX interface.
Does it make sense to translate this property to a string like
"usb-obex"?
> 2) There should be a new device category, called perhaps 'usb-obex'
> (which more or less equals 'mobile phone'), with possible optional
> subcategory, based on the interface purpose - 'syncml', 'nokia pc
> suite' and so on. This should be done with a device information file.
Same as above, the other CDC classes could be added.
[1]: http://www.usb.org/developers/devclass_docs
--
Bastien Nocera <hadess at hadess.net>
More information about the hal
mailing list