OpenPhoenux P.I.W.O. talk

2014-05-18 Thread Sebastian Krzyszkowiak
Hello,

Yesterday I was giving a OpenPhoenux themed talk titled Free Mobile -
when Android is not enough on local Free Software event in PoznaƄ,
Poland - http://piwo.informatyka.org/

Here you can see the slides I've prepared for the presentation:
http://neo900.org/piwo/piwo.pdf

It's mostly a basic introduction to the Openmoko/OpenPhoenux world,
but it also contains some info about the modem monitoring/sandboxing
solution that is going to be implemented in Neo900, so it might be
interesting for some of you :)

Feel free to use the slides if you're also going to give some
OpenPhoenux related talk somewhere!

Cheers,
-- 
Sebastian Krzyszkowiak, dos
http://dosowisko.net/

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtMoko] GSM not turning on / registering

2014-05-18 Thread Nick
Apologies for not replying sooner. Thanks for the replies.

I tried the SIM in another phone and it does work, and another SIM 
in this one does not (both the same network).

Quoth Michael Spacefalcon:
 What modem firmware version is this?

Revision is:
GSM: gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko11

So Moko11, I guess ;)

 Since the GSM modem is no longer an impenetrable black box, you could
 try debugging the apparently misbehaving modem using standard Free
 Software debugging methods: study the source and the documentation,
 and make use of the modem debug interface accessible via the headset
 jack.
 
 Start by taking QtMoko high-level software out of the equation and
 talking AT commands directly to the modem:
 
 http://wiki.openmoko.org/wiki/Manually_using_GSM
 
 Try the AT commands shown on that wiki page, and tell us the results.
 That right there might spot an issue.

That's a good idea. I'm hitting a snag before I get very far, 
though. Namely that I don't know which process is in charge of the 
GSM, so which one to kill to stop the phone accessing.

lsof would probably tell me, but I can't install it because it's 
tough to get the wifi to work (which I generally don't care about).  
Can somebody who knows QtMoko advise which process to kill?  There 
is no gsmd, as suggested on the OM wiki.

Thanks,

Nick

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtMoko] GSM not turning on / registering

2014-05-18 Thread Michael Spacefalcon
Nick openmoko-commun...@njw.me.uk wrote:

 I tried the SIM in another phone and it does work, and another SIM 
 in this one does not (both the same network).

OK, good observation.  The problem is now narrowed down to the FR,
rather than network coverage in your area, your service subscription
or the SIM issued for it.

There is one more thing we need to check before proceeding further,
though.  That other phone you used to confirm your SIMs as good, what
kind of phone is it?  Is it 2G or 3G?  If the latter, please look
through its menus and see if there is an option to force 2G mode.
The reason for this exploration is to eliminate the possibility that
GSM (aka 2G) service in your geographical area stopped working,
knocking out Free Firmware phones while closed proprietary Apple/
Samsung/GTA04/etc still work on UMTS..

(In the event that some part of the world with a nonzero population of
 Free Firmware phone users does kill its GSM service, there are two
 possible ways for us to react to that development: either try to
 liberate one of the newer 3G+ phones/modems, or build our own GSM 2G
 network for our own use.  If/when this situation ever occurs in my
 part of the world, I will do the latter, as I consider GSM/2G to be
 superior to 3G crap both technically and morally.)

Assuming that your email TLD matches your location, you are doing this
in the UK, right?  Do you know if your service provider operates a
900 MHz GSM network, a 1800 MHz one, or both?

 Revision is:
 GSM: gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko11
 So Moko11, I guess ;)

Any particular reason you have not yet upgraded to leo2moko-r1 aka
moko12?  While it is very unlikely that performing this fw update will
fix the problem, running fw with a published Corresponding Source and
a linker map listing will likely be a prerequisite for some of the
more advanced troubleshooting steps, so you might as well do it now..

  http://wiki.openmoko.org/wiki/Manually_using_GSM
 [...]
 That's a good idea. I'm hitting a snag before I get very far, 
 though. Namely that I don't know which process is in charge of the 
 GSM, so which one to kill to stop the phone accessing.

According to this web page:

http://winterveldt.co.za/leo2moko-p3.html

the command you need is:

/etc/init.d/qtmoko-neo stop

(Whether the intent is to talk manual AT commands to the modem or to
 reflash it, the step of stopping QtMoko should be the same.)

 lsof would probably tell me, but I can't install it because it's 
 tough to get the wifi to work (which I generally don't care about).  

Huh?  WiFi?  While you do need an ssh connection into the Neo, why
does it have to be WiFi?  Doesn't QtMoko support eth-over-usb
networking like the others?

HTH,
SF

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtMoko] GSM not turning on / registering

2014-05-18 Thread Nick
Quoth Michael Spacefalcon:
 Nick openmoko-commun...@njw.me.uk wrote: 
  I tried the SIM in another phone and it does work, and another SIM 
  in this one does not (both the same network).
 
 OK, good observation.  The problem is now narrowed down to the FR,
 rather than network coverage in your area, your service subscription
 or the SIM issued for it.
 
 There is one more thing we need to check before proceeding further,
 though.  That other phone you used to confirm your SIMs as good, what
 kind of phone is it?  Is it 2G or 3G?  If the latter, please look
 through its menus and see if there is an option to force 2G mode.
 The reason for this exploration is to eliminate the possibility that
 GSM (aka 2G) service in your geographical area stopped working,
 knocking out Free Firmware phones while closed proprietary Apple/
 Samsung/GTA04/etc still work on UMTS..

The phone that works is 3G, and it doesn't seem to have a 'force 2G' 
option anywhere. I'm in the Greater Boston area, so I can't imagine 
the phone company could just have turned off 2G here yet; there are 
too many subscribers around.

 Assuming that your email TLD matches your location, you are doing this
 in the UK, right?  Do you know if your service provider operates a
 900 MHz GSM network, a 1800 MHz one, or both?

As I said, I'm in the USA now, and I'm on ATT, FWIW.

  Revision is:
  GSM: gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko11
  So Moko11, I guess ;)
 
 Any particular reason you have not yet upgraded to leo2moko-r1 aka
 moko12?  While it is very unlikely that performing this fw update will
 fix the problem, running fw with a published Corresponding Source and
 a linker map listing will likely be a prerequisite for some of the
 more advanced troubleshooting steps, so you might as well do it now..

The only reason is laziness. I like following your work very much, 
and am glad you're doing it, and planned to upgrade eventually.

I might as well do it now indeed... Will do so tomorrow, when I 
debug this further.

   http://wiki.openmoko.org/wiki/Manually_using_GSM
  [...]
  That's a good idea. I'm hitting a snag before I get very far, 
  though. Namely that I don't know which process is in charge of the 
  GSM, so which one to kill to stop the phone accessing.
 
 According to this web page:
 
 http://winterveldt.co.za/leo2moko-p3.html
 
 the command you need is:
 
 /etc/init.d/qtmoko-neo stop
 
 (Whether the intent is to talk manual AT commands to the modem or to
  reflash it, the step of stopping QtMoko should be the same.)

Ah great, thanks, that sounds like just the ticket.

  lsof would probably tell me, but I can't install it because it's 
  tough to get the wifi to work (which I generally don't care about).  
 
 Huh?  WiFi?  While you do need an ssh connection into the Neo, why
 does it have to be WiFi?  Doesn't QtMoko support eth-over-usb
 networking like the others?

It does, I expect, I just haven't set it up to do that yet.  
Basically because I just want a dumbphone that works, really, so 
tend towards laziness regarding my phone nowadays.

 HTH,

It certainly does, thanks, I'll report back tomorrow.

Nick

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtMoko] GSM not turning on / registering

2014-05-18 Thread Michael Spacefalcon
Nick openmoko-commun...@njw.me.uk wrote:

 The phone that works is 3G, and it doesn't seem to have a 'force 2G' 
 option anywhere.

The option in question often goes by different names: it may also be
named network type or network selection etc, with the choices
being GSM or WCDMA or both.  Try selecting GSM if you can find the
elusive option.

 I'm in the Greater Boston area,

Ahh - I didn't realize you were still here in the States - I remember
you asking on this list a few months ago about GSM frequency bands in
USA, with the intention of traveling to Boston area, but it was back
in February, so I thought the trip was over and you were back home in
the UK.

How long ago have you arrived in Boston?  Is the FR-not-working
problem something that happened upon arrival in USA, or has it been
working for you for a while in this part of the world?

 so I can't imagine 
 the phone company could just have turned off 2G here yet; there are 
 too many subscribers around.
 [...]
 As I said, I'm in the USA now, and I'm on ATT, FWIW.

Ahh, so you decided to be adventurous and use ATT instead of the more
tried  tested T-Mobile.  Before we spend an inordinate amount of
effort figuring out why your FR doesn't work on ATT in Boston,
perhaps you could try a T-Mobile SIM card just as a quick test?  If
you don't have one, just go into any T-Mobile store and ask them to
borrow a SIM for a few minutes to test in your phone while inside
their store.

Also if there is any chance you might visit California before you go
back to the UK, we could meet up and do some GSM hacking together. :)

 Basically because I just want a dumbphone that works, really, so 
 tend towards laziness regarding my phone nowadays.

If you are using your FR as an oversized dumbphone, have you considered
using a real dumbphone instead?  You might want to grab a Mot C139 on
ebay while they are still available - it is one of the models which I
am using for FreeCalypso firmware bring-up (along with the Neo FR and
Pirelli DP-L10) before building my own dumbphone hardware, and it has
the advantage of being a very simple dumbphone with full schematics
available (unlike the Pirelli).

That Linux application processor on the Neo really adds a lot of extra
complexity into the mix, and I find true dumbphones to be much easier
to work with, as in hack, troubleshoot and actually use on an everyday
basis.

VLR,
SF

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community