Linux on Maxdata m-book 1000T

updated 25. Feb 2004


This page describes how I set up Debian 3.0 using Kernel 2.4.25 and Kernel 2.6.3 on my Maxdata m-book 1000T.
on the bottom you'll find some tricks and hints and links the related sites. Or find other Linux-Howtos for Notebooks on TuxMobil - Linux on laptops, notebooks, PDAs, mobile phones.

Kernel 2.4.25

Before we begin - Things that work - or do not:

  • X: XFree86 Version 4.3.9 (from Xfree86.org)
  • Framebuffer: yes
  • Sound: yes, at least it seems to
  • PCMCIA: driver seems to be loaded proberly - but i didn't test it
  • Network: yes
  • ACPI: mhhhh, yes and no
  • USB: yes
  • Modem: yes
  • IEEE 1394 - Firewire: yes
  • IrDA - Infrarot: don't know, didn't try
  • Svga-out: didn't try

  • Specifications and infos:

    The notebook uses a VIA KT133 (Twister?) chip set. There are many hardware description sites - every with little differences.
    Here is the Maxdata specification: a copy from Maxdata.at

    Here is the output of lspci:
    00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 80)
    00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
    00:08.0 CardBus bridge: O2 Micro, Inc. OZ6912 Cardbus Controller
    00:10.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 46)
    00:11.0 ISA bridge: VIA Technologies, Inc. VT8231 [PCI-to-ISA Bridge] (rev 10)
    00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE (rev 06)
    00:11.2 USB Controller: VIA Technologies, Inc. USB (rev 1e)
    00:11.3 USB Controller: VIA Technologies, Inc. USB (rev 1e)
    00:11.4 Bridge: VIA Technologies, Inc. VT8235 ACPI (rev 10)
    00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 40)
    00:11.6 Communication controller: VIA Technologies, Inc. Intel 537 [AC97 Modem] (rev 20)
    00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 51)
    01:00.0 VGA compatible controller: S3 Inc. VT8636A [ProSavage KN133] AGP4X VGA Controller (TwisterK) (rev 01)
    
    Here you can view /proc/pci (more detailed).

    When i was looking for informations about VIA KT133 and Linux i found a site which contains infos about Linux on a Compaq Presario 700EA (by Francisco Castanheiro) (this link is a COPY to avoid a dead link - click here to get the original homepage). I was really happy because this Compaq Laptop also got a via kt133 twister - and so i thought this description will fit on my laptop too ..... but it did not (not exactly)

    how i set up X

    just installed version 4.3.0 from the binary distribution from XFree86.org
    using the generic savage driver works properly with my box.
    Here is my XF86Config-4 file.
    For the very nosy people my XFree86-Logfile: XFree86.0.log

    settings up the framebuffer device

    while kernel-configuring you'll have to enable VESA-framebuffer...
    Sooo use VESA framebuffer and insert the following line in your /etc/lilo.conf and you'll enjoy seeing Tux everytime you boot your machine... (0x317 is for 1024x768)
     
    vga = 0x317 
    

    Sound

    While configuring the kernel i just selected
     
    	<*>   VIA 82C686 Audio Codec 
    	[*]   VIA 82C686 MIDI 
     
    sending files to /dev/dsp and playing on /dev/dsp with WMMS works:) - but i don't know if the mixer is working (didn't try)
    Don't forget to change permissons of /dev/dsp (for all users) if you want other users than root playing some nice songs.
    Kernel-message while booting:
     
    ac97_codec: AC97 Audio codec, id: VIA97 (Unknown)
    via82cxxx: board #1 at 0xE400, IRQ 9
    

    PCMCIA

    i got no PCMCIA card to test (and no use, cause everything i need is on board:)), but i (seem) installed the pcmcia device with selecting following device while make my kernelconfig
     
    <*> PCMCIA/CardBus support  
    	[*]   CardBus support  
    



    Network

    In the Compaq description it seems to be a Realtek|RTL-8139 - but this driver did not work in my case.there is another driver for this card called via-rhine (supported my the kernel)
     
    via-rhine.c:v1.10-LK1.1.19  July-12-2003  Written by Donald Becker
      http://www.scyld.com/network/via-rhine.html
    eth0: VIA VT6102 Rhine-II at 0xd000, 00:a0:cc:d4:10:3e, IRQ 9.
    eth0: MII PHY found at address 1, status 0x7869 advertising 05e1 Link 45e1.
    
    If you want to change or see your media interface status use the program mii-tool - for Debian users there is a package called (surprise) mii-tool - or get infos at http://www.scyld.com/network/via-rhine.html.

    ACPI

    aahhh .. here comes the real interessting stuff :)

    This notebook is one of the "real ACPI-based" ones ...
    Compiling the kernel with all ACPI options on is good, but not best --- the PowerNow feature won't be use..
    You'll have to use the cpufreq patch! Get this at http://www.codemonkey.org.uk/projects/cpufreq/

    After compiling the kernel with cpufreq you'll need the cpufreqd to watch and act .(throttling down you cpu-frequency)

    applying some of these patched didn't work....so try some of them...
    After having a patched kernel your bootmessage should look like this:

    ACPI Stuff (so many dots because i enabled debug-messages)
    ACPI: Subsystem revision 20040116
    PCI: PCI BIOS revision 2.10 entry at 0xfdb51, last bus=1
    PCI: Using configuration type 1
     tbxface-0117 [03] acpi_load_tables      : ACPI Tables successfully acquired
    Parsing all Control Methods:..............................................................................................................................................
    Table [DSDT](id F004) - 491 Objects with 42 Devices 142 Methods 24 Regions
    ACPI Namespace successfully loaded at root c03a7a5c
    ACPI: IRQ9 SCI: Level Trigger.
    evxfevnt-0093 [04] acpi_enable           : Transition to ACPI mode successful
    evgpeblk-0747 [06] ev_create_gpe_block   : GPE 00 to 15 [_GPE] 2 regs at 0000000000000820 on int 9
    Completing Region/Field/Buffer/Package initialization:...................................................................................................
    Initialized 24/24 Regions 15/15 Fields 35/35 Buffers 25/25 Packages (499 nodes)
    Executing all Device _STA and_INI methods:............................................
    44 Devices found containing: 44 _STA, 3 _INI methods
    ACPI: Interpreter enabled
    ACPI: Using PIC for interrupt routing
    ACPI: System [ACPI] (supports S0 S3 S4 S5)
    ACPI: PCI Root Bridge [PCI0] (00:00)
    PCI: Probing PCI hardware (bus 00)
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
    ACPI: Power Resource [URP1] (off)
    ACPI: Power Resource [URP2] (off)
    ACPI: Power Resource [FDDP] (off)
    ACPI: Power Resource [LPTP] (off)
    ACPI: Embedded Controller [EC0] (gpe 5)
    ACPI: PCI Interrupt Link [LNKA] (IRQs *9)
    ACPI: PCI Interrupt Link [LNKB] (IRQs 9)
    ACPI: PCI Interrupt Link [LNKC] (IRQs 10)
    ACPI: PCI Interrupt Link [LNKD] (IRQs *11)
    ACPI: Power Resource [FN10] (on)
    PCI: Probing PCI hardware
    ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 9
    ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 9
    ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
    ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 9
    PCI: Using ACPI for IRQ routing
    PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
    ...
    ...
    ACPI: AC Adapter [AC0] (on-line)
    ACPI: Battery Slot [BAT0] (battery present)
    ACPI: Power Button (FF) [PWRF]
    ACPI: Lid Switch [LID]
    ACPI: Sleep Button (CM) [SLPB]
    ACPI: Fan [FAN1] (off)
    ACPI: Processor [CPU1] (supports C1 C2)
    ACPI: Thermal Zone [THRM] (58 C)
    
    
    PowerNow Stuff
    powernow: AMD K7 CPU detected.
    powernow: PowerNOW! Technology present. Can scale: frequency and voltage.
    powernow: Found PSB header at c00faf70   
    powernow: Table version: 0x12
    powernow: Flags: 0x0 (Mobile voltage regulator)
    powernow: Settling Time: 100 microseconds.
    powernow: Has 87 PST tables. (Only dumping ones relevant to this CPU).
    powernow: PST:33 (@c00fb1f0)
    powernow:  cpuid: 0x780 fsb: 100        maxFID: 0x2     startvid: 0xb
    powernow:    FID: 0x4 (5.0x [500MHz])   VID: 0xe (1.300V)
    powernow:    FID: 0x6 (6.0x [600MHz])   VID: 0xe (1.300V)
    powernow:    FID: 0x8 (7.0x [700MHz])   VID: 0xe (1.300V)
    powernow:    FID: 0xa (8.0x [800MHz])   VID: 0xe (1.300V)
    powernow:    FID: 0xc (9.0x [900MHz])   VID: 0xe (1.300V)
    powernow:    FID: 0xe (10.0x [1000MHz]) VID: 0xd (1.350V)
    powernow:    FID: 0x0 (11.0x [1100MHz]) VID: 0xc (1.400V)
    powernow:    FID: 0x2 (12.0x [1200MHz]) VID: 0xb (1.450V)
    
    powernow: Minimum speed 500 MHz. Maximum speed 1200 MHz.
    
    get your cpufreqd at http://sourceforge.net/projects/cpufreqd/. Because i use Debian Woody i had to compile it ..(binary package need some new glibc version oder some spooky stuff like that). now cpufreqd helps you to save power ... (if i'm not plugged it switches to 500mhz)

    the only thing thats missing now is "sleep"-mode or "suspend"-mode. In kernel 2.4.* those modes are not supported .. so i tried it with kernel 2.6.3 (read more on bottom of this site)

    Modem

    I tried many many drivers for the modem. The driver written in the Compaq Laptop Howto didn't find my modem (but it should have) :(
    But i found another driver :)
    Its called PCTel Winmodem hosted by Sourceforge http://pctelcompdb.sourceforge.net/. Installing the driver was very simple - i think you just have to have your kernel-source & headers installed.
    After installing wvdial will find your modem !

    ieee 1394

    i just tested firewire with an external ide-harddisk, but it worked !

    while configuring your kernel you'll have to compile the following modules:
    ieee1394
    sd_mod
    sbp2
    ohci1394
    sg
    
    (some SCSI generic stuff & SCSI Disk module)

    After running a small script - rescan-scsi-bus (i found on the internet) your external partitions can be found on some /dev/sda* devices. Mount them an use them ....


    the most important files (again)

    Kernel 2.6.3

    i tried kernel 2.6.3 to get better acpi support. one good thing is, that you need not to patch cpufreq into the kernel..it's already there
    but sleep/suspend modes didn't work properly...so i installed a patch from http://acpi.sourceforge.net/.

    but first some basic things:

    Specifications and infos

    lspci

    00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 80)
    00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
    00:08.0 CardBus bridge: O2 Micro, Inc. OZ6912 Cardbus Controller
    00:10.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 46)
    00:11.0 ISA bridge: VIA Technologies, Inc. VT8231 [PCI-to-ISA Bridge] (rev 10)
    00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE (rev 06)
    00:11.2 USB Controller: VIA Technologies, Inc. USB (rev 1e)
    00:11.3 USB Controller: VIA Technologies, Inc. USB (rev 1e)
    00:11.4 Bridge: VIA Technologies, Inc. VT8235 ACPI (rev 10)
    00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 40)
    00:11.6 Communication controller: VIA Technologies, Inc. Intel 537 [AC97 Modem] (rev 20)
    00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 51)
    01:00.0 VGA compatible controller: S3 Inc. VT8636A [ProSavage KN133] AGP4X VGA Controller (TwisterK) (rev 01)
    
    more on pci_2.6.4.txt

    ACPI

    there is no S1 sleep-mode (like window$ uses it) available in linux ---so

    suspend-to-disk (S4)

    after applying a patch from http://acpi.sourceforge.net/ suspend-to-disk worked. (with strange messages, but it did)

    how to do this:
    echo "4">/proc/acpi/sleep
    
    after that your computer shuts down...after rebooting it should resume from a partition mentioned in the kernel-boot-paramenter ...in /etc/lilo.conf under your image=...linux2.6.4
    append="pmdisk=/dev/hda5 resume=/dev/hda5"
    
    (hda5 is my swap partition)

    while compiling the kernel you can enter this disk there too (can be overwritten with kernelbootparameter)
    read more about this in your kernel documentation....

    suspend-to-RAM (S3)

    would be
    echo "3">/proc/acpi/sleep
    
    after some messages and filling the screen with WHITE? the computer falls in sleep-mode. waking it up by pressing "any key" it writes strange messages an hangs :(

    ERRORs with 2.6.3

    the only things thats strange with kernel 2.6.3 is under X...my ps2-mouse and/or touchpad seems to have probems
    Feb 25 23:38:08 beatle kernel: psmouse.c: Wheel Mouse at isa0060/serio4/input0 lost synchronization, throwing 3 bytes away.
    
    i didn't get a workaround for that. i tried to use "bare,imps" protocols for the psmouse-module but ...nothing changed

    some files

    Tricks and Hints

    Links to related sites


    If you've got any questions - contact me, berniq [at] gmail [dot] com

    TuxMobil - Linux on Laptops, Notebooks, PDAs and Mobile Phones