lkml.org 
[lkml]   [2014]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: N900 modem support in 3.18-rc1
Hi Pavel,

On Tue, Nov 04, 2014 at 09:51:17PM +0100, Pavel Machek wrote:
> I'd like to test a modem (and eventually to get it to work :-) ) on
> n900. So far I found:
>
> http://lwn.net/Articles/592485/
>
> It says:
>
> # supported. Testing the patchset with ofono works like this:
> #
> # # provide cmt device for ofono
> # ln -sf /sys/bus/hsi/n900-modem /dev/cmt
>
> [...]
>
> That seemed to match, so I symlinked it.

looks ok. You should have the following files:

/dev/cmt/cmt_apeslpx
/dev/cmt/cmt_bsi
/dev/cmt/cmt_en
/dev/cmt/cmt_rst_rq
/dev/cmt/cmt_rst

Apart from that the kernel should be provide a phonet0
network device.

> # # start ofono
> # ofono --nodetach --debug
>
> It it a typo and it wants ofonod?

yes.

> root@n900:~# ofonod --nodetach --debug &
> [1] 3552

no output from ofono?

> root@n900:~# mdbus2 -s org.ofono /n900_0 xyz
> [ERR]: There is no method with name xyz on path /n900_0!
>
> [...]
>
> Any ideas?

call mdbus2 with fewer arguments to see what is available on the
bus:

mdbus2 -s => list all system services
mdbus2 -s org.ofono => list all ofono objects
mdbus2 -s org.ofono /n900_0 => list all methods from n900 object

-- Sebastian
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2014-11-05 02:41    [W:0.073 / U:0.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site