Diff for /wikisrc/laptops.mdwn between versions 1.20 and 1.32

version 1.20, 2020/07/18 11:22:36 version 1.32, 2020/10/04 10:52:53
Line 2  This page lists and links to pages about Line 2  This page lists and links to pages about
 and portable computers that work well with NetBSD, are of interest  and portable computers that work well with NetBSD, are of interest
 to developers, and are standardized or easy to find.  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 ]]
   
Line 19  Nvidia graphics up to Maxwell, and AMD g Line 19  Nvidia graphics up to Maxwell, and AMD g
 Anything newer than this will work, but will use `llvmpipe`  Anything newer than this will work, but will use `llvmpipe`
 instead of hardware acceleration for OpenGL.  instead of hardware acceleration for OpenGL.
   
   The support includes connecting external monitors over HDMI,
   DisplayPort, and DisplayPort over USB-C.
   
   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.
   
 ## CPU frequency adjustment  ## CPU frequency adjustment
   
 On most ACPI and some non-ACPI laptops, the `sysutils/estd` package  On most ACPI and some non-ACPI laptops, the `sysutils/estd` package
Line 40  Suspend on NetBSD currently seems to wor Line 48  Suspend on NetBSD currently seems to wor
   
 Many x86 laptops use Synaptics touchpads over an emulated PS/2 interface,  Many x86 laptops use Synaptics touchpads over an emulated PS/2 interface,
 which is supported through [[!template id=man name="pms" section="4"]],  which is supported through [[!template id=man name="pms" section="4"]],
 with various adjustable sysctl variables.  with various adjustable Synaptics-specific sysctl variables.
   
 ## WiFi  ## WiFi
   
Line 53  Atheros 11n miniPCIe cards are supported Line 61  Atheros 11n miniPCIe cards are supported
   
 See the  See the
 [[!template id=man name="afterboot" section="8"]] man page for details  [[!template id=man name="afterboot" section="8"]] man page for details
 on connecting to a WPA network.  For connecting to a non-WPA network,  on connecting to WiFi networks.
 simply specify `ssid networkname up` in   
 [[!template id=man name="ifconfig" section="8"]], and make sure  
 [[!template id=man name="dhcpcd" section="8"]] is running.  
   
 USB WiFI adapters such as  USB 11n WiFi adapters such as
 [[!template id=man name="urtwn" section="4"]] and  [[!template id=man name="urtwn" section="4"]] and
 [[!template id=man name="run" section="4"]] can also be used,  [[!template id=man name="run" section="4"]] can also be used,
 and most/all generic USB ethernet adapters are also well supported.  and most/all generic USB ethernet adapters are also well supported.
 For a fairly complete list, see   For a fairly complete list, see 
 [[!template id=man name="usb" section="4"]].  [[!template id=man name="usb" section="4"]].
   
   Unfortunately, WiFi hardware is not particularly standardized compared
   to most other aspects of modern laptops.
   
 ## Audio  ## Audio
   
 Most modern x86 laptops use the   Essentially all modern x86 laptops use the 
 [[!template id=man name="hdaudio" section="4"]] driver.  [[!template id=man name="hdaudio" section="4"]] driver.
   
 In the case that switching between speakers and the headphone port  In the case that switching between speakers and the headphone port
Line 75  is not handled automatically by the hard Line 83  is not handled automatically by the hard
 [[!template id=man name="mixerctl" section="1"]] variable can be  [[!template id=man name="mixerctl" section="1"]] variable can be
 modified.  modified.
   
   ## Sensors
   
   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"]].
   
 ---  ---
   
 # IBM / Lenovo  # IBM / Lenovo
Line 82  modified. Line 96  modified.
 The [[!template id=man name="thinkpad" section="4"]] driver provides  The [[!template id=man name="thinkpad" section="4"]] driver provides
 support for various Thinkpad-specific sensors and function keys.  support for various Thinkpad-specific sensors and function keys.
   
 ## ThinkPad T22  A number of NetBSD developers use Thinkpads to hack on NetBSD
   and for everyday usage.
   
 Works perfect (sound, display, all devices, infrared port not tested).  ## ThinkPad X1 Carbon (Ivy Bridge, i7)
   
   Installled with Coreboot and TianoCore (UEFI) firmware.
   
   Destroy the GPT data with `gpt destroy wd0` before installing.
   
 ## ThinkPad T61  Hardware support is basically perfect aside from the fingerprint reader, for which no driver exists.
   
 Used it since NetBSD 4.x.  * GPU acceleration works.
 With Intel GMA, X works great.  * WiFi is supported through the [[!template id=man name="iwn" section="4"]] driver.
 Cardbus port doesn't work properly.  * SD card reader is supported through the [[!template id=man name="sdhc" section="4"]] driver.
 Expresscard not tested/tried.  * Suspend/resume works.
   
   ## ThinkPad T22
   
   Works perfect (sound, display, all devices, infrared port not tested).
   
 ## ThinkPad X60s  ## ThinkPad X60s
   
Line 100  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  
   
 Running -current since March 2011.  
 Working graphics (with the vesa driver), audio, trackpoint, wired  
 and wireless LAN.  
 Does not wake up after suspend (drives spin up but the display  
 stays black and the LED indicating a sleep state stays lit).  
   
 ## Thinkpad X220  ## Thinkpad X220
   
 From user reports, in NetBSD 9.0:  
   
 * Video acceleration works, but when using `xf86-video-intel` (the default),  * Video acceleration works, but when using `xf86-video-intel` (the default),
   it's advisable to set `Option "AccelMethod"  "uxa"` in `xorg.conf`.    it's advisable to set `Option "AccelMethod"  "uxa"` in `xorg.conf`.
 * Ethernet is supported through the [[!template id=man name="wm" section="4"]] driver.  * Ethernet is supported through the [[!template id=man name="wm" section="4"]] driver.
Line 127  From user reports, in NetBSD 9.0: Line 139  From user reports, in NetBSD 9.0:
   
 ## Thinkpad X230  ## Thinkpad X230
   
 From user reports, in NetBSD 9.0:  * Accelerated graphics.
   
 * Ethernet is supported through the [[!template id=man name="wm" 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="iwn" section="4"]] driver.  * WiFi is supported through the [[!template id=man name="iwn" section="4"]] driver.
   
 ## Thinkpad X250  ## Thinkpad X250
   
 Nearly perfect. Running NetBSD 9.0 and -current since 2019.  * Accelerated graphics.
   * Connecting externals displays works with the miniDP and VGA ports.
 * Accelerated graphics with the i915 driver. Connecting externals displays  
   works with the miniDP and VGA ports.  
 * SD card reader is supported through the [[!template id=man name="rtsx" section="4"]] driver.  * 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.  * 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.  * WiFi is supported through the [[!template id=man name="iwm" section="4"]] driver.
 * For the extra trackpoint buttons to work correctly, needs a patch to  * Extra trackpoint buttons: run at least 9.0_STABLE for fixes to the Synaptics driver.
   synaptics.c that is in -current and will be in 9.1.  * Brightness buttons do not work in 9.0 by default. You can bind them to
   Tapping and the clickpad have always been fine.  
 * Brightness buttons do not work in 9 by default. You can bind them to  
   xrandr in your window manager.    xrandr in your window manager.
 * Webcam will depend on upcoming xhci isochronous pipe support.  * Webcam will depend on upcoming xhci isochronous pipe support.
 * To record from the internal mic, set `mixerctl -w record.source=ADC02`  * To record from the internal mic, set `mixerctl -w record.source=ADC02`
 * Wakes up after suspend. I have mine set to suspend on lid close with  * Some spam from [[!template id=man name="hdaudio" section="4"]] on some 
   powerd.    reboots, the chip doesn't seem to reset properly. Disappears and boots
     normally after a few seconds.
     [[!template id=pr number=51734]]
   * Suspend and resume work.
   
 ## Thinkpad X260  ## Thinkpad X260
   
 Likely very similar to the X250.  * Accelerated graphics.
   
 From user reports, in NetBSD 9.0:  
   
 * SD card reader is supported through the [[!template id=man name="rtsx" section="4"]] driver.  * 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.  * 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.  * WiFi is supported through the [[!template id=man name="iwm" section="4"]] driver.
 * For the extra trackpoint buttons to work correctly, needs a patch to  * Extra trackpoint buttons: run at least 9.0_STABLE for fixes to the Synaptics driver.
   synaptics.c that is in -current and will be in 9.1.  * Webcam will depend on upcoming xhci isochronous pipe support.
   Tapping and the clickpad have always been fine.  * Suspend and resume work.
   
   ---
   
   # 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
   
   [[!table data="""
   GPU | WiFi | SD card reader | Ethernet | Audio | Webcam | Suspend/Resume
   Supported | Supported | Supported | Supported | Supported | Supported | Supported
   """]]
   
   ## EeePC 900
   
   [[!table data="""
   GPU | WiFi | SD card reader | Ethernet | Audio | Webcam | Suspend/Resume
   Supported | Supported | Supported | Supported | Supported | Supported | Supported
   """]]
   
   ## EeePC 901
   
   [[!table data="""
   GPU | WiFi | SD card reader | Ethernet | Audio | Webcam | Suspend/Resume
   Supported | Supported | Supported | Supported | Supported | Supported | Supported
   """]]
   
   ## EeePC 1000HA
   
   [[!table data="""
   GPU | WiFi | SD card reader | Ethernet | Audio | Webcam | Suspend/Resume
   Supported | Supported | Supported | Supported | Supported | Supported | Supported
   """]]
   
 ---  ---
   
 # PINE64  # PINE64
   
 ## Pinebook (Allwinner A64)  A number of NetBSD developers use Pinebooks to hack on NetBSD
   and for everyday usage.
   
 The Pinebook does not use ACPI so certain aspects are different  Pinebook and Pinebook Pro do not use ACPI, so certain aspects are
 compared to x86 laptops.  different compared to x86 laptops.
   
 From user reports to port-arm@, in NetBSD 9.0:  ## 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.  * [[!template id=man name="uvideo" section="4"]] webcam works.
 * External WiFI adapters can be used. Support for the internal WiFi - after WiFi system rework?  * External WiFI adapters can be used. Support for the internal WiFi - after WiFi system rework?
 * Plugging in external monitors works via the HDMI port.  
 * The CPU frequency can be adjusted with `sysctl machdep.cpufreq.*`.  
 * Mesa llvmpipe is currently used for 3D/OpenGL.  
   
 ## Pinebook Pro  
   
 The Pinebook Pro does not use ACPI so certain aspects are different  ## Pinebook Pro (Rockchip RK3399)
 compared to x86 laptops.  
   
 * [[!template id=man name="uvideo" section="4"]] webcam works.  * Support for the display output is provided through the Rockchip DRM driver.
 * Internal Broadcom WiFi is supported via the [[!template id=man name="bwfm" section="4"]] driver in 9_STABLE.    This provides kernel modesetting and a full-resolution video framebuffer, however,
   External adapters may still be more stable.    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.*`.  * 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`.  * The display backlight can be adjusted with `sysctl`.
 * Mesa llvmpipe is currently used for 3D/OpenGL.  
   ### 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.20  
changed lines
  Added in v.1.32


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