All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: pali.rohar@gmail.com, sre@debian.org, sre@ring0.de,
	kernel list <linux-kernel@vger.kernel.org>,
	linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
	linux-omap@vger.kernel.org, tony@atomide.com, khilman@kernel.org,
	aaro.koskinen@iki.fi, freemangordon@abv.bg
Subject: N900 modem support in 3.18-rc1
Date: Tue, 4 Nov 2014 21:51:17 +0100	[thread overview]
Message-ID: <20141104205117.GA17606@amd> (raw)

Hi!

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

root@n900:/dev# ln -sf /sys/bus/hsi/n900-modem /dev/cmt
root@n900:/dev# ls -al /dev/cmt
lrwxrwxrwx 1 root root 23 Jan  1 08:51 /dev/cmt ->
/sys/bus/hsi/n900-modem
root@n900:/dev# cat /dev/cmt
cat: /dev/cmt: No such file or directory
root@n900:/dev# cd /dev/cmt
-bash: cd: /dev/cmt: No such file or directory
root@n900:/dev# 
root@n900:/dev# ls -al /sys/bus/hsi/
devices/           drivers_autoprobe  uevent             
drivers/           drivers_probe      
root@n900:/dev# ls -al /sys/bus/hsi/devices/
cmt_speech/   hsi_char/     n900-modem/   ssi-protocol/ 
root@n900:/dev# ls -al /sys/bus/hsi/devices/n900-modem
lrwxrwxrwx 1 root root 0 Jan  1 08:46 /sys/bus/hsi/devices/n900-modem
->
../../../devices/68000000.ocp/48058000.ssi-controller/ssi0/port0/n900-modem
root@n900:/dev# 

That seemed to match, so I symlinked it.

#  # start ofono
#  ofono --nodetach --debug

It it a typo and it wants ofonod?

root@n900:~# ofonod --nodetach --debug &
[1] 3552
root@n900:~# ofonod[3552]: oFono version 1.6

#  # enable the modem
#  mdbus2 -s org.ofono /n900_0 org.ofono.Modem.SetProperty Powered true

root@n900:~# mdbus2 -s org.ofono /n900_0 org.ofono.Modem.SetProperty
Powered true
[ERR]: There is no method with name org.ofono.Modem.SetProperty on
path /n900_0!

#  # enable modem's RF parts
#  mdbus2 -s org.ofono /n900_0 org.ofono.Modem.SetProperty Online true

root@n900:~# mdbus2 -s org.ofono /n900_0 org.ofono.Modem.SetProperty
Online true
[ERR]: There is no method with name org.ofono.Modem.SetProperty on
path /n900_0!

#  # scan for available networks (takes some time)
#  mdbus2 -s org.ofono /n900_0 org.ofono.NetworkRegistration.Scan

root@n900:~# mdbus2 -s org.ofono /n900_0
org.ofono.NetworkRegistration.Scan
[ERR]: There is no method with name org.ofono.NetworkRegistration.Scan
on path /n900_0!

Any ideas? Thanks,
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

WARNING: multiple messages have this Message-ID (diff)
From: pavel@ucw.cz (Pavel Machek)
To: linux-arm-kernel@lists.infradead.org
Subject: N900 modem support in 3.18-rc1
Date: Tue, 4 Nov 2014 21:51:17 +0100	[thread overview]
Message-ID: <20141104205117.GA17606@amd> (raw)

Hi!

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

root at n900:/dev# ln -sf /sys/bus/hsi/n900-modem /dev/cmt
root at n900:/dev# ls -al /dev/cmt
lrwxrwxrwx 1 root root 23 Jan  1 08:51 /dev/cmt ->
/sys/bus/hsi/n900-modem
root at n900:/dev# cat /dev/cmt
cat: /dev/cmt: No such file or directory
root at n900:/dev# cd /dev/cmt
-bash: cd: /dev/cmt: No such file or directory
root at n900:/dev# 
root at n900:/dev# ls -al /sys/bus/hsi/
devices/           drivers_autoprobe  uevent             
drivers/           drivers_probe      
root at n900:/dev# ls -al /sys/bus/hsi/devices/
cmt_speech/   hsi_char/     n900-modem/   ssi-protocol/ 
root at n900:/dev# ls -al /sys/bus/hsi/devices/n900-modem
lrwxrwxrwx 1 root root 0 Jan  1 08:46 /sys/bus/hsi/devices/n900-modem
->
../../../devices/68000000.ocp/48058000.ssi-controller/ssi0/port0/n900-modem
root at n900:/dev# 

That seemed to match, so I symlinked it.

#  # start ofono
#  ofono --nodetach --debug

It it a typo and it wants ofonod?

root at n900:~# ofonod --nodetach --debug &
[1] 3552
root at n900:~# ofonod[3552]: oFono version 1.6

#  # enable the modem
#  mdbus2 -s org.ofono /n900_0 org.ofono.Modem.SetProperty Powered true

root at n900:~# mdbus2 -s org.ofono /n900_0 org.ofono.Modem.SetProperty
Powered true
[ERR]: There is no method with name org.ofono.Modem.SetProperty on
path /n900_0!

#  # enable modem's RF parts
#  mdbus2 -s org.ofono /n900_0 org.ofono.Modem.SetProperty Online true

