Toshiba Portege 4000 and NetBSD 1.6
27.9.2001 Teemu Rinta-aho (teemu@rinta-aho.org)

What works with my configuration:

What doesn't work or isn't tested:

I assume you are familiar with NetBSD or generally with operating systems (not counting Windows), as this is just a tips page for this specific laptop and operating system combination. If you're new to NetBSD, see instructions at http://www.netbsd.org. The XFree86 tips also apply to Linux, especially the keyboard repeat problem which is independent of the operating system.

I got my Portege with Windows 98 installed. I booted it once to check out that it is working, and then I booted it up with the USB floppy drive that came with a Portege 3440 and NetBSD boot disks (boot1.fs and boot2.fs). I used half of the hard disk for NetBSD and the other half was left for another operating system. There was nothing special with the FTP installation, everything worked as always. I don't know if the installation works from a CD (why wouldn't it ;-).

Next, I grabbed the source code for the operating system, package system and the XFree86. I compiled the userland and then the kernel with the following configuration (TR4000), which is derived from GENERIC, but cleaned up unnecessary drivers and other unnecessary things.

The next thing was to compile XFree86. I suggest using the USE_XF86_4 variable with make, so that you get XFree86 4.x. Current version is 4.2.0 and it works beautifully with the Portege 4000 (if it is configured to). Here is my /etc/X11/XF86Config. This should also work without too many modifications in Linux.

After starting X, it didn't take long to notice that there is a bug in the internal keyboard or the X keyboard driver. When I typed fast enough, extra letters appeared llikkke thiiss.. It could be solved by setting the DebounceDelay option in XKB configuration. Here is my /usr/X11R6/lib/X11/xkb/X0-config.keyboard. It will probably fix the problem in Linux also.

So far, everything seems to be working quite nicely. I am sure there is a lot to tune in my settings, but at least this way the machine is working... I guess there would be too much work for me in writing the Bluetooth or the modem drivers.. But if you need a beta tester for your drivers, contact me ;-)

Note that if you want to mount a CD/DVD disc, use the /dev/cd0d device, not /dev/cd0a, it won't work...

Useful links: