티스토리 툴바


Here is a rough and short introduction of setting up debian-eabi. It may help you enjoy debian on zaurus. This process is done on 1 GB SD because I already have it on the internel disk. Also check OESF link for installation and more settings.

Tip)
If you have dependency problem when you install these packages, use this command:
apt-get -f install
Debain will find all dependent packages and install them. The machine should be able to access the network to obtain the packages.

Basic setting
First I downloaded the following files and put them to root directory.
libconsole_0.2.3dbs-65_armel.deb
console-tools_0.2.3dbs-65_armel.deb

When you login as root, install the downloaded files:
# dpkg -i *deb

Then you can load the keymap with this command:
# loadkeys keymap.map
# cp keymap.map /etc/
# echo loadkeys keymap.map >> /etc/rc.local

Set up the wireless or usb network:
# iwconfig wlan0 essid ### mode managed
# dhclients
In my case, ambicom card is identified as eth2 so that # iwconfig eth2 essid ### mode managed for me.
For usb networking, refer following link: http://wiki.neilandtheresa.co.uk/Titchy_Linux/Tips

Next let's add the followings in /etc/apt/sources.list:
deb ftp.easynet.be/ftp/gnuab/debian sid main
deb ftp.easynet.be/ftp/gnuab/debian unreleased main
Update feed list.
# apt-get update

Here start-stop-deamon does not work. Let's fix it.
# cd /sbin
# mv start-stop-daemon start-stop-daemon.FAKE
# mv start-stop-daemon.REAL start-stop-daemon

X-window systems
Ok, let me install X-window system. I use icewm as a default window manager.
# apt-get install xfonts-base rxvt icewm icewm-experimental menu icewm-gnome-support xbase-clients libxft2 libfontconfig1
Edit) You don't need xorg-related packages for xwindow setting. So I remove them from install pacakage list and I add icewm-related packages.

Next, touchsceen stuff should be installed.

dpkg -i *ts*deb xserver*deb

Here is another pacakage for X setting which has xmodmap and xinitrc. Let's install it.
# dpkg -i x-yonggun_0.0_armel.deb
If you want to use different wm (for example, xfce4), you can replace icewm-session with startxfce4 in .xinitrc. Also I set up the mouse keys [Calendar(left), Address(middle), and Mail(right)] and brightness [fn+3 and fn+4].

Before run X, logout the system and login again. Then touchscreen setting is ok. Now we need calibration of touchscreen:
# ts_calibrate
# startx

Everything is ok so far.

Sound
Now turn my attention to sound. First you need load the sound modules.
# modprobe snd-soc-spitz
Also add this module into /etc/modules. I recommend to restart the system.
# echo snd-soc-spitz >> /etc/modules

Now, I installed some packages for sound.
apt-get install alsa-base, alsa-utils, alsa-oss
Let's unmute headphone and speaker using alsamixer

If you want to listen to music using xmms,
apt-get install xmms, xmms-mad
You must install xmms-mad for good sound quality.

Detailed setting
Let's download the following files and install them. ipaq-sleep functions auto suspend and auto blank screen. zaurusd controls speaker and headphone sound switching, and the screen hinge switch. These scripts are fixed for debian.
# dpkg -i ipaq-sleep*, zaurusd*, usb*
But I don't like these to run on the console. So I removed them from booting scripts.
# update-rc.d -f zaurusd remove

For settup usb, suspend and so on, I use the gpe-conf.
# dpkg -i *deb
For cpu overclocking, I took an application from pdaXrom and repackaged it including dvfm.
dpkg -i cpuoverclock_0.0.3-1_armel.deb

Video
We can watch the movies with debian. I watched VGA movies without overclocking.
# dpkg -i mplayer* libmp3lame*
Use -vo pxa -vm or -vo sdl for QVGA movies
-vo pxa -fs or -vo sdl for VGA

p.s. 1) All packages except x-yonggun and cpuoverclock are repackaged with angstrom stuffs and fixed for debian (armel, exactly the kernel that I compiled).
p.s. 2) x-yonggun and cpuoverclock are repackaged from pdaXrom.
Creative Commons License
Creative Commons License
Posted by yonggun
TAG ,