Differences between revisions 31 and 32
Revision 31 as of 2005-02-06 21:55:27
Size: 7748
Editor: anonymous
Comment:
Revision 32 as of 2005-02-07 05:12:31
Size: 10938
Editor: anonymous
Comment:
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
[http://www.etoo.cn/xianwei 中空纤维膜]
[http://www.etoo.cn/chaolv 超滤膜]
[http://www.etoo.cn/jiaoxue 嵌入式教学]
[http://hjsos.com/zhuangxiu.html 装修]
[http://hjsos.com/jiaquan.html 甲醛]
[http://hjsos.com/snwr.html 室内污染]
[http://hjsos.com/zxwr.html 装修污染]
[http://hjsos.com 甲醛污染]
[http://www.zy-image.com 摄影学校]
[http://www.ltjz2000.com/beijingsijiazhentan.htm 北京私家侦探]
[http://www.timead.net/zgjs.html 窄告]
[http://www.etoo.cn/jianruishiyou 尖锐湿疣]
[http://www.etoo.cn/jlb 计量泵]
[http://www.etoo.cn/yiliao/gfzbd.htm 高分子绷带]
[http://www.etoo.cn/yiliao/gkqx.htm 骨科器械]
[http://www.etoo.cn/yiliao/gkzrw.htm 骨科植入物]
[http://www.etoo.cn/yiliao/wgdzj.htm 外固定支架]
[http://www.etoo.cn/yiliao/jzcp.htm 脊柱产品]
[http://www.etoo.cn/yiliao/nwgd.htm 内外固定]
[http://www.etoo.cn/yiliao/jkhc.htm 进口耗材]
[http://www.etoo.cn/yiliao/gkhc.htm 骨科耗材]
[http://www.etoo.cn/yiliao/gkqc.htm 骨科器材]
[http://www.etoo.cn/yiliao/ylqx.htm 医疗器械]
[http://www.etoo.cn/yiliao/ylqc.htm 医疗器材]
[http://www.16safe.com/qiche/anquan.htm 轮胎安全]
[http://www.16safe.com/qiche/znjc.htm 智能监测]
[http://www.16safe.com/qiche/luntai.htm 轮胎防爆]
[http://www.16safe.com/qiche/qiche.htm 汽车轮胎]
[http://www.ltjz2000.com/zhentan.htm 私人侦探]
[http://www.ltjz2000.com/sj.htm 私家侦探]
[http://www.ltjz2000.com/xunren.htm 寻人]
[http://www.ltjz2000.com/hydc.htm 婚姻调查]
[http://www.ltjz2000.com/dc.htm 调查]
[http://www.ltjz2000.com/zhentan.htm 侦探]
[http://www.ltjz2000.com/sj.htm 北京私家侦探]
[http://www.ltjz2000.com/dc.htm 调查公司]
[http://www.etoo.cn/zhaigao 窄告]
[http://www.etoo.cn/sports 健身器材]
[http://www.etoo.cn/sports 健康器材]
[http://www.etoo.cn/sports 体育器材]
[http://www.etoo.cn/stadium 场馆设备]
[http://www.etoo.cn/stadium 跑步机]
[http://www.etoo.cn/21win-win 拓展训练]
[["SsSa"]] [["SsSb"]] [["SsSc"]] [["SsSd"]] [["SsSe"]] [["SsSf"]] [["SsSg"]] [["SsSh"]] [["SsSi"]] [["SsSj"]] [["SsSk"]] [["SsSl"]] [["SsSm"]] [["SsSn"]] [["SsSo"]] [["SsSp"]] [["SsSq"]] [["SsSr"]] [["SsSs"]] [["SsSt"]] [["SsSu"]] [["SsSv"]] [["SsSw"]] [["SsSx"]] [["SsSy"]] [["SsSz"]]
[http://www.wjmgy.com 脉管炎]
[http://www.wjmgy.com/1 脉管炎]

These instructions are to install PocketWorkstation with X-Qt on the Sharp ROM.

  Does anyone know if these instructions work for OZ?


Before you can begin, a method of transfering files from the internet to your PDA must be established.

The most convienent and straightforward method is to just have Internet available on the PDA itself. That will allow you to use the ipkg package manager. There are many ways this can be done, for example using the built-in wireless, or masquerading through the USB TCP/IP connection.

You will also need access to a shell to run the configuration scripts. You can use these terminals if you plan on using the Zaurus:

or install !["OpenSSH"] and work remotely. [http://www.etoo.cn/xianwei 中空纤维膜] [http://www.etoo.cn/chaolv 超滤膜] [http://www.etoo.cn/jiaoxue 嵌入式教学] [http://hjsos.com/zhuangxiu.html 装修] [http://hjsos.com/jiaquan.html 甲醛] [http://hjsos.com/snwr.html 室内污染] [http://hjsos.com/zxwr.html 装修污染] [http://hjsos.com 甲醛污染] [http://www.zy-image.com 摄影学校] [http://www.ltjz2000.com/beijingsijiazhentan.htm 北京私家侦探] [http://www.timead.net/zgjs.html 窄告] [http://www.etoo.cn/jianruishiyou 尖锐湿疣] [http://www.etoo.cn/jlb 计量泵] [http://www.etoo.cn/yiliao/gfzbd.htm 高分子绷带] [http://www.etoo.cn/yiliao/gkqx.htm 骨科器械] [http://www.etoo.cn/yiliao/gkzrw.htm 骨科植入物] [http://www.etoo.cn/yiliao/wgdzj.htm 外固定支架] [http://www.etoo.cn/yiliao/jzcp.htm 脊柱产品] [http://www.etoo.cn/yiliao/nwgd.htm 内外固定] [http://www.etoo.cn/yiliao/jkhc.htm 进口耗材] [http://www.etoo.cn/yiliao/gkhc.htm 骨科耗材] [http://www.etoo.cn/yiliao/gkqc.htm 骨科器材] [http://www.etoo.cn/yiliao/ylqx.htm 医疗器械] [http://www.etoo.cn/yiliao/ylqc.htm 医疗器材] [http://www.16safe.com/qiche/anquan.htm 轮胎安全] [http://www.16safe.com/qiche/znjc.htm 智能监测] [http://www.16safe.com/qiche/luntai.htm 轮胎防爆] [http://www.16safe.com/qiche/qiche.htm 汽车轮胎] [http://www.ltjz2000.com/zhentan.htm 私人侦探] [http://www.ltjz2000.com/sj.htm 私家侦探] [http://www.ltjz2000.com/xunren.htm 寻人] [http://www.ltjz2000.com/hydc.htm 婚姻调查] [http://www.ltjz2000.com/dc.htm 调查] [http://www.ltjz2000.com/zhentan.htm 侦探] [http://www.ltjz2000.com/sj.htm 北京私家侦探] [http://www.ltjz2000.com/dc.htm 调查公司] [http://www.etoo.cn/zhaigao 窄告] [http://www.etoo.cn/sports 健身器材] [http://www.etoo.cn/sports 健康器材] [http://www.etoo.cn/sports 体育器材] [http://www.etoo.cn/stadium 场馆设备] [http://www.etoo.cn/stadium 跑步机] [http://www.etoo.cn/21win-win 拓展训练] ?"SsSa" ?"SsSb" ?"SsSc" ?"SsSd" ?"SsSe" ?"SsSf" ?"SsSg" ?"SsSh" ?"SsSi" ?"SsSj" ?"SsSk" ?"SsSl" ?"SsSm" ?"SsSn" ?"SsSo" ?"SsSp" ?"SsSq" ?"SsSr" ?"SsSs" ?"SsSt" ?"SsSu" ?"SsSv" ?"SsSw" ?"SsSx" ?"SsSy" ?"SsSz" [http://www.wjmgy.com 脉管炎] [http://www.wjmgy.com/1 脉管炎]

Installing X/Qt

All the following steps work best as 'su'.

The first step is to have a working copy of X/Qt installed. X/Qt must be installed onto an ext2 formatted filesystem, the internal memory will work fine.

If the PDA has access to the internet, the easiest way to install is to use the testing feed available from the X/Qt sourceforge site.

  1. Open a terminal
  2. Type echo "src xqt http://xqt.sourceforge.jp/feed-testing/" >> /etc/ipkg.conf

  3. Type ipkg update
  4. Type ipkg install xqt-server xqt-fonts-misc xbase-etc

If internet access is still unavailable, download/copy to the PDA all the following packages from http://xqt.sourceforge.jp/feed-testing/.

  • xqt-server
  • xqt-fonts-misc
  • xbase-client
  • xbase-etc
  • xlibs

Open up a terminal and install each of these packages.

  ipkg install xqt-server_0.0.10 xqt-fonts-misc_X.X.X... etc

Download a modified X/Qt startup scripts package here http://www.geocities.com/hatchetman1618/6000/xqt-pocketworkstation-scripts_0.0.3-3_all.ipk.gz These scripts include a modified .xinitrc file that will be saved in your /home/zaurus directory.

This package will install the original X/Qt startup scripts modified for PocketWorkstation. The depencies for blackbox and rxvt have also been removed.

(Until I can find a different host to hold the package it's on Yahoo. Because Yahoo only allows certain extensions I had to gzip it for them to accept it. Make sure you gunzip the file before you try and install it.)

Installing Debian GNU/Linux

PocketWorkstation will need to be installed on an ext2 filesystem with at least ["195MB"] of free space for the big package. When you start to install more software and libraries, another ["200MB"]-["300MB"] will quickly be needed.

Because more space is needed then is available on the internal memory, a memory chip will need to be formatted and used. Refer to the following table when needed.

Type

Filesytem

Mount Point

SD Card

/dev/mmcda1

/usr/mnt.rom/card

CF Card

/dev/hda1

/usr/mnt.rom/cf

Formatting a memory card

1. Open a terminal.

2. Unmount the filesystem being used.

  umount ''mnt''[cf or card]

3. Format the filesystem as ext2.

  mkfs.ext2 ''dev''[hda1 or mmcda1]

4. Remount the filesystem.

  mount ''mnt''[cf or card]

NOTE: you may need to add the following line to your /etc/fstab:

 /dev/hda1    /mnt/cf   ext2  defaults  0 0

for the cf to be recognized.

If you still can't mount the system, eject the CF card, and reinsert it. Type mount to see if it has been mounted as ext2.

Extracting Debian

Plug your Zaurus into AC Power while extracting! You don't want the unit to suspend in the middle of all your hard work.

Copy the following files onto the ext2 filesystem you just formated.

Change to the directory with the above files and type:

  1. gunzip gnu-tar.gz
  2. chmod 755 gnu-tar
  3. mkdir mnt [cf or card] /debroot

  4. ./gnu-tar -C mnt [cf or card] /debroot -xvzpf zaurus-debian-big-v0.17.tgz

(If you extract using a PC, make sure your links between files don't become linked to the desktop.)

You could also use a folder starting with a period like .debroot, so that programs like Sharp's Media Player don't spend hours searching through it. You can change the directory name to whatever you like.

Final setup procedures

1. Change to your debroot directory. 2. Create a new file startd

  #!/bin/sh
  #Startup Commands
  export DISPLAY=0:0
  if [ -f "${HOME}/.xmodmaprc" ] ; then
          xmodmap ~/.xmodmaprc
  fi
  swapon /swapfile
  /usr/bin/icewm-session
  #Shutdown Commands
  swapoff /swapfile

3. Set the permissions on the new startd file

  chmod 755 startd

4. Create a ["64MB"] swap file

  1. dd if=/dev/zero of=swapfile bs=1024 count=65536
  2. mkswap swapfile

5. Link the home directory to root

  ln -s root home/root

6. Store the debroot location, type

  pwd > etc/debroot

You can remove the debroot/INSTALL.d file since it wasn't used anyways.

The PocketWorkstation installation that uses fbvnc sets up a rootcmd daemon. It will let you run root commands outside the chroot environment from inside of it. If your interested in that check out the postinst.sh script that comes with the zaurus-debian archive.

See [PocketWorkstation-Keymaps] for information on how to create an xmodmap file if your keyboard does not work correctly in X/Qt.

Download the new keymap file into your home folder in the chroot environment. ie: /usr/mnt.rom/cf/debroot/root

The only thing left is to mount the proc filesystem.

  mount -t proc /proc /usr/mnt.rom/{cf or card}/debroot/proc

You only need to do this once after you turned your PDA on. You may need to unmount it if you want to eject the card that holds Debian.

Your done!

Well except for fonts...

Mostly everything should be setup now. Click on the PocketWorkstation icon under your Applications tab.

Note: The chroot command needs to start as root (su). If you have a password set on root, then you would see Pocketworkstation launch, and a few seconds later, exit. To fix this, open a Qtopia terminal window, and su into root. Type passwd, and press <enter> twice to set the root password to blank.

NOTE: You won't see the taskbar at first because it is hidden beneath your Qtopia taskbar. Press your menu key to change to fullscreen mode.

Model Specifics

SL-6000

Internal Wireless Card

The internet can be controlled through Qtopia as it always has been. However the up and down scripts don't create a resolv.conf file for the chroot environment when using DHCP. An easy hack is to add the line

  cp /etc/resolv.conf /usr/mnt.rom/cf/debroot/etc

to the bottom of the /etc/pcmcia/network.functions files.

I've had some problems with this hack, has anyone come up with a better solution?

Keyboard Maps

The 6000 keyboard is all out of whack. Download a keymap or create your own. Put it in debroot/root/.xmodmaprc http://wiki.debian.net/index.cgi?PocketWorkstation-Keymaps

Other Resources: