Changes between Version 3 and Version 4 of DebianOnTreo680


Ignore:
Timestamp:
04/17/09 11:18:00 (10 years ago)
Author:
SleepWalker
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DebianOnTreo680

    v3 v4  
    11The resources and ideas are mostly from alex, http://hackndev.com/node/212
    22Do as what alex said, until we set up the ssh and login to root using password 'root'.
    3 I use kernel from sleep_walker, if ssh do not work, you should 'modprobe g_ether' or
    4 'echo "modprobe g_ether" >> /etc/modules' first to enable usb networking.
    5 It's better to adjust the time, using 'date 041612342009' (it is 2009-04-16, 12:34)
    6 the year calculating is not the same between palmos and linux, a working workaround is
     3
     4I use kernel from sleep_walker, if ssh do not work, you should
     5{{{
     6modprobe g_ether
     7}}}
     8or
     9{{{
     10echo "modprobe g_ether" >> /etc/modules
     11}}}
     12first to enable usb networking.
     13It's better to adjust the time, using (for date and time 2009-04-16, 12:34)
     14{{{
     15date 041612342009
     16}}}
     17The year calculating is not the same between palmos and linux, a working workaround is
    718adding a line 'BADYEAR=yes' to /etc/default/rcS, so the year will not be considered every
    819time we read or write from hardware clock. But the one-day-later issue still exist, I
    920haven't find a way to solve it.
    1021To overcome the various hardware config problems, I use hal to auto detect the device,
    11 'apt-get install hal'. Hald starting is a little slow, if you do not like it, feel free
     22{{{
     23apt-get install hal
     24}}}
     25Hald starting is a little slow, if you do not like it, feel free
    1226to struggle with all the config files :)
    13 Then 'apt-get update && apt-get dist-upgrade' (I use sid to get the newest softs).
    14 During upgrading, there will be some questions, please answer them carefully.
    15 Install X: 'apt-get install xserver-xorg-video-fbdev xserver-xorg-input-tslib xorg',
    16 and desktop, e.g. gpe, 'apt-get install gpe'
    17 Configure the touchscreen, 'apt-get install libts-bin', and run
    18 'TSLIB_TSDEVICE=/dev/input/event1 ts_calibrate'
    19 now we have a working X and gpe desktop, could manually start it by 'xinit && matchbox-session'
    20 or you could 'apt-get install nodm' and 'echo matchbox-session > .Xsession', then edit
    21 /etc/default/nodm to enable nodm, nodm will start X for you as long as linux boots.
    22 We could not type symbols on treo's keyboard, so I wrote a little xkb keymap file
    23 'mv treo680.xkb /usr/share/X11/xkb/symbols/treo', add XKBMODEL="pc105" and XKBLAYOUT="treo"
     27Then
     28{{{
     29apt-get update && apt-get dist-upgrade
     30}}}
     31 (I use sid to get the newest softs). During upgrading, there will be some questions, please answer them carefully.
     32Install X:
     33{{{
     34apt-get install xserver-xorg-video-fbdev xserver-xorg-input-tslib xorg
     35}}}
     36and desktop, e.g. gpe,
     37{{{
     38apt-get install gpe
     39}}}
     40Configure the touchscreen,
     41{{{
     42apt-get install libts-bin
     43}}}
     44and run
     45{{{
     46TSLIB_TSDEVICE=/dev/input/event1 ts_calibrate
     47}}}
     48now we have a working X and gpe desktop, could manually start it by
     49{{{
     50xinit && matchbox-session
     51}}}
     52or you could
     53{{{
     54apt-get install nodm
     55}}}
     56and
     57{{{
     58echo matchbox-session > .Xsession
     59}}}
     60then edit /etc/default/nodm to enable nodm, nodm will start X for you as long as linux boots.
     61We could not type symbols on treo's keyboard, so I wrote a little [http://git.hackndev.com/?p=tools;a=tree;f=treo680;hb=HEAD xkb keymap file]
     62{{{
     63mv treo680.xkb /usr/share/X11/xkb/symbols/treo
     64}}}
     65add XKBMODEL="pc105" and XKBLAYOUT="treo"
    2466to /etc/default/console-setup, 'setupcon' will setup the keymap. If you use hal, X will
    2567use the same keymap automatically (Thanks to XKB!).