All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: Sebastian Reichel <sre@kernel.org>,
	Pali Roh?r <pali.rohar@gmail.com>,
	kernel list <linux-kernel@vger.kernel.org>,
	linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
	linux-omap@vger.kernel.org, khilman@kernel.org,
	aaro.koskinen@iki.fi, freemangordon@abv.bg
Subject: Re: N900 modem support in 3.18-rc1
Date: Thu, 13 Nov 2014 09:45:36 -0800	[thread overview]
Message-ID: <20141113174534.GO26481@atomide.com> (raw)
In-Reply-To: <20141113162155.GA8512@xo-6d-61-c0.localdomain>

* Pavel Machek <pavel@ucw.cz> [141113 08:23]:
> Hi!
> 
> > > I actually had pm=0 on the command line, but I removed it now, and no
> > > change: [...]
> > > 
> > > Let me try with explicit =1. .. aha, that helps. Thanks!
> > 
> > mh seems I actually missed to make 1 the default value. I will
> > prepare a patch for that.
> > 
> > I assume, that the example ofono commands work for you now?
> 
> Yes, it now works great.
> 
> > > 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.

Regards,

Tony

8< -----------------
ARM: omap2plus_defconfig: Enable n900 modem as loadable modules

--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -88,6 +88,7 @@ CONFIG_IP_PNP_BOOTP=y
 CONFIG_IP_PNP_RARP=y
 # CONFIG_INET_LRO is not set
 CONFIG_NETFILTER=y
+CONFIG_PHONET=m
 CONFIG_CAN=m
 CONFIG_CAN_C_CAN=m
 CONFIG_CAN_C_CAN_PLATFORM=m
@@ -158,6 +159,7 @@ CONFIG_USB_ALI_M5632=y
 CONFIG_USB_AN2720=y
 CONFIG_USB_EPSON2888=y
 CONFIG_USB_KC2190=y
+CONFIG_USB_CDC_PHONET=m
 CONFIG_LIBERTAS=m
 CONFIG_LIBERTAS_USB=m
 CONFIG_LIBERTAS_SDIO=m
@@ -197,6 +199,11 @@ CONFIG_HW_RANDOM=y
 CONFIG_I2C_CHARDEV=y
 CONFIG_SPI=y
 CONFIG_SPI_OMAP24XX=y
+CONFIG_HSI=m
+CONFIG_OMAP_SSI=m
+CONFIG_NOKIA_MODEM=m
+CONFIG_SSI_PROTOCOL=m
+CONFIG_HSI_CHAR=m
 CONFIG_PINCTRL_SINGLE=y
 CONFIG_DEBUG_GPIO=y
 CONFIG_GPIO_SYSFS=y
@@ -312,9 +319,11 @@ CONFIG_USB_CONFIGFS_ECM=y
 CONFIG_USB_CONFIGFS_ECM_SUBSET=y
 CONFIG_USB_CONFIGFS_RNDIS=y
 CONFIG_USB_CONFIGFS_EEM=y
+CONFIG_USB_CONFIGFS_PHONET=y
 CONFIG_USB_CONFIGFS_MASS_STORAGE=y
 CONFIG_USB_CONFIGFS_F_LB_SS=y
 CONFIG_USB_CONFIGFS_F_FS=y
+CONFIG_USB_G_NOKIA=m
 CONFIG_MMC=y
 CONFIG_SDIO_UART=y
 CONFIG_MMC_OMAP=y
@@ -359,6 +368,7 @@ CONFIG_MSDOS_FS=y
 CONFIG_VFAT_FS=y
 CONFIG_TMPFS=y
 CONFIG_TMPFS_POSIX_ACL=y
+CONFIG_CONFIGFS_FS=y
 CONFIG_JFFS2_FS=y
 CONFIG_JFFS2_SUMMARY=y
 CONFIG_JFFS2_FS_XATTR=y

WARNING: multiple messages have this Message-ID (diff)
From: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: N900 modem support in 3.18-rc1
Date: Thu, 13 Nov 2014 09:45:36 -0800	[thread overview]
Message-ID: <20141113174534.GO26481@atomide.com> (raw)
In-Reply-To: <20141113162155.GA8512@xo-6d-61-c0.localdomain>

* Pavel Machek <pavel@ucw.cz> [141113 08:23]:
> Hi!
> 
> > > I actually had pm=0 on the command line, but I removed it now, and no
> > > change: [...]
> > > 
> > > Let me try with explicit =1. .. aha, that helps. Thanks!
> > 
> > mh seems I actually missed to make 1 the default value. I will
> > prepare a patch for that.
> > 
> > I assume, that the example ofono commands work for you now?
> 
> Yes, it now works great.
> 
> > > 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.

Regards,

Tony

8< -----------------
ARM: omap2plus_defconfig: Enable n900 modem as loadable modules

--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -88,6 +88,7 @@ CONFIG_IP_PNP_BOOTP=y
 CONFIG_IP_PNP_RARP=y
 # CONFIG_INET_LRO is not set
 CONFIG_NETFILTER=y
+CONFIG_PHONET=m
 CONFIG_CAN=m
 CONFIG_CAN_C_CAN=m
 CONFIG_CAN_C_CAN_PLATFORM=m
@@ -158,6 +159,7 @@ CONFIG_USB_ALI_M5632=y
 CONFIG_USB_AN2720=y
 CONFIG_USB_EPSON2888=y
 CONFIG_USB_KC2190=y
+CONFIG_USB_CDC_PHONET=m
 CONFIG_LIBERTAS=m
 CONFIG_LIBERTAS_USB=m
 CONFIG_LIBERTAS_SDIO=m
@@ -197,6 +199,11 @@ CONFIG_HW_RANDOM=y
 CONFIG_I2C_CHARDEV=y
 CONFIG_SPI=y
 CONFIG_SPI_OMAP24XX=y
+CONFIG_HSI=m
+CONFIG_OMAP_SSI=m
+CONFIG_NOKIA_MODEM=m
+CONFIG_SSI_PROTOCOL=m
+CONFIG_HSI_CHAR=m
 CONFIG_PINCTRL_SINGLE=y
 CONFIG_DEBUG_GPIO=y
 CONFIG_GPIO_SYSFS=y
@@ -312,9 +319,11 @@ CONFIG_USB_CONFIGFS_ECM=y
 CONFIG_USB_CONFIGFS_ECM_SUBSET=y
 CONFIG_USB_CONFIGFS_RNDIS=y
 CONFIG_USB_CONFIGFS_EEM=y
+CONFIG_USB_CONFIGFS_PHONET=y
 CONFIG_USB_CONFIGFS_MASS_STORAGE=y
 CONFIG_USB_CONFIGFS_F_LB_SS=y
 CONFIG_USB_CONFIGFS_F_FS=y
+CONFIG_USB_G_NOKIA=m
 CONFIG_MMC=y
 CONFIG_SDIO_UART=y
 CONFIG_MMC_OMAP=y
@@ -359,6 +368,7 @@ CONFIG_MSDOS_FS=y
 CONFIG_VFAT_FS=y
 CONFIG_TMPFS=y
 CONFIG_TMPFS_POSIX_ACL=y
+CONFIG_CONFIGFS_FS=y
 CONFIG_JFFS2_FS=y
 CONFIG_JFFS2_SUMMARY=y
 CONFIG_JFFS2_FS_XATTR=y

  reply	other threads:[~2014-11-13 17:45 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-04 20:51 N900 modem support in 3.18-rc1 Pavel Machek
2014-11-04 20:51 ` 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 [this message]
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=20141113174534.GO26481@atomide.com \
    --to=tony@atomide.com \
    --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=pavel@ucw.cz \
    --cc=sre@kernel.org \
    /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.