Re: N900 modem support in 3.18-rc1

From: Sebastian Reichel
Date: Fri Nov 14 2014 - 11:53:35 EST


On Fri, Nov 14, 2014 at 08:37:56AM +0100, Pavel Machek wrote:
> I'm using nfsroot (no modules), .config is attached. Debian v7.7,
> ofono installed.
>
> To launch ofono, I'm using:
>
> rmdir /dev/cmt
> ln -s /sys/bus/hsi/devices/n900-modem/ /dev/cmt

At least with Debian as base you can add this to your /etc/rc.local
and be happy, since the link will be created before ofono starts via
/etc/init.d/ ;)

I did not send ofono guys a patch to use
/sys/bus/hsi/devices/n900-modem/, since the kernel is supposed to
handle the PM, so there will be another, simpler interface (I plan
to use pm=2 for that).

> killall ofonod
> sleep .1
> ofonod --nodetach --debug &

or just use "/etc/init.d/ofono restart". The above is mostly useful
for getting debug output from ofono.

> [...]

The short description for .config: CONFIG_NOKIA_MODEM must not be
disabled. It should depend on everything else needed:

CONFIG_PHONET
CONFIG_HSI
CONFIG_OMAP_SSI
CONFIG_OMAP_SSI_PORT
CONFIG_SSI_PROTOCOL
CONFIG_NOKIA_MODEM


-- Sebastian

Attachment: signature.asc
Description: Digital signature