For Linux configurations on many specific laptops, see this page.
|
|
The manufacturer's characteristics of this laptop can be found here.
In short, this laptop has the following characteristics, as finally configured:
Being Clevo/Kapok, surely it is sold under different brands worldwide. It included an adequate manual (for Windows 2000 and XP), and the following CD's:
Outstanding characteristics:
It is big, heavy and power hungry, but more than expected compatible with Linux. I installed Mandrake 9.2, with kernel 2.4.25-3, later upgraded to Mandrake 10.0, and later to Mandrake 10.2.
For the rest, the important items in bios are:
Its screen and external monitor can be rotated as:
LCD
CRT
LCD+CRT (for multimonitor)
However, choosing CRT on bios output is the same on both laptop screen and external monitor. A real rotation can then be done with keys Fn+F6, but not in X.
IrDA (FIR) at COM2 with port 0x2F8, interrupt 3 and DMA channel 3.
Parallel port at 0x3F8, interrupt 7 and DMA channel 1.
Virus prevention. After running 'lilo' a warning appears, so this should be disabled while doing MBR changes.
For Mandrake installations power savings should be disabled; it seems that complete disabling is not possible, so should be relaxed as much as possible.
With so many disk space, I installed three operating systems:
Windows 98 Second Edition:
Old games.
Old utilities.
Newmedia PCMCIA joystick card, only recognized in Windows 98.
Low level access to ports.
Windows 2000. The manual recomends 2000 or XP, but warns that multimonitor is only supported in XP.
Linux. As said, I chose Mandrake 9.2.
For making things easy, the order of installation should be:
Windows virtual memory is at the second disk at hdd1, and Linux swap at hdd2.
What results briefly is:
First disk is alone at primary IDE. The CDRW/DVD is the first IDE device at the secondary IDE, and the second disk is the second one. The laptop documentation indicates that IDE devices are connected as "cable select".
'fdisk' shows:
'fdisk
-l /dev/hda' shows:
Disco /dev/hda: 60.0 GB, 60011642880 bytes
255 cabezas, 63 sectores/pista, 7296 cilindros
Unidades = cilindros de 16065 * 512 = 8225280 bytes
Disposit. Inicio Principio Fin Bloques Id Sistema
/dev/hda1 * 1 1275 10241406 c Win95 FAT32 (LBA)
/dev/hda2 1276 3187 15358140 83 Linux
/dev/hda3 3188 4844 13309852+ 83 Linux
/dev/hda4 4845 7295 19687657+ f Win95 Ext'd (LBA)
/dev/hda5 4845 7295 19687626 7 HPFS/NTFS
'fdisk
-l /dev/hdd' shows:
Disco /dev/hdd: 60.0 GB, 60011642880 bytes
255 cabezas, 63 sectores/pista, 7296 cilindros
Unidades = cilindros de 16065 * 512 = 8225280 bytes
Disposit. Inicio Principio Fin Bloques Id Sistema
/dev/hdd1 1 128 1028128+ 6 FAT16
/dev/hdd2 129 250 979965 82 Linux swap
As seen, I have not yet completely partitioned the second disk. The trick for Windows 98 and 2000 to share the same virtual memory file, apart for its partition being formatted in FAT, is to force the virtual memory Windows 98 file name the same as that from Windows 2000 ("pagefile.sys"), including at 'windows\system.ini' something like the following:
[386Enh]
...
PagingDrive=d:
PagingFile=d:\pagefile.sys
MinPagingFileSize=500000
MaxPagingFileSize=1000000
Most internal components can be seen below, where appear screen captures from Windows 2000 Control Panel (Device Manager). On it appear an Epox USB BT-DG02 Bluetooth adapter and a USB to serial converter, which are connected to the laptop USB ports.
Intel CPU identification utility shows the following information about the processor:
Intel(R) Processor Identification Utility Version: 1.5.20050202 Time Stamp: 2005/05/21 08:14:53 Number of processors in system: 1 Current processor: #1 Processor Name: Intel(R) Pentium(R) 4 CPU 2.53GHz Type: 0 Family: F Model: 2 Stepping: 4 Revision: F L1 Trace Cache: 12 Kµops L1 Data Cache: 8 KB L2 Cache: 512 KB Packaging: FC-PGA2 EIST: No MMX(TM): Yes SIMD: Yes SIMD2: Yes SIMD3: No Enhanced Halt State: No Execute Disable Bit: No Hyper-Threading Technology: No Intel(R) Extended Memory 64 Technology: No Expected Processor Frequency: 2.53 GHz Reported Processor Frequency: 2.53 GHz Expected System Bus Frequency: 533 MHz Reported System Bus Frequency: 533 MHz
As storage devices appear:
Toshiba SD-R2412 internal CDRW/DVD on secondary IDE as cable select master.
Two hard disks: Fujitsu MHT2060AT on primary IDE (single) and Toshiba MK6022GAX on secondary IDE as cable select slave.
Newtrend MP3 player (SD card) as USB device.
Diskette.
Winbond memory stick (not supported in Linux).
The fast infrared port can be further inspected as being manufactured by National Semiconductor (see below).
The memory stick controller is being manufactured by Winbond. Windows shows resources used, which are port 0x110 and interrupt 5, but all this is not seen at all in Linux (see below that neither port 0x110 and interrupt 5 don't appear).
The MP3 player is the Newtrend MMC Reader USB Bulk Device. Linux sees its SD chip as a USB storage device, identified by 'lsusb' as Trumpion.
See multimonitor in Windows 98 Second Edition (BIOS LCD+CRT) in a photo:

At the left appears the laptop at 1600x1200. Below the screen there are three status leds on (on status, AC connected and BloqNum).
At the upper right there is a NEC 1760NX 17" TFT at 1280x1024, connected as external monitor to the laptop on its VGA connector.
At the lower right there is a small TV connected. It can use the laptop TV (with an included mini-DIN to RCA audio/video adaptor) output connector, but, if it is connected, there are problems at the TFT.
What is important here is that outputs in the laptop screen and in an external monitor can be independent, which calls in Linux for:
Virtual terminals in the external monitor with framebuffering (it doesn't work).
Display cloning: this would be useful for presentations. The following happens:
Text vt's: an external monitor on the VGA laptop connector clones the laptop display correctly.
X: trying to clone at 1280x1024 the laptop display at 1600x1200 what is obtained is a portion of the laptop display (what is seen is 1280x1024 from a larger virtual 1600x1200).
Xinerama (it doesn't work).
Independent desktops with different resolution (it doesn't work).
![]() |
![]() |
Kernel 2.4: I use version 2.4.25-3.
LIRC appears in kernel's 3rd. party modules, but don't
appear to work well. Instead, I used those in http:///www.lirc.org.
I haven't tested 1394. The memory stick, which uses a Winbond chip, is not
supported.
See /usr/src/linux/.config.
With this configuration are supported:
Several USB storage devices, as the laptop MP3 player.
USB serial ports with Prolific 2303 chip.
Epox USB BT-DG02 Bluetooth adapter.
Realtek 8139 ethernet adapter and AC'97 audio.
Avermedia TV card.
Kernel 2.6: see this.
Smart Link, its manufacturer, supports it in Linux. See http://www.smlink.com.
Decompressing "slmdm-2.7.14.tar.gz" (or whatever version), running commands:
make; make install-amr
and modifying '/etc/modules.conf', the modem should work.
With the Avermedia TV module you can control mouse and programs with its remote control and LIRC; life is easier if you use LIRC distribution at http:///www.lirc.org. See LIRC configuration files. Configuration is done with './configure --with-driver=avermedia'.
It is a mistery to me where is located the receiving diode is located; it works even if you don't aim at the laptop.
Another mistery is the Power button at the remote control: it turns on and off the laptop even without LIRC working and within Windows. It even does an orderly shutdown!
LIRC related items appearing in /dev and /tmp (pipe, character device, socket) depend on devfs usage:
With devfs:
$ ll /dev/lirc*
prw-r--r-- 1 root root 0 abr 30 2004 /dev/lircm|
/dev/lirc:
total 0
crw------- 1 root root 61, 0 ene 1 1970 0
$ ll /tmp/.lircd
srw-rw-rw- 1 root root 0 abr 30 08:24 /tmp/.lircd=
Without devfs:
$ ll /dev/lirc*
crw-r--r-- 1 root root 61, 0 abr 20 2004 /dev/lirc
prw-r--r-- 1 root root 0 abr 20 2004 /dev/lircd|
prw-r--r-- 1 root root 0 mar 16 11:12 /dev/lircm|
$ ll /tmp/.lircd
srw-rw-rw- 1 root root 0 mar 16 09:37 /tmp/.lircd=
With 'irw' and pressing the TV remote control, it is easy to test if LIRC works.
An interesting option for X is use synaptics rpm (such as "synaptics-0.12.4-1mdk.i586.rpm"). It makes wheel work in X.
From Windows information and from the loading of module nsc-ircc I suppose the FIR chip is NSC 87393.
'/etc/sysconfig/irda' is:
IRDA=yes
DEVICE=irda0
#DEVICE=/dev/ttyS1
#DONGLE=actisys+
DISCOVERY=yes
There are other important parameters at '/etc/modules.conf'.
When module nsc-ircc is loaded the lines written in '/var/log/messages' are:
Apr 22 17:46:20 chinito-wifi kernel: nsc-ircc, Found chip at base=0x04e
Apr 22 17:46:20 chinito-wifi kernel: nsc-ircc, driver loaded (Dag Brattli)
Apr 22 17:46:20 chinito-wifi kernel: IrDA: Registered device irda0
Apr 22 17:46:20 chinito-wifi kernel: nsc-ircc, Using dongle: HP HSDL-2300, HP HSDL-3600/HSDL-3610
Apr 22 17:46:20 chinito-wifi irattach: executing: 'echo chinito > /proc/sys/net/irda/devname'
Apr 22 17:46:20 chinito-wifi irda: inicio de irattach succeeded
Apr 22 17:46:20 chinito-wifi irattach: executing: 'echo 1 > /proc/sys/net/irda/discovery'
Apr 22 17:46:20 chinito-wifi irattach: Starting device irda0
As said, it is an Avermedia card. I used 'scantv' for 'xawtv' configuration and channel assignment. If not having DRI enabled (check with 'glxinfo'), should be used 'xawtv -nogl'.
It is supported by the kernel.
(To be tested)
In X applications the Euro (0xA4) and Cent (0xA2) symbols appeared without any effort, but getting it in text virtual terminals required:
"/etc/sysconfig/i18n":
LC_IDENTIFICATION=es_ES
LC_NAME=es_ES
LC_TELEPHONE=es_ES
LC_TIME=es_ES
LC_PAPER=es_ES
LANG=es_ES
SYSFONT=lat9w-08
LC_COLLATE=es_ES
SYSFONTACM=iso15
LC_MONETARY=es_ES
LC_CTYPE=es_ES
LANGUAGE=es_ES:es
LC_ADDRESS=es_ES
LC_MESSAGES=es_ES
LC_NUMERIC=es_ES
LC_MEASUREMENT=es_ES
"/etc/sysconfig/keyboard":
KEYBOARD=es
KBCHARSET=iso-8859-15
KEYTABLE=es-latin1
GRP_TOGGLE=euro
Decompress "/usr/lib/kbd/keymaps/i386/include/euro.inc.gz", uncomment the cent symbol, and compress it again.
Copy "/usr/lib/kbd/consolefonts/lat9w-08.psfu.gz" from a SuSE distribution. I wonder if Mandrake contains the fonts for the Euro and Cent symbols.
X version in Mandrake 9.2 is 4.3. Here is a simple configuration file that works with the LCD screen at 1600x1200: "/etc/X11/XF86Config-4". See that it supports the LIRC mouse and the Synaptics touchpad.
Attaching an external CRT, I have also tried Xinerama but it didn't work. This is the file: "etc/X11/XF86Config-4 for Xinerama".
Tha graphic chip is made by ATI. It is a Radeon R250 Lf (Radeon Mobility 9000 M9).
Having connected at the laptop the following:
and having loaded:
which gives this 'dmesg', this is miscellaneous information:
Cdrecord-Clone 2.01a32-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to <warly@mandrakesoft.com>.
Note: The author of cdrecord should not be bothered with problems in this version.
scsidev: 'ATAPI:0,0,0'
devname: 'ATAPI'
scsibus: 0 target: 0 lun: 0
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'TOSHIBA '
Identifikation : 'DVD-ROM SD-R2412'
Revision : '1015'
Device seems to be: Generic mmc2 DVD-ROM.
CPU0 |
|||
0: |
45910 |
XT-PIC |
timer |
1: |
808 |
XT-PIC |
keyboard |
2: |
0 |
XT-PIC |
cascade |
3: |
5477 |
XT-PIC |
irda0 |
4: |
45 |
XT-PIC |
serial |
6: |
30 |
XT-PIC |
floppy |
7: |
0 |
XT-PIC |
parport0 |
8: |
1 |
XT-PIC |
rtc |
9: |
3 |
XT-PIC |
acpi |
10: |
709 |
XT-PIC |
usb-uhci, usb-uhci, usb-uhci, ehci_hcd, eth0, radeon@PCI:1:0:0 |
11: |
5344 |
XT-PIC |
usb-uhci, usb-uhci, bttv0, ohci1394, Intel 82801CA-ICH3, ICH/SmartRiser |
12: |
2883 |
XT-PIC |
PS/2 Mouse |
14: |
10496 |
XT-PIC |
ide0 |
15: |
55 |
XT-PIC |
ide1 |
NMI: |
77 |
||
LOC: |
45862 |
||
ERR: |
0 |
||
MIS: |
0 |
Everything appears except the Winbond memory stick chip, which uses port 0x110 and interrupt 5.
'rpm -qa|wc -l' shows 1085. Some interesting programs are:
For measuring the performance of the different storage devices (the two disks, the CDROM unit (with a data CD inside), and the SD card on the MP3 player, but not the floppy), I tried the following script:
#!/bin/sh
time dd if=/dev/hda of=/dev/null bs=4096 count=50000
time dd if=/dev/hdd of=/dev/null bs=4096 count=50000
time dd if=/dev/scd0 of=/dev/null bs=4096 count=50000
time dd if=/dev/sda1 of=/dev/null bs=4096 count=50000
and the result was:
50000+0 registros leídos
50000+0 registros escritos
0.05user 0.29system 0:08.16elapsed 4%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (170major+47minor)pagefaults 0swaps
50000+0 registros leídos
50000+0 registros escritos
0.04user 0.35system 0:06.74elapsed 5%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (170major+48minor)pagefaults 0swaps
50000+0 registros leídos
50000+0 registros escritos
0.05user 0.29system 1:44.42elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (170major+47minor)pagefaults 0swaps
50000+0 registros leídos
50000+0 registros escritos
0.03user 0.32system 8:35.54elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (170major+47minor)pagefaults 0swaps
Also interesting:
/etc/X11/XF86Config-4 for Xinerama (does not work)
New:
To do:
Test 1394.
Packet writing on the CDRW.
Test ATI own drivers.
Get text framebuffer vt's in external monitor.
Find Euro and Cent fonts for text virtual terminals somewhere in the Mandrake files.
Make Xinerama work.
Memory stick support.
Kernel 2.6 support: see this.
(Pending to be filled)
For sharing experiences about all this: webillo<at>gmail.com.
Last update 11/08/05