Diff for /wikisrc/laptops.mdwn between versions 1.16 and 1.33

version 1.16, 2020/06/10 14:36:38 version 1.33, 2020/10/04 18:20:19
Line 1 Line 1
 This page lists and links to pages about laptops, notebooks,  This page lists and links to pages about laptops, notebooks,
 and portable computers that work (or do not work) well with NetBSD.  and portable computers that work well with NetBSD, are of interest
   to developers, and are standardized or easy to find.
   
 For i386-based netbooks also see  This page references lots of different device drivers. All of them
 <http://www.netbsd.org/ports/i386/netbook.html>.  are built-in to GENERIC kernels and you don't need to load them.
   
 [[!toc ]]  [[!toc ]]
   
 ---  ---
   
 # Acer  # Generic laptop support
   
 ## Acer Aspire One 532h-2588  ## Graphics
   
 As of current in July 2010:  NetBSD 9.0 supports Intel integrated graphics up to Kaby Lake,
 Missing speedstep support (reed has patch for this).  Nvidia graphics up to Maxwell, and AMD graphics up to GCNv1.
 No ethernet (Atheros AR8132 PCI-E Fast Ethernet).  
 No wireless (Atheros AR9285 Wireless LAN 802.11 a/b/g/n).  
   
 ---  Anything newer than this will work, but will use `llvmpipe`
   instead of hardware acceleration for OpenGL.
   
 # Apple  The support includes connecting external monitors over HDMI,
   DisplayPort, and DisplayPort over USB-C.
   
 ## iBook G3/600 with Radeon 7500 16MB VRAM  For the Intel driver, there may be slight graphical corruptions
   when using X11 without a compositor. Xfce/MATE include their own
   compositors, but lightweight window managers can benefit from
   having `picom` running.
   
 Used since NetBSD 1.6 or so.  ## CPU frequency adjustment
 Works nice with NetBSD/macppc.  
 No suspend support on NetBSD.  
 No modem support (some usb attached modem attaching as [[!template  
 id=man name="ugen" section="4"]].  
 No WPA on NetBSD with [[!template id=man name="wi" section="4"]] (in contrast  
 to Mac OS X).  
 NetBSD/5.1_STABLE has problem that keyboard doesn't  
 work in xdm after logout;  solved by forcing a xdm restart upon  
 logout.  
   
   On most ACPI and some non-ACPI laptops, the `sysutils/estd` package
   can be used to automatically adjust the CPU frequency depending on
   system load, and potentially prolong battery life. This modifies the
   `frequency` variables exposed by
   [[!template id=man name="sysctl" section="8"]].
   
 ## MacBook Air 11 inch (mid 2012)  ## Suspend
   
 NetBSD/amd64 6.99.11 works without some devices (for example, internal WiFi).  On ACPI systems, suspend-to-RAM is supported through
 In detail, please see [[How to install NetBSD/amd64 current on MacBook Air 11 inch (mid 2012)|/users/ryoon/how_to_install_netbsd_amd64_to_macbook_air_11_inch]]  `sysctl hw.acpi.sleep.state=3`.  This can be triggered through various
   events (such as lid close) with
   [[!template id=man name="powerd" section="8"]].
   
   Suspend on NetBSD currently seems to work best on ThinkPads.
   
 ---  ## Input
   
 # Dell  Many x86 laptops use Synaptics touchpads over an emulated PS/2 interface,
   which is supported through [[!template id=man name="pms" section="4"]],
   with various adjustable Synaptics-specific sysctl variables.
   
 ## Dell Latitude D610  ## WiFi
   
 NetBSD/i386 5.0.0.  Many x86 laptops with Intel processors will have WiFi cards supported
 Audio works (i82801FB (ICH6)).  by the
 Wireless with iwi (vendor 0x8086 product 0x4220).  [[!template id=man name="iwm" section="4"]] driver, or 
 For X11, using xf86-video-intel-2.2.1nb1 package.  [[!template id=man name="iwn" section="4"]] for older models.
   Atheros 11n miniPCIe cards are supported by the
   [[!template id=man name="athn" section="4"]] driver.
   
 ---  See the
   [[!template id=man name="afterboot" section="8"]] man page for details
   on connecting to WiFi networks.
   
 # Fujitsu  USB 11n WiFi adapters such as
   [[!template id=man name="urtwn" section="4"]] and
   [[!template id=man name="run" section="4"]] can also be used,
   and most/all generic USB ethernet adapters are also well supported.
   For a fairly complete list, see 
   [[!template id=man name="usb" section="4"]].
   
 ## Fujitsu FMV-BIBLO LOOX P70WN  Unfortunately, WiFi hardware is not particularly standardized compared
   to most other aspects of modern laptops.
   
 NetBSD/i386 5.99.55.  ## Audio
 Wireless with wpi works properly only when ACPI is disabled with "boot netbsd -2".  
   
 ---  Essentially all modern x86 laptops use the 
   [[!template id=man name="hdaudio" section="4"]] driver.
   
 # HP / Hewlett Packard  In the case that switching between speakers and the headphone port
   is not handled automatically by the hardware, the `dacsel`
   [[!template id=man name="mixerctl" section="1"]] variable can be
   modified.
   
 ## HP nc6120  ## Sensors
   
 5.1 did not have a working X.  Regardless of whether the system is ACPI, NetBSD will
   expose all sensors (e.g. for temperature and battery)
   via [[!template id=man name="envstat" section="8"]].
   
 Almost everything works with -current: sound, wireless, X11.  ---
 Did not try resume/suspend.  
 Did not try the memory card slot recently.  
   
 5.1 and -current have wired ethernet stability problems.  # IBM / Lenovo
 It gets watchdog timeouts and resets.  
   
 X11 has a stability problem where a program can make total garbage on the  The [[!template id=man name="thinkpad" section="4"]] driver provides
 screen (except the mouse pointer) and lock up the server. Repeatable with a  support for various ThinkPad-specific sensors and function keys.
 certain image viewer which shows very big images. The machine does not  
 freeze: power off button powers down smoothly, (but can not switch consoles to  
 try to kill the X server).  
   
 ## HP Pavilion laptop, dv9750  A number of NetBSD developers use ThinkPads to hack on NetBSD
   and for everyday usage.
   
 NetBSD 5.1, audio, webcam, Ethernet, kb/touchpad work fine.  ## ThinkPad X1 Carbon (Ivy Bridge, i7)
 Broadcom Wireless 4312 does not work.  
   
 ## HP ProBook 4310s  Installled with Coreboot and TianoCore (UEFI) firmware.
   
 NetBSD i386 5.99.55  Destroy the GPT data with `gpt destroy wd0` before installing to the entire disk.
 Audio works (ADI AD1984A).  
 Wireless with iwn (vendor 0x8086 product 0x4232).  
 No ethernet (vendor 0x11ab product 0x436c).  
 SDHC at sd*, Bluetooth.  
 Doesn't work with NetBSD 5.  
   
 ---  Hardware support is basically perfect aside from the fingerprint reader, for which no driver exists.
   
 # IBM / Lenovo  * GPU acceleration works.
   * WiFi is supported through the [[!template id=man name="iwn" section="4"]] driver.
   * SD card reader is supported through the [[!template id=man name="sdhc" section="4"]] driver.
   * Suspend/resume works.
   
 ## ThinkPad T22  ## ThinkPad T22
   
 Works perfect (sound, display, all devices, infrared port not tested).  Works perfect (sound, display, all devices, infrared port not tested).
   
 ## ThinkPad T61  
   
 Used it since NetBSD 4.x.  
 With Intel GMA, X works great.  
 In netbsd-5 there is a patch to make trackpoint/touchpad initialize correctly.  
 Requires  [[!template id=man name="hdaudio" section="4"]] instead  
 of  [[!template id=man name="azalia" section="4"]] to make headphones work.  
 Cardbus port doesn't work properly.  
 Expresscard not tested/tried.  
   
 ## Lenovo ThinkPad T61p  
   
 Following -current for the last 18 months or so (2012-12).  
 As close to perfect as one gets. Suspend/resume didn't work at the  
 time; not tried it since.  
   
 ## Lenovo ThinkPad T500  
   
 in the version with ATI graphics. Has a tendency to run hot and then to not  
 reboot cleanly (gets stuck after printing the mainbus line at boot);  
 5min off for cool-down usually fix this. This doesn't usually occur when  
 only the Intel on-board graphics get used. No known errors while running.  
   
 ## ThinkPad X60s  ## ThinkPad X60s
   
 Everything works.  Everything works.
Line 134  Everything works. Line 123  Everything works.
 ## ThinkPad X41  ## ThinkPad X41
   
 Works fine (sound, display, all devices, bluetooth, modem not tested).  Works fine (sound, display, all devices, bluetooth, modem not tested).
 Standby is broken for me in -current (~2012-01-12) but worked in 5.1.  
   
 ## ThinkPad X61s  ## ThinkPad X61s
   
 Everything works. Requires `PCI_BUS_FIXUP` and `PCI_ADDR_FIXUP` [[!template  Everything works. Requires `PCI_BUS_FIXUP` and `PCI_ADDR_FIXUP` [[!template
 id=man name="options" section="4"]].  id=man name="options" section="4"]].
   
 ## Thinkpad X201  ## ThinkPad X220
   
 Running -current since March 2011.  * Video acceleration works, but when using `xf86-video-intel` (the default),
 Working graphics (with the vesa driver), audio, trackpoint, wired    it's advisable to set `Option "AccelMethod"  "uxa"` in `xorg.conf`.
 and wireless LAN.  * Ethernet is supported through the [[!template id=man name="wm" section="4"]] driver.
 Does not wake up after suspend (drives spin up but the display  * WiFi is supported through the [[!template id=man name="iwn" section="4"]] driver.
 stays black and the LED indicating a sleep state stays lit).  * Suspend and resume work.
   
 ## Thinkpad X250  ## ThinkPad X230
   
 Almost everything works. Running NetBSD 9 and -current since 2019.  * Accelerated graphics.
   * Ethernet is supported through the [[!template id=man name="wm" section="4"]] driver.
 * Accelerated graphics with the i915 driver. Connecting externals displays  * WiFi is supported through the [[!template id=man name="iwn" section="4"]] driver.
   works with the miniDP and VGA ports.  
 * Working SD card reader, audio, ethernet, and WiFi.  ## ThinkPad X250
 * For the extra trackpoint buttons to work correctly, needs a patch to  
   synaptics.c that is in -current and will be in 9.1.  * Accelerated graphics.
   Tapping and the clickpad have always been fine.  * Connecting externals displays works with the miniDP and VGA ports.
 * Brightness buttons do not work in 9 by default. You can bind them to  * SD card reader is supported through the [[!template id=man name="rtsx" section="4"]] driver.
   * Ethernet is supported through the [[!template id=man name="wm" section="4"]] driver.
   * WiFi is supported through the [[!template id=man name="iwm" section="4"]] driver.
   * Extra trackpoint buttons: run at least 9.0_STABLE for fixes to the Synaptics driver.
   * Brightness buttons do not work in 9.0 by default. You can bind them to
   xrandr in your window manager.    xrandr in your window manager.
 * Webcam will depend on upcoming xhci(4) isochronous pipe support.  * Webcam will depend on upcoming xhci isochronous pipe support.
 * Wakes up after suspend. I have mine set to suspend on lid close with  * To record from the internal mic, set `mixerctl -w record.source=ADC02`
   powerd.  * Some spam from [[!template id=man name="hdaudio" section="4"]] on some 
     reboots, the chip doesn't seem to reset properly. Disappears and boots
 ## Lenovo ThinkPad Edge E130    normally after a few seconds.
     [[!template id=pr number=51734]]
 With NetBSD/amd64 6.0  * Suspend and resume work.
   
 * Bluetooth adapter is recognized as ugen0 (should be patched like MacBook Air mid 2012 11-inch's one probably)  ## ThinkPad X260
 * Native X.org needs xorg.conf that has vesa driver entry, and sometimes X.org starts with slightly wrong resolution (xrandr is useful).  
 * Sound is recognized as hdaudio, and not tested.  * Accelerated graphics.
 * Network adapters are not tested. Wired LAN adapter is detected as re0, and WiFi adapter is not recognized.  * SD card reader is supported through the [[!template id=man name="rtsx" section="4"]] driver.
 * Card reader is not recognized  * Ethernet is supported through the [[!template id=man name="wm" section="4"]] driver.
   * WiFi is supported through the [[!template id=man name="iwm" section="4"]] driver.
   * Extra trackpoint buttons: run at least 9.0_STABLE for fixes to the Synaptics driver.
   * Webcam will depend on upcoming xhci isochronous pipe support.
   * Suspend and resume work.
   
 ---  ---
   
 # Toshiba  # Asus
   
   Eee PCs were previously very popular hardware, so they're widely available
   cheaply, tend to work quite well, and what works is documented.
   
   ## EeePC 701
   
 ## Toshiba Satellite A215-S7422  [[!table data="""
   GPU | WiFi | SD card reader | Ethernet | Audio | Webcam | Suspend/Resume
   Supported | Supported | Supported | Supported | Supported | Supported | Supported
   """]]
   
 NetBSD/amd64 5.99.38, but booting with "boot netbsd -2" to disable ACPI  ## EeePC 900
 but has no keyboard use.  
 See <http://gnats.netbsd.org/39275>.  [[!table data="""
 Audio works with hdaudio (vendor 0x10EC product 0x0268).  GPU | WiFi | SD card reader | Ethernet | Audio | Webcam | Suspend/Resume
   Supported | Supported | Supported | Supported | Supported | Supported | Supported
 ## Toshiba Satellite L350-S1701  """]]
   
 NetBSD/amd64 5.99.38.  ## EeePC 901
 Wireless with iwn (vendor 0x8086 product 0x4232).  
 For X11, using xf86-video-vesa-2.3.0nb1 package.  [[!table data="""
 Sometimes X starts up on wrong resolution.  GPU | WiFi | SD card reader | Ethernet | Audio | Webcam | Suspend/Resume
 The MMC works on sd0.  Supported | Supported | Supported | Supported | Supported | Supported | Supported
 Some USB failures.  """]]
 Audio works with hdaudio (vendor 0x10EC product 0x0268).  
   ## EeePC 1000HA
   
   [[!table data="""
   GPU | WiFi | SD card reader | Ethernet | Audio | Webcam | Suspend/Resume
   Supported | Supported | Supported | Supported | Supported | Supported | Supported
   """]]
   
 ---  ---
   
   # PINE64
   
   A number of NetBSD developers use Pinebooks to hack on NetBSD
   and for everyday usage.
   
   Pinebook and Pinebook Pro do not use ACPI, so certain aspects are
   different compared to x86 laptops.
   
   ## Pinebook (Allwinner A64)
   
   * Support for the display and HDMI output is provided through the Allwinner Display Engine driver.
     This provides kernel modesetting and a full-resolution video framebuffer, however,
     the 3D acceleration features of the GPU are not yet accessible - Mesa llvmpipe is used instead.
   * The CPU frequency can be adjusted automatically with `estd` or with `sysctl machdep.cpufreq.*`.
   * [[!template id=man name="uvideo" section="4"]] webcam works.
   * External WiFI adapters can be used. Support for the internal WiFi - after WiFi system rework?
   
   ## Pinebook Pro (Rockchip RK3399)
   
   * Support for the display output is provided through the Rockchip DRM driver.
     This provides kernel modesetting and a full-resolution video framebuffer, however,
     the 3D acceleration features of the GPU are not yet accessible - Mesa llvmpipe is used instead.
     Currently, you can't connect external displays through USB-C.
   * The CPU frequency can be adjusted automatically with `estd` or with `sysctl machdep.cpufreq.*`.
   * [[!template id=man name="uvideo" section="4"]] webcam works.
   * External WiFI adapters can be used. Support for the internal WiFi - after WiFi system rework?
     Internal Broadcom WiFi is supported via the [[!template id=man name="bwfm" section="4"]] driver in -current.
     However, external adapters may still be more stable.
   * The display backlight can be adjusted with `sysctl`.
   
   ### Pinebook Pro CPU affinity
   
   After setting `security.models.extensions.user_set_cpu_affinity=1` in `/etc/sysctl.conf`,
   you can run an intensive command on only the "big" CPUs:
   
   `$ schedctl -A 4,5 make package`

Removed from v.1.16  
changed lines
  Added in v.1.33


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb