Re: Voice calls working on N900 (*) (was Re: N900 modem support in 3.18-rc1)

2015-02-11 Thread Pavel Machek
Hi! > (*) for low values of working. > > Ok, so I got voice on n900 to work on 3.19-n900 tree.. Quality of incoming > voice is reasonable, quality of outgoing voice not so, I was told. > > So, you need patched kernel (pali's n900 tree) ofono etc, plus I'm > using ofone python script to control

Voice calls working on N900 (*) (was Re: N900 modem support in 3.18-rc1)

2015-02-11 Thread Pavel Machek
Hi! (*) for low values of working. Ok, so I got voice on n900 to work on 3.19-n900 tree.. Quality of incoming voice is reasonable, quality of outgoing voice not so, I was told. So, you need patched kernel (pali's n900 tree) ofono etc, plus I'm using ofone python script to control the modem,

Voice calls working on N900 (*) (was Re: N900 modem support in 3.18-rc1)

2015-02-11 Thread Pavel Machek
Hi! (*) for low values of working. Ok, so I got voice on n900 to work on 3.19-n900 tree.. Quality of incoming voice is reasonable, quality of outgoing voice not so, I was told. So, you need patched kernel (pali's n900 tree) ofono etc, plus I'm using ofone python script to control the modem,

Re: Voice calls working on N900 (*) (was Re: N900 modem support in 3.18-rc1)

2015-02-11 Thread Pavel Machek
Hi! (*) for low values of working. Ok, so I got voice on n900 to work on 3.19-n900 tree.. Quality of incoming voice is reasonable, quality of outgoing voice not so, I was told. So, you need patched kernel (pali's n900 tree) ofono etc, plus I'm using ofone python script to control the

GPRS data on N900 working was Re: N900 modem support in 3.18-rc1

2014-11-25 Thread Pavel Machek
Hi! > Then go to /my/tui/ofone. Run "./run" -- that should start > pulseaudio. Run "./ofone", hit "lowlevel: online", hit "contacts", > enter phone number you want to call, hit the number, it should start > dialing. > > Wait a while, hit "lowlevel: hangup". I played a bit more, and now ofone

GPRS data on N900 working was Re: N900 modem support in 3.18-rc1

2014-11-25 Thread Pavel Machek
Hi! Then go to /my/tui/ofone. Run ./run -- that should start pulseaudio. Run ./ofone, hit lowlevel: online, hit contacts, enter phone number you want to call, hit the number, it should start dialing. Wait a while, hit lowlevel: hangup. I played a bit more, and now ofone can connect to

Re: voice calls on N900 working (off-line) was Re: N900 modem support in 3.18-rc1

2014-11-20 Thread Pavel Machek
Hi! > Ok, so realtime audio does not work due to some pulseaudio problems, > but I was able to record a (silent) call and then replay it with > > pacat --rate 4000 ../../../pulseaudio2.raw > > on my PC. I have yet to do some testing on the microphone side. Did someone get pulseaudio to work

voice calls on N900 working (off-line) was Re: N900 modem support in 3.18-rc1

2014-11-20 Thread Pavel Machek
Hi! > > REed pulseaudio modules that use cmtspeech will be ready sooner than later > > (I believe in 2-3 monts from now), see on gitorious how fast we progressed > > with -record and -music modules. Sure, -voice module is way more > > complicated, but lots of it is already opensourced, we just

voice calls on N900 working (off-line) was Re: N900 modem support in 3.18-rc1

2014-11-20 Thread Pavel Machek
Hi! REed pulseaudio modules that use cmtspeech will be ready sooner than later (I believe in 2-3 monts from now), see on gitorious how fast we progressed with -record and -music modules. Sure, -voice module is way more complicated, but lots of it is already opensourced, we just need to

Re: voice calls on N900 working (off-line) was Re: N900 modem support in 3.18-rc1

2014-11-20 Thread Pavel Machek
Hi! Ok, so realtime audio does not work due to some pulseaudio problems, but I was able to record a (silent) call and then replay it with pacat --rate 4000 ../../../pulseaudio2.raw on my PC. I have yet to do some testing on the microphone side. Did someone get pulseaudio to work on

Re: N900 modem support in 3.18-rc1

2014-11-19 Thread Robert Jarzmik
Pavel Machek writes: > Thanks for the info. > > I added > > " > +Mainline has support for Mitac Mio A701, but that having only 64MiB > +RAM, QTopia is the software to use there. > " Thanks Pavel, that looks good. Cheers. -- Robert -- To unsubscribe from this list: send the line

Re: N900 modem support in 3.18-rc1

2014-11-19 Thread Robert Jarzmik
Pavel Machek pa...@ucw.cz writes: Thanks for the info. I added +Mainline has support for Mitac Mio A701, but that having only 64MiB +RAM, QTopia is the software to use there. Thanks Pavel, that looks good. Cheers. -- Robert -- To unsubscribe from this list: send the line

Re: N900 modem support in 3.18-rc1

2014-11-17 Thread Pavel Machek
On Sun 2014-11-16 13:29:50, Robert Jarzmik wrote: > Pavel Machek writes: > > > On Thu 2014-11-13 20:18:04, Aaro Koskinen wrote: > >> Hi, > >> > >> On Thu, Nov 13, 2014 at 09:45:36AM -0800, Tony Lindgren wrote: > >> > * Pavel Machek [141113 08:23]: > >> > > OTOH ofono seems pretty reasonable.

Re: N900 modem support in 3.18-rc1

2014-11-17 Thread Pavel Machek
On Sun 2014-11-16 13:29:50, Robert Jarzmik wrote: Pavel Machek pa...@ucw.cz writes: On Thu 2014-11-13 20:18:04, Aaro Koskinen wrote: Hi, On Thu, Nov 13, 2014 at 09:45:36AM -0800, Tony Lindgren wrote: * Pavel Machek pa...@ucw.cz [141113 08:23]: OTOH ofono seems pretty reasonable.

Re: N900 modem support in 3.18-rc1

2014-11-16 Thread Robert Jarzmik
Pavel Machek writes: > On Thu 2014-11-13 20:18:04, Aaro Koskinen wrote: >> Hi, >> >> On Thu, Nov 13, 2014 at 09:45:36AM -0800, Tony Lindgren wrote: >> > * Pavel Machek [141113 08:23]: >> > > OTOH ofono seems pretty reasonable. So I played a bit, and result >> > > is python/pygtk gui which can

Re: N900 modem support in 3.18-rc1

2014-11-16 Thread Pavel Machek
On Thu 2014-11-13 20:18:04, Aaro Koskinen wrote: > Hi, > > On Thu, Nov 13, 2014 at 09:45:36AM -0800, Tony Lindgren wrote: > > * Pavel Machek [141113 08:23]: > > > OTOH ofono seems pretty reasonable. So I played a bit, and result > > > is python/pygtk gui which can receive an sms, initiate a

Re: N900 modem support in 3.18-rc1

2014-11-16 Thread Pavel Machek
On Thu 2014-11-13 20:18:04, Aaro Koskinen wrote: Hi, On Thu, Nov 13, 2014 at 09:45:36AM -0800, Tony Lindgren wrote: * Pavel Machek pa...@ucw.cz [141113 08:23]: OTOH ofono seems pretty reasonable. So I played a bit, and result is python/pygtk gui which can receive an sms, initiate a

Re: N900 modem support in 3.18-rc1

2014-11-16 Thread Robert Jarzmik
Pavel Machek pa...@ucw.cz writes: On Thu 2014-11-13 20:18:04, Aaro Koskinen wrote: Hi, On Thu, Nov 13, 2014 at 09:45:36AM -0800, Tony Lindgren wrote: * Pavel Machek pa...@ucw.cz [141113 08:23]: OTOH ofono seems pretty reasonable. So I played a bit, and result is python/pygtk gui

Re: N900 modem support in 3.18-rc1

2014-11-14 Thread Sebastian Reichel
Hi, On Fri, Nov 14, 2014 at 06:34:18PM +0100, Pali Rohár wrote: > Anyway what is /dev/cmt_speech doing? If it exports gsm voice > call data, [...] Right. > [...] should not it have alsa snd interface? Sounds also like a promising standardized kernel interface. I wonder why a custom interface

Re: N900 modem support in 3.18-rc1

2014-11-14 Thread Sebastian Reichel
Hi, On Fri, Nov 14, 2014 at 09:54:42PM +0200, Ivaylo Dimitrov wrote: > On 14.11.2014 19:20, Sebastian Reichel wrote: > >The patch looks ok. It does not cleanup the cmt-speech driver for > >mainline usage, but it should work. Before adding this driver to the > >mainline kernel there should be open

Re: N900 modem support in 3.18-rc1

2014-11-14 Thread Pavel Machek
Hi! On Fri 2014-11-14 21:54:42, Ivaylo Dimitrov wrote: > On 14.11.2014 19:20, Sebastian Reichel wrote: > > > >The patch looks ok. It does not cleanup the cmt-speech driver for > >mainline usage, but it should work. Before adding this driver to the > >mainline kernel there should be open source

Re: N900 modem support in 3.18-rc1

2014-11-14 Thread Ivaylo Dimitrov
On 14.11.2014 19:20, Sebastian Reichel wrote: The patch looks ok. It does not cleanup the cmt-speech driver for mainline usage, but it should work. Before adding this driver to the mainline kernel there should be open source userspace support anyway. I am aware of that(patch not ready),

Re: N900 modem support in 3.18-rc1

2014-11-14 Thread Pali Rohár
On Friday 14 November 2014 18:20:09 Sebastian Reichel wrote: > Hi, > > On Fri, Nov 14, 2014 at 09:04:23AM +0200, Ivaylo Dimitrov wrote: > > [...] > > https://gitorious.org/linux-n900/freemangordons-linux-n900/c > > ommits/30e9a5c498a89cea4c29523f69e436bf0af3c631 > > > > commits 89ce13b,

Re: N900 modem support in 3.18-rc1

2014-11-14 Thread Sebastian Reichel
Hi, On Fri, Nov 14, 2014 at 09:04:23AM +0200, Ivaylo Dimitrov wrote: > [...] > https://gitorious.org/linux-n900/freemangordons-linux-n900/commits/30e9a5c498a89cea4c29523f69e436bf0af3c631 > > commits 89ce13b, b81d80d, ec4d0dc, 91256e2 and 8022a6d - e29f558 (no idea > why gitorious shows those

Re: N900 modem support in 3.18-rc1

2014-11-14 Thread Sebastian Reichel
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

Re: N900 modem support in 3.18-rc1

2014-11-14 Thread Sebastian Reichel
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

Re: N900 modem support in 3.18-rc1

2014-11-14 Thread Sebastian Reichel
Hi, On Fri, Nov 14, 2014 at 09:04:23AM +0200, Ivaylo Dimitrov wrote: [...] https://gitorious.org/linux-n900/freemangordons-linux-n900/commits/30e9a5c498a89cea4c29523f69e436bf0af3c631 commits 89ce13b, b81d80d, ec4d0dc, 91256e2 and 8022a6d - e29f558 (no idea why gitorious shows those mixed

Re: N900 modem support in 3.18-rc1

2014-11-14 Thread Pali Rohár
On Friday 14 November 2014 18:20:09 Sebastian Reichel wrote: Hi, On Fri, Nov 14, 2014 at 09:04:23AM +0200, Ivaylo Dimitrov wrote: [...] https://gitorious.org/linux-n900/freemangordons-linux-n900/c ommits/30e9a5c498a89cea4c29523f69e436bf0af3c631 commits 89ce13b, b81d80d, ec4d0dc,

Re: N900 modem support in 3.18-rc1

2014-11-14 Thread Ivaylo Dimitrov
On 14.11.2014 19:20, Sebastian Reichel wrote: The patch looks ok. It does not cleanup the cmt-speech driver for mainline usage, but it should work. Before adding this driver to the mainline kernel there should be open source userspace support anyway. I am aware of that(patch not ready),

Re: N900 modem support in 3.18-rc1

2014-11-14 Thread Pavel Machek
Hi! On Fri 2014-11-14 21:54:42, Ivaylo Dimitrov wrote: On 14.11.2014 19:20, Sebastian Reichel wrote: The patch looks ok. It does not cleanup the cmt-speech driver for mainline usage, but it should work. Before adding this driver to the mainline kernel there should be open source userspace

Re: N900 modem support in 3.18-rc1

2014-11-14 Thread Sebastian Reichel
Hi, On Fri, Nov 14, 2014 at 09:54:42PM +0200, Ivaylo Dimitrov wrote: On 14.11.2014 19:20, Sebastian Reichel wrote: The patch looks ok. It does not cleanup the cmt-speech driver for mainline usage, but it should work. Before adding this driver to the mainline kernel there should be open source

Re: N900 modem support in 3.18-rc1

2014-11-14 Thread Sebastian Reichel
Hi, On Fri, Nov 14, 2014 at 06:34:18PM +0100, Pali Rohár wrote: Anyway what is /dev/cmt_speech doing? If it exports gsm voice call data, [...] Right. [...] should not it have alsa snd interface? Sounds also like a promising standardized kernel interface. I wonder why a custom interface has

Re: N900 modem support in 3.18-rc1

2014-11-13 Thread Pavel Machek
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 >

Re: N900 modem support in 3.18-rc1

2014-11-13 Thread Ivaylo Dimitrov
On 13.11.2014 18:24, Pavel Machek wrote: On Fri 2014-11-07 09:04:52, Ivaylo Dimitrov wrote: Sebastian is quiet, can we have the patch? :-). Sure, why not :) https://gitorious.org/linux-n900/freemangordons-linux-n900/commits/30e9a5c498a89cea4c29523f69e436bf0af3c631 commits 89ce13b,

Re: N900 modem support in 3.18-rc1

2014-11-13 Thread Aaro Koskinen
Hi, On Thu, Nov 13, 2014 at 09:45:36AM -0800, Tony Lindgren wrote: > * Pavel Machek [141113 08:23]: > > 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,

Re: N900 modem support in 3.18-rc1

2014-11-13 Thread Tony Lindgren
* Pavel Machek [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

Re: N900 modem support in 3.18-rc1

2014-11-13 Thread Pavel Machek
On Fri 2014-11-07 09:04:52, Ivaylo Dimitrov wrote: > On 7.11.2014 01:01, Pali Rohár wrote: > > > >For voice calls you need: > >* kernel driver cmt-speech (or it has some new name) > >* cmt-speech userspace library (communication with kernel) > >* pulseaudio modules which are using that library >

Re: N900 modem support in 3.18-rc1

2014-11-13 Thread Pavel Machek
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

Re: N900 modem support in 3.18-rc1

2014-11-13 Thread Pavel Machek
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

Re: N900 modem support in 3.18-rc1

2014-11-13 Thread Pavel Machek
On Fri 2014-11-07 09:04:52, Ivaylo Dimitrov wrote: On 7.11.2014 01:01, Pali Rohár wrote: For voice calls you need: * kernel driver cmt-speech (or it has some new name) * cmt-speech userspace library (communication with kernel) * pulseaudio modules which are using that library

Re: N900 modem support in 3.18-rc1

2014-11-13 Thread Tony Lindgren
* Pavel Machek pa...@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

Re: N900 modem support in 3.18-rc1

2014-11-13 Thread Aaro Koskinen
Hi, On Thu, Nov 13, 2014 at 09:45:36AM -0800, Tony Lindgren wrote: * Pavel Machek pa...@ucw.cz [141113 08:23]: 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,

Re: N900 modem support in 3.18-rc1

2014-11-13 Thread Ivaylo Dimitrov
On 13.11.2014 18:24, Pavel Machek wrote: On Fri 2014-11-07 09:04:52, Ivaylo Dimitrov wrote: Sebastian is quiet, can we have the patch? :-). Sure, why not :) https://gitorious.org/linux-n900/freemangordons-linux-n900/commits/30e9a5c498a89cea4c29523f69e436bf0af3c631 commits 89ce13b,

Re: N900 modem support in 3.18-rc1

2014-11-13 Thread Pavel Machek
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

Re: N900 modem support in 3.18-rc1

2014-11-06 Thread Ivaylo Dimitrov
On 7.11.2014 01:01, Pali Rohár wrote: For voice calls you need: * kernel driver cmt-speech (or it has some new name) * cmt-speech userspace library (communication with kernel) * pulseaudio modules which are using that library Freemangordon (Ivaylo Dimitrov, CCed) should know more about it,

Re: N900 modem support in 3.18-rc1

2014-11-06 Thread Pali Rohár
On Thursday 06 November 2014 23:50:05 Pavel Machek wrote: > > > What is needed to get voice calls to work? > > > > There's still a kernel driver missing in mainline for > > exchanging voice data between the modem and the cpu (called > > cmt-speech). > > > > BTW the CMT driver should be removed

Re: N900 modem support in 3.18-rc1

2014-11-06 Thread Pavel Machek
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

Re: N900 modem support in 3.18-rc1

2014-11-06 Thread Sebastian Reichel
Hi, On Thu, Nov 06, 2014 at 01:47:11PM +0100, Pavel Machek wrote: > > On Wed, Nov 05, 2014 at 11:03:59PM +0100, Pavel Machek wrote: > > > > Maybe you need to enable modem? > > > > > > > > This is n900 init sequence from script: nokia-n900-configs.sh > > > > > > From the dts, it looks like this

Re: N900 modem support in 3.18-rc1

2014-11-06 Thread Pavel Machek
Hi! > On Wed, Nov 05, 2014 at 11:03:59PM +0100, Pavel Machek wrote: > > > Maybe you need to enable modem? > > > > > > This is n900 init sequence from script: nokia-n900-configs.sh > > > > From the dts, it looks like this should somehow work without this. > > Right :) The n900-modem driver will

Re: N900 modem support in 3.18-rc1

2014-11-06 Thread Sebastian Reichel
Hi, On Thu, Nov 06, 2014 at 01:47:11PM +0100, Pavel Machek wrote: On Wed, Nov 05, 2014 at 11:03:59PM +0100, Pavel Machek wrote: Maybe you need to enable modem? This is n900 init sequence from script: nokia-n900-configs.sh From the dts, it looks like this should somehow work

Re: N900 modem support in 3.18-rc1

2014-11-06 Thread Pavel Machek
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

Re: N900 modem support in 3.18-rc1

2014-11-06 Thread Pali Rohár
On Thursday 06 November 2014 23:50:05 Pavel Machek wrote: What is needed to get voice calls to work? There's still a kernel driver missing in mainline for exchanging voice data between the modem and the cpu (called cmt-speech). BTW the CMT driver should be removed from your kernel

Re: N900 modem support in 3.18-rc1

2014-11-06 Thread Ivaylo Dimitrov
On 7.11.2014 01:01, Pali Rohár wrote: For voice calls you need: * kernel driver cmt-speech (or it has some new name) * cmt-speech userspace library (communication with kernel) * pulseaudio modules which are using that library Freemangordon (Ivaylo Dimitrov, CCed) should know more about it,

Re: N900 modem support in 3.18-rc1

2014-11-06 Thread Pavel Machek
Hi! On Wed, Nov 05, 2014 at 11:03:59PM +0100, Pavel Machek wrote: Maybe you need to enable modem? This is n900 init sequence from script: nokia-n900-configs.sh From the dts, it looks like this should somehow work without this. Right :) The n900-modem driver will take care of

Re: N900 modem support in 3.18-rc1

2014-11-05 Thread Sebastian Reichel
Hi, On Wed, Nov 05, 2014 at 11:03:59PM +0100, Pavel Machek wrote: > > Maybe you need to enable modem? > > > > This is n900 init sequence from script: nokia-n900-configs.sh > > From the dts, it looks like this should somehow work without this. Right :) The n900-modem driver will take care of

Re: N900 modem support in 3.18-rc1

2014-11-05 Thread Pavel Machek
Hi! > Maybe you need to enable modem? > > This is n900 init sequence from script: nokia-n900-configs.sh >From the dts, it looks like this should somehow work without this. I can try but.. is it safe? I'm using DT-based config, and interrupt numbers definitely changed. If GPIO numbers changed,

Re: N900 modem support in 3.18-rc1

2014-11-05 Thread Pali Rohár
Maybe you need to enable modem? This is n900 init sequence from script: nokia-n900-configs.sh # set up the GPIO's for N900 modem: echo 70 >/sys/class/gpio/export echo low >/sys/class/gpio/gpio70/direction echo 0 >/sys/class/gpio/gpio70/value echo 73 >/sys/class/gpio/export

