Tips for rev4 classic
Using muxer
To handle both GSM calls and GPRS data concurrently with one GSM modem, you need to set up a software multiplexer (gsm0710muxd). Wiki page GSMmuxer seems to be outdated for rev4.
- change MUX=no to MUX=yes in /usr/bin/p and /usr/bin/x
- change delay from 5 to 10 in /usr/bin/x (lines 65 & 69)
- in /etc/ppp/peers/gprs :
- line 36 : comment the /dev/ttySAC0 option
- line 42 : uncomment the updetach option
- line 43 : comment the nodetach option
Adding GPS, Bluetooth and Wifi icons on the top-left panel
To help seeing what is on, you can edit the file /usr/bin/x for adding the GPS and Wifi icon on the applet
nano /usr/bin/x
Find the line with “openmoko-panel-gsm” and add "openmoko-panel-bt, openmoko-panel-gps, openmoko-panel-wifi"
Wifi
There is bug in rev4, wifi device is eth0 instead of eth1, so scripts are not working properly.
Solution (http://trac.hackable1.org/trac/ticket/88) in udev rule /etc/udev/rules.d/70-persistent-net.rules should be only:
#shamelessly ripped from http://trac.hackable1.org/trac/ticket/50 SUBSYSTEM=="net", ACTION=="add", DRIVERS=="sdio_wlan", KERNEL=="eth*", NAME="eth1"
Generic tips
Default boot on SD card
See this page.
Connectivity
GPRS
To set up your GPRS connexion, you first need to find the config file corresponding to your network. You have to search in the following directory
cd /etc/ppp/peers/prov ls
Once found (for me, France-Bouygues ), just copy-paste it one folder up:
cp /etc/ppp/peers/prov/France-Bouygues /etc/ppp/peers/France-Bouygues
Then you need to modify the file /usr/bin/p and modify the variable PROVIDER= (at the beginning) with the name of the file you have just pasted
nano /usr/bin/p
To connect, just do
cd /usr/bin ./p
To disconnect :
killall pppd
Personnal folder
In hackable, the personnal folder is not /home/root/ like in the other distributions, but /root/ To help organizing your data, you can create the following folders
cd root/ mkdir Documents mkdir Maps mkdir MP3 mkdir Photos mkdir Videos
If you want to copy some files from your desktop to your freerunner, you can use for example (from the freerunner xterm terminal). I suppose your login is mylogin on your desktop computer. You must have installed sshd (secure shell daemon) on your desktop.
scp -r mylogin@192.168.0.200:/home/mylogin/Photos/ /root/Photos
Change default ringtone
The ringtone is defined in the file
/etc/pulse/default.pa
Edit this file with vim (or nano or your favourite editor)
vim /etc/pulse/default.pa
Find the line that says "load-sample ringtone /usr/share/openmoko/sounds/ringtone_classy.wav".
Edit it to set the path to the new ringtone file. The folder /usr/share/openmoko/sounds already has many ringtones there.
The volumes for various sound states are defined in
/usr/share/openmoko/scenarios/*.state
Tips for older revisions
Font size
In order to see all the content of the windows of all the softwares I am using, I have reduced the system font size. For me , the best font size is 4. You have to edit /root/.gtkrc-2.0.mine
Setting-up swap space
For information on setting-up swap space, please go here
Installing for qi
- qi first looks on ($first ext2/3 SD partition)/boot/uImage-GTA02.bin for the kernel
- qi knows symlinks
- you can pass arguments to the kernels via the ($first ext2/3 SD partition)/boot/append-GTA02 file
using ext2
- You will have an easy time, all you need to do is extract the root tarball onto your ext2 partition
mount /dev/mmcblk0p1 /mnt/mokoroot tar xzf h1-ext2_partition-rev3.tar.gz -C /mnt/mokoroot
- then untar the fat partition image into /boot on this partition, link uImage.bin to uImage-GTA02.bin
tar xzf h1-fat_partition-rev3.tar.gz -C /mnt/mokoroot/boot cd /mnt/mokoroot/boot ln -s uImage.bin uImage-GTA02.bin echo "root=/dev/mmcblk0p1 loglevel=8 rootfstype=ext2 rootdelay=5" > append-GTA02
Have fun, cheers!
