Annotation of wikisrc/laptops.mdwn, revision 1.20

1.2       reed        1: This page lists and links to pages about laptops, notebooks,
1.20    ! nia         2: and portable computers that work well with NetBSD, are of interest
        !             3: to developers, and are standardized or easy to find.
1.1       reed        4: 
                      5: For i386-based netbooks also see
                      6: <http://www.netbsd.org/ports/i386/netbook.html>.
                      7: 
                      8: [[!toc ]]
                      9: 
1.3       reed       10: ---
                     11: 
1.20    ! nia        12: # Generic laptop support
1.3       reed       13: 
1.20    ! nia        14: ## Graphics
1.3       reed       15: 
1.20    ! nia        16: NetBSD 9.0 supports Intel integrated graphics up to Kaby Lake,
        !            17: Nvidia graphics up to Maxwell, and AMD graphics up to GCNv1.
1.3       reed       18: 
1.20    ! nia        19: Anything newer than this will work, but will use `llvmpipe`
        !            20: instead of hardware acceleration for OpenGL.
1.9       reed       21: 
1.20    ! nia        22: ## CPU frequency adjustment
1.9       reed       23: 
1.20    ! nia        24: On most ACPI and some non-ACPI laptops, the `sysutils/estd` package
        !            25: can be used to automatically adjust the CPU frequency depending on
        !            26: system load, and potentially prolong battery life. This modifies the
        !            27: `frequency` variables exposed by
        !            28: [[!template id=man name="sysctl" section="8"]].
1.9       reed       29: 
1.20    ! nia        30: ## Suspend
1.13      ryoon      31: 
1.20    ! nia        32: On ACPI systems, suspend-to-RAM is supported through
        !            33: `sysctl hw.acpi.sleep.state=3`.  This can be triggered through various
        !            34: events (such as lid close) with
        !            35: [[!template id=man name="powerd" section="8"]].
1.13      ryoon      36: 
1.20    ! nia        37: Suspend on NetBSD currently seems to work best on Thinkpads.
1.13      ryoon      38: 
1.20    ! nia        39: ## Input
1.13      ryoon      40: 
1.20    ! nia        41: Many x86 laptops use Synaptics touchpads over an emulated PS/2 interface,
        !            42: which is supported through [[!template id=man name="pms" section="4"]],
        !            43: with various adjustable sysctl variables.
1.9       reed       44: 
1.20    ! nia        45: ## WiFi
1.1       reed       46: 
1.20    ! nia        47: Many x86 laptops with Intel processors will have WiFi cards supported
        !            48: by the
        !            49: [[!template id=man name="iwm" section="4"]] driver, or 
        !            50: [[!template id=man name="iwn" section="4"]] for older models.
        !            51: Atheros 11n miniPCIe cards are supported by the
        !            52: [[!template id=man name="athn" section="4"]] driver.
1.1       reed       53: 
1.20    ! nia        54: See the
        !            55: [[!template id=man name="afterboot" section="8"]] man page for details
        !            56: on connecting to a WPA network.  For connecting to a non-WPA network,
        !            57: simply specify `ssid networkname up` in 
        !            58: [[!template id=man name="ifconfig" section="8"]], and make sure
        !            59: [[!template id=man name="dhcpcd" section="8"]] is running.
1.1       reed       60: 
1.20    ! nia        61: USB WiFI adapters such as
        !            62: [[!template id=man name="urtwn" section="4"]] and
        !            63: [[!template id=man name="run" section="4"]] can also be used,
        !            64: and most/all generic USB ethernet adapters are also well supported.
        !            65: For a fairly complete list, see 
        !            66: [[!template id=man name="usb" section="4"]].
1.3       reed       67: 
1.20    ! nia        68: ## Audio
1.11      reed       69: 
1.20    ! nia        70: Most modern x86 laptops use the 
        !            71: [[!template id=man name="hdaudio" section="4"]] driver.
1.11      reed       72: 
1.20    ! nia        73: In the case that switching between speakers and the headphone port
        !            74: is not handled automatically by the hardware, the `dacsel`
        !            75: [[!template id=man name="mixerctl" section="1"]] variable can be
        !            76: modified.
1.11      reed       77: 
                     78: ---
                     79: 
1.20    ! nia        80: # IBM / Lenovo
1.9       reed       81: 
1.20    ! nia        82: The [[!template id=man name="thinkpad" section="4"]] driver provides
        !            83: support for various Thinkpad-specific sensors and function keys.
1.6       jruoho     84: 
1.9       reed       85: ## ThinkPad T22
                     86: 
                     87: Works perfect (sound, display, all devices, infrared port not tested).
                     88: 
                     89: ## ThinkPad T61
                     90: 
                     91: Used it since NetBSD 4.x.
                     92: With Intel GMA, X works great.
                     93: Cardbus port doesn't work properly.
                     94: Expresscard not tested/tried.
                     95: 
1.6       jruoho     96: ## ThinkPad X60s
                     97: 
1.15      sevan      98: Everything works.
1.6       jruoho     99: 
1.9       reed      100: ## ThinkPad X41
                    101: 
                    102: Works fine (sound, display, all devices, bluetooth, modem not tested).
                    103: Standby is broken for me in -current (~2012-01-12) but worked in 5.1.
                    104: 
1.6       jruoho    105: ## ThinkPad X61s
                    106: 
                    107: Everything works. Requires `PCI_BUS_FIXUP` and `PCI_ADDR_FIXUP` [[!template
                    108: id=man name="options" section="4"]].
                    109: 
1.9       reed      110: ## Thinkpad X201
                    111: 
                    112: Running -current since March 2011.
                    113: Working graphics (with the vesa driver), audio, trackpoint, wired
                    114: and wireless LAN.
                    115: Does not wake up after suspend (drives spin up but the display
                    116: stays black and the LED indicating a sleep state stays lit).
                    117: 
1.17      nia       118: ## Thinkpad X220
                    119: 
1.18      nia       120: From user reports, in NetBSD 9.0:
1.17      nia       121: 
                    122: * Video acceleration works, but when using `xf86-video-intel` (the default),
                    123:   it's advisable to set `Option "AccelMethod"  "uxa"` in `xorg.conf`.
1.19      nia       124: * Ethernet is supported through the [[!template id=man name="wm" section="4"]] driver.
                    125: * WiFi is supported through the [[!template id=man name="iwn" section="4"]] driver.
1.17      nia       126: * Suspend and resume work.
                    127: 
1.19      nia       128: ## Thinkpad X230
                    129: 
                    130: From user reports, in NetBSD 9.0:
                    131: 
                    132: * Ethernet is supported through the [[!template id=man name="wm" section="4"]] driver.
                    133: * WiFi is supported through the [[!template id=man name="iwn" section="4"]] driver.
                    134: 
1.16      nia       135: ## Thinkpad X250
                    136: 
1.18      nia       137: Nearly perfect. Running NetBSD 9.0 and -current since 2019.
1.16      nia       138: 
                    139: * Accelerated graphics with the i915 driver. Connecting externals displays
                    140:   works with the miniDP and VGA ports.
1.19      nia       141: * SD card reader is supported through the [[!template id=man name="rtsx" section="4"]] driver.
                    142: * Ethernet is supported through the [[!template id=man name="wm" section="4"]] driver.
                    143: * WiFi is supported through the [[!template id=man name="iwm" section="4"]] driver.
1.16      nia       144: * For the extra trackpoint buttons to work correctly, needs a patch to
                    145:   synaptics.c that is in -current and will be in 9.1.
                    146:   Tapping and the clickpad have always been fine.
                    147: * Brightness buttons do not work in 9 by default. You can bind them to
                    148:   xrandr in your window manager.
1.19      nia       149: * Webcam will depend on upcoming xhci isochronous pipe support.
                    150: * To record from the internal mic, set `mixerctl -w record.source=ADC02`
1.16      nia       151: * Wakes up after suspend. I have mine set to suspend on lid close with
                    152:   powerd.
                    153: 
1.19      nia       154: ## Thinkpad X260
                    155: 
                    156: Likely very similar to the X250.
                    157: 
                    158: From user reports, in NetBSD 9.0:
                    159: 
                    160: * SD card reader is supported through the [[!template id=man name="rtsx" section="4"]] driver.
                    161: * Ethernet is supported through the [[!template id=man name="wm" section="4"]] driver.
                    162: * WiFi is supported through the [[!template id=man name="iwm" section="4"]] driver.
                    163: * For the extra trackpoint buttons to work correctly, needs a patch to
                    164:   synaptics.c that is in -current and will be in 9.1.
                    165:   Tapping and the clickpad have always been fine.
                    166: 
1.20    ! nia       167: ---
1.14      ryoon     168: 
1.20    ! nia       169: # PINE64
1.14      ryoon     170: 
1.20    ! nia       171: ## Pinebook (Allwinner A64)
1.14      ryoon     172: 
1.20    ! nia       173: The Pinebook does not use ACPI so certain aspects are different
        !           174: compared to x86 laptops.
1.6       jruoho    175: 
1.20    ! nia       176: From user reports to port-arm@, in NetBSD 9.0:
1.1       reed      177: 
1.20    ! nia       178: * [[!template id=man name="uvideo" section="4"]] webcam works.
        !           179: * External WiFI adapters can be used. Support for the internal WiFi - after WiFi system rework?
        !           180: * Plugging in external monitors works via the HDMI port.
        !           181: * The CPU frequency can be adjusted with `sysctl machdep.cpufreq.*`.
        !           182: * Mesa llvmpipe is currently used for 3D/OpenGL.
1.1       reed      183: 
1.20    ! nia       184: ## Pinebook Pro
1.3       reed      185: 
1.20    ! nia       186: The Pinebook Pro does not use ACPI so certain aspects are different
        !           187: compared to x86 laptops.
1.8       wiki      188: 
1.20    ! nia       189: * [[!template id=man name="uvideo" section="4"]] webcam works.
        !           190: * Internal Broadcom WiFi is supported via the [[!template id=man name="bwfm" section="4"]] driver in 9_STABLE.
        !           191:   External adapters may still be more stable.
        !           192: * The CPU frequency can be adjusted automatically with `estd` or with `sysctl machdep.cpufreq.*`.
        !           193: * The display backlight can be adjusted with `sysctl`.
        !           194: * Mesa llvmpipe is currently used for 3D/OpenGL.

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