Shuttle ST62K + Linux

Status | News | Components | Notes | Todo | Author & Acknowledgements | Disclaimer

I have set up this page to detail information found as I try to get Linux working fully on my Shuttle Zen XPC (model ST62K). The ST62K is a P4-based small form factor PC which has a number of new components that are/were unsupported or require the latest drivers to work under Linux. My hope is that this page will be a useful resource for others setting up Linux on the ST62K.

Some other machines that are based on the same/similar chips (and so information on this page may apply, but no guarantees):

If you have any more information than is on this page then please email me.


Status

2004-10-10: Machine boots, 2D accelerated video under X with TV out, USB works, IDE DMA works, LAN works, sound works; hardware sensors work. Rear line-in on sound adapter doesn't seem to be enabled. Enabling "Wake on RTC alarm" BIOS feature causes a reboot instead of shutdown (though a workaround is available, see below). TV-out overscan can't be adjusted.


News

2004-10-10: Some bits and pieces:

2004-09-18: Long overdue update, sorry people:

2004-05-28: A few bits and pieces:

2004-05-16: I have to say I'm really disappointed with the output quality of this external TV-out converter. In fact I'm considering buying a separate DVD player because with the converter, playing a DVD just doesn't look right (too dark, colour balance not quite right, rolling diagonal lines visible on the sky and other bright backgrounds). In other news, Per Weijnitz has pointed out that enabling the "Wake on RTC alarm" feature in the BIOS (which is useful for setting up recordings at specific times - the machine doesn't need to be on all the time), then shutting down Linux causes the machine to reboot instead of shut down. I have confirmed this issue on my ST62K as well.

2004-05-13: I got sick of waiting for the built-in TV-out to be workable, and so I bought a PC to TV converter (a LifeView ViewMaster LR77). Frankly, for the price the converter is a piece of crap - the quality isn't brilliant, overscan adjustment is far too imprecise, and the controls aren't even labelled. However it does give me usable TV-out. Interestingly it doesn't seem to care what refresh rate the VGA input is set to - there must be some framerate conversion going on. The ST62K has thus finally graduated to being my main entertainment PC.

2004-04-12: Today I found that tvtime will not work without a YUY2-capable overlay (ie, proper a X driver), so I had a go at trying to sort out the ATI driver supplied with X.org X11. I spent an hour playing with modelines and other settings in the X configuration file but I got absolutely nowhere - it seems that the "ati" driver is doing something strange that causes perfectly correct modes to be screwed up on the TV. However I have made a slightly modified version of Per Weijnitz's vesa-driver X configuration that I mentioned yesterday, which starts a little faster (without the X font server or mouse, neither of which I use). One other thing I found today was that the audio line in does not seem to be working - no amount of fiddling with the mixer settings seems to help. :(

2004-04-11: Bumper update

2004-03-13: I finally got a chance to try the IDE DMA patch, and it works! Note that at the time of writing, there are two files in that directory - you only need to apply the "-2" file as it is a cleaned up/fixed version of "-1". See this LKML posting by the author.

2004-03-10: Breaking news: a reader just sent me some information regarding the IDE DMA situation - ATI have been working on this and it looks like there's now a patch against the 2.6.3 kernel here (which I haven't had time to test yet). Also, ATI just officially released version 3.7.0 of their XFree86 drivers for XFree86 4.3, and they claim to support the 9100. I haven't had any luck in the past with the closed source drivers, and I'm not holding my breath for TV out support in particular, but it's probably worth a try anyway. Actually I've had quite a few emails lately, thanks for letting me know this page has been useful :)

2004-03-04: ALSA 1.0.3 came out a few days ago, with a new driver snd-atiixp. I tried it out and it works well. Yet another component supported :)

2004-02-21: I tried TV-out today. As with most cards, if you plug the TV in before switching on the PC it works, but unfortunately the mode XFree86 is using is not compatible with the TV (just a flickering mess of garbage, though the colours are correct).

2004-02-19: my posting to alsa-user netted a response from ALSA developer Clemens Ladisch, apparently an audio driver is being worked on :)

2004-02-18: kernel 2.6.3 just released, upgraded, no changes. Checked the board, the sensors chip is an IT8712F-A. Probably doesn't work due to unrecognised SMBus chip. I also tried the suggested ALSA fix, but unfortunately it didn't work, so I've posted a message to the alsa-user mailing list about it.

