Search:  
Gentoo Wiki

Fujitsu-Siemens_Stylistic_ST4121

This article is part of the Hardware series.
Laptops TV Tuner Cards Wireless Servers Storage Other Hardware Motherboards Related

Contents

General

This guide is about how to install Linux on the Fujitsu Stylistic ST5010. Since Fujitsu only guarantees Windows to work on this box, I want to supply as much information as possible to make Tux dance on this tablet.

A lot of the provided information applies to the ST4121 too.

Update: As of 9/17/2005, screen rotation works on the i810 driver / i915 dri combination found at the freedesktop dri wiki download link. Just install the binary drivers into a modern X.org installation. You must enable SWCursor with: 'Option "SWCursor" "on"' to get pointing devices to work properly (otherwise they align for 768x1024 going the wrong direction on the display -- try it without, you'll see).

Update 2: Also as of 9/17/2005: The Linux Wacom project's Beta release, 0.6.9, fully supports without bugs the stylus interface on the ST5010 when the screen is rotated (previous versions, including the 0.6.8 stable release had issues), and no longer has issues with the pen loosing sync when you move it in and out of range.

Update 3: Also as of 9/17/2005: The apanel driver also can get 4/10 of the buttons working, notably, 'email', 'rotate', 'esc', and 'ent'. Note that they don't actually preform a function, apanel just runs a shell script. I have them all bound to a shell script that runs 'su - <myusername> -c "xscreensaver-command -deactivate"' currently. :) I modified the fjkeyd.c file in the utils source for clarity, but the errors written to stderr will give you an idea of what needs to happen. If you have questions, send me an email.

Update: (Feb 2006) there is a small and simple kernel driver available that can make the buttons work, at least on Fujitsu FMV TB11/B (Japanese model).

Installation

This was a hard one because the tablet has no CD-ROM builtin and I bought no external drive. So after downloading the Live-CD there was no drive to put in. The BIOS supports netboot so I used the diskless client approach to set up the base system. Trying to use as much of the Live-CD install scripts as possible I soon gave up as it seemed there is no way than having a CD-ROM drive. I got fed up with this. Finally I used an existing Gentoo system, copied all over to the tftpboot-dirs, compiled a kernel for the tablet and got a somewhat working system to reinstall the core parts.

Graphic Card

See this HowTo.

Xorg

The essential parts in /etc/X11/xorg.conf are:

File: /etc/X11/xorg.conf
   Section "InputDevice"
       Identifier  "Mouse0"
       Driver      "wacom"
       Option      "Type" "stylus"
       Option      "Device" "/dev/ttyS0"
       Option      "ForceDevice" "ISDV4"
   EndSection
   Section "Device"
       ### Available Driver options are:-
       Identifier  "Card0"
       Driver      "i810"
       VendorName  "Intel Corp."
       BoardName   "82852/855GM Integrated Graphics Device"
       BusID       "PCI:0:2:0"
       
       # experimental
       #Option      "MonitorLayout" "CRT,LFP"
       #Option "Rotate" "CW"
   EndSection

The complete configuration can be found in Appendix B.

Pen - Wacom Active Digitizer

Activate the hidden port in the kernel:

Linux Kernel Configuration: Serial Drivers
Device Drivers ---> 
    Character devices ---> 
       [*] Serial drivers
         [*] 8250/16550 device discovery via ACPI namespace

Got the tip from HandheldsWiki FujitsuST4120

The kernel option 8250_acpi does not exist in newer kernel versions (i.e. 2.6.24). You need to create and load the module 8250_pnp, however the module 8250_pci seems to work too.

To activate, add the following line to /etc/conf.d/local.start:

File: /etc/conf.d/local.start
/bin/setserial /dev/ttyS0 irq 4 port 0x220 autoconfig

The driver provided by X11 does not work well. So you may want to:

emerge linuxwacom

USB

In short: It works. I verified the USB-1.1 supported by the UHCI Hostcontroller kernel driver using keyboard, mice and Digicam. USB 2.0 support is done by the EHCI Host Controller Driver. Successfully copied some files from an external hard disk to my disk.

Firewire

In short: Should work. The documentation of the OHCI-1394 kernel driver states to be tested with NEC chipsets - maybe the one on this board. Not verified at the moment due to lack of hardware.

Ethernet controller

The box comes with a NetXtreme BCM5788 Gigabit Ethernet Network Card. After activating the kernel support it works as expected. No problems.

Wireless LAN

My box came with the optional Intel PRO Wireless 2100 wireless network card. As of August 2004 the driver supports all basic features like associating to Wikipedia:Access points, Wikipedia:wep and monitoring. To actually send and receive packets you have to toggle the hardware WLAN switch. You find it at the lefthand backside of the box.

Internal Modem

Status 
working
Hardware 
SmartLink Modem HAMR5600 based AMR modem card on the Intel ICH4 Southbridge
Kernel support 
uses ALSA-Driver [M] Intel i8x0/MX440; AMD768/8111 modems (EXPERIMENTAL)

To make it work you need additional kernel modules and a userspace program. The package is net-dialup/slmodem. On the console type:

emerge '>=net-dialup/slmodem-2.9.9-r2'

Lookup your country in the list of supported countries.

slmodemd --countrylist

Configure the modem-daemon. Be sure to substitute the COUNTRY parameter by the one you looked up.

File: /etc/conf.d/slmodem
# Config file for /etc/init.d/slmodemd

DEV=/dev/ttySL0
COUNTRY=GERMANY
GROUP=dialout

# The following symlink will be created if uncommented
LN_DEV=/dev/modem

# Raise priority to reduce modem dropouts
NICE=-6

# ALSA Options:

# The following sets the ALSA (alsasound) init script to
# be a dependency of the slmodem one. It does also provides
# ALSA support.
MODULE=alsa

# The hardware slot
HW_SLOT=1

# Non-ALSA OPTIONS:

#  MODULE=slamr
# or
#  MODULE=slusb

# this file must be kept in sync with:
# /etc/devfs.d/slmodem (devfs)
# /etc/modprobe.d/slmodem (devfs)
# /etc/udev/rules.d/55-slmodem.rules (udev)
# /etc/udev/permissions.d/55-slmodem.permissions (udev)
/etc/init.d/slmodem start

There are some programs available. A list could be found at the Gentoo Packages Dialup-Category. I use wvdial.

emerge '>=net-dialup/wvdial-1.54.0'

Adopt the configuration to your needs. Substitute the Phone, Username and Password with the ones your provider gave you.

File: /etc/wvdial.conf
[Dialer Defaults]
Modem = /dev/ttySL0
Carrier Check = no
Stupid Mode = yes
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Phone = 019285530
Username = username
Password = password

When you want to add accounts to your /etc/wvdial.conf then always include Carrier Check = no. Otherwise wvdial wont work with slmodem.

Now you are ready to connect to the internet.

wvdial

In most cases you want to use a firewall. Check Iptables for newbies.

PC Card

See this guide. The O2Micro OZ711M3 is yenta-compatible.

4 in 1 multimedia card reader

It is identified as O2Micro OZ711Mx. It is said to read Wikipedia:Secure Digital, Wikipedia:SmartMedia, Wikipedia:MultiMediaCards and Sony Wikipedia:Memory Sticks. It seems like an extension of the O2Micro 4-in-1 MemoryCardBus Controllers.

There is a driver for Secure Digital Host Controllers in kernel 2.6.17 and newer. It is called sdhci and not working at the moment. See the O2 OZ711Mx at MMC wiki for the ongoing discussion.

Biometrics and other security

Does anyone know what chipsets the TPM, fingerprint reader, and smartcard are? I'm thinking about getting one of the newer ones (5112), but want to know if those are supported. --XAvAX

I believe this output from lspci reveals the answer (at least for smartcard support):

Code: lspci
0000:01:0a.0 CardBus bridge: O2 Micro, Inc. OZ711M3 SmartCardBus MultiMediaBay Controller
0000:01:0a.1 CardBus bridge: O2 Micro, Inc. OZ711M3 SmartCardBus MultiMediaBay Controller
0000:01:0a.2 System peripheral: O2 Micro, Inc. OZ711Mx MultiMediaBay Accelerator
0000:01:0a.3 CardBus bridge: O2 Micro, Inc. OZ711M3 SmartCardBus MultiMediaBay Controller
0000:01:0a.4 CardBus bridge: O2 Micro, Inc. OZ711M3 SmartCardBus MultiMediaBay Controller

This is the OZ711M3 SmartCard. This is supported by M.U.S.C.L.E.. As you can see, this is integrated onto the CardBus. Might be able to use TrouSerS for the TPM. The fingerprint reader is likely on the USB bus. Since I don't have one of these laptops, I can't guess as to what it would be. Maybe someone post the output of 'lsusb' to the Appendix page? --dcode


Older, maybe outdeted links:

Links


Last modified: Mon, 25 Aug 2008 10:32:00 +0000 Hits: 44,378