2010/8/31 Rémi Denis-Courmont <remi(a)remlab.net>:
I don't understand what this code is supposed to do in the first
Autoconfiguration of the Phonet stack is the kernel's job (or phonet-utils'
on older kernels). This really really does not belong in oFono. That is a
complete denial of the reasons why Phonet is a socket API, i.e. that more
than one user-space process can use it at a time. If you want oFono to take
care of everything, you really should just steal the USB interface via
libusb and/or use the raw SSI character device. Not that I'd advise doing
It does what kernel or phonet-utils are supposed to do but which they do not do.
In any case, if you need to know whether you're on SSI or USB,
check the link-layer address, not the name of the interface. I do hope
that, if and when the SSI driver goes upstream, the interface will be
called ssi0 or mcsaab0 rather than phonet0 by the way.
When the HSI driver goes to upstream, hopefully they do the
autoconfiguration as they should do. We can use another plugin with
the new kernels.
Then there's the GPIO lines. Ideally, the hardware specifics
taken care of by the kernel.
Ideally, there should be handles on women. Or the beer glasses should be bigger.
Pekka.Pessi mail at nokia.com