[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141114073756.GA5336@amd>
Date: Fri, 14 Nov 2014 08:37:56 +0100
From: Pavel Machek <pavel@....cz>
To: Tony Lindgren <tony@...mide.com>
Cc: Sebastian Reichel <sre@...nel.org>,
Pali Roh?r <pali.rohar@...il.com>,
kernel list <linux-kernel@...r.kernel.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
linux-omap@...r.kernel.org, khilman@...nel.org,
aaro.koskinen@....fi, freemangordon@....bg
Subject: Re: N900 modem support in 3.18-rc1
Hi!
> > > > Do you have an example client that can talk to ofonod?
> > >
> > > I have not yet played with userland stuff. You could try
> > > telepathy-ring, which integrates the ofono into the telepathy
> > > framework.
> >
> > Ok, I took a look, and telepathy-ring is not in debian, and has
> > a lot of dependencies.
> >
> > OTOH ofono seems pretty reasonable. So I played a bit, and result
> > is python/pygtk gui which can receive an sms, initiate a call, and
> > report missed call. If someone wants to play, source is at
> >
> > https://gitorious.org/tui/tui/source/b6141107e9341a1412720aed4b0d09143dfa2f4e:ofone
>
> Pavel, care to fill in the the following type patch with some
> instructions in the description now that you got it working?
>
> I did not have luck yet when I tried. I got the /dev/cmt/*
> entries after adding pm=1 param, but no luck scanning any networks.
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
killall ofonod
sleep .1
ofonod --nodetach --debug &
# enable the modem
mdbus2 -s org.ofono /n900_0 org.ofono.Modem.SetProperty Powered true
# enable modem's RF parts
mdbus2 -s org.ofono /n900_0 org.ofono.Modem.SetProperty Online true
# scan for available networks (takes some time)
mdbus2 -s org.ofono /n900_0 org.ofono.NetworkRegistration.Scan
I do have working SIM card in it. (Alternatively, ofone button
"online" can be used).
Good luck,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
View attachment ".config" of type "text/plain" (85911 bytes)
Powered by blists - more mailing lists