[OpenBSD]

i386 Laptop Status

This is a list of laptops known to be working with OpenBSD 2.8

If your laptop isn't listed below that doesn't mean that it isn't working, and you will most likely find a similar model that is listed below. Starting with OpenBSD 2.6, almost all laptops worked very well, with only minimal issues remaining. Later OpenBSD releases perform even better.

Of those that have problems..

If you have your laptop working (or not working) and it isn't listed below, please mail www@openbsd.org so that it can be listed. Please supply as much information as possible.

APM problem reports should be sent to our APM developers, Michael Shalayeff and Tobias Weingartner.

Laptop Notes
Sony VAIO F430 As of OpenBSD 2.6-Current (Feb 17/00)

APM: "zzz" suspend works, as does the keyboard suspend. "halt -p" and "apm -S" don't. (but I've yet to look for phdisk utilities below - will be investigating shortly.)

DVD drive, floppy all function. Ethernet works after wakeup with the card I'm using (3Com 3c589).

Contact Bob Beck.

Sony VAIO z505r APM support: "zzz", suspend via keyboard, hibernation via keyboard, and "halt -p" all work. "apm -S" wakes up immediately.

Hibernation uses a block at the end of the disk, approximately 3-5MB larger than the memory in your machine. To repair hibernation, use "phdisk.exe /create /partition" to setup the partition. The phdisk program is available on the boot floppy image provided on the first recovery CD.

Built-in ethernet works fine, but occasionally requires reset after suspend using "ifconfig fxp0 down; ifconfig fxp0 up".

After a suspend, the profiling clock is not running. Patches are being worked on.

Sound is supported using the neo(4) device driver. Sometimes upon boot, a hang happens when trying to determine the AC97 mixer type.

When the memory stick slot is empty, it can cause errors which overflow the dmesg buffer, and thus confuse the OpenBSD install program. The BIOS Setup, (accessed using F2), has an option to disable the memory stick.

An XF86Config file suitable for use with XFree86 3.3.X may be found here.

Contact Theo de Raadt.

Sony VAIO z505s Similar to the VAIO z505r, except that the provided USB floppy has some problems.

Contact Niels Provos.

Sony VAIO 747 Ever since OpenBSD 2.6, XFree86 and APM do work.

Ships with a PCMCIA modem card (COM One MCC220 Platinium Card), which works.

Sound works (8 bit only).

APM behaviour similar to the VAIO z505r, except that hibernation has not been tested.

USB does not work.

An XF86Config file can be found here.

Contact Markus Friedl.

Sony VAIO PCG 505-FX Unknown.
IBM Thinkpad 701C All features including hibernation and APM work.

Contact Todd Fries.

IBM Thinkpad 770Z

As of OpenBSD 2.8, almost everything works fine.

This laptop does not really have a BIOS; most of the device settings, like IRQ assignments etc. have to be done through Windows.

You can get the serial and infrared ports to be recognized as com* devices by playing with the IRQ assignments in Windows. Likewise for the parallel port (it's lpt2).

You will need this line in your kernel configuration file for APM to work at all:

option         APM_DISABLE_INTERRUPTS=0

Hibernation (save to disk) works fine as long as you have a Windows partition with enough disk space (a bit more than the system memory). Suspend/resume/powerdown all work fine; however, doing hibernation while in X windows (tested in XFree86 3.3.6) causes framebuffer corruption and it seems that the only way to recover is to exit and restart the X server; switching virtual terminals doesn't fix it. It has been suggested that switching between different resolutions might fix it. XFree86 4.0 fixes that problem, but last I checked did not have accelerated support for the driver. The best work-around is to switch to text mode before hibernating.

If you enable the external monitor (Fn+F7), XFree86 3.3.6 goes into some weird rainbow pattern and eventually freezes the system (unless you switch to text mode or otherwise kill the server within a few seconds); if you switch to text mode, you have to kill the X server (switching back to graphics mode will cause a crash). Enabling the external monitor while in video mode causes no side effects; you can then start X or switch to it if it's already running.

The clcs(4) driver is somewhat flakey, so you're best off disabling it. It doesn't really matter though since the soundblaster (sb(4)) will attach and work fine. You may have to play with IRQ assignments to get that to work.

An XF86Config file can be found here.

Contact Angelos Keromytis.

IBM Thinkpad A21p See the entry for the T21. Everything is the same except for the video card, which is an ATI Rage 128 Mobility LF. OpenBSD 2.8 post mid-December with XFree86 4.0.2 works great at 1600x1200 24bpp. You need to:
		sysctl -w machdep.allowaperture=2
	
and enter the correct frequency ranges in the Monitor section of XF86Config. Here's a sample working XF86Config.
IBM Thinkpad T21

As of OpenBSD 2.8, everything works fine.

Here is the fdisk output; the easiest way of getting there is to resize the Windows partition (I use PartitionMagic) and move it to the end of the disk, then create an OpenBSD partition (and ignore the partition resizing fdisk does -- just go ahead and create all the filesystems you need with disklabel).

         Starting        Ending
 #: id  cyl  hd sec -   cyl  hd sec [     start -       size]
-------------------------------------------------------------------------
 0: 1C 1023   1   1 -  1023 239  63 [  42003423 -   20502657] <Unknown ID>
*1: A6    0   1   1 -  1021 239  63 [        63 -   15452577] OpenBSD     
 2: 00    0   0   1 -     0   0   0 [         0 -          0] unused      
 3: 00    0   0   1 -     0   0   0 [         0 -          0] unused      

To get it to see the serial and infrared ports (both as com* devices), you need to play with the IRQ assignments in the BIOS; just set them to the default values as found in the GENERIC config file. Likewise for the parallel port (OpenBSD can see lpt2). You may have to play with the Windows assignments for this as well.

There's at least two miniPCI cards available at this point: one is an (unsupported) WinModem, and the other is a combo ethernet/modem card. The ethernet works just fine (detected as an fxp/inphy card); the modem looks like it's a real one, but it's not yet supported.

Sound (CS4614) works fine. To avoid system freeze when using Cardbus and audio simultaneously, you *may* need to set at least two IRQs for use by PCI devices, in the BIOS; I use 9 and 11. It is also necessary to turn off PCI Power Management in the BIOS Power configuration (that's the only menu that scrolls, so make sure you go to the bottom of the page :-)

APM works except for hibernation (requires OS support). To get "halt -p" to work, you must set the sysctl variable machdep.apmhalt to 1 (you need OpenBSD 2.8-current with sources from mid-January, or later). You will need this line in your kernel configuration file for APM to work at all:

option         APM_DISABLE_INTERRUPTS=0

Although the video card is supposed to work with XFree86 3.3.6pl8, I've only managed to get it to work with XFree86 4.0.1 with the patches found here (you can also find binaries of the driver for OpenBSD 2.8 at the same location). You need to have a kernel with "option INSECURE" and set the securelevel to -1 in /etc/rc.securelevel (so the X server can open /dev/mem and mmap() the BIOS). In this configuration, it can do 1400x1050 at 16bpp (version 1.1.13 of the savage driver works fine at 24bpp as well).

UPDATE: The above-mentioned patches have been included in XFree86 4.0.2, and work out of the box. You don' need a kernel with the option INSECURE set, just set the machdep.allowaperture sysctl variable to 2, typically in /etc/sysctl.conf, if you have an OpenBSD 2.8 (or later) built from sources updated after December 15th 2000.

Note that some models only do 1024x768. Those that do 1400x1050, can also do 1600x1200 using a virtual screen (wherein the whole display shifts as you go "off-screen"); I have not tested whether that works (it does in Windows).

If you close the lid of the laptop, the system suspends; under XFree86 4.0, resuming works fine with respect to the display (XFree86 3.3.6 might not be able to cope with this -- it couldn't on the ThinkPad 770Z).

An XF86Config file for XFree86 4.0 can be found here.

UPDATE Apparently, recent T21s have the ATI Rage 3D Rage Mobility instead. Here's an XF86Config for XFree86 4.0 for this configuration.

One annoying thing is when you take out one of the UltraBay 2000 devices; the system starts beeping. The only way to make it stop is to suspend and then plug in a device in the UltraBay (not necessarily the same one). Note that hot-swap of UltraBay 2000 devices is not currently supported in OpenBSD (as of 2.8), thus it's only safe to hot-swap batteries.

Contact Angelos Keromytis.

IBM Thinkpad 760 As of OpenBSD 2.6, XFree86 and APM do not work.

Newer versions of XFree86 support X, and patches are available.

MWave modem/sound does not work.

APM has been fixed post-2.6 as well, and patches are forthcoming.

Contact Todd Fries.

IBM Thinkpad T20 Running OpenBSD 2.7 (and later) apm mostly works. To get "halt -p" to work, you must set the sysctl variable machdep.apmhalt to 1 (you need OpenBSD 2.8-current with sources from mid-January, or later). The unit goes into suspend mode when top is closed. Restores nicely when top opened.

Built in modem is a winmodem... ignore it. Actually it is on a `mini-pci' card so it can probably be removed.

Audio works, but you have to turn off PCI sleep mode in the BIOS.

OpenBSD X11 supports this machine as of 2.8, but there is lots of visual noise at 32bpp. Image is fine at 16 bpp. XF4 config file for OpenBSD 2.9 can be found here

See http://www.snafu.org/t20/ for more info.

Contact Marco S Hyman.

Toshiba Libretto 50CT APM works but you need to be careful not to use the last 32meg or so of the disk since that's where the BIOS dumps the long time hibernation image. You can take a look at the bios geometry in disklabel to see exactly how many sectors it wants. Failure to do so will cause filesystem corruption during suspend.

The libretto uses a single IRQ for both sb(4) and wss so the best thing to do is to choose one and disable the other in the kernel. The pcmcia external floppy drive is not currently supported by OpenBSD, but it can be used during the install.

Installation can be a bit tricky with only a single pcmcia slot. The best way to do this is to do a network install. To do this, load the boot floppy and at the boot prompt, enter boot -c. When you see the UKC prompt, unplug the floppy drive, plug in your network card, and then type exit. The kernel will then probe the network card and you should be able to do a normal network install. You may find it necessary to disable the sound devices in the BIOS in order for the boot floppy to correctly detect your network card.

An XF86Config file suitable for use with XFree86 3.3.X may be found here.

Contact Todd Miller.

Toshiba Libretto 100CT Most of the information listed in the Libretto 50CT entry apply to the 100CT as well.

X11 works in 800x400 mode. An XF86Config file suitable for use with XFree86 3.3.X may be found here.

Contact Todd Miller.

Toshiba Portege 660CDT APM is completely broken.

The mixed sb(4) and wss(4) sound hardware can cause some grief. Newer versions of the flash BIOS are worse, since they are less flexible about what interrupts they allow.

Contact Theo de Raadt.

Digital HiNote VP735 APM works fully.

Everything on the machine works.

An XF86Config file suitable for use with XFree86 3.3.X may be found here.

Contact Michael Shalayeff.

Fujitsu Lifebook C325 APM works fully.

Sound works when the BIOS is told to activate SB emulation mode. Everything else on the machine works.

Contact Tom Knienieder.

Fujitsu Stylistic 500 APM works.

Serial port doesn't work.

Some tweaks needed for small memory kernel (4Mb).

X 'works' (thrashes like crazy).

Contact David Leonard.

Siemens SCENIC Mobile 360 APM works fully.

Sound works, using OSS.

Contact Dan Carlsson.

Dell Inspiron 3200 D233XT (Bios release: A10) APM works fully.

Suspend (to ram or disk) does not work under X (X server does not restore screen upon resume), but DPMS do (screen is turned off after a while if the machine isn't used). BIOS APM settings (for automatic suspend) interfere with X server, and should be disabled.

Suspend to disk needs a DOS (FAT16) partition containing a file named "SAVE2DSK.BIN". This file which is created via Dell tools under Windows 98 (it's present out of factory), is sized (ram size + 2 or 3 MB). An ad hoc DOS partition is thus required (it must be the first partition on disk).

PCMCIA: works except "live" card ejection or insertion (which lock the machine, a hard reset is required).

USB: does not work, if enabled, kernel hangs at boot during USB controller detection.

Contact Dan Carlsson.

Toshiba Tecra 500CS APM is broken, However it halt -p does work.

Sound works by default with the GENERIC kernel, but with the speakers is not really worth it. X runs nicely as well.

Contact Eric Jackson.

Toshiba Tecra 500CDT APM is completely broken (and can trash your disk).

XFree86 works (800x600 16bpp).

Sound works (21739 Hz, half duplex stereo).

Contact Brad Smith, or David Leonard.

Toshiba Tecra 550CDT APM deep sleep (zzz) works, but -S wakes up immediately.

XFree86 works beautifully.

Sound works, after some IRQ tinkering in the BIOS.

USB works; at least, I plugged a digital camera in, and the ugen(4) driver detected and configured it.

The built-in modem does not work since it requires software only available in Windows; that is, it does not implement a true RS232 communication port.

The pcic is broken in this machine, so I cannot accurately comment on PCMCIA attach/detach.

Contact Aaron Campbell.

NEC Versa 2000 APM works fully.

Everything on the machine works.

Contact Michael Shalayeff.

Acer TravelMate 345 As of OpenBSD 2.7-CURRENT, APM works.

XFree86 works (800x600 16bpp).

Sounds works.

Lucent modem does not work.

Contact Kevin Lo.

Compaq Armada M700

APM works correctly, but you cannot suspend while in X. You must suspend from the console. CardBus works.

Internal 10/100 Ethernet (for those models that have it). Works beautifully with the fxp(4) driver.

No sound support as of now. People are supposedly working on this.

No internal modem support as of now. (It's a winmodem.) There is a binary only driver for Linux. There is also the linmodem project that is trying to make an opensource winmodem driver.

An XF86Config file can be found here.

Contact Nathan Binkert.

Dell Latitude CPt

apm -z and -S work.

Sound works.

XFree86 v3 works in 1024x768x24bpp. XF4 looks better in 16bpp.

Both PCMCIA slots work.

USB is detected, but untested. It does not appear to work after a suspend.

An XF4 config file can be found here.

Contact Paul Wang.


OpenBSD www@openbsd.org
$OpenBSD: i386-laptop.html,v 1.50 2001/06/05 00:22:58 horacio Exp $