Steps to convert SargeBook v5 to a system for 5MX (Updated July 2006 with corrections for using the new kernel modules.) (1) Delete /lib/modules/2.4.27-vrs1-kvd1 (2) Edit /etc/fstab Change ext3 -> ext2 (for now) Comment out ramfs for /var/log, /var/cache/man (3) Delete ttySA0, ttySA1 (4) Create ttyAM0, ttyAM1, tpanel mknod /dev/tpanel c 10 11 mknod /dev/ttyAM0 c 204 16 [ IRDA serial port ] mknod /dev/ttyAM1 c 204 17 [ regular serial port ] (5) Edit /etc/rc Comment out unpacking of varstuff Uncomment the fbset -a 2bpp Uncomment out the sleep idle lines at the end (6) /etc/rc2.d Delete S12touchscreen, S01ram, S10sysklogd, S11klogd, S14ppp S20inetd, S20pcmcia, S20makedev (Comment out system logging - don't wear out your disk for that; not enough ram for ramfs /var/log, etc.) (7) Unpack /etc/varstuff.tar to var; delete varstuff.tar (8) Delete /etc/*old, rc~, motd~, passwd.org (9) mkdir ../lib/modules/2.4.18-rmk6-5mx4, or appropriate name according to which kernel you use. Until recently Modules were not used, and the kernel is happier if this directory exists. N.B. Recent kernels for download on sourceforge also require the kernel modules to be installed for such things as vfat, ppp, and irda support. Unpack the modules tarball to /usr/lib/modules/ as required. (10) Remove pcmcia-cs package (if desired/if you can) (11) Edit /etc/inittab: Comment out getty on ttySA0 If desired, set getty on ttyAM1 (12) Edit /etc/fb.modes: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% #Video modes for Psion 5mx mode "default" # D: 3472.222 MHz, H: 5425.347 kHz, V: 22605.613 Hz geometry 640 240 640 240 4 timings 288 0 0 0 0 0 0 grayscale true endmode mode "4bpp" # D: 3472.222 MHz, H: 5425.347 kHz, V: 22605.613 Hz geometry 640 240 640 240 4 timings 288 0 0 0 0 0 0 grayscale true endmode mode "2bpp" # D: 3472.222 MHz, H: 5425.347 kHz, V: 22605.613 Hz geometry 640 240 640 240 2 timings 288 0 0 0 0 0 0 accel true grayscale false endmode mode "mono" # D: 3472.222 MHz, H: 5425.347 kHz, V: 22605.613 Hz geometry 640 240 640 240 1 timings 288 0 0 0 0 0 0 accel true grayscale false endmode %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% (13) Delete files in /root: Xipaq* pcmcia scripts/fixstart (14) Copy Xipaq X server to /usr/X11R6/bin/X And Xmodmap to /root/.Xmodmap. See sourceforge Files. https://sourceforge.net/project/showfiles.php?group_id=8846 .Xmodmap: keycode 71 = Shift_L keycode 63 = Shift_R keycode 47 = Control_L keycode 55 = Mode_switch keycode 39 = Alt_L clear Lock add Shift = Shift_L add Shift = Shift_R add Control = Control_L add Mod1 = Alt_L add Mod5 = Mode_switch Delete /etc/X11/XF86Config-4 (Probably better off using a simple blackbox Window manager, particularly for grayscale colors.) (15) The fbset at boot up will put the 5MX in 2bpp so that the text is more visibile. Before starting X, first make sure you are in 4bpp by fbset -a 4bpp ; otherwise a segmentation fault results. N.B. This is no longer required - the newer kernels don't have this problem so 4 bpp can be the default. See /etc/rc (maybe) to fix. (16) Edit /usr/X11R6/lib/X11/xinit/xinitrc to double check it is set appropriately. (Want to use a serial mouse? Give the appropriate option here.)