C860 Customizations
From OESF
Most of the information here is a work in progress, and based upon the work on http://wallabee.uu-link.net/drafts/Zaurus.html
DRAFT: [Zaurus] Quick Ref
by Wallabee <wallabee@metawire.org> v0.1.1, 2005.07.15
Description: Zaurus quick guide:
User applications detailed setup using prebuilt binaries
opera web browser, ztenv EPWING dictionnaries reader
shell environment vim/ssh and related tools
dev experiments with apache/mysql/php/perl/ruby/python
System maintenance (reset, rom upgrade, NAND backup/restore)
Specifically targets SL-C860 (but may apply to similar devices)
Revision History:
v0.1.1, 2005.07.15: fixes: musicplayer2 en/jp localization
v0.1, 2005.07.14: Initial early draft
TODO:
Experiments (later):
Proper perl install (use 5.8.0 from dev_img ?)
ZtenV/kakashi ?
Format SD as ext2 for application storage
TeX/LaTeX/pTeX
DocBook/XSL toolchain (libxslt…)
X/Qt
PocketWorkstation/Debian chroot
kismet/wellenreiter on default Sharp ROM
use SD as root fs ? 1. Bookmarks
WWW:
Zaurus Product Home: http://ezaurus.com
Lineup Specs Comparison: http://ezaurus.com/lineup/sl/compare_spec.html
Zaurus Support: http://support.ezaurus.com
C860 ROM Update 1.40JP: http://support.ezaurus.com/sl-c860/update/c860update/c860updatecard.asp
Zaurus Softwares:
Opera7 on C860: http://www014.upp.so-net.ne.jp/boxer-j/opera7.html
Mico's corefonts packages for zaurus: http://www.pobox.sk/~mico/zaurus.html
ztenv: http://ebsnap.lkj.jp/zaurus/
qpe-embeddedkonsole-ja 1.6.0 with jinput and UTF-8: http://kimux.org/liza/#kon
kino2: http://my-zaurus.narod.ru/kino.html
MySQL 3.23.49: http://anjackson.net/2004/09/06/pocket-lamp
LinuxZau builds (apache/mod_php/mod_perl/mod_ruby/busybox): http://tbox.jpn.org/linuzau/build/
Python on Zaurus Image (2.4): http://pyqplayer.sourceforge.net/cgi-bin/bin/view/Main/PythonZaurusImage
Ruby 1.8.3p1: http://d.hatena.ne.jp/thata/20050615#1118846557
Perl 5.6.1-8.3: http://digit.que.ne.jp/visit/index.cgi?Linux%A5%B6%A5%A6%A5%EB%A5%B9%2fPerl
Bunkoviewer: http://www.spacetown.ne.jp/prd/viewer/sl-viewerdl.html
dig and mtr: http://www.psifertex.com/zaurus/
findutils 4.1: http://kimux.org/liza/#findutils
smbmount: http://www.dasgehtdichnichtsan.de/zaurus/smbmount.html
libiconv 1.8/1.9: http://kimux.org/liza/arc/
gtar 1.12.25: http://kimux.org/liza/arc/
zIPSC: http://www.warmi.net/zaurus/zipsc.shtml
Memory Monitor Applet: http://my-zaurus.narod.ru/memory.html
Packages from cacko's feed: http://www.zaurususergroup.org/feed/
Developer Image 1.5: http://www.zaurususergroup.com/modules.php?op=modload&name=UpDownload&file=index&req=viewsdownload&sid=66
Ressources:
OESF (forums, FAQ, Howto..): http://www.oesf.org
Software index:
Killefiz: http://www.killefiz.de/zaurus/
Elsix: http://www.elsix.org/
LinuxZau ToolBox: http://tbox.jpn.org/linuzau/
Walrus, Visit hints: http://digit.que.ne.jp/visit/
(anonymous) User SL-C3000 Page/hints: http://www.users.on.net/~hluc/myZaurus/
Customisations: http://www.users.on.net/~hluc/myZaurus/custom.html
kimu zaurus archives: http://kimux.org/liza/arc/
muttja: http://kimux.org/liza/mutt.shtml 2. About Zaurus 2.1. Series
Specs Differences between C1000 (new serie) and C860 (previous serie)
C1000:
CPU: XScale PXA270 416Mhz (C860: XScale PXA255 400Mhz)
RAM: 64/52M (C860: 64/40M)
USB (host?) Port (C860: I/O)
Battery 2.3W EA-BL11 (C860: 2.7W EA-BL08)
Autonomy: 5-8h (C850: 3h30-8h30)
Size: 124x87x25 (C860: 120x83x23)
Weight: 278g (C860: 250g)
CF Slot: 3.3V (?) 2.2. Equipment Cost
Retail Prices (As of 2005.06.01):
Main Unit:
Zaurus SL-C3000: 79,800Y (15%) (Reuse: ~60,000Y)
Zaurus SL-C1000: 49,800Y (10%)
Zaurus SL-C860: 59,800Y (13%) (Reuse: ~35,000Y)
Zaurus SL-C760: <discontinued> (Reuse: ~30,000Y)
Zaurus SL-C700: <discontinued> (Reuse: ~22,000Y)
Accessories C860:
Miyavix Overlay Brilliant C860: 1,550Y (http://www.yodobashi.com/enjoy/more/i/9792568.html)
Miyavix 3in1 Stylus C860: 1,440Y (http://www.yodobashi.com/enjoy/more/i/cat_38974433_8785346_195_544/8988316.html)
Sharp CE-RH1 Remote Headphone (C860): 3,650Y (http://www.yodobashi.com/enjoy/more/i/26974027.html)
Buffalo LPC-C-FCLT (10Mbps): 3,650Y (http://www.yodobashi.com/enjoy/more/i/299154.html)
Sharp EA-BL08K (C860): 8,190Y (http://www.yodobashi.com/enjoy/more/i/9371797.html)
Sharp CE-BC22 (charger for BL08 and BL11): 4,780Y (http://www.yodobashi.com/enjoy/more/i/26974026.html)
Accessories C3000:
Miyavix Overlay Brillant C3000: 1,550Y (http://www.yodobashi.com/enjoy/more/i/28040323.html)
Sharp EA-BL11 (C3000): 8,400Y (http://www.yodobashi.com/enjoy/more/i/26973816.html)
Sharp CE-RH2 Remote Headphone (C3000): 5,680Y (http://www.yodobashi.com/enjoy/more/i/26974027.html)
Memory Cards:
SD 1GB Sandisk Extreme III: ~16,000Y (Dospara)
SD 1GB: ~8,000Y (Dospara)
SD 512MB Sandisk Ultra II: ~9,000Y (Dospara)
SD 512M Lexar: ~5,000Y (Dospara)
SD 256M: ~3,000Y (Dospara)
Microdrive:
Buffalo RMD-6G: 24,800Y/18% (4464Y -> 20,000Y) (http://www.yodobashi.com/enjoy/more/i/cat_89_174_320027/35227514.html)
IO Data CFMD-4G: 19,800Y/20% (3960Y -> 16,000Y) (http://www.yodobashi.com/enjoy/more/i/cat_89_174_320027/18556850.html)
IO Data CFMD-2G: 12,800Y/20% (2560Y -> 10,000Y) (http://www.yodobashi.com/enjoy/more/i/cat_89_174_320027/18556768.html)
Sample Cost (2005.06.01):
Main Unit:
Zaurus C860 Reuse: 35,800Y (Sofmap Zaurus Nipponbashi)
Accessories:
Sharp Metal Stylus: 472Y (Sofmap Zaurus Nipponbashi)
Miyavix Overlay Brilliant for C860: 1,554Y (Sofmap Zaurus Nipponbashi)
Buffalo WLI2-CF-S11 Reuse: 1,990Y (Sofmap 1 Nipponbashi)
Miyavix USB Sync & Charge: 2,070Y (Yodobashi)
PDAir 3-in-1 Metal stylus: 1,440Y (Yodobashi)
Sharp CE-RH1 Remote Reuse: ~1,800Y (Sofmap Ginza)
Memory Cards:
Lexar SD 512M SD512-132 (32x): 4,680Y (Dospara 2 Nipponbashi)
Total: ~49,500Y 2.3. Quick Evaluation (C860)
Unit:
[+] 640x480 display, ok for terms and basic web browsing
[+] Audio out not bad
[+] Keyboard usable for input
[+] Dual slot CF+SD
[+] Size and weight ok
[+] Autonomy with 1700mAh battery ok (2h30-4h30 brightness max)
[-] I/O Port covered with a unconvenient removable plastic cap exposed to loss
[-] No hand strap provided
[-] WiFi not built-in, CF WiFi fills a storage slot and get in the way for keyboard input
[-] LCD colors rendering
[-] CE-RH1 remote bulky
[-] Overall responsiveness lag
Usage:
[+] Music playback: Sharp Musicplayer 2 provides good interface/features for MP3/WMA music playback, alternate players can handle other formats (vorbis…)
[+] Very usable full-featured web browsers (opera/netfront qte)
[+] Good EPWING dictionnaries reader (ztenv), though not quite user-friendly. Built-in handwritten kanji recognition (yet not as accurate/forgiving as Decuma)
[+] Correct terminal emulation, almost 80x25 (qpe-terminal-ja/vga font), with openssh and most of the usual required tools (vim, rsync, cvs, perl, ruby, apache/mysql/php…)
[-] Lack of support for french charsets
Annoyances:
[-] Stops all console applications on sleep (including: su, vim, ssh…)
[-] Slow to wakeup from suspend (>2 seconds unresponsiveness)
[-] Very slow to restart
[-] SD/CF cards sometimes unmount while system is running
[-] Documentation stripped from most packages (no manpages, perldoc…) 2.4. Battery Tests
SL-C860/EA-BL08 (3.7v, 1700mAh):
Charge:
AC: ~4H
USB (VAIO U50, iBook G4): ~4h
Discharge:
WiFi Web Browsing, brightness max: ~2h30 (2h before battery low warning + 35 mins in brightness min)
WiFi Web Browsing, brightness min: ~3h30 (3h15 before battery low warning + 15 mins brightness min)
Term vim, brightness max: ~4h30 (4h + 30 mins brightness min)
MP3 playback, screen off: ~5h45 2.5. Random Notes
Notes:
Default font: lcfont (japanese)
When using USB Mass storage mode (PC-Link), corresponding card is unmounted on Zaurus
Syslog not part on default system
Cron not part of default system
Default user: zaurus
Security passwd same as root password
Default shell: /bin/sh (terminal apps launch a /bin/bash though)
Term size with vga font: 22x79, 20x75 (tab/scrollbar)
Busybox tools very limited (grep not recursive, find…)
Audio out 3.5mm jack connector includes wiring for CE-RH1 remote control and microphone (left speaker)
Fixes
VGA Fonts (size 16), display backslashes instead of Yen symbol in term
Microsoft Corefonts display latin1 characters correctly in opera (unlike default bitstream vera)
Default $TERM: vt100, may be replaced with "ansi" or "linux" 3. System Setup
Notes:
Fastload on:
Memopad
Music Player
Opera
Ztenv
Step-by-step Setup:
First Boot Preferences:
Disable annoying click sounds
Sound volume systray icon
[ ] Key Click [ ] Screen Touch
Increase backlight saving delay
Settings->Light/Energy Saving
[x] Reduce Luminosity: after 30 seconds/1 minute (default: 15 seconds)
File Explorer Tab
Display: List (default: icon)
Disable fastload on unused applications (may free up to 6MB RAM):
Tap&Hold icons then uncheck [ ] fastload
Application/Calendar
Application/Address Book
Application/Todo
Application/Mail
Application/NetFront v3.0
Application/Image Note
Application/E-J Translator
Application/Denshi Jisyo
Setup Network Access, ex: WLAN
Plug-in WLAN CF Card
Open Network Settings
Settings->Network
Create a new connection
Edit->Setup
Use inserted card... yes
Provider Selection: other service
ESS-ID: (BSS ID)
Encryption Key: configure encryption
WEP Key: 40/104bits, ASCII/hex
IP Address: automatic or manual
Mail address: <leave empty>
DNS Server: automatic or manual
Setting Name: <BSS ID>
Various system
install Memory Monitor Applet and create a 32MB swapfile
qtopia-memoryapplet_1.0.1.arm.ipk
Personal Profile (Java)
personal-profile-for-zaurus_1.0-fcs-b25_arm.ipk
Install Mico's Unicode Fonts (see Software Setup)
Install Qtopia Zaurus Applications
Opera 7.30 (see Software Setup)
ztenv/EPWING dictionaries (see Software Setup)
bunkoviewer (see Software Setup)
Sharp Music Player 2.0 (see Software Setup)
Kino2 (see Software Setup)
qpdf2 (see Software Setup)
Setup terminal and console environment:
Terminal emulators: qpe-terminal/qpe-embeddedkonsole-ja (see Software Setup)
Base Console tools: (openssh-client, armutils, cvs, ntpdate, rsync, sudo…) (see Software Setup)
vim (see Software Setup)
other console applications (lftp, mutt, links, irssi, screen…)
Setup Dev experiments tools:
perl (see Software Setup)
ruby (see Software Setup)
python (see Software Setup)
apache/mod_php (see Software Setup)
mysql-server (see Software Setup)
dev-img (see Software Setup) 4. Software Setup 4.1. Opera7 on C860
WWW:
Opera7 on C860: http://www014.upp.so-net.ne.jp/boxer-j/opera7.html
Notes:
Suggested configuration seems to work on both JP and FR pages with JP as default. Default conf displays iso-8859-1 only
Default "bitstream" fonts renders accentuated characters badly, replace with helvetica for proper display
[?] Should ~/.opera/opera.ini be rendered writeable by zaurus user ?
TODO:
bookmarks backup/restore
Step-by-step setup:
Install application ipk:
opera_sl-5x00-7.30.9965_arm.ipk opera-cseries-fix_7.30_arp.ipk
Configuration
File: ~/.opera/opera.ini
- Custom
[User Prefs] Force Encoding=AUTODETECT-JP Home URL=about:blank
[Adv User Prefs] HTTP Accept Language=en
[User Agent] Spoof UserAgent ID=2
[Font.Normal] FaceName=lcfont Height=16
[CSS Generic Font Family] Sans-Serif=lcfont Serif=lcfont Cursive=lcfont Fantasy=lcfont Monospace=lcfont 4.2. ztenv
WWW:
ztenv: http://ebsnap.lkj.jp/zaurus/
Notes:
versions 1.6x and 1.9x branches ?
TODO:
kakasi
QCop
Remove a dictionary from a group ?
zdic: http://developer.ezaurus.com/sl_j/source/source_dl_mmjisho.htm#source-mmjisho-100
Step-by-step Setup:
Install application packages:
zlib-eb_1.2.2v05_arm.ipk (108k) eb_4.2v02_arm.ipk (404k) ztenv_1.6.2v140_arm.ipk
Install EPWING dictionaries
Target: <CARD>/dict/
Dictionaries setup:
Setup dictionaries groups:
Dictionaries Configuration
[Menu][P] Dictionnaries Settings
Dictionnaries Selection
(Add all)
Group creation
[Optional] reorder dictionnaries (using arrows buttons) Select dictionaries (Tap, Shift+Tap, Ctrl+Tap) then select target group (1-9) Repeat for all groups/dictionnaries
Incremental search group selection (ie: Core)
Select dictionaries (Tap, Shift+Tap, Ctrl+Tap) then select group C
Setup group names:
Group Names
[Menu][P] Search Settings
Tab: Dictionnaries Groups Names
Then name groups (note: Group 0 is Core)
Various settings:
zten Preferences:
Preferences:
[Menu][P][Tool Bar]-> [x] Browse Tool
Launch zten on E/J button
Settings->Key Settings
E/J: Zten (Default: EN/JP Translator)
4.3. Sharp Music Player 2
Notes:
Sharp Music Player v2.0 Update: http://www.zaurusworld.ne.jp/menu21/music/install.html
Notes:
backport binaries from cacko's feed
warn: cacko's version removed japanese localization files
Adds support for media library, wma, global UI enhancement
Can work in either library or file browser mode
TODO:
fix packages for correct en/ja localization
Setup:
Install cacko's package
Install cacko's version of musicplayer package
musicplayer-C3000_2.0.0-1_arm.ipk
Localization:
English: remove japanese localization file from original musicplayer-1
- rm /opt/QtPalmtop/i18n/ja/musicplayer.qm
Japanese: install localization files from original ipk
- rm /opt/QtPalmtop/i18n/ja/musicplayer.qm
- rm /opt/QtPalmtop/help/ja/html/musicplayer.html
- rm /opt/QtPalmtop/help/ja/html/musicplayer-playlist.html
- tar xvzf musicplayer-C3000_2.0.0_arm.ipk
- tar xvzf data.tar.gz
- cp opt/QtPalmtop/i18n/ja/html/musicplayer.qm /opt/QtPalmtop/i18n/ja/
- cp opt/QtPalmtop/help/ja/html/musicplayer.html /opt/QtPalmtop/help/ja/html/
- cp opt/QtPalmtop/help/ja/html/musicplayer-playlist.html /opt/QtPalmtop/help/ja/html/
- cp opt/QtPalmtop/help/ja/html/musicplayer-library.html /opt/QtPalmtop/help/ja/html/
Configuration
Settings (Options->Settings):
Play Screen:
* display setting:
[x] effect on [x] nexttitle on
Library: (Suggestion)
[ ] internal:Documents/Music_Files [X] CF:MusicBox [ ] SD: [ ] Other
Key assignment playback-accidental-interrupt safe (Options-Settings):
List Screen:
Cancel Key: Parent Directory
Play Screen:
Shuttle key: volume control
Library mode, fields to display and order:
Default: Title, Artist, Time Suggested: Track number, Title, Artist, Time
Usage:
Default Keys
OK (space/enter): Play/Pause
[!] Cancel: Stop/close application
[!] shuttle up/down: next/previous track
keys righ/left: next/previous track
keys up/down: volume up/down
Suggested default play mode: repeat all 4.4. kino2
Notes:
Playing a directory content: using file browser select directory containing files then hit "add to playlist" (not recursive), then close file browser
Issue: hit play twice after a stop
TODO:
Use SDL for audio output ?
Step-by-step setup:
Install packages:
mplayer-w100_1.0.0-1_arm.ipk kino2_0.4.2-1_arm.ipk
Preferences:
Preferences
Audio
[?] Turn off LCD during audio playback
Playback
[?] Repeat
Playlist
[x] Save current playlist
Usage:
Default keys
OK: play/pause Stop: space Cancel: [!] close application Shuttle up/down, arrows up/down: volume up/down B/N: next/previous track arrows right/left: forward/backward 10 seconds I: file info 4.5. bunkoviewer
WWW:
Latest bunkoviewer: http://www.spacetown.ne.jp/prd/viewer/sl-viewerdl.html
Notes:
Can read plain text and XMDF ebooks
Step-by-step setup:
Install package:
bunkoviewer_3.0.07V_arm.ipk
Preferences:
Font: helvetica 12, no smoothing 4.6. Mico's Unicode fonts
WWW:
Home: http://www.pobox.sk/~mico/zaurus.html
Notes:
Provides good-looking helvetica/verdana fonts
C860: Verdana requires alternate font rotation angle for vertical display, install manually
Fonts installed to: /opt/Qtopia/lib/fonts/
Setup:
Install font packages
mico-unicodefonts-helvetica_1 mico-unicodefonts-utopia_1 mico-unicodefonts-verdana_1
Verdana fix: overwrite font files with alternative font rotation angle
$ tar xvzf verdata_rot0.tar.gz
- mv verdata.0/verdata_* /opt/Qtopia/lib/fonts/
4.7. qpe-terminal-ja
Notes:
qpe-terminal-ja Bundled with C860
vga-console-font from cacko feed
Step-by-step setup:
Install packages:
qpe-terminal-ja-1.5.0-3_arm.ipk vga-console-font-1.0-1_arm.ipk
Preferences
Font: fixed size 12 or VGA size 16 Color: black background/white text
bash configuration:
File: ~/.bashrc
export PS1="\t [\u@\H:\w]$ " export TERM=ansi 4.8. qpe-embeddedkonsole-ja
WWW:
qpe-embeddedkonsole-ja 1.6.0 + jinput http://kimux.org/liza/#kon
zaurus-ja embeddedkonsole-ja: http://sourceforge.jp/projects/zaurus-ja/
LinuxZaurusWatch/embeddedkonsole: http://digit.que.ne.jp/visit/index.cgi?LinuxZaurusWatch%2Fembeddedkonsole
Notes:
patched embeddedkonsole-ja
EUC/JIS/SJIS/UTF8 encoding selector
Japanese input box
Supports multiple sessions and UTF8 JP input
warn: doesn't keep UTF-8 as default
TODO
font with FR characters ?
Setup:
Install package
qpe-embeddedkonsole-ja_1.6.0-jinput3_arm.ipk
Configuration
Access options menu
Fn+q
Options
Colors: white on black Font: unifont (displays jp)
Usage:
Keybindings:
Fn+1: next session Fn+2: toggle fullscreen Fn+5: new session Fn+q: options Fn+a: clipboard paste Stylus selection: copy to clipboard Shift up/down: buffer scroll 4.9. zIPSC
WWW:
zIPSC: http://www.warmi.net/zaurus/zipsc.shtml
Setup:
Install package
zipsc_latest_arm.ipk
Don't display in magnified mode
Tap&Hold icon Uncheck [ ] Run in magnified mode 4.10. vim
Notes:
From cacko's feed
Requires ncurses (included with armutils)
gzipped helpfiles (:help gzip-helfile)
TODO:
keybinding for C-]
help.gz tag issue
Step-by-step setup:
Install packages
Full install
vim-full_6.3-1_arm.ipk
Or:
vim-core_6.3-1_arm.ipk vim-syntax_6.3-1_arm.ipk vim-doc_6.3-1_arm.ipk
Suggested /~.vimrc:
File: ~/.vimrc
" Custom set nocompatible set showcmd set showmatch set hlsearch set fileformats=unix,dos,mac set ignorecase smartcase let g:explDetailedList=1 set ts=4 sw=4
" Syntax highlight syntax enable set background=dark
" Statusline set laststatus=2 set statusline=%F%m%r%h%w\ %=[%{&ff}][%l,%v][%p%%]\ %{strftime(\"%d/%m\ %H:%M\")} hi statusline term=inverse cterm=bold ctermfg=gray ctermbg=darkblue
" Gzipped help files set helpfile=$VIMRUNTIME/doc/help.txt.gz 4.11. Perl
WWW:
Howto: http://digit.que.ne.jp/visit/index.cgi?Linux%A5%B6%A5%A6%A5%EB%A5%B9%2fPerl
Using CPAN: http://digit.que.ne.jp/visit/index.cgi?Linux%A5%B6%A5%A6%A5%EB%A5%B9%2fPerl%2fCPAN
Perl 5.6.1 pkg: http://digit.que.ne.jp/visit/file/perl_5.6.1-8.3-5_arm.ipk
Alt pkg 5.6.1: http://zaurus.frontgarden.net/perl.html
Notes:
Based on Debian packages, perldoc stripped
Setup (5.6.1-8.3):
Install packages:
Main packages:
perl_5.6.1-8.3_arm.ipk (3MB) (Note: dependency warning)
CPAN helpers:
lib-perl-libnet_1.16-1_arm.ipk lib-perl-bundle-lwp_1.10-1_arm.ipk
Other pre-packages modules (allowing blosxom to run):
libCGI-perl_5.6.1-2.97_arm.ipk libFile-perl_5.6.1-030721_arm.ipk libClass-perl_5.6.1-03721_arm.ipk libTime-perl_5.6.1-030721_arm.ipk
Configuration
Fix locale issue
File: ~/.bashrc export PERL_BADLANG=0
Configure CPAN (must be online):
$ cpan -MCPAN -e shell
ready for manual configuration: yes
CPAN build and cache: default (or SD ?)
Cache size for build directory: default
Perform cache scanning: default
Cache metadata: default
Your terminal expects ISO-8859-1: default (or UTF-8 ?)
Policy on building prerequisites: default
Your gzip program: default
Your tar program: default
Your unzip program: default
Your make program: default (requires dev-img)
Your lynx program: default (no lynx)
Your wget program: default
Your ncftpget program: default (no ncftpget)
Your ncftp program: default (no ncftp)
Your ftp program: default
Favorite pager: default
Favorite shell: default
Parameters for perl Makefile.PL: default
Parameters for the make command: default
Parameters for the make install command: default (or UNINST=1)
Timeout for inactivity during Makefile.PL: default
Your ftp_proxy: default
Your http_proxy: default
Your no_proxy: default
Favorite CPAN Site
continent: 2 (asia)
country: 5 (japan)
URLs: 1 2 3
Other URL: enter
WAIT: default
CPAN test (requires 32MB swap file and dev_img)
Try to upgrade CPAN module
- perl -MCPAN -e "install Bundle::CPAN"
FIXME
Usage:
If symlinks broke by another perl package, relink:
- ln -sf /opt/QtPalmtop/bin/perl /usr/bin/perl
- ln -sf /opt/QtPalmtop/perl/lib/perl /usr/lib/perl
- ln -sf /opt/QtPalmtop/perl/lib/perl5 /usr/lib/perl
4.12. ruby
WWW:
Latest (as of 2005.07.14) ruby 1.8.3p1 binary pkg: http://d.hatena.ne.jp/thata/20050615#1118846557
Rails on zaurus: http://d.hatena.ne.jp/thata/20050704#1120464082
Rails screenshots: http://d.hatena.ne.jp/thata/20050616#1118894921
Alt. pkg ruby 1.8.0-1 (zaurus-ja): http://sourceforge.jp/projects/zaurus-ja/files/?release_id=5690#5690
TODO:
verify ruby-qte on 1.8.3p1 ?
Setup:
Install packages:
ruby 1.8.3p1
ruby-bin-1.8.3_arm.ipk ruby-lib-1.8.3_arm.ipk
or older ruby 1.8.0
ruby_1.8.0-1_arm.ipk
ruby-qte pkg (verified with 1.8.0)
ruby-qte_0.5.2_arm.ipk
Confirm
$ ruby -v 4.13. python
WWW:
Python on Zaurus Image: http://pyqplayer.sourceforge.net/cgi-bin/bin/view/Main/PythonZaurusImage
Download: http://pyqplayer.sourceforge.net/cgi-bin/bin/view/Main/PyqPlayerDownload
Alt binaries: http://www.vanille.de/projects/python.spy
Notes:
mntpython script creates 6 additional loop devices (loop2->loop6)
python24.img contains 23MB worth of data, cramfs'd to 9MB
Steps for read-only setup:
Install files
Install python24.img to either SD root or Main_Memory (avoid CF):
<CARD>/python24.img
Install python executable (main memory, ~1.2MB):
pyton-exe_2.4.0-1_arm.ipk
Mount image
Either reboot or execute
- /etc/rc.d/init.d/mntpython start
Confirm
$ mount $ python -V (thought it won't make use of mounted image)
Upgrade:
Remote python-exe
Upgrade python disk image (ex: python24.img)
Install new python-exe 4.14. apache/mod_php
WWW:
LinuxZau builds and instructions: http://tbox.jpn.org/linuzau/build/
Notes:
Apache root: /home/www/ (conf, logs…)
Default publication folders: /home/www/htdocs/, /home/www/cgi-bin/
php.ini location: /home/www/conf/
php compiled with: ftp, iconv, mbstring, session, sockets, SQLite (may lack among others: mysql)
TODO:
mod_perl 1.29-1 (linuxzau)
mod_ruby 1.2.3-1 (linuxzau), eruby
mod_php 4.3.10 (linuxzau)
Step-by-step setup for apache/mod_php5:
Install packages:
apache-1.3.33-2_arm.ipk (2.5MB) mod-php_5.0.3-1_arm.ipk (2MB)
Enable mod_php
Add module
if Perl available:
# /home/www/bin/apxs -e -a -n php5 libphp5.so
Otherwise add to file: /home/www/conf/httpd.conf
LoadModule php5_module libexec/libphp5.so
Enable processing of .php files
File: /home/www/conf/httpd.conf
- Custom
AddType application/x-httpd-php .php .php5 AddType application/x-httpd-php-source .phps
[Optional] Add /home/www/bin to $PATH (apachectl, htpasswd/htdigest…)
File: ~/.bashrc export PATH=$PATH:/home/www/bin
Usage:
Process control:
/home/www/bin/apachectl start /home/www/bin/apachectl stop 4.15. MySQL Database Server
WWW:
Older 3.22.32: http://www.caulfei.demon.co.uk/zaurus/
3.23.49: http://anjackson.net/2004/09/06/pocket-lamp
Notes:
Bad permissions on default /var/lib/mysql/
Default dbdir: /var/lib/mysql
TODO:
Move DB to ext2 formatted SD
Setup (3.23.49):
Install packages:
mysql_3.23.49-8.7_arm.ipk (5MB) Note: dependency warning
Server configuration
Initialize a new DB
- rm -rf /var/lib/mysql
- mysql_install_db
Start server
- mysqlstart
Set root password
$ mysqladmin -u root password 'new-password'
Usage:
Process control:
Start/stop:
- mysqlstart
- mysqlstop
4.16. Developer Image
WWW:
Developer Image 1.5: http://www.zaurususergroup.com/modules.php?op=modload&name=UpDownload&file=index&req=viewsdownload&sid=66
Notes:
dev_img 1.6 available but requires a kernel module not part of default Sharp ROM: http://www.oesf.org/forums/index.php?showtopic=8465
image_setup.sh script tries to automate setup of dev_img
calls compiler_setup.sh (within image) on mount success
Contains: zgcc, make, perl 5.8…
warn: breaks previous installation of perl
warn: image doesn't mount automatically with default setup. Manually mount when required:
- mount /mnt/dev
Setup:
Setup dev_img 1.5
Install dev_img file somewhere (ex SD):
<CARD>/dev_img-1.5
Execute setup script
- sh image_setup.sh <path_to dev_img-1.5> <mount_point>
ex:
# sh image_setup.sh /mbt/card/dev_img-1.5 /mnt/dev
This should install mount points in fstab and setup environment
If installation successful relog or load ~/.profile manually
$ source ~/.profile
Confirm:
$ gcc -v
Fix PATH (.profile not read by default terminal):
File: ~/.bashrc export PATH=$PATH:/mnt/dev/bin:/mnt/dev/usr/bin
Perl ? FIXME 4.17. Base Console Tools
Packages List and source:
openssh-client_3.6.1p1_arm.ipk (google ?)
armutils_1_arm.ipk (google ?)
cvs_1.11-1_arm.ipk (cacko's feed)
ntpdate_ntp-4.1.1b-2_arm.ipk (google ?)
rsync_2.6.2-0_arm.ipk (cacko's feed)
sudo_1.6.3p7-2_arm.ipk (google ?)
dig_9.2.1_arm.ipk (http://www.psifertex.com/zaurus/)
mtr_0.51_arm.ipk (http://www.psifertex.com/zaurus/)
screen_3.9.13-1_arm.ipk (google ?)
findutils_4.1-1_arm.ipk (http://kimux.org/liza/#findutils)
libiconv_1.8-2_arm.ipk (http://kimux.org/liza/arc/)
gtar_1.13.25-1_arm.ipk (http://kimux.org/liza/arc/)
smbclient-2.2.10-1_arm.ipk (cacko's feed)
smbmount_0.1_arm.ipk (http://www.dasgehtdichnichtsan.de/zaurus/smbmount.html)
Configuration:
sudo
Edit sudoers
- visudo
Sample content
- Custom
- zaurus ALL=(ALL) NOPASSWD: ALL
zaurus ALL=(ALL) ALL
Usage memo:
smbclient:
$ smbclient //<server_nbtname>/<sharename> [-I <server_ip>] -U <username>
smbmount:
$ smbmount //<server_nbtname>/<sharename> <mount_point> -o username=<username>,password=<password>,ip=<server_ip> 4.18. Various console applications 4.18.1. mutt
Notes:
binaries from cacko's feed
compiled with OpenSSL (imap/ssl ok)
TODO:
local mailer
charset conversions ?
Setup:
Install packages
dep: openssl_0.9.7d_arm.ipk (google ?) mutt_1.5.8-1_arm.ipk
Configuration:
~/.muttrc suggestion
- Colors (stolen from somewhere)
- color normal white default
color hdrdefault red default color quoted brightblue default color signature red default color indicator brightyellow red color error brightred default color status yellow blue color tree magenta default color tilde magenta default color message brightcyan default color markers brightcyan default color attachment brightmagenta default color search default green
color header brightred default ^(From|Subject): color body magenta default "(ftp|http)://[^ ]+" color body magenta default [-a-z_0-9.]+@[-a-z_0-9.]+ color underline brightgreen default
- Custom
set pager_stop set charset="iso-8859-1" set auto_tag=yes set editor="vim -c 'set textwidth=74'" set certificate_file="~/.mutt/certificates"
- IMAP settings
- set spoolfile="imaps://<user>@<imaphost>/"
- set folder=imaps://<user>@<imaphost>/<rootfolder
[Optional] Create ~/.mutt (SSL certificates)
$ mkdir ~/.muttrc
[Optional] linux $TERM seems to work better than ansi:
File: ~/.bashrc export TERM=linux
$ source ~/.bashrc 4.18.2. irssi
Notes:
Binaries from: http://www.oesf.org/index.php?title=Mulesex.port5.com
Depends on libperl.so.5.6 (same page)
Depends on libgmodule-1.2.so.0 (libglib, same page)
TODO:
charset conv (charconv, recode.pl…)
Setup:
Install package
Dep: libperl_5.6.1_arm.ipk Dep: libglib_1.2.0_arm.ipk irssi-text_0.8.4-3_arm.ipk
Configuration
Start irssi once
$ irssi
Cleanup default configuration files
File: ~/.irssi/config servers = ( );
chatnets = ( );
channels = ( );
Basic configuration
[] /set nick $NICKNAME [] /set alternate_nick $ALT_NICK [] /set user_name $USER_NAME [] /set real_name $REAL_NAME [] /set autolog on [] /format timestamp {timestamp %%H:%%M:%%S} (trailing space!) [] /save
Custom theme
$ cp ~/.irssi/default.theme ~/.irssi/custom.theme
File: ~/.irssi/custom.theme 121: s/K/P/g 121: msgnick = "%P<%n$0$1-$P>%n %|";
[] /set theme custom.theme
Setup servers connection
[] /ircnet add $IRCNET_NAME [] /server add [-auto] -ircnet $IRCNET_NAME $SERVER_ADDR $SERVER_PORT [] /channel add [-auto] $CHANNEL_NAME $IRCNET_NAME [$CHANNEL_PASSWORD] [] /save
Usage:
Connect: /connect $IRCNET_NAME
Change window: ESC-1, ESC-2, ESC-3… 4.18.3. links
Notes:
Binary from cacko's feed
built without OpenSSL
Setup:
Install package
links_2.1pre17-1_arm.ipk
Configuration
Colors
Setup->Terminal Options->[x] Color Setup->Save Options 4.18.4. lftp
Notes:
Binary from google
rename lftp_2.6.7-1_arm.tar -> lftp_2.6.7-1_arm.ipk
built without OpenSSL
Satisfy dependencies with libstdc++ (cacko's feed)
Setup:
Install packages
Dep: libstdc++2.10-glibc2.2_1-2.95.4-16_arm.ipk lftp_2.6.7-1_arm.ipk 4.18.5. nmap
Notes:
Binary from cacko's feed
requires libstdc++ (cacko's feed)
Setup:
Install package
Dep: libstdc++2.10-glibc2.2_1-2.95.4-16_arm.ipk nmap_3.70-3_arm.ipk 5. Various Hints 5.1. keymap quick ref
Basics:
Keys Modifiers:
Shift
Fn
Shift+Fn: Ctrl (except Fn+Z, Fn+X, Fn+C, Fn+V..)
Special chars:
ESC: Cancel key
{}: Shift+Fn+/, Shift+Fn+?
`: Shift+-
other:
Jog Up/Down: arrow keys up/down
OK: Enter
Cancel: ESC 5.2. Installed packages list
Notes:
Installed packages metadata stored in: /usr/lib/ipkg/info/
Content:
- .list: contains list of files installed by a given package
- .preinst: script executed before package installation
- .postinst: script executed after package installation
- .prerm: script executed before package removal
- .postrm: script executed after package removal
- .control: ?
- .conffiles: ?
6. System maintenance
WWW:
C760 English Service Menus OESF: http://www.oesf.org/index.php?title=C760_English_Service_Menus
Zaurus SL-C700 service menus: http://downloads.conics.net/pda/zaurus-sl-c700/service-menus/
System Maintenance menu Access:
Maintenance Menu (User): at boot hold OK (keyboard)
Used for RAM format, ROM flash updates
Service menu: at boot hold D` and `M (keyboard) until service menu appears (only a few seconds)
Used for hardware diagnostic and NAND Backup
Quit: from page 3/3, 7. Extra MENU
Note: only works from "/sbin/reboot" ? (doesn't works from power on)
Turning Zaurus Device Off:
From running system:
use /sbin/reboot in a terminal
- /sbin/reboot
Then immediately hold key combination
ex: hold "OK" key
Hardware (from Sharp ROM update instructions):
Unlock battery for 5 seconds
Hold Fn+Home keys while locking battery
Hold key combination then power device on 6.1. RAM Format (Reset)
Notes:
Erases user storage in Zaurus RAM (/home,… ?) -> factory reset
Zaurus has to be connected to external power source (either AC or USB)
Step-by-step:
Access Maintenance Menu:
Plug Zaurus device to AC
Boot device while holding OK key
Example:
Inside a term
# sudo reboot
Then immediately hold OK key until Maintenance Menu appears
Select option: full erase/format
Option 3: kanzen shoukyo (format) Then validate: hai (Y)
Zaurus device should then automatically reboot
First boot/Initial configuration
Tap screen to start initial configuration
Calibrate screen
Set date/hour/calendar preferences
Timezone Hour (hour/mins) Date (year/month/day) 12h/24h Starting day: sunday/monday
Enter owner informations:
Last Name (reading) First Name (reading) E-mail Mobile phone Address 6.2. Sharp ROM Update
Notes:
C860 ROM 1.40JP: http://support.ezaurus.com/sl-c860/update/c860update/c860updatecard.asp
Required:
Updater files from support.ezaurus.com
CF or SD card FAT16 formatted with > 64MB free
AC Power cable (USB Power cable OK)
Step-by-step:
Verifications
Not required when starting from an empty system
Prepare CF Card:
Format 64MB+ CF Card with FAT filesystem
Copy ROM updater files to CF root:
initrd.bin zImage.bin mversion.bin updater.sh
Update ROM
Access Maintenance menu
Hold OK key while turning device on Connect Zaurus device to AC Power
Select option "Update"
Option 4: Update Confirm: hai (Y)
Wait for the rom upgrade to complete, zaurus should automatically reboot when done
System upgrade confirmation:
Settings/Version report should show: ROM Version 1.40JP
[Optional] Format RAM 6.3. NAND Flash Backup/Restore
Notes (as of SL-C860, ROM 1.20JP)
NAND Flash exact content ?
Even though NAND Size for SL-C860 devices is 128MB, NAND Backup won't fit on a 128MB CompactFlash card for various reason. Use a bigger card (min 160MB)
Backup to CompactFlash only (can't backup to SD)
Operated from Service Menu (Hold "D" and "M" keys at boot)
SL-860 ROM:
File systc860.dbk, 132.1MB
Required:
CF Card with enough free space to hold Flash Backup (Space > 132MB)
NAND Backup:
Access Service Menu
Backup NAND content:
Access NAND Flash Back Up menu
Either:
SERVICE(3/3) -> 1. NAND Flash Back Up
SERVICE(3/3) -> 7. Extra Menu -> 2. NAND Flash Back Up
Confirm NAND backup execution
ex session:
file: SYSTC860.DBK
(will prompt for delete/override if file already exists)
CF Free: 297.0MB
Execute backup?
-> then hit Enter
Wait for backup to complete (~5 mins), then return to main menu
Watch green progress bar at the bottom of the screen. Hit "Cancel" (keyboard) when operation seems finished to go back to main menu. Note: there's no confirmation for successful backup other than a filled progress bar. A "Backup...failed User brack" message will however display if "Cancel" has been pressed before backup could complete
Quit Service Menu and restart Zaurus device
Quit Service Menu:
SERVICE(3/3) -> 7. Extra Menu -> ?. Reset (this will power off your device)
Restart Zaurus:
Hit Power button
Restore:
Access Service Menu
From Service Menu
SERVICE(3/3) -> 7. Extra Menu -> 3. NAND Flash Back Restore
Version 0.1.1 Last updated 15-Jul-2005 22:51:08 JST

