Re: Dialer Issues

2007-06-20 Thread Alan Cox
  AT+CFUN=1
 
 here you can get:
 +CME ERROR: SIM PIN required message
 
  AT+CPIN=1234
 
 If PIN was needed then AT+CFUN=1 will be needed here too.

Finally got a chance to sit down and test this again:

AT+CMEE=2
OK
AT+CFUN=1
+CME ERROR: SIM wrong

(SIM known good on other phone)

Anything else I should try ?

Alan



Re: Dialer Issues

2007-05-31 Thread Thomas Wood

On 29/05/07 23:56, Michael 'Mickey' Lauer wrote:

Hi Thomas,


* It's not possible to retrieve the current connection status (e.g.
whether the phone is registered with a network)


That's missing some support API in libgsmd.


* What should the dialer use to play ring tones?


Probably something like moko_ui_event_trigger( incoming call,  )
which is the top level API for the forthcoming event API.
It's not yet implemented though, but will hopefully be by the end of next week.


* How should speaker mode work?


Should use a forthcoming API in libmokoui to reconfigure the sound settings,
i.e. something like moko_ui_set_sound_scenario( handsfree ). This
API will reconfigure ASoC then to make this happen in a way that
(hopefully) doesn't conflict with concurrent scenarios (which is the
reason for not directly calling alsactl from the dialer btw.).



Hi Mickey,

Could you let us know who will be responsible for writing this API? 
Another question I had related to the sounds, but also to 
openmoko-today, is what sort of settings application is planned? How 
will users be able to change their ring tone or phone background? I 
haven't seen any mockups or pages in the wiki for this.


Regards,

Thomas


--
OpenedHand Ltd.

Unit R Homesdale Business Center / 216-218 Homesdale Road /
Bromley / BR1 2QZ / UK Tel: +44 (0)20 8819 6559

Expert Open Source For Consumer Devices - http://o-hand.com/




Re: Dialer Issues

2007-05-29 Thread Marcin Juszkiewicz
Dnia poniedziałek, 28 maja 2007, Werner Almesberger napisał:

 Now you can enter AT commands. E.g.,

 ATE1

AT+CMEE=2

this will give extended error messages

 AT+CFUN=1

here you can get:
+CME ERROR: SIM PIN required message

 AT+CPIN=1234

If PIN was needed then AT+CFUN=1 will be needed here too.

 AT+COPS
 ATD123456789;

 Notes:
 - it's normal for CFUN=1 to produce an error
 - COPS often hangs, but returns OK when a character is sent
 - the semicolon at the end of ATD... is needed to make a voice call

My SE k750i handle both but give notice about type of call.

http://blog.haerwu.biz/2007/05/29/how-to-check-does-gsm-modem-works/

-- 
JID: hrw-jabber.org
OpenEmbedded developer/consultant

  I don't know what your problem is, but I'll bet it's hard to pronounce.





Re: Dialer Issues

2007-05-29 Thread Michael 'Mickey' Lauer
   * What is the recommended method of accessing the vibrator in user
 space?

The dialer shouldn't do that. It rather should use the aforementioned
event API.

   * How are network services such as call waiting going to be
 implemented?
   * How is gsmd going to deal with multiple simultaneous calls?
   * How is an incoming CLIP identified with a current call?
   * Is there any way to discover why a call has been disconnected, and do
 we want to display this to the user?
   * How should Hold/Secrecy features be implemented?

(leaving this to Harald)

Regards,

- Michael Lauer [EMAIL PROTECTED]   http://openmoko.org/

Software for the worlds' first truly open Free Software mobile phone




Re: Dialer Issues

2007-05-27 Thread michael

On Sat, 26 May 2007, Alan Cox wrote:


Not sure if this helps, but IIRC early sockets had physical connection
problems.
You might want to try and bend the pins a little upward so they press
onto the SIM card.


Doesn't change behaviour that I can tell. No SIM seems different to SIM
present but both are not working. Heard the same from others when I asked
on irc too


As I mentioned, I seem to be having this problem as well. I need to understand
whether I am doing something wrong or whether my Neo is damaged.

What symptoms cause you to believe that your SIM card is not detected? And
what differences are observed between no SIM present vs. SIM present and not
detected?

Here is my situation:

According to

http://wiki.openmoko.org/wiki/Gsmd#Usage_of_shell_mode

there should be an interraction like this, when powering up GSM and
registering with the network:

 src/util/libgsmd-tool -m shell
libgsm-tool - (C) 2006 by Harald Welte
This program is Free Software and has ABSOLUTELY NO WARRANTY

O
# EVENT: PIN request (type=1) Please enter PIN: 6582
R
# EVENT: Netreg searching for network
EVENT: Netreg registered (home network)

However this is what I observe. I've tried this with two Neo handsets (both
GTA01B_V4) with the same SIM card. SIM card works fine in my non-Neo phones:

 src/util/libgsmd-tool -m shell
libgsm-tool - (C) 2006 by Harald Welte
This program is Free Software and has ABSOLUTELY NO WARRANTY

O
R

In other words, I get no EVENT messages. To me this sounds like no SIM card.
(I suppose I could try this with no SIM card to confirm that I get the same
results, but I'm reluctant to following the thread that powering up the
handset with no SIM card risks short circuits between the SIM pins and the
metal card frame.)

Both of

Any advice?

Michael



Re: Dialer Issues

2007-05-25 Thread Thomas Wood

On 22/05/07 11:29, Alan Cox wrote:
* It's not possible to retrieve the current connection status (e.g. 
whether the phone is registered with a network)


You can peer in the log file in /tmp. The phone I've got won't actually
believe any SIM card I've fed to it so I don't know if that bit actually
works at all anyway


I've found that using libgsm-tool -m shell and issuing the register 
command twice seems to be a fairly reliable way of persuading it to 
search for a network.



However, I now have some more questions to add to my list:

 * What is the recommended method of accessing the vibrator in user
   space?
 * How are network services such as call waiting going to be
   implemented?
 * How is gsmd going to deal with multiple simultaneous calls?
 * How is an incoming CLIP identified with a current call?
 * Is there any way to discover why a call has been disconnected, and do
   we want to display this to the user?
 * How should Hold/Secrecy features be implemented?


Regards,

Thomas

--
OpenedHand Ltd.

Unit R Homesdale Business Center / 216-218 Homesdale Road /
Bromley / BR1 2QZ / UK Tel: +44 (0)20 8819 6559

Expert Open Source For Consumer Devices - http://o-hand.com/




Re: Dialer Issues

2007-05-25 Thread michael

On Fri, 25 May 2007, Alan Cox wrote:


I've found that using libgsm-tool -m shell and issuing the register
command twice seems to be a fairly reliable way of persuading it to
search for a network.


Not for me - in fact it looks like it simply cannot see SIM cards at all


Is anyone else experiencing this? I think (haven't looked into it extensively
yet) that I have this problem as well.

Michael



Re: Dialer Issues

2007-05-25 Thread Daniel Willmann
On Fri, 25 May 2007 19:04:30 +0100
Alan Cox [EMAIL PROTECTED] wrote:

  I've found that using libgsm-tool -m shell and issuing the
  register command twice seems to be a fairly reliable way of
  persuading it to search for a network.
 
 Not for me - in fact it looks like it simply cannot see SIM cards at
 all

Not sure if this helps, but IIRC early sockets had physical connection
problems.
You might want to try and bend the pins a little upward so they press
onto the SIM card.

Regards,
Daniel Willmann


signature.asc
Description: PGP signature


Re: Dialer Issues

2007-05-25 Thread Alan Cox
 Not sure if this helps, but IIRC early sockets had physical connection
 problems.
 You might want to try and bend the pins a little upward so they press
 onto the SIM card.

Doesn't change behaviour that I can tell. No SIM seems different to SIM
present but both are not working. Heard the same from others when I asked
on irc too



Re: Dialer Issues

2007-05-25 Thread Marcin Juszkiewicz
Dnia piątek, 25 maja 2007, [EMAIL PROTECTED] napisał:
 On Fri, 25 May 2007, Alan Cox wrote:

  Not for me - in fact it looks like it simply cannot see SIM cards at
  all

 Is anyone else experiencing this? I think (haven't looked into it
 extensively yet) that I have this problem as well.

I have SIM card here which was working in bv3 and after some time none of 
phones here recognize it (bv3/bv4). Nokia 7650 works without problems 
with this card.

If someone want to check I can send the card.

-- 
JID: hrw-jabber.org
OpenEmbedded developer/consultant

  Monday is a hard way to spend one-seventh of your life.





Re: Dialer Issues

2007-05-22 Thread Alan Cox
 * It's not possible to retrieve the current connection status (e.g. 
 whether the phone is registered with a network)

You can peer in the log file in /tmp. The phone I've got won't actually
believe any SIM card I've fed to it so I don't know if that bit actually
works at all anyway

 * There appears to be problems getting the gsm chip to reliably register 
 with the network (i.e. no response even using libgsm-tool)

Ditto

 I've also found that gsmd occasionally crashes. I believe this is the 
 log from the latest crash I had:

Yes - it corrupts memory. You can crash it immediately as well by asking
for a list of messages on the sim