root at n900:~# mdbus2 -s org.ofono /n900_0 org.ofono.Modem.SetProperty
Online true
[ERR]: There is no method with name org.ofono.Modem.SetProperty on
path /n900_0!

#  # scan for available networks (takes some time)
#  mdbus2 -s org.ofono /n900_0 org.ofono.NetworkRegistration.Scan

root at n900:~# mdbus2 -s org.ofono /n900_0
org.ofono.NetworkRegistration.Scan
[ERR]: There is no method with name org.ofono.NetworkRegistration.Scan
on path /n900_0!

Any ideas? Thanks,
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

             reply	other threads:[~2014-11-04 20:51 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-04 20:51 Pavel Machek [this message]
2014-11-04 20:51 ` N900 modem support in 3.18-rc1 Pavel Machek
2014-11-05  1:11 ` Sebastian Reichel
2014-11-05  1:11   ` Sebastian Reichel
2014-11-05 20:31   ` Pavel Machek
2014-11-05 20:31     ` Pavel Machek
2014-11-05 20:37     ` Pali Rohár
2014-11-05 20:37       ` Pali Rohár
2014-11-05 20:39       ` Pavel Machek
2014-11-05 20:39         ` Pavel Machek
2014-11-05 21:06         ` Pali Rohár
2014-11-05 21:06           ` Pali Rohár
2014-11-05 21:06           ` Pali Rohár
2014-11-05 22:03           ` Pavel Machek
2014-11-05 22:03             ` Pavel Machek
2014-11-05 23:45             ` Sebastian Reichel
2014-11-05 23:45               ` Sebastian Reichel
2014-11-06 12:47               ` Pavel Machek
2014-11-06 12:47                 ` Pavel Machek
2014-11-06 18:03                 ` Sebastian Reichel
2014-11-06 18:03                   ` Sebastian Reichel
2014-11-06 22:50                   ` Pavel Machek
2014-11-06 22:50                     ` Pavel Machek
2014-11-06 23:01                     ` Pali Rohár
2014-11-06 23:01                       ` Pali Rohár
2014-11-07  7:04                       ` Ivaylo Dimitrov
2014-11-07  7:04                         ` Ivaylo Dimitrov
2014-11-13 16:24                         ` Pavel Machek
2014-11-13 16:24                           ` Pavel Machek
2014-11-14  7:04                           ` Ivaylo Dimitrov
2014-11-14  7:04                             ` Ivaylo Dimitrov
2014-11-14 17:20                             ` Sebastian Reichel
2014-11-14 17:20                               ` Sebastian Reichel
2014-11-14 17:34                               ` Pali Rohár
2014-11-14 17:34                                 ` Pali Rohár
2014-11-14 22:05                                 ` Sebastian Reichel
2014-11-14 22:05                                   ` Sebastian Reichel
2014-11-14 19:54                               ` Ivaylo Dimitrov
2014-11-14 19:54                                 ` Ivaylo Dimitrov
2014-11-14 21:14                                 ` Pavel Machek
2014-11-14 21:14                                   ` Pavel Machek
2014-11-14 21:57                                 ` Sebastian Reichel
2014-11-14 21:57                                   ` Sebastian Reichel
2014-11-20 10:13                                   ` voice calls on N900 working (off-line) was " Pavel Machek
2014-11-20 10:13                                     ` Pavel Machek
2014-11-20 10:17                                     ` Pavel Machek
2014-11-20 10:17                                       ` Pavel Machek
2014-11-25 23:21                                     ` GPRS data on N900 working " Pavel Machek
2014-11-25 23:21                                       ` Pavel Machek
2015-02-11 18:32                                 ` Voice calls working on N900 (*) (was Re: N900 modem support in 3.18-rc1) Pavel Machek
2015-02-11 18:32                                   ` Pavel Machek
2015-02-11 20:56                                   ` Pavel Machek
2015-02-11 20:56                                     ` Pavel Machek
2014-11-13 16:21                   ` N900 modem support in 3.18-rc1 Pavel Machek
2014-11-13 16:21                     ` Pavel Machek
2014-11-13 17:45                     ` Tony Lindgren
2014-11-13 17:45                       ` Tony Lindgren
2014-11-13 18:18                       ` Aaro Koskinen
2014-11-13 18:18                         ` Aaro Koskinen
2014-11-16 10:12                         ` Pavel Machek
2014-11-16 10:12                           ` Pavel Machek
2014-11-16 12:29                           ` Robert Jarzmik
2014-11-16 12:29                             ` Robert Jarzmik
2014-11-18  7:42                             ` Pavel Machek
2014-11-18  7:42                               ` Pavel Machek
2014-11-19 19:01                               ` Robert Jarzmik
2014-11-19 19:01                                 ` Robert Jarzmik
2014-11-14  7:37                       ` Pavel Machek
2014-11-14  7:37                         ` Pavel Machek
2014-11-14 16:53                         ` Sebastian Reichel
2014-11-14 16:53                           ` Sebastian Reichel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141104205117.GA17606@amd \
    --to=pavel@ucw.cz \
    --cc=aaro.koskinen@iki.fi \
    --cc=freemangordon@abv.bg \
    --cc=khilman@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=pali.rohar@gmail.com \
    --cc=sre@debian.org \
    --cc=sre@ring0.de \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.