=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/Attic/i386-laptop.html,v retrieving revision 1.38 retrieving revision 1.39 diff -u -r1.38 -r1.39 --- www/Attic/i386-laptop.html 2000/12/12 19:48:19 1.38 +++ www/Attic/i386-laptop.html 2000/12/15 09:32:05 1.39 @@ -147,12 +147,49 @@ IBM Thinkpad 770Z - As of OpenBSD 2.8, everything works fine.

+

As of OpenBSD 2.8, almost everything works fine.

- The clcs driver is somewhat flakey, so you're best off - disabling it. It doesn't really matter though since the sb - will attach and work fine.

+

This laptop does not really have a BIOS; most of the device + settings, like IRQ assignements 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 driver is somewhat flakey, so you're best off + disabling it. It doesn't really matter though since the + soundblaster (sb) 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.

@@ -160,6 +197,80 @@ + 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] 
+*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.

+ +

The miniPCI card I have is a WinModem, which does not work; + the ethernet version works under OpenBSD. I have not tested + the Ethernet-modem combo card.

+ +

Sound (CS4614) works fine. To avoid system freeze when using + Cardbus and audio simultaneously, you need to set at least two + IRQs for use by PCI devices, in the BIOS; I use 9 and 11.

+ +

APM works except for hibernation (requires OS support) and + powerdown ("halt -p", just sits there after filesystems are + unmounted). 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). These patches have supposedly been folded into + XFree86 4.0.2. 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 (at 32bpp I + see a lot of flickering -- this may be fixed in subsequent + versions of the driver, so keep trying).

+ +

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 XFree 4.0 can be found here.

+ +

Contact Angelos Keromytis.

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

@@ -427,7 +538,7 @@ OpenBSD www@openbsd.org
-$OpenBSD: i386-laptop.html,v 1.38 2000/12/12 19:48:19 deraadt Exp $ +$OpenBSD: i386-laptop.html,v 1.39 2000/12/15 09:32:05 angelos Exp $