2004-02-17: Shuttle's ST61G4 uses the same ATI chipset as the ST62K. I discovered a little more information here and here (both translated from French, from the same site) with the help of this little factoid. Upgrading to XFree86 4.3.99 got me working video apparently with xv acceleration (woohoo!) although I haven't yet tested TV out. Also, after upgrading to the 2.6.3-rc3 kernel, a mouse plugged into the USB port seems to be detected. Two down, three to go...


Components

Component/FunctionManufacturerModelComments
Northbridge ATI Technologies Inc. RS300 Performs various functions, see below.
Southbridge ATI Technologies Inc. IXP150 Performs various functions, see below.
Video ATI Technologies Inc. Radeon 9100 IGP Working with X.org X11R6.7.0 (and probably XFree86 4.4, if it matters), or ATI's binary only drivers as of fglrx version 3.12.0. With patching you can get the ATI binary drivers to give you working 2D accelerated TV-out (see news above), or alternatively you can get unaccelerated TV-out using the VESA driver, which is sufficient for movie playback on a TV.
IDE ATI Technologies Inc. Part of southbridge Works fine, requires 2.6.5+ or 2.4.26+ kernel if you want DMA support (works with older versions but will be slower). Performance can be further tuned using hdparm (try hdparm -d1 -c3 /dev/hda).
Audio Realtek ALC650 The ALC650 is a standard AC97 codec chip, and the AC97 bus is controlled by the IXP150 southbridge. Supported with ALSA 1.0.3 and later (and the driver is now included in the kernel as of 2.6.5). If you get crashes and you have APM support enabled in the kernel, try disabling it and enabling ACPI instead.
LAN Realtek RTL-8100C Standard network chip, works fine with the kernel 8139too driver (possibly 8139cp also?).
USB ATI Technologies Inc. ?? Working with 2.6.3+ kernel (but not 2.4.24). As a matter of interest, three unidentified USB controllers are reported by lspci:
00:13.0 USB Controller: ATI Technologies Inc: Unknown device 4347 (rev 01)
00:13.1 USB Controller: ATI Technologies Inc: Unknown device 4348 (rev 01)
00:13.2 USB Controller: ATI Technologies Inc: Unknown device 4345 (rev 01)
My guess is the PCI database just needs updating.
Firewire VIA Technologies Inc. ?? Seems to be recognised by lspci, though I have no Firewire devices to test with. I have had a report of a working external Firewire hard drive with the 2.6.5 kernel, so it should be working.
Hardware sensors ITE IT8712F-A Works with kernel >= 2.6.8 and lm_sensors >= 2.8.7.
WiFi (optional extra) ? Shuttle PN11 (Prism3) This is an accessory available separately from Shuttle, and connects internally via USB. Being based on the Prism3 chip, you can use the linux-wlan-ng driver to get this to work.

Notes

Full lspci listing (updated 2004-03-13):

00:00.0 Host bridge: ATI Technologies Inc: Unknown device 5833 (rev 02)
00:01.0 PCI bridge: ATI Technologies Inc: Unknown device 5838
00:13.0 USB Controller: ATI Technologies Inc: Unknown device 4347 (rev 01)
00:13.1 USB Controller: ATI Technologies Inc: Unknown device 4348 (rev 01)
00:13.2 USB Controller: ATI Technologies Inc: Unknown device 4345 (rev 01)
00:14.0 SMBus: ATI Technologies Inc ATI SMBus (rev 17)
00:14.1 IDE interface: ATI Technologies Inc: Unknown device 4349
00:14.3 ISA bridge: ATI Technologies Inc: Unknown device 434c
00:14.4 PCI bridge: ATI Technologies Inc: Unknown device 4342
00:14.5 Multimedia audio controller: ATI Technologies Inc SoundMAX Integrated Digital Audio
01:05.0 VGA compatible controller: ATI Technologies Inc: Unknown device 5834
02:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:06.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)

Todo


Author & Acknowledgements

My name is Paul Eggleton. You can email me at bluelightning@bluelightning.org. Thanks to all the people who have emailed me with information or even just a thank-you note, it is much appreciated!

I would also like to thank all of the hard-working open-source developers who have made Linux on the ST62K possible, as well as those working for the manufacturers and OEMs involved who have supported their efforts.


Disclaimer

I am not in any way affiliated with Shuttle, ATI, VIA, or any other hardware company, or for that matter the Linux kernel developers. This page is in no way official, but I hope you will find it useful. No liability assumed for any consequences of using information on this page.