August 2007

Debugging gsmd failures on OpenMoko

If you’re having problems making phone calls on OpenMoko 2007.2, and wish to see what gsmd is doing, then look in /tmp/gsm.log for the gory details …
Mine fails to register automatically, as documented in http://lists.openmoko.org/pipermail/gsmd-devel/2007-August/000205.html - this seems to be a problem where libmokogsmd2 is not handling a GSMD_NETREG_UNREG_BUSY event correctly.

Update: this problem with UNREG_BUSY has now been fixed with the patch that I submitted.

OpenMoko

Comments Off

Permalink

Stopping the OpenMoko startup sound

OpenMoko 2007.2 makes a very loud startup sound.  To mute it, do the following:

In /etc/pulse/session, replace:

 load-sample startup /usr/share/openmoko/sounds/startup_openmoko.wav

with:

 load-sample startup /usr/share/openmoko/sounds/touchscreen_click.wav

(or any other subdued wav file you wish to upload onto the device).

Update: The OpenMoko team has sensibly replaced the load startup sound with a much more unintrusive sound.

OpenMoko

Comments Off

Permalink

Connecting a Treo650 to an OpenEmbedded-based firmware distribution

The following should work for an NSLU2 running SlugOS or Angstrom, or a device running OpenMoko.

  • Install the required kernel modules for bluetooth
    • ipkg install kernel-module-hci-usb kernel-module-l2cap kernel-module-rfcomm
    • depmod -a
    • ipkg install bluez-utils
  • Edit /etc/default/bluetooth to enable hcid and dund.
  • Change the pin and host settings in /etc/bluetooth/hcid.conf, and make sure that the class is 0×3e0100 (not the default value, which is for a PDA like a Zaurus, not a “Computer” device like the Neo which can accept and route tcp/ip network connections coming in over dund or pand on the bluetooth network)
  • Reboot and test with ‘hciconfig’ with a bluetooth dongle plugged in.
  • Install the required kernel modules for ppp
    • ipkg install kernel-module-ppp-async kernel-module-bsd-comp kernel-module-ppp-deflate
    • depmod -a
    • ipkg install ppp
  • Edit /etc/ppp/options as follows:

    noauth
    crtscts
    lock
    local
    proxyarp
    ktune
    192.168.1.XX:192.168.1.YY
    ms-dns 192.168.1.ZZ

    (edit the last two lines to suit your network topology, the first IP address
    is your gateway device, the second IP address will be assigned to the client,
    and the third IP address is your DNS server)

NSLU2-Linux
OpenMoko

Comments Off

Permalink