Freerunner: GSM Contacts

Jim Colton jimcolt at gmail.com
Thu Jul 31 19:11:44 CEST 2008


If your Freerunner can get to the internet do:
# opkg install perl
Put the following into a file, change the files' permissions to be
executable and run it.
See if it gets names and numbers from your SIM.

~~~~~~~~~~~~~cut~~~~~~~~~~~
#!/usr/bin/perl

open Out, ">/tmp/file";
for (1..50) {
        print Out "AT+CPBR=$_\n";
}
close Out;
open IN, "libgsmd-tool -m atcmd < /tmp/file|";
while ( <IN> ) {
        last if /RSTR=`OK'/;
        next if not /RSTR=/;
        chomp;
        $_ =~ s/["']//g;
        split( /,/, $_ );
        print ">$_[3]< >$_[1]<\n";
}
~~~~~~~~~~~~~~cut~~~~~~~~~~

On Thu, Jul 31, 2008 at 10:52 AM, e hanks <maskvp at gmail.com> wrote:

> This didn't work for me...
>
> On Wed, Jul 30, 2008 at 1:58 PM, Jim Colton <jimcolt at gmail.com> wrote:
>
>> This program named 'phonekit' may be what needs looking at.   I have not
>> yet found the source code for it after a little looking.
>>
>> Try this hack:
>>
>> Go to /home/root/.evolution/addressbook/local/system and remove the file
>> named addressbook.db.summary
>>
>> Then do  ps -aef | grep phonekit and kill the phonekit process.
>> Then restart the phonekit by doing:   dbus-launch phone-kit &
>>
>> Then restart X by doing:   /etc/init.d/xserver-nodm restart
>>
>> Check your contacts now.
>>
>> Jim
>>
>>
>> On Wed, Jul 30, 2008 at 1:50 AM, Joachim Breitner <
>> mail at joachim-breitner.de> wrote:
>>
>>> Hi,
>>>
>>> Am Freitag, den 18.07.2008, 18:20 -0600 schrieb Joey Stanford:
>>> > The SIM on an unlocked Motorola K1 and Motorola V3 allows me to see
>>> > all my contacts on the SIM.
>>> > When I load the SIM into the Freerunner, I can only see about 10 of
>>> > them (the first 10 in fact).  This happens on 2007.2  as well as ASU.
>>> > I'm using ASU exclusively now from the dailies.
>>> >
>>> > I've hooked up the K1 to Motorola Phone Tools, read in all the SIM
>>> > contacts, deleted all of the SIM contacts, and rewrote out the stored
>>> > contacts to the SIM.  This was helpful in that previously any contact
>>> > containing a dash in the number also wasn't read by 2007.2.  (e.g.
>>> > 1-222-333-4444 woudn't be read but  12223334444 would be).   I thought
>>> > at first this was just a dash problem since the neo was showing 10 of
>>> > these and they all had no dashes.  The new contents on the SIM card
>>> > are stored without dashes and now, as above, I only get the first 10
>>> > (or so).
>>> >
>>> > Any ideas on how to overcome this?  Normal phone operations work (e.g.
>>> > I can call you!) so I wouldn't file this under the SIM issues reported
>>> > with ATT SIM cards.
>>>
>>> Dunno about the SIM card reading problem, but patches that improve
>>> 2007.2's handling of numbers with dashes are available at
>>> https://docs.openmoko.org/trac/ticket/1606
>>>
>>> Although I'm not sure if I will do the work to make these patches
>>> acceptable for inclusion (currently, they were rejected with comments),
>>> as 2007.2 is a developer's dead end, and the SHR changes the programs
>>> too much to just merge these patches. But I use the patches and if you
>>> can build your own openmoko image/ipk's, then you can use them as well.
>>>
>>> Greetings,
>>> Joachim
>>>
>>> --
>>> Joachim "nomeata" Breitner
>>>  mail: mail at joachim-breitner.de | ICQ# 74513189 | GPG-Key: 4743206C
>>>  JID: nomeata at joachim-breitner.de | http://www.joachim-breitner.de/
>>>  Debian Developer: nomeata at debian.org
>>>
>>> _______________________________________________
>>> support mailing list
>>> support at lists.openmoko.org
>>> https://lists.openmoko.org/mailman/listinfo/support
>>>
>>>
>>
>> _______________________________________________
>> support mailing list
>> support at lists.openmoko.org
>> https://lists.openmoko.org/mailman/listinfo/support
>>
>>
>
> _______________________________________________
> support mailing list
> support at lists.openmoko.org
> https://lists.openmoko.org/mailman/listinfo/support
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/support/attachments/20080731/924da0c3/attachment-0001.htm 


More information about the support mailing list