Laptop Mitac

From YobiWiki
Jump to navigation Jump to search

Converted with HTML::WikiConverter::MediaWiki from my old phpwiki site


cf also KnoppixToDebian

Hardware: SiS 630 based laptop


Computers with the same chipsets:


Phoenix NoteBIOS 4.0 Rev6.0
SystemBIOS 1.01
KBC Keyboard BIOS 1.03

  • Prepare hibernation partition: (apt-get install lphdisk)
    • Prepare a partition with fdisk and assign type=A0
    • Recommended partition size is = standard RAM + Video RAM + 2M
  • Upgrade BIOS:
    • Targa gives a BIOS update for the Visonary P (download)
      • It will upgrade the System BIOS from 1.01 to 2.01 (13/12/2001 DEVEL21T)
    • Tulip gives a BIOS update for the 3900 Amicus (download)
      • System BIOS is only 1.01 but you can only update the Keyboard BIOS from 1.03 to 1.04
      • Changelog: Adjust shutdown point and throttle control point for Tualatin 1.2G CPU
    • KBC 1.04 is also available from Mitac (download)
    • Original System BIOS 1.01 is available from Mitac (download)


  • Usual pcmcia tree didn't work for me (apt-get install pcmcia-source;cd /usr/src ; tar -xvzf pcmcia-cs.tar.gz)
  • So I compiled the kernel-pcmcia

SiS5513: IDE chipset

Driver included in the last 2.4.20 kernels %%Add "idebus=66" to LILO. Doesn't seem to give a big improvement...


56Kbps V.90 Smart Link 56K Voice Modem on SiS chipset
Windows drivers refer to PCTEL HSP56MR
SiS7013 = HAMR5600 Winmodem = Intel 537


From file:///usr/src/linux/arch/i386/kernel/apm.c :

        apm=on/off                          enable/disable APM
            [no-]allow[-_]ints              allow interrupts during BIOS calls
            [no-]broken[-_]psr              BIOS has a broken GetPowerStatus call
            [no-]realmode[-_]power[-_]off   switch to real mode before powering off
            [no-]debug                      log some debugging messages
            [no-]power[-_]off               power off on shutdown
            bounce[-_]interval=<n>          number of ticks to ignore suspend bounces


The only control that seems to work is the throttling:

  • T0:00% T1:12% T2:25% T3:37% T4:50% T5:62% T6:75% T7:87%

Throttling is sort of enforced CPU power management: Even when the system is highly active, the CPU is "put to sleep" for short amounts of time. This is done when the temperature is critically high, or, by request of the user, when the system shall use less power to allow longer system usage when on battery.
The first line has to be executed to be able to control the throttling:

  • echo -n 0:7 > /proc/acpi/processor/CPU0/limit
  • echo -n 4 > /proc/acpi/processor/CPU0/throttling (for 50% performance)

To be checked with a speed test
For sleep states:
cat /proc/acpi/sleep: S0 S3 S4 S4Bios S5
To write: echo x > sleep (with x being replaced by the sleep state number)

  • S3 - "Suspend to RAM" ...Because it requires a high degree of coordination between the cpu, chipset, devices, OS, BIOS, and OS device drivers, this system state is the most prone to errors and instability.
    S3 is currently
    not supported by the 2.4.x kernel series in Linux.
  • S4 - "Suspend to Disk" ...A variation called S4BIOS is most prevalent, where the system image is stored and loaded by the BIOS instead of the OS. Because the contents of RAM are written out to disk, system context is maintained. For example, unsaved files would not be lost following an S4 transition.
    S4 is currently
    not supported by the 2.4.x kernel series in Linux, but you might have good luck with SWSUSP. Some machines offer S4_BIOS whose support is considered to be experimental within ACPI4Linux.
    • echo 4 > /proc/acpi/sleep is for swsusp
    • echo 4b > /proc/acpi/sleep is for s4bios


  • cd /usr/src/linux; patch -p1 < ...
  • General Setup section -> Power Management and Software Suspend (plus the suspend options if you want them).
  • ...Swap partition should be at least 30% larger than your RAM. It has to be formatted by mkswap and used as a swap area through /etc/fstab configuration file. You don't need a partition specifically set aside for suspending. You must set the resume kernel option to the swap partition you want to use for suspension. If your partition is, for instance, the third primary one on first ide disk (/dev/hda3) you have to append "resume=/dev/hda3" as a kernel parameter in your lilo.conf file.

Extra keys


Driver included in the last 2.4.20 kernels
The one on the Mitac seems to be a 300 serie
The CRT2 bridge is apparently a Chrontel 7005 (support resolutions up to 800x600)


The Chrontel 7005 has one more issue. Due to a hardware bug, it sometimes reports a TV connection although no TV is actually connected. Since TV has the highest priority among the CRT2 devices (if ForceCRT2Type is missing in the configuration file), this is inconvenient on laptops as the LCD panel will go blank. To avoid this, set this option to LCD even if LCD is the only CRT2 type available.

I had the problem
Passing the following option to LILO fixed it:

  • append="video=sisfb:mode:1024x768x16,mem:12288,forcecrt2type:LCD"

DRI/DRM issue: cf


Now there are Debian packages, add these lines to your source list:

deb ./
deb-src ./


apt-get install sisxdriver
apt-get install sisctrl

If you happen to upgrade to a newer version of Xfree86 (eg. from 4.1 to 4.2, or from 4.2 to 4.3), run dpkg-reconfigure sisxdriver

cf also


  • WebCamPhilips
  • SMC2632W: read /usr/share/doc/linux-wlan-ng/README.Debian.gz
    • Wifi SMC: edit /etc/modutils/linux-wlan-ng
    • apt-get source linux-wlan-ng
    • mv linux-wlan-ng-0.2.0 /usr/src/modules

To read