Annotation of www/i386-laptop.html, Revision 1.42
1.1 deraadt 1: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML Strict//EN">
2: <html>
3: <head>
4: <title>OpenBSD/i386 Laptop Page</title>
5: <link rev=made href=mailto:www@openbsd.org>
6: <meta name="resource-type" content="document">
1.17 wvdputte 7: <meta name="description" content="OpenBSD laptop">
1.1 deraadt 8: <meta name="keywords" content="openbsd,main">
9: <meta name="distribution" content="global">
10: <meta name="copyright" content="This document copyright 1997,1998 by OpenBSD.">
11: </head>
12:
13: <BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#23238E">
14: <img alt="[OpenBSD]" height=30 width=141 SRC="images/smalltitle.gif">
15: <p>
16: <h2><font color=#e00000>i386 Laptop Status</font><hr></h2>
17:
18: <p>
19: This is a list of laptops known to be working with OpenBSD 2.6.
20:
21: <p>
22: If your laptop isn't listed below that doesn't mean that it isn't working,
1.38 deraadt 23: and you will most likely find a similar model that is listed below. Starting
24: with OpenBSD 2.6, almost all laptops worked very well, with only minimal
25: issues remaining. Later OpenBSD releases performed even better.
26: <p>
27: Of those that have problems..
1.1 deraadt 28: <ul>
1.5 deraadt 29: <li>Some exhibit problems with APM support. Note that <strong>apm -S</strong>
30: fails to suspend some laptops, but this is not a major concern.
1.38 deraadt 31: <li>Some lack sound support
32: <li>A few have subtle bugs with their PCMCIA and Cardbus support
33: <li>XFree86 does not support some displays properly. Sometimes XFree86 4.x helps.
1.1 deraadt 34: <li>Or some other built-in device doesn't work..
35: <li>Some have problems with pcmcia card eject interrupts.
36: </ul>
37:
38: <p>
39: If you have your laptop working (or not working) and it isn't listed below,
1.4 deraadt 40: please mail <a href="mailto:chris@openbsd.org">chris@openbsd.org</a> so that it
1.1 deraadt 41: can be listed. Please supply as much information as possible.
42:
43: <p>
44: APM problem reports should be sent to our APM developers,
45: <a href=mailto:mickey@openbsd.org>Michael Shalayeff</a> and
46: <a href=mailto:weingart@openbsd.org>Tobias Weingartner</a>.
47:
48: <p>
49: <table border=1>
50: <tr>
51: <th>Laptop</th>
52: <th>Notes</th>
53: </tr><tr>
54: <td>
1.15 beck 55: Sony VAIO F430
56: </td><td>
57: As of OpenBSD 2.6-Current (Feb 17/00)<P>
58:
59: APM: "<strong>zzz</strong>" suspend works, as does the keyboard
60: suspend. "<strong>halt -p</strong>" and "<strong>apm -S</strong>"
61: don't. (but I've yet to look for phdisk utilities below - will be
62: investigating shortly.) <P>
63:
64: DVD drive, floppy all function. Ethernet works after wakeup with
65: the card I'm using (3Com 3c589). <P>
66:
67: Contact <a href=mailto:beck@openbsd.org>Bob Beck</a>.
68: </td>
69: </tr><tr>
70: <td>
1.1 deraadt 71: Sony VAIO z505r
72: </td><td>
73: APM support: "<strong>zzz</strong>", suspend via keyboard, hibernation
74: via keyboard, and "<strong>halt -p</strong>" all work.
75: "<strong>apm -S</strong>" wakes up immediately.<p>
76:
77: Hibernation uses a block at the end of the disk, approximately
78: 3-5MB larger than the memory in your machine. To repair hibernation,
79: use "<strong>phdisk.exe /create /partition</strong>" to setup the
80: partition. The phdisk program is available on the boot
81: floppy image provided on the first recovery CD.<p>
82:
1.38 deraadt 83: Built-in ethernet works fine, but occasionally requires reset
84: after suspend using
1.1 deraadt 85: "<strong>ifconfig fxp0 down; ifconfig fxp0 up</strong>".<p>
86:
87: After a suspend, the profiling clock is not running. Patches are
88: being worked on.<p>
89:
1.38 deraadt 90: Sound is supported using the neo(4) device driver. Sometimes upon
91: boot, a hang happens when trying to determine the AC97 mixer type.<p>
1.1 deraadt 92:
93: When the memory stick slot is empty, it can cause errors which overflow
94: the dmesg buffer, and thus confuse the OpenBSD install program.
95: The BIOS Setup, (accessed using F2), has an option to disable the
96: memory stick.<p>
97:
1.19 deraadt 98: An XF86Config file suitable for use with XFree86 3.3.X may be
1.21 markus 99: found <a href="xf86configs/vaioz505r">here</a>.
1.19 deraadt 100: <p>
101:
1.1 deraadt 102: Contact <a href=mailto:deraadt@openbsd.org>Theo de Raadt</a>.
103: </td>
104: </tr><tr>
105: <td>
106: Sony VAIO z505s
107: </td><td>
108: Similar to the VAIO z505r, except that the provided USB floppy has
109: some problems.<p>
110: Contact <a href=mailto:provos@openbsd.org>Niels Provos</a>.
111: </td>
112: </tr><tr>
113: <td>
114: Sony VAIO 747</td>
115: </td><td>
1.33 markus 116: Ever since OpenBSD 2.6, XFree86 and APM do work.<p>
1.2 markus 117:
118: Ships with a PCMCIA modem card (COM One MCC220 Platinium Card), which works.<p>
119:
120: Sound works (8 bit only).<p>
121:
122: APM behaviour similar to the VAIO z505r,
123: except that hibernation has not been tested.<p>
124:
125: USB does not work.<p>
126:
1.21 markus 127: An XF86Config file can be found
128: <a href="xf86configs/vaio747">here</a>.<p>
129:
1.2 markus 130: Contact <a href=mailto:markus@openbsd.org>Markus Friedl</a>.
1.1 deraadt 131: </td>
132: </tr><tr>
133: <td>
134: Sony VAIO PCG 505-FX
135: </td><td>
136: Unknown.
137: </td>
138: </tr><tr>
139: <td>
140: IBM Thinkpad 701C
141: </td><td>
142: All features including hibernation and APM work.<p>
143:
144: Contact <a href=mailto:todd@openbsd.org>Todd Fries</a>.
145: </td>
146: </tr><tr>
147: <td>
148: IBM Thinkpad 770Z
149: </td><td>
1.39 angelos 150: <p>As of OpenBSD 2.8, almost everything works fine.</p>
1.1 deraadt 151:
1.39 angelos 152: <p>This laptop does not really have a BIOS; most of the device
153: settings, like IRQ assignements etc. have to be done through
154: Windows.</p>
155:
156: <p>You can get the serial and infrared ports to be recognized
157: as com* devices by playing with the IRQ assignments in
158: Windows. Likewise for the parallel port (it's lpt2).</p>
159:
160: <p>You will need this line in your kernel configuration file for
161: APM to work at all:</p>
162:
163: <pre>
164: option APM_DISABLE_INTERRUPTS=0
165: </pre>
166:
167: <p>Hibernation (save to disk) works fine as long as you have a
168: Windows partition with enough disk space (a bit more than the
169: system memory). Suspend/resume/powerdown all work fine;
170: however, doing hibernation while in X windows (tested in
171: XFree86 3.3.6) causes framebuffer corruption and it seems that
172: the only way to recover is to exit and restart the X server;
173: switching virtual terminals doesn't fix it. It has been
174: suggested that switching between different resolutions might
175: fix it. XFree86 4.0 fixes that problem, but last I checked did
176: not have accelerated support for the driver. The best
177: work-around is to switch to text mode before hibernating.</p>
178:
179: <p>If you enable the external monitor (Fn+F7), XFree86 3.3.6
180: goes into some weird rainbow pattern and eventually freezes
181: the system (unless you switch to text mode or otherwise kill
182: the server within a few seconds); if you switch to text mode,
183: you have to kill the X server (switching back to graphics mode
184: will cause a crash). Enabling the external monitor while in
185: video mode causes no side effects; you can then start X or
186: switch to it if it's already running.</p>
187:
188: <p>The clcs driver is somewhat flakey, so you're best off
189: disabling it. It doesn't really matter though since the
190: soundblaster (sb) will attach and work fine. You may have to
191: play with IRQ assignments to get that to work.</p>
1.1 deraadt 192:
1.34 nate 193: An XF86Config file can be found
194: <a href="xf86configs/thinkpad770z">here</a>.<p>
1.12 chris 195:
1.1 deraadt 196: Contact <a href=mailto:angelos@openbsd.org>Angelos Keromytis</a>.
197: </td>
198: </tr><tr>
199: <td>
1.39 angelos 200: IBM Thinkpad T21
201: </td><td>
202: <p>As of OpenBSD 2.8, everything works fine.</p>
203:
204: <p>Here is the fdisk output; the easiest way of getting there is
205: to resize the Windows partition (I use PartitionMagic) and move
206: it to the end of the disk, then create an OpenBSD partition
207: (and ignore the partition resizing fdisk does -- just go ahead
208: and create all the filesystems you need with disklabel).</p>
209:
210: <pre>
211: Starting Ending
212: #: id cyl hd sec - cyl hd sec [ start - size]
213: -------------------------------------------------------------------------
214: 0: 1C 1023 1 1 - 1023 239 63 [ 42003423 - 20502657] <Unknown ID>
215: *1: A6 0 1 1 - 1021 239 63 [ 63 - 15452577] OpenBSD
216: 2: 00 0 0 1 - 0 0 0 [ 0 - 0] unused
217: 3: 00 0 0 1 - 0 0 0 [ 0 - 0] unused
218: </pre>
219:
220: <p>To get it to see the serial and infrared ports (both as com*
221: devices), you need to play with the IRQ assignments in the
222: BIOS; just set them to the default values as found in the
223: GENERIC config file. Likewise for the parallel port (OpenBSD
224: can see lpt2). You may have to play with the Windows
225: assignments for this as well.</p>
226:
227: <p>The miniPCI card I have is a WinModem, which does not work;
228: the ethernet version works under OpenBSD. I have not tested
229: the Ethernet-modem combo card.</p>
230:
231: <p>Sound (CS4614) works fine. To avoid system freeze when using
232: Cardbus and audio simultaneously, you need to set at least two
233: IRQs for use by PCI devices, in the BIOS; I use 9 and 11.</p>
234:
1.41 angelos 235: <p>APM works except for hibernation (requires OS support). To
236: get "halt -p" to work, you must set the sysctl variable
237: machdep.apmhalt to 1 (you need OpenBSD 2.8-current with
238: sources from mid-January, or later). You will need this line
239: in your kernel configuration file for APM to work at all:</p>
1.39 angelos 240:
241: <pre>
242: option APM_DISABLE_INTERRUPTS=0
243: </pre>
244:
245: <p>Although the video card is supposed to work with XFree86
246: 3.3.6pl8, I've only managed to get it to work with XFree86
247: 4.0.1 with the patches found <a
248: href="http://www.probo.com/timr/savagemx.html">here</a> (you
249: can also find binaries of the driver for OpenBSD 2.8 at the
1.40 angelos 250: same location). You need to have a kernel with "option
1.39 angelos 251: INSECURE" and set the securelevel to -1 in /etc/rc.securelevel
252: (so the X server can open /dev/mem and mmap() the BIOS). In
253: this configuration, it can do 1400x1050 at 16bpp (at 32bpp I
254: see a lot of flickering -- this may be fixed in subsequent
255: versions of the driver, so keep trying).</p>
256:
1.41 angelos 257: <p><b>UPDATE:</b> The above-mentioned patches have been
258: included in XFree86 4.0.2, and work out of the box. You don'
259: need a kernel with the option INSECURE set, just set the
1.40 angelos 260: machdep.allowaperture sysctl variable to 2, typically in
261: /etc/sysctl.conf, if you have an OpenBSD 2.8 (or later) built
262: from sources updated after December 15th 2000.</p>
263:
1.39 angelos 264: <p>Note that some models only do 1024x768. Those that do
265: 1400x1050, can also do 1600x1200 using a virtual screen
266: (wherein the whole display shifts as you go "off-screen"); I
267: have not tested whether that works (it does in Windows).</p>
268:
269: <p>If you close the lid of the laptop, the system suspends;
270: under XFree86 4.0, resuming works fine with respect to the
271: display (XFree86 3.3.6 might not be able to cope with this --
272: it couldn't on the ThinkPad 770Z).</p>
273:
274: <p>An XF86Config file for XFree 4.0 can be found <a
275: href="xf86configs/thinkpadt21">here</a>.</p>
276:
1.40 angelos 277: <p>One annoying thing is when you take out one of the UltraBay
278: 2000 devices; the system starts beeping. The only way to make it
279: stop is to suspend and then plug in a device in the UltraBay (not
280: necessarily the same one). Note that hot-swap of UltraBay 2000
281: devices is not currently supported in OpenBSD (as of 2.8), thus
282: it's only safe to hot-swap batteries.</p>
283:
1.39 angelos 284: <p>Contact <a href=mailto:angelos@openbsd.org>Angelos Keromytis</a>.</p>
285: </td>
286: </tr><tr>
287: <td>
1.1 deraadt 288: IBM Thinkpad 760
289: </td><td>
290: As of OpenBSD 2.6, XFree86 and APM do not work.<p>
291:
292: Newer versions of XFree86 support X, and patches are available.<p>
293:
294: MWave modem/sound does not work.<p>
295:
296: APM has been fixed post-2.6 as well, and patches are forthcoming.<p>
297:
298: Contact <a href=mailto:todd@openbsd.org>Todd Fries</a>.
299: </td>
300: </tr><tr>
301: <td>
1.27 marc 302: IBM Thinkpad T20
303: </td><td>
1.42 ! marc 304: Running OpenBSD 2.7 (and later) apm mostly works. To
! 305: get "halt -p" to work, you must set the sysctl variable
! 306: machdep.apmhalt to 1 (you need OpenBSD 2.8-current with
! 307: sources from mid-January, or later). The unit goes into
! 308: suspend mode when top is closed. Restores nicely
1.27 marc 309: when top opened.<p>
310:
311: Built in modem is a winmodem... ignore it. Actually it is on
312: a `mini-pci' card so it can probably be removed.<p>
313:
1.30 marc 314: Audio works, but you have to turn off PCI sleep mode in the BIOS.<p>
1.27 marc 315:
1.36 marc 316: OpenBSD X11 supports this machine as of 2.8, but there is lots
317: of visual noise at 32bpp. Image is fine at 16 bpp.<p>
318:
1.28 marc 319: See <a href="http://www.snafu.org/t20/">http://www.snafu.org/t20/</a>
1.36 marc 320: for more info.<p>
1.28 marc 321:
1.27 marc 322: Contact <a href=mailto:marc@snafu.org>Marco S Hyman</a>.
323: </td>
324: </tr><tr>
325: <td>
1.11 millert 326: Toshiba Libretto 50CT
327: </td><td>
328: APM works but you need to be careful not to use the last
329: 32meg or so of the disk since that's where the BIOS dumps
330: the long time hibernation image. You can take a look at
331: the bios geometry in disklabel to see exactly how many sectors
332: it wants. Failure to do so will cause filesystem corruption
333: during suspend.
334: <p>
335: The libretto uses a single IRQ for both <strong>sb</strong>
336: and <strong>wss</strong> so the best thing to do is to
337: choose one and disable the other in the kernel.
338: The pcmcia external floppy drive is not currently supported
339: by OpenBSD, but it can be used during the install.
340: <p>
341: Installation can be a bit tricky with only a single pcmcia
342: slot. The best way to do this is to do a network install.
343: To do this, load the boot floppy and at the boot prompt,
344: enter <em>boot -c</em>. When you see the <em>UKC</em>
345: prompt, unplug the floppy drive, plug in your network card,
346: and then type exit. The kernel will then probe the network
347: card and you should be able to do a normal network install.
348: You may find it necessary to disable the sound devices in
349: the BIOS in order for the boot floppy to correctly detect
350: your network card.
351: <p>
1.18 millert 352: An XF86Config file suitable for use with XFree86 3.3.X may be
353: found <a href="xf86configs/libretto50ct">here</a>.
354: <p>
1.11 millert 355: Contact <a href=mailto:millert@openbsd.org>Todd Miller</a>.
356: </td>
357: </tr><tr>
358: <td>
1.20 millert 359: Toshiba Libretto 100CT
360: </td><td>
361: Most of the information listed in the Libretto 50CT entry
362: apply to the 100CT as well.
363: <p>
364: X11 works in 800x400 mode. An XF86Config file suitable for
365: use with XFree86 3.3.X may be found
366: <a href="xf86configs/libretto100ct">here</a>.
367: <p>
1.27 marc 368: Contact <a href=mailto:millert@openbsd.org>Todd Miller</a>.
1.20 millert 369: </td>
370: </tr><tr>
371: <td>
1.1 deraadt 372: Toshiba Portege 660CDT
373: </td><td>
374: APM is completely broken.<p>
375:
376: The mixed <strong>sb</strong> and <strong>wss</strong> sound
377: hardware can cause some grief. Newer versions of the flash
378: BIOS are worse, since they are less flexible about what interrupts
379: they allow.<p>
380:
381: Contact <a href=mailto:deraadt@openbsd.org>Theo de Raadt</a>.
382: </td>
383: </tr><tr>
384: <td>
385: Digital HiNote VP735
386: </td><td>
387: APM works fully.<p>
388:
1.23 mickey 389: Everything on the machine works.<p>
1.1 deraadt 390:
1.22 mickey 391: An XF86Config file suitable for use with XFree86 3.3.X may be
392: found <a href="xf86configs/hinotevp700">here</a>.
393: <p>
394:
1.1 deraadt 395: Contact <a href=mailto:mickey@openbsd.org>Michael Shalayeff</a>.
396: </td>
1.3 deraadt 397: </tr><tr>
398: <td>
399: Fujitsu Lifebook C325
400: </td><td>
401: APM works fully.<p>
402:
403: Sound works when the BIOS is told to activate SB emulation mode.
404:
405: Everything else on the machine works.<p>
406:
407: Contact <a href=mailto:tom@knienieder.com>Tom Knienieder</a>.
408: </td>
1.4 deraadt 409: </tr><tr>
410: <td>
1.14 d 411: Fujitsu Stylistic 500
412: </td><td>
413: APM works.<p>
414:
415: Serial port doesn't work.<p>
416:
417: Some tweaks needed for small memory kernel (4Mb).<p>
418:
419: X 'works' (thrashes like crazy). <p>
420:
421: Contact <a href=mailto:d@openbsd.org>David Leonard</a>.
422: </td>
423: </tr><tr>
424: <td>
1.4 deraadt 425: Siemens SCENIC Mobile 360
426: </td><td>
427: APM works fully.<p>
428:
429: Sound works, using OSS.<p>
430:
431: Contact <a href=mailto:b1000@softhome.net>Dan Carlsson</a>.
432: </td>
1.5 deraadt 433: </tr><tr>
434: <td>
435: Dell Inspiron 3200 D233XT (Bios release: A10)
436: </td><td>
437: APM works fully.<p>
438:
439: Suspend (to ram or disk) does not work under X (X server does not
440: restore screen upon resume), but DPMS do (screen is turned off after
441: a while if the machine isn't used). BIOS APM settings (for automatic
442: suspend) interfere with X server, and should be disabled.<p>
443:
444: Suspend to disk needs a DOS (FAT16) partition containing a file named
445: "SAVE2DSK.BIN". This file which is created via Dell tools under
446: Windows 98 (it's present out of factory), is sized (ram size + 2 or 3
447: MB). An ad hoc DOS partition is thus required (it must be the first
448: partition on disk).<p>
449:
450: PCMCIA: works except "live" card ejection or insertion (which lock
451: the machine, a hard reset is required).<p>
452:
453: USB: does not work, if enabled, kernel hangs at boot during USB
454: controller detection.<p>
455:
456: Contact <a href=mailto:b1000@softhome.net>Dan Carlsson</a>.
457: </td>
1.6 ericj 458: </tr><tr>
459: <td>
460: Toshiba Tecra 500CS
461: </td><td>
1.7 brad 462: APM is broken, However it <b>halt -p</b> does work.<p>
1.6 ericj 463:
1.7 brad 464: Sound works by default with the GENERIC kernel, but with the speakers
465: is not really worth it. X runs nicely as well.<p>
1.6 ericj 466:
1.7 brad 467: Contact <a href=mailto:ericj@monkey.org>Eric Jackson</a>.
1.6 ericj 468: </td>
1.7 brad 469: </tr><tr>
470: <td>
471: Toshiba Tecra 500CDT
472: </td><td>
1.14 d 473: APM is completely broken (and can trash your disk).<p>
474:
475: XFree86 works (800x600 16bpp).<p>
1.7 brad 476:
1.14 d 477: Sound works (21739 Hz, half duplex stereo).<p>
1.7 brad 478:
1.14 d 479: <!-- Serial IR is said to work, needs verification. -->
1.7 brad 480:
1.14 d 481: Contact <a href=mailto:brad@openbsd.org>Brad Smith</a>,
482: or <a href=mailto:d@openbsd.org>David Leonard</a>.
1.7 brad 483: </td>
1.10 aaron 484: </tr><tr>
485: <td>
486: Toshiba Tecra 550CDT
487: </td><td>
488: APM deep sleep (<b>zzz</b>) works, but <b>-S</b> wakes up immediately.<p>
489:
490: XFree86 works beautifully.<p>
491:
492: Sound works, after some IRQ tinkering in the BIOS.<p>
493:
494: USB works; at least, I plugged a digital camera in, and the <b>ugen</b> driver detected and configured it.<p>
495:
1.16 aaron 496: 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.<p>
1.10 aaron 497:
498: The pcic is broken in this machine, so I cannot accurately comment on PCMCIA attach/detach.<p>
499:
500: Contact <a href=mailto:aaron@openbsd.org>Aaron Campbell</a>.
501: </td>
1.13 mickey 502: </tr><tr>
503: <td>
504: NEC Versa 2000
505: </td><td>
506: APM works fully.<p>
1.1 deraadt 507:
1.13 mickey 508: Everything on the machine works.<p>
509:
510: Contact <a href=mailto:mickey@openbsd.org>Michael Shalayeff</a>.
511: </td>
1.29 kevlo 512: </tr><tr>
513: <td>
514: Acer TravelMate 345
515: </td><td>
516: As of OpenBSD 2.7-CURRENT, APM works.<p>
517:
518: XFree86 works (800x600 16bpp).<p>
519:
520: Sounds works.<p>
521:
522: Lucent modem does not work.<p>
523:
524: Contact <a href=mailto:kevlo@openbsd.org>Kevin Lo</a>.
1.32 nate 525: </td>
526: </tr><tr>
527: <td>
528: Compaq Armada M700<p>
529: </td><td>
530: APM works correctly, but you cannot suspend while in X. You
531: must suspend from the console.
532:
533: CardBus works.<p>
534:
535: Internal 10/100 Ethernet (for those models that have it).
536: Works beautifully with the fxp driver. <p>
537:
538: No sound support as of now. People are supposedly working on
539: this.<p>
540:
541: No internal modem support as of now. (It's a winmodem.)
542: There is a binary only driver for Linux. There is also the
543: <a href="http://linmodems.org">linmodem project</a> that is
544: trying to make an opensource winmodem driver.<p>
545:
1.35 nate 546: An XF86Config file can be found
547: <a href="xf86configs/armadam700">here</a>.<p>
548:
1.32 nate 549: Contact <a href=mailto:nate@openbsd.org>Nathan Binkert</a>.
1.31 jufi 550: </td></tr>
1.1 deraadt 551: </table>
552:
553: <hr>
554: <a href=plat.html><img height=24 width=24 src=back.gif border=0 alt=OpenBSD></a>
555: <a href=mailto:www@openbsd.org>www@openbsd.org</a>
556: <br>
1.42 ! marc 557: <small>$OpenBSD: i386-laptop.html,v 1.41 2001/01/05 04:20:26 angelos Exp $</small>
1.1 deraadt 558:
559: </body>
560: </html>