Fujitsu Stylistic ST4110 Tablet PC using SUSE 9.2

Mauriat Miranda (http://www.mjmwired.net/contact/)

Other Guides/Resources

Published: 19 February 2005 (updated: 23 March 2005)

Post To: del.icio.us, furl, digg, spurl, gmail this, Blog this
Tweet
Show-Hide Menu

New Guides: Fujitsu Stylistic SuSE 10.1


Fujitsu Stylistic ST4110 Tablet PC

This guide is how to setup SuSE 9.2 Linux on a Fujitsu Stylistic ST4110 Tablet PC. This guide assumes you understand the basics of installing SuSE and know how to edit basic files. This guide should also be relevant for the ST4120 model.

NOTE:
This is an INCOMPLETE document but should provide a starting point for setup. All notes are tips that worked for ME and should NOT be executed EXACTLY as shown. Make sure to verify each step matches how your computer or tablet is configured. Also note that there may be typographical errors as well.

Basic Installation Tips

Physical Installation

I used an external CD-ROM drive to install. The unit supports booting through USB, check the BIOS for booting from "Optical Drive". With a selective set of packages installation takes a little over an hour.

Partitioning

For this setup Windows XP was completely removed. Use any preferred partitioning scheme with the following notes.

Note: SuSE by default partitions with ReiserFS. To test or experiment with things such as ACPI, your system must endure crashes (lockups, kernel panics, etc.). Some tests caused ReiserFS corruption that I could NOT fix. I have not had this happen with EXT3.

Packages

Make sure to search the packages available and install the following:

Post Installation Updates

Run the YaST update as you normally would after installing SuSE. Obtain any update required for your hardware, especially any software for wireless devices you plan to use.


Tablet and Pen Setup

There are 2 files I am providing: my updated /etc/X11/XF86Config file with necessary changes and my original XF86Config file. They are included so you can see the differences. Zip file containing both files: xf86_fuj_su92.tar.gz.

Font Issue: If you do NOT want very large fonts. In XF86Config, comment out "DisplaySize" under "Monitor". By using the above config file you will no longer be able to use YaST without losing the above settings.

An additional link is required. As root:

# cd /usr/lib/TkXInput/
# ln -s libwacomxi.so.0.0.0 libwacomxi.so

To setup the serial port required for the Pen. As root:

# echo "/bin/setserial /dev/ttyS0 irq 4 port 0x220 autoconfig" >> /etc/init.d/boot.local

After the above changes are made, REBOOT. Once the X server starts, run the following (as user, not root):

# wacomcpl &

Virtual Onscreen Keyboard

To setup the virtual keyboard with KDM add the following 2 lines to /etc/X11/xdm/Xsetup:

# Virtual keyboard
/usr/X11R6/bin/xvkbd -geometry -190-52 &

Add them before the section that says:
#
# Handle background:

When you restart the X-server, the keyboard should be in the lower section of the screen. To change the position, change geometry parameters: -geometry -[x]-[y]


Power Management

To utilize power management effectively you must recompile the kernel. Note: recompiling is an involved process. The following assumes you understands recompiling and using Grub.

Kernel Source and Grub

Obtain the "kernel-of-the-day" from Google (link). For this guide I am using: kernel-source-2.6.11-20050304192700.i586.rpm. Pick the newest available kernel you find and save to a temporary file location (i.e. /tmp/kernel).

# cd /tmp/kernel
# rpm2cpio kernel-source-2.6.10-20050221200109.i586.rpm | cpio -idv
# cd ./usr/src
# mv linux-2.6.10-20050221200109 /usr/src/

Modify symbolic links for Suse bootup (depending on your installed kernel these files may differ):

# cd /boot/
# ls -la

lrwxrwxrwx   1 root root      26 Feb 19 18:28 initrd -> initrd-2.6.8-24.11-default
lrwxrwxrwx   1 root root      27 Feb 19 18:29 vmlinuz -> vmlinuz-2.6.8-24.11-default

# ln -s initrd-2.6.8-24.11-default initrd-default
# ln -s vmlinuz-2.6.8-24.11-default vmlinuz-default

EDIT /boot/grub/menu.lst:

Now "-default" is the original, but your new kernel should load by default. For example only:

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 9.2
    kernel (hd0,0)/vmlinuz root=/dev/hda3 vga=0x317 selinux=0 acpi_sleep=s3_mode resume=/dev/hda2 desktop elevator=as showopts
    initrd (hd0,0)/initrd

###Don't change this comment - YaST2 identifier: Original name: linux-default###
title SUSE LINUX 9.2 (default)
    kernel (hd0,0)/vmlinuz-default root=/dev/hda3 vga=0x317 selinux=0 splash=silent resume=/dev/hda2 desktop elevator=as showopts
    initrd (hd0,0)/initrd-default

Compiling Process

First obtain my .config as a starting point. Download, unzip and save the file as .config to your /usr/src/linux-2.6.xxxxx location that you created above.

# cd /usr/src/linux-2.6.10-20050221200109
# make oldconfig
# make modules_install
# make install         (This will make the first grub entry point
                        for this kernel, but it will not change grub)

Once done, reboot the computer. Upon booting you might see an error with device-mapper. This is ok. The new kernel does not have this module. You may also see some other small errors, depending on you systems configuration.

Current Power Management Status:

LCD Brightness

Test by loaing the module and changing the brightness level. Valid numbers are between 1 and 8:

# modprobe video
# echo 4 > /proc/acpi/video/VGA/LCD/brightness
# echo 1 > /proc/acpi/video/VGA/LCD/brightness
# echo 8 > /proc/acpi/video/VGA/LCD/brightness

Setup the powersave daemon to control the LCD.

Download and unzip and setup the following files: lcd_fuj_su92.tar.gz contains 2 files.
copy lcd to /etc/sysconfig/powersave/lcd
copy set_lcd_level to /usr/lib/powersave/scripts/set_lcd_level

Run: YaST. Goto System > /etc/sysconfig Editor.

(Optional): You may want to Edit the Scheme: "Powersave". Change the setting: Hard Disk > Stand-by Policy, to "Power Saving". This is found in "Power Management" in YaST. You can use /etc/sysconfig Editor to fine tune the settings.

If you did not do the above optional step, restart and apply the daemon:

# /etc/init.d/powersaved restart

LCD Powersaving Results: It takes a few second for the powersave deamon to react to changes, when you unplug the AC adaptor. When you unplug the AC, the display should dim. By controlling both hard disk and the LCD backlight you should improve your battery life.


More Information


Comments, suggestions, questions or any feedback welcome for this page or any of my Resources. Please use the contact link.

Help Out: If you found this guide or any Resource helpful, please consider supporting this site by recommending this page to others or linking to this page. I appreciate all the support I receive. Thank you in advance.

Disclaimer: The author makes no claim to the accuracy of the information provided. This information is provided in the hope that it will be useful, but WITHOUT ANY WARRANTY. There is no implied support from referencing this guide. Any help that is provided is at will. Use this information at your own risk. Always make proper backups and use caution when modifying critical system files.

PLEASE DO NOT mirror, translate or duplicate this page without contacting me.

Copyright © 2003-2013 by Mauriat Miranda (mjmwired.net).