Fujitsu Stylistic ST5010

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.


 * product description Fujitsu Computer Systems - LifeBook® ST5000 Series Tablet PC
 * used the gentoo-dev kernel-sources starting with 2.6.7
 * activate as much acpi-support in the kernel as possible

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 - -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, [mailto:windex@windex.org 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
The graphic card is intgrated into the Intel 855GME chipset. It is supported Xorg via the i810 driver. Newer Xorgs via the intel driver.

There should be kernel support for the framebuffer console via the i810fb module, but I could not get it to work right now. So I have to use the generic vesafb kernel driver.

Sadly I could not get the external VGA monitor port to work even the graphic chip supports dual head. I have tried i810switch and i855crt but only got a flickering output on the CRT. Rotating the screen on the flat panel is not possible at the moment too. I tried both i810crt and X11 with the framebuffer driver. i810crt said 'No LCD support for this chipset'. The fbdev driver gave me a distorted output in horizontal mode and odd yellow-green lines when rotated by 90 degree. But there is hope: Helmar Spangenberg posted a patch for the i830 X driver to enable screen rotation. It is not integrated yet, but there good chances.

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

The complete configuration can be found in Appendix B.

Pen - Wacom Active Digitizer
Activate the hidden port in the kernel:


 * 8250/16550 device discovery via ACPI namespace

Got the tip from HandheldsWiki FujitsuST4120

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

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

Additionally, the device may change it's device node if you mess around with the settings of the IrDA in the bios. For example, setting the IrDA to irq 10 will make the IrDA device /dev/ttyS0 and the pen /dev/ttyS1.

USB
Bus 004 Device 002: ID 08ff:2500 AuthenTec, Inc. AES2501 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

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 Access points, 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. 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.

/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.

When you want to add accounts to your then always include. 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.

PCMCIA adapter
In short: The builtin O2Micro OZ711M3 works as expected using the yenta socket kernel driver. It was verified by using a Sandisk CompactFlash PCMCIA adapter and a Sandisk 16Mb Compact Flash card.

4 in 1 multimedia card reader
It is identified as O2Micro OZ711Mx. It is said to read Secure Digital, SmartMedia, MultiMediaCards and Sony 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.

May 21, 2010 The 4 in 1 is attached to two sockets of the PCMCIA device.

The SD card reader and memorystick reader are the same (smaller) slot and will be registered as a device on socket 2. If you leave an SD card in the slot at boot, newer Linux Kernels and HAL setups should automatically insert the pata_pcmcia module. However, this slot seems to be so old that it only supports 1gig and less SD cards. I do not have one to test with. You may have luck with a 'modprobe' after the system is booted and without an SD card in the slot.

The "Smart Card" reader is the long flat slot that's parallel with the normal pcmcia slot. This slot appears to be for SmartMedia. The device will appear on Socket 1 and, at least with Kernel 2.6.29.6, will have no errors when inserting the proper driver and starting the proper service for it. I don't have an actual smart card to test with. Smart Card Driver - o2scr (tested with (1.0.4) Smart Card Service - pcsc-lite (1.5.5)

IrDA
The IrDA is known to work with lirc and the normal IrDA mode in the Bios. The lirc kernel driver must be initialized with: modprobe lirc_sir irq= io=

the irq and io must be set when the module is loaded. The values in the bios can be changed to different memory offsets and irqs. Pick ones that will not conflict with the other serial ports and irqs on your system. cat /proc/interrupts /bin/setserial /dev/ttyS0
 * 1) run set serial for each ttyS?

IrDA Keyboard/Mouse
The functionality of the IrDA keyboard and Mouse is as of yet unconfirmed and may be the reason for the other 2 serial device nodes. There are no bios settings to change the IRQ or memory point.

Biometrics and other security
The ST5010 does not have any biometrics or security features.

Q&A
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):

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:
 * Fujitsu P Series Forum P5010D Questions -- Please Help!
 * TuxMobil Linux Support for SmartCards/Flash Cards
 * PCMCIA Memory Device Issues Mailing List: Yes, SmartMedia cards are IDE devices.
 * Problems with the M$ Windows driver