Re: N900 modem support in 3.18-rc1

2014-11-05 Thread Pavel Machek
Hi! > Hello, have you enabled CONFIG_PHONET? Yes: CONFIG_PHONET=y And this: # SPI Protocol Masters # #

Re: N900 modem support in 3.18-rc1

2014-11-05 Thread Pali Rohár
Hello, have you enabled CONFIG_PHONET? -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Re: N900 modem support in 3.18-rc1

2014-11-05 Thread Pavel Machek
On Wed 2014-11-05 02:11:22, Sebastian Reichel wrote: > 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: > > > >

Re: N900 modem support in 3.18-rc1

2014-11-05 Thread Pavel Machek
On Wed 2014-11-05 02:11:22, Sebastian Reichel wrote: 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.

Re: N900 modem support in 3.18-rc1

2014-11-05 Thread Pali Rohár
Hello, have you enabled CONFIG_PHONET? -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.

Re: N900 modem support in 3.18-rc1

2014-11-05 Thread Pavel Machek
Hi! Hello, have you enabled CONFIG_PHONET? Yes: CONFIG_PHONET=y And this: # SPI Protocol Masters # #

Re: N900 modem support in 3.18-rc1

2014-11-05 Thread Pali Rohár
Maybe you need to enable modem? This is n900 init sequence from script: nokia-n900-configs.sh # set up the GPIO's for N900 modem: echo 70 /sys/class/gpio/export echo low /sys/class/gpio/gpio70/direction echo 0 /sys/class/gpio/gpio70/value echo 73 /sys/class/gpio/export

Re: N900 modem support in 3.18-rc1

2014-11-05 Thread Pavel Machek
Hi! Maybe you need to enable modem? This is n900 init sequence from script: nokia-n900-configs.sh From the dts, it looks like this should somehow work without this. I can try but.. is it safe? I'm using DT-based config, and interrupt numbers definitely changed. If GPIO numbers changed, it

Re: N900 modem support in 3.18-rc1

2014-11-05 Thread Sebastian Reichel
Hi, On Wed, Nov 05, 2014 at 11:03:59PM +0100, Pavel Machek wrote: Maybe you need to enable modem? This is n900 init sequence from script: nokia-n900-configs.sh From the dts, it looks like this should somehow work without this. Right :) The n900-modem driver will take care of this if

Re: N900 modem support in 3.18-rc1

2014-11-04 Thread Sebastian Reichel
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: > # > # #

N900 modem support in 3.18-rc1

2014-11-04 Thread Pavel Machek
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#

N900 modem support in 3.18-rc1

2014-11-04 Thread Pavel Machek
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#

Re: N900 modem support in 3.18-rc1

2014-11-04 Thread Sebastian Reichel
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