Version 4 (modified by SleepWalker, 10 years ago) (diff)


The resources and ideas are mostly from alex, Do as what alex said, until we set up the ssh and login to root using password 'root'.

I use kernel from sleep_walker, if ssh do not work, you should

modprobe g_ether


echo "modprobe g_ether" >> /etc/modules

first to enable usb networking. It's better to adjust the time, using (for date and time 2009-04-16, 12:34)

date 041612342009

The year calculating is not the same between palmos and linux, a working workaround is adding a line 'BADYEAR=yes' to /etc/default/rcS, so the year will not be considered every time we read or write from hardware clock. But the one-day-later issue still exist, I haven't find a way to solve it. To overcome the various hardware config problems, I use hal to auto detect the device,

apt-get install hal

Hald starting is a little slow, if you do not like it, feel free to struggle with all the config files :) Then

apt-get update && apt-get dist-upgrade

(I use sid to get the newest softs). During upgrading, there will be some questions, please answer them carefully.

Install X:

apt-get install xserver-xorg-video-fbdev xserver-xorg-input-tslib xorg

and desktop, e.g. gpe,

apt-get install gpe

Configure the touchscreen,

apt-get install libts-bin

and run

TSLIB_TSDEVICE=/dev/input/event1 ts_calibrate

now we have a working X and gpe desktop, could manually start it by

xinit && matchbox-session

or you could

apt-get install nodm


echo matchbox-session > .Xsession

then edit /etc/default/nodm to enable nodm, nodm will start X for you as long as linux boots. We could not type symbols on treo's keyboard, so I wrote a little xkb keymap file

mv treo680.xkb /usr/share/X11/xkb/symbols/treo

add XKBMODEL="pc105" and XKBLAYOUT="treo" to /etc/default/console-setup, 'setupcon' will setup the keymap. If you use hal, X will use the same keymap automatically (Thanks to XKB!). I'll upload a rootfs image later when I have a better network connection.