Loading...
This is Tikiwiki v1.10 (CVS) -Arcturus- © 2002–2007 by the Tiki community - Contact
This is a logo
Welcome to ThisCoW !
Last Images
blueproximity-pref.png

gnome-phone-manager-pref.png

gnome-phone-manager-send.png

linux-zaurus

Print

Linux experimentations on a Zaurus SL-5500


This article describe some experimentations with Pdaxrom on a Zaurus (SL-5500, 1GB SD card, D-link DCF-650W wireless CF card, Haicom HI-302CF CF card)

Table of contents


Get Pdaxrom and flash it

(Make sure the CF card is formatted as FAT16, and format the SD card as ext2)

Boot and configure the network

Power on ! The first boot will take a while (because of the sshd key generation). You should then get a prompt. Log in with root (no password)
Small things to do
# passwd (Change the password)
# setup the date with date if needed

if you have a WIFI CF
# iwconfig eth0 essid <blabla>
# dhcpd (which is a dhcp client)

if your zaurus is plugged to your pc
zaurus :
usbd0 192.168.129.201

dmesg on the pc :
usb 2-6: new full speed USB device using ohci_hcd and address 5
usb 2-6: configuration #1 chosen from 1 choice
usbcore: registered new interface driver cdc_ether
usb0: register 'zaurus' at usb-0000:00:02.0-6, Sharp Zaurus SL-5x00, fa:7b:8e:bd:2c:6f
usbcore: registered new interface driver zaurus

lsmod on the pc :
Module                  Size  Used by
zaurus                  6272  0 
cdc_ether               6656  1 zaurus
usbnet                 17416  2 zaurus,cdc_ether
mii                     6272  1 usbnet

useful to setup nat and ip forwarding
http://www.gentoo.org/doc/en/home-router-howto.xml

config the pc :
ifconfig usb0 192.168.129.200

Log with ssh and play remotely

Freeing space on the internal memory
mv /usr/X11R6/ /mnt/card
ln -s /mnt/card/X11R6/ /usr/X11R6
rm -rf /opt /root /home
mkdir /mnt/card/opt /mnt/card/root /mnt/card/home
ln -s /mnt/card/opt /opt
ln -s /mnt/card/root /root
ln -s /mnt/card/home /home

Installing extra stuff
edit /etc/ipkg.conf 

src pdaxrom-free http://www.tyrannozaurus.com/feed/contribs/telemetric/feed/feed
src cacko-unstable http://www.tyrannozaurus.com/feed/contribs/telemetric/feed/collie.pdaxrom.feed
dest sd /mnt/card

ipkg update
ipkg -d sd install tk tcl automake autoconf make qt-mt

Pda

Installing pda

Compiling PDa
mkdir /mnt/card/src
cd /mnt/card/src
wget http://gige.xdv.org/pda/release/src/PDa-0.6-src.tgz
untar
cd PDa/src
make

Launching pda

Launching PDa
The best is too launch startx from an ssh session (so it can be killed easily). 

Go in the "Other directory" and launch "aterm"
cd /mnt/card/PDa/src/bin

Launch PDa
./pd


You should get the following stuff

Playing around with netsend/netreceive


An small example (running on the zaurus)


netreceive usage example (running on another computer)

GPS

HI-302CF compact flash GPS card
Using the GPS
dmesg output
ttyS03 at port 0xc48503f8 (irq = 35) is a 16550A

stty -F /dev/ttyS3 ispeed 4800 && cat </dev/ttyS3
should show weird things.

ipkg install gpsd or compile one (the ipk was not working for me)
gpsd -N -n -D 3 /dev/ttysS3

cgpxlogger > trace.gpx

gpsdrive

gpsdrive -D -b 192.168.129.201


xgps

xgps 192.168.129.201:2947


Tricks

Screenshot
From an ssh session :
xwd -display :0.0 -root -out screenshot-pda-r1patch.xwd

Enable X11Forwarding
edit /etc/ssh/sshd_config and add :
X11Forwarding yes

restart sshd

Problems/TODO

  • right-click
  • crackling sound
  • launchers (PDa...)
  • Automatic network config and X11 startup at boot
  • Swap


Created by: r1. Last Modification: Friday 09 of November, 2007 22:19:39 CET by r1.


RSS feed Wiki RSS feed Blogs RSS feed Image Galleries RSS feed File Galleries RSS feed Directories