You are not logged in.

#1 2020-01-11 14:14:03

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 86
Website

IBM Thinkpad 240X

DSCN0873.JPG

https://youtu.be/GojRNIliZnc

Maybe this time the rating AI gods at Google/Youtube show mercy and leave the video up.

Offline

#2 2020-01-11 20:58:38

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 548

Re: IBM Thinkpad 240X

Nice, I never succeeded in getting any graphics running on my old coppermine p3 even after I stuck 512 MB of RAM in it, but presumably your laptop has some kind of video driver.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#3 2020-01-12 09:26:46

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 86
Website

Re: IBM Thinkpad 240X

Yeah, I'll write a installation guide, it's a SiS X driver, which works (almost) out of the box with Xorg 1.20.

Offline

#4 2020-02-13 14:08:28

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 86
Website

Re: IBM Thinkpad 240X

I lack the cable for the external CD-ROM drive. PXE was not possible (the only way to get network on this machine
is via a PCMCIA card, either Wifi or Ethernet, so, no option either). I went with the external floppy containing the PLOPP bootloader and a i686 boot ISO on a USB (because the machine has USB 1.1, but cannot boot from it).

The original harddisk was replaced with a 16 GB compact flash. The harddisk connector is a little bit proprietary, but the old broken
hard disk had an adapter on it for PATA-IDE. pcengines still provides ATA connectors for those compact flashes, so that was a
perfect match.

X11 is the only thing, which is a little bit tricky on the machine to get running:

You need xf86-video-siliconmotion for the "Silicon Motion, Inc. SM712 LynxEM+ " graphics card.
There are currently some issues around some memory corruption when playing videos on 24-bit colour depth, I suspect
it has to do with too little memory available or even some defective memory.

Xorg.conf has to be done in the classical manual style:

Section "InputClass"
    Identifier "Trackpoint Wheel Emulation"
    Driver "evdev"
    MatchProduct "TPPS/2 IBM TrackPoint"

    MatchDevicePath "/dev/input/event*"
    Option  "EmulateWheel"  "true"
    Option  "EmulateWheelButton" "2"
    Option  "Emulate3Buttons" "true"
    Option  "XAxisMapping"  "6 7"
    Option  "YAxisMapping"  "4 5"
EndSection

Section "Module"
    Load "exa"
    Load "int10"
    Load "vgahw"
    Load "fb"
    Load "vbe"
EndSection

Section "Device"
    Identifier    "Configured Video Device"
    Driver        "siliconmotion"
    Option        "NoAccel"
    Option        "AccelMethod" "XAA"
    Option        "UseBIOS" "false"
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Device        "Configured Video Device"
    DefaultDepth    16
    Subsection "Display"
        Depth       16
        Modes       "800x600"
    EndSubsection
EndSection

Option "UseBIOS" "false" is really important to get KVM text mode / graphic mode switching working.
EXA acceleration just gave me distorted graphics or hangups, so I'm setting "AccelMethod" to "XAA".
Also important is: you have to manually load all dependend X11 modules by hand, it won't load  do
that automatically.

The machine has only 128MB RAM. Modern Linux kernels allocate some insane amounts of memory
for the IO-MMU (which the machine most definitely doesn't have), so set "iommu=off" as boot option
if you don't want to loose 64MB of RAM for nothing. :-)

I'm using a window manager like LXDE or notion on it. Also xterm is way too slow, so I turned to 'st'
(sucklessly). Netsurf and dillo work fine, seamonkey comes up with a swapfile, but is no joy to work
with. Modern firefox or chromium are out of question. Libreoffice works with an activated swap.
Abiword works just fine. My IDE (geany) works nicely. So I can develop operating systems on this machine
with qemu emulating them, but I can almost not open a simple web page. :-)

Offline

Board footer

Powered by FluxBB