NetBSD Wiki/
RecentChanges
Recent changes to this wiki:
abi: Expand RISC-V section a little.
Link to more chapters in the same document.
Link to more chapters in the same document.
Members: abi.mdwn:1.13->1.14 Index: wikisrc/abi.mdwn =================================================================== RCS file: /cvsroot/wikisrc/abi.mdwn,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- wikisrc/abi.mdwn 25 Sep 2026 20:42:36 -0000 1.13 +++ wikisrc/abi.mdwn 16 Oct 2026 18:01:03 -0000 1.14 @@ -116,7 +116,12 @@ #### riscv -* [*RISC-V ELF Specification*](https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/9fec6080d15e7f009c9e714d1e9b8dd7177b0b67/riscv-elf.adoc), 2024-07-17 +* [*RISC-V ABIs Specification*](https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/9fec6080d15e7f009c9e714d1e9b8dd7177b0b67/riscv-abi.adoc), 2024-07-17 +** [*RISC-V Calling Conventions*](https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/9fec6080d15e7f009c9e714d1e9b8dd7177b0b67/riscv-cc.adoc), 2024-07-17 +** [*RISC-V ELF Specification*](https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/9fec6080d15e7f009c9e714d1e9b8dd7177b0b67/riscv-elf.adoc), 2024-07-17 +** [*RISC-V DWARF Specification*](https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/9fec6080d15e7f009c9e714d1e9b8dd7177b0b67/riscv-dwarf.adoc), 2024-07-17 +** [*RISC-V Run-time ABI Specification*](https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/9fec6080d15e7f009c9e714d1e9b8dd7177b0b67/riscv-rtabi.adoc), 2024-07-17 +** [*RISC-V Atomics ABI Specification*](https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/9fec6080d15e7f009c9e714d1e9b8dd7177b0b67/riscv-atomic.adoc), 2024-07-17 #### sh3
mention xbattbar
Index: wikisrc/laptops.mdwn =================================================================== RCS file: /cvsroot/wikisrc/laptops.mdwn,v retrieving revision 1.46 retrieving revision 1.47 diff -u -r1.46 -r1.47 --- wikisrc/laptops.mdwn 15 Oct 2026 19:47:49 -0000 1.46 +++ wikisrc/laptops.mdwn 15 Oct 2026 19:49:45 -0000 1.47 @@ -111,6 +111,7 @@ 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"]]. +Users who want it displayed in X11 can install `xbattbar`. ---
update for -80 series thinkpads
Index: wikisrc/laptops.mdwn =================================================================== RCS file: /cvsroot/wikisrc/laptops.mdwn,v retrieving revision 1.45 retrieving revision 1.46 diff -u -r1.45 -r1.46 --- wikisrc/laptops.mdwn 15 Oct 2026 19:34:51 -0000 1.45 +++ wikisrc/laptops.mdwn 15 Oct 2026 19:47:49 -0000 1.46 @@ -122,13 +122,33 @@ A number of NetBSD developers use ThinkPads to hack on NetBSD and for everyday usage. -## ThinkPad X260 +## ThinkPad T480 (Intel) + +* Accelerated graphics. +* WiFi is supported through the [[!template id=man name="iwm" section="4"]] driver. +* Ethernet is supported through the [[!template id=man name="wm" section="4"]] driver. +* Touchpad is supported through the [[!template id=man name="pms" section="4"]] driver. +* Webcam works. +* Bluetooth works. + +## ThinkPad X280 * Accelerated graphics. -* SD card reader is supported through the [[!template id=man name="rtsx" section="4"]] driver. +* WiFi is supported through the [[!template id=man name="iwm" section="4"]] driver. * Ethernet is supported through the [[!template id=man name="wm" section="4"]] driver. +* Touchpad is supported through the [[!template id=man name="pms" section="4"]] driver. +* Webcam works. +* Bluetooth works. +* Smartcard reader is not supported. + +## ThinkPad X260 + +* Accelerated graphics. * 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. +* SD card reader is supported through the [[!template id=man name="rtsx" section="4"]] driver, + but seems to have problems when a device is inserted. +* Ethernet is supported through the [[!template id=man name="wm" section="4"]] driver. +* Touchpad is supported through the [[!template id=man name="pms" section="4"]] driver. * Webcam works. * Suspend and resume work. * Bluetooth works. @@ -148,10 +168,11 @@ * Accelerated graphics. * 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, + but seems to have problems when a device is inserted. * 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. +* Touchpad is supported through the [[!template id=man name="pms" section="4"]] driver. * Webcam works. * To record from the internal mic, set `mixerctl -w record.source=ADC02` * Suspend and resume work. @@ -161,6 +182,7 @@ * Accelerated graphics. * 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. +* Touchpad is supported through the [[!template id=man name="pms" section="4"]] driver. ## ThinkPad X220 @@ -168,6 +190,7 @@ it's advisable to set `Option "AccelMethod" "uxa"` in `xorg.conf`. * 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. +* Touchpad is supported through the [[!template id=man name="pms" section="4"]] driver. * Suspend and resume work. ## ThinkPad X1 Carbon (Ivy Bridge, i7)
sort by newest
Index: wikisrc/laptops.mdwn =================================================================== RCS file: /cvsroot/wikisrc/laptops.mdwn,v retrieving revision 1.44 retrieving revision 1.45 diff -u -r1.44 -r1.45 --- wikisrc/laptops.mdwn 14 Oct 2026 12:24:34 -0000 1.44 +++ wikisrc/laptops.mdwn 15 Oct 2026 19:34:51 -0000 1.45 @@ -56,10 +56,11 @@ ## Wi-Fi -Many x86 laptops with Intel processors will have WiFi cards supported +Many x86 laptops with Intel processors will have 802.11ac WiFi cards supported by the [[!template id=man name="iwm" section="4"]] driver, or -[[!template id=man name="iwn" section="4"]] for older models. +[[!template id=man name="iwn" section="4"]] for older 802.11n models. +Intel Wi-Fi 6 (802.11ax) devices are not yet supported. Atheros 11n miniPCIe cards are supported by the [[!template id=man name="athn" section="4"]] driver. Since December 2025, iwm(4) is more stable and performant in the @@ -121,6 +122,54 @@ A number of NetBSD developers use ThinkPads to hack on NetBSD and for everyday usage. +## ThinkPad X260 + +* Accelerated graphics. +* 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. +* Webcam works. +* Suspend and resume work. +* Bluetooth works. + +## ThinkPad X270 + +Hardware is very similar to the X260. + +## ThinkPad A475 + +* GPU acceleration works with the amdgpu driver in NetBSD 10 (not built into the default kernel, though) +* WiFi may not be supported, consider a [[!template id=man name="urtwn" section="4"]] dongle. +* Ethernet is supported through the [[!template id=man name="re" section="4"]] driver. +* Suspend/resume almost fully works - the USB3 ports stop working after resume. + +## ThinkPad X250 + +* Accelerated graphics. +* 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. +* 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 works. +* To record from the internal mic, set `mixerctl -w record.source=ADC02` +* Suspend and resume work. + +## ThinkPad X230 + +* Accelerated graphics. +* 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. + +## ThinkPad X220 + +* Video acceleration works, but when using `xf86-video-intel` (the default), + it's advisable to set `Option "AccelMethod" "uxa"` in `xorg.conf`. +* 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. +* Suspend and resume work. + ## ThinkPad X1 Carbon (Ivy Bridge, i7) Installled with Coreboot and TianoCore (UEFI) firmware. @@ -134,9 +183,10 @@ * SD card reader is supported through the [[!template id=man name="sdhc" section="4"]] driver. * Suspend/resume works. -## ThinkPad T22 +## ThinkPad X61s -Works perfect (sound, display, all devices, infrared port not tested). +Everything works. Requires `PCI_BUS_FIXUP` and `PCI_ADDR_FIXUP` [[!template +id=man name="options" section="4"]]. ## ThinkPad X60s @@ -146,58 +196,49 @@ Works fine (sound, display, all devices, bluetooth, modem not tested). -## ThinkPad X61s +## ThinkPad T22 -Everything works. Requires `PCI_BUS_FIXUP` and `PCI_ADDR_FIXUP` [[!template -id=man name="options" section="4"]]. +Works perfect (sound, display, all devices, infrared port not tested). -## ThinkPad X220 -* Video acceleration works, but when using `xf86-video-intel` (the default), - it's advisable to set `Option "AccelMethod" "uxa"` in `xorg.conf`. -* 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. -* Suspend and resume work. +--- -## ThinkPad X230 +# PINE64 -* Accelerated graphics. -* 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. +A number of NetBSD developers use Pinebooks to hack on NetBSD +and for everyday usage. -## ThinkPad X250 +Pinebook and Pinebook Pro do not use ACPI, so certain aspects are +different compared to x86 laptops. -* Accelerated graphics. -* 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. -* 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 works. -* To record from the internal mic, set `mixerctl -w record.source=ADC02` -* Suspend and resume work. +## Pinebook Pro (Rockchip RK3399) -## ThinkPad X260 +* 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`. -* Accelerated graphics. -* 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. -* Webcam works. -* Suspend and resume work. -* Bluetooth works. +### Pinebook Pro CPU affinity -## ThinkPad X270 +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: -Hardware is very similar to the X260. +`$ schedctl -A 4,5 make package` -## ThinkPad A475 +## Pinebook (Allwinner A64) -* GPU acceleration works with the amdgpu driver in NetBSD 10 (not built into the default kernel, though) -* WiFi may not be supported, consider a [[!template id=man name="urtwn" section="4"]] dongle. -* Ethernet is supported through the [[!template id=man name="re" section="4"]] driver. -* Suspend/resume almost fully works - the USB3 ports stop working after resume. +* 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? --- @@ -233,42 +274,3 @@ 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.*`. (Diff truncated)
Mention USB controllers.
Index: wikisrc/ports/amiga.mdwn =================================================================== RCS file: /cvsroot/wikisrc/ports/amiga.mdwn,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- wikisrc/ports/amiga.mdwn 1 Aug 2026 17:43:48 -0000 1.42 +++ wikisrc/ports/amiga.mdwn 14 Oct 2026 13:42:59 -0000 1.43 @@ -119,6 +119,10 @@ * Real-time clocks: A2000, A3000, A4000 builtin; DraCo builtin (r/o); A2000-RTC-clone on some A1200 accelerator boards. +* USB controllers + * Individual Computers RapidRoad + * Thylacine + <div class="footnotes"> <hr width="100" align="left"> <div id="ftn.gvp-accelerator" class="footnote">
sticky key
Index: wikisrc/laptops.mdwn =================================================================== RCS file: /cvsroot/wikisrc/laptops.mdwn,v retrieving revision 1.43 retrieving revision 1.44 diff -u -r1.43 -r1.44 --- wikisrc/laptops.mdwn 14 Oct 2026 12:21:25 -0000 1.43 +++ wikisrc/laptops.mdwn 14 Oct 2026 12:24:34 -0000 1.44 @@ -87,7 +87,7 @@ [[!template id=man name="afterboot" section="8"]] man page for details on connecting to Wi-Fi networks. -Unfortunately, Wi--Fi hardware is not particularly standardized compared +Unfortunately, Wi-Fi hardware is not particularly standardized compared to most other aspects of modern laptops. ## Audio
example urtwns
Index: wikisrc/laptops.mdwn =================================================================== RCS file: /cvsroot/wikisrc/laptops.mdwn,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- wikisrc/laptops.mdwn 2 Aug 2026 10:41:53 -0000 1.42 +++ wikisrc/laptops.mdwn 14 Oct 2026 12:21:25 -0000 1.43 @@ -54,7 +54,7 @@ which is supported through [[!template id=man name="pms" section="4"]], with various adjustable Synaptics-specific sysctl variables. -## WiFi +## Wi-Fi Many x86 laptops with Intel processors will have WiFi cards supported by the @@ -66,9 +66,14 @@ -current kernel (for most users). These changes have not yet been pulled to a stable branch. -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, +USB 11n Wi-Fi adapters such as +[[!template id=man name="urtwn" section="4"]] (e.g. +[TP-Link TL-WN725N](https://www.amazon.com/wifi-adapter-usb-pc-network/dp/B008IFXQFU), +[Edimax EW-7811Un V2](https://www.amazon.com/Edimax-802-11n-Adapter-Smallest-Plug-n-Play/dp/B08F2ZNC6J)) +and +[[!template id=man name="run" section="4"]] +(e.g. [generic clones](https://www.amazon.com/150Mbps-Wireless-Eiszuso-Compatible-Required/dp/B0CRDGYGVX)) +can also be used, and most/all generic USB ethernet adapters are also well supported. USB adapters generally have the most mature drivers and are the best way to get wireless networking out of your NetBSD machine. @@ -80,9 +85,9 @@ See the [[!template id=man name="afterboot" section="8"]] man page for details -on connecting to WiFi networks. +on connecting to Wi-Fi networks. -Unfortunately, WiFi hardware is not particularly standardized compared +Unfortunately, Wi--Fi hardware is not particularly standardized compared to most other aspects of modern laptops. ## Audio
keywords (help search engines)
Index: wikisrc/gpus.mdwn =================================================================== RCS file: /cvsroot/wikisrc/gpus.mdwn,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- wikisrc/gpus.mdwn 13 Oct 2026 11:04:33 -0000 1.3 +++ wikisrc/gpus.mdwn 13 Oct 2026 14:51:20 -0000 1.4 @@ -1,8 +1,8 @@ [[!meta title="Supported discrete GPUs"]] [[!toc levels=1]] -Discrete GPUs supported by NetBSD. Information has been taken from -developers' personal GPU supplies, as well as +Discrete graphics cards supported by NetBSD. Information has +been taken from developers' personal GPU supplies, as well as [dmesgd](https://dmesgd.nycbug.org/dmesgd?do=index&fts=NetBSD). Please note that this primarly covers PCI Express external GPUs, @@ -18,7 +18,7 @@ disabled. The aforementioned guide also shows how to do this. Please make sure the permissions on `/dev/dri/*` are set -correctly for acceleration to work. See also: +correctly for 3D acceleration to work. See also: `/usr/X11R7/share/examples/xorg/xorg.conf` nouveau(4)
fix small typo
Index: wikisrc/gpus.mdwn =================================================================== RCS file: /cvsroot/wikisrc/gpus.mdwn,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- wikisrc/gpus.mdwn 13 Oct 2026 11:04:00 -0000 1.2 +++ wikisrc/gpus.mdwn 13 Oct 2026 11:04:33 -0000 1.3 @@ -8,7 +8,7 @@ Please note that this primarly covers PCI Express external GPUs, for information on older Conventional PCI GPUs, refer to the [radeonfb(4)](https://man.NetBSD.org/radeonfb.4) -(and [other](https://man.NetBSD.org/pci.4)] manual pages. +(and [other](https://man.NetBSD.org/pci.4)) manual pages. Please note that a GPU does not need to be fully supported to configure the display and resolution correctly - see
it turns out this isn't mediawiki
Index: wikisrc/gpus.mdwn =================================================================== RCS file: /cvsroot/wikisrc/gpus.mdwn,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- wikisrc/gpus.mdwn 13 Oct 2026 11:01:31 -0000 1.1 +++ wikisrc/gpus.mdwn 13 Oct 2026 11:04:00 -0000 1.2 @@ -1,3 +1,6 @@ +[[!meta title="Supported discrete GPUs"]] +[[!toc levels=1]] + Discrete GPUs supported by NetBSD. Information has been taken from developers' personal GPU supplies, as well as [dmesgd](https://dmesgd.nycbug.org/dmesgd?do=index&fts=NetBSD). @@ -18,7 +21,8 @@ correctly for acceleration to work. See also: `/usr/X11R7/share/examples/xorg/xorg.conf` -==nouveau(4)== +nouveau(4) +---------- In NetBSD 11.0 the nouveau(4) driver seems to be the most stable. * GeForce GT 1030 @@ -29,7 +33,8 @@ * GeForce GT 710 (HDMI/DVI/VGA) * GeForce GT 730 1GB sDDR3 (HDMI/DVI/VGA) -==radeon(4)== +radeon(4) +--------- * Radeon HD 3450 * Radeon HD 5450 512MB Dual DVI * Radeon HD 6320 @@ -37,7 +42,8 @@ * Radeon HD 7350 1GB Dual DVI * Radeon R7 370 -==amdgpu(4)== +amdgpu(4) +--------- Please note that amdgpu(4) is experimental and not enabled in `GENERIC` kernels. * Radeon RX 550
start compiling a list of supported gpus
--- /dev/null 2026-10-13 11:01:31.605690465 +0000 +++ wikisrc/gpus.mdwn 2026-10-13 11:02:11.794543786 +0000 @@ -0,0 +1,45 @@ +Discrete GPUs supported by NetBSD. Information has been taken from +developers' personal GPU supplies, as well as +[dmesgd](https://dmesgd.nycbug.org/dmesgd?do=index&fts=NetBSD). + +Please note that this primarly covers PCI Express external GPUs, +for information on older Conventional PCI GPUs, refer to the +[radeonfb(4)](https://man.NetBSD.org/radeonfb.4) +(and [other](https://man.NetBSD.org/pci.4)] manual pages. + +Please note that a GPU does not need to be fully supported +to configure the display and resolution correctly - see +[[tutorials/x11/how_to_use_wsfb_uefi_bios_framebuffer]]. +However, in systems where multiple GPU drivers attach +(e.g. integrated and discrete), one driver may need to be +disabled. The aforementioned guide also shows how to do this. + +Please make sure the permissions on `/dev/dri/*` are set +correctly for acceleration to work. See also: +`/usr/X11R7/share/examples/xorg/xorg.conf` + +==nouveau(4)== +In NetBSD 11.0 the nouveau(4) driver seems to be the most stable. + +* GeForce GT 1030 +* GeForce GTX 1050 Ti +* GeForce GTX 1060 +* GeForce RTX 2060 +* GeForce GT 630 (HDMI/DVI/VGA) +* GeForce GT 710 (HDMI/DVI/VGA) +* GeForce GT 730 1GB sDDR3 (HDMI/DVI/VGA) + +==radeon(4)== +* Radeon HD 3450 +* Radeon HD 5450 512MB Dual DVI +* Radeon HD 6320 +* Radeon HD 6450/7450/8450 +* Radeon HD 7350 1GB Dual DVI +* Radeon R7 370 + +==amdgpu(4)== +Please note that amdgpu(4) is experimental and not enabled in `GENERIC` kernels. + +* Radeon RX 550 +* Radeon RX 570 +* Radeon RX 590
Update
Index: wikisrc/users/tkusumi.mdwn =================================================================== RCS file: /cvsroot/wikisrc/users/tkusumi.mdwn,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- wikisrc/users/tkusumi.mdwn 8 Dec 2022 03:57:46 -0000 1.9 +++ wikisrc/users/tkusumi.mdwn 6 Oct 2026 07:14:31 -0000 1.10 @@ -1,11 +0,0 @@ -Tomohiro Kusumi <<tkusumi@netbsd.org>> - -* <https://github.com/kusumi> -* <https://sourceforge.net/u/kusumi/profile/> -* <https://www.dragonflybsd.org/~tkusumi/> -* <https://www.netbsd.org/~tkusumi/> -* <https://www.flickr.com/people/tkusumi/> - -* <https://pkgsrc.se/editors/fileobj> -* <https://www.freshports.org/editors/fileobj> -* <https://www.freshports.org/sysutils/hammer2/>
move past: OSC2026online fall
Index: wikisrc/users/jun.mdwn =================================================================== RCS file: /cvsroot/wikisrc/users/jun.mdwn,v retrieving revision 1.160 retrieving revision 1.161 diff -u -r1.160 -r1.161 --- wikisrc/users/jun.mdwn 24 Sep 2026 02:56:49 -0000 1.160 +++ wikisrc/users/jun.mdwn 5 Oct 2026 11:23:34 -0000 1.161 @@ -9,20 +9,12 @@ ## Event Updates [[https://www.facebook.com/NetBSD.jp]] #2026 - -## Open Source Conference 2026 Online/Fall BSD BoF -- 2025 Oct.2(Fri)-3(Sat) 10:00-18:00 JST (UTC+9) -- https://event.ospn.jp/osc2026-online-fall/ -- BSD BoF XX:00-XX:45 JST (UTC+9) -- Tour Guide [[]] -- togetter [[]] - ## Open Source Conference 2026 Tokyo/Fall NetBSD Booth - Booth: 2026 Oct.17 Sat 10:00-16:00 JST (UTC+9) - Toritsu Sangyo Boueki Center Taito-kan [[https://www.sanbo.metro.tokyo.lg.jp/taito/access/ Asakusa,Tokyo]] - [[https://event.ospn.jp/osc2026-fall/]] -- Tour Guide [[]] -- togetter [[]] +- Tour Guide [[https://cdn.netbsd.org/pub/NetBSD/misc/jun/OSC/OSC2026tokyofall.pdf]] +- togetter [[https://posfie.com/@ebijun/p/QCQ9Tua]] ## Kansai Open Forum 2026 - 2026 Nov.13 Fri-14 Sat 10:50-18:00 JST (UTC+9) @@ -56,6 +48,14 @@ # Past in 2026 +## Open Source Conference 2026 Online/Fall BSD BoF +- 2025 Oct.2(Fri)-3(Sat) 10:00-18:00 JST (UTC+9) +- https://event.ospn.jp/osc2026-online-fall/ +- BSD BoF XX:00-XX:45 JST (UTC+9) +- Tour Guide [[https://cdn.netbsd.org/pub/NetBSD/misc/jun/OSC/OSC2026tokyofall.pdf]] +- togetter [[https://posfie.com/@ebijun/p/QCQ9Tua]] +- Youtube [[https://youtu.be/FVoSvTh0cR0]] + ## Open Source Conference 2026 Hiroshima NetBSD Booth&BoF - 2026 Sep.12 Sun 10:00-18:00 JST (UTC+9) - NetBSD Bof: 2026 Sep.12 Sun 11:00-11:45 JST (UTC+9)
Markdown fix
It seems our markdown processor thought that the code was still part of
the numbered list and got very confused. So let's be explicit and use
backticks to denote the pre-formatted code.
It seems our markdown processor thought that the code was still part of
the numbered list and got very confused. So let's be explicit and use
backticks to denote the pre-formatted code.
Members:
tutorials/kqueue_tutorial.mdwn:1.7->1.8
Index: wikisrc/tutorials/kqueue_tutorial.mdwn
===================================================================
RCS file: /cvsroot/wikisrc/tutorials/kqueue_tutorial.mdwn,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- wikisrc/tutorials/kqueue_tutorial.mdwn 29 Jul 2025 18:21:21 -0000 1.7
+++ wikisrc/tutorials/kqueue_tutorial.mdwn 1 Oct 2026 11:00:16 -0000 1.8
@@ -227,124 +227,126 @@
1. any incoming host data in the socket
2. any user data in the standard input stream
- #include <netinet/in.h>
- #include <sys/event.h>
- #include <sys/socket.h>
- #include <sys/time.h>
- #include <netdb.h>
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- #include <unistd.h>
-
- #define BUFSIZE 1024
-
- /* function prototypes */
- void diep(const char *s);
- int tcpopen(const char *host, int port);
- void sendbuftosck(int sckfd, const char *buf, int len);
-
- int main(int argc, char *argv[])
- {
- struct kevent chlist[2]; /* events we want to monitor */
- struct kevent evlist[2]; /* events that were triggered */
- char buf[BUFSIZE];
- int sckfd, kq, nev, i;
-
- /* check argument count */
- if (argc != 3) {
- fprintf(stderr, "usage: %s host port\n", argv[0]);
- exit(EXIT_FAILURE);
- }
-
- /* open a connection to a host:port pair */
- sckfd = tcpopen(argv[1], atoi(argv[2]));
-
- /* create a new kernel event queue */
- if ((kq = kqueue()) == -1)
- diep("kqueue()");
-
- /* initialise kevent structures */
- EV_SET(&chlist[0], sckfd, EVFILT_READ, EV_ADD | EV_ENABLE, 0, 0, 0);
- EV_SET(&chlist[1], fileno(stdin), EVFILT_READ, EV_ADD | EV_ENABLE, 0, 0, 0);
-
- /* loop forever */
- for (;;) {
- nev = kevent(kq, chlist, 2, evlist, 2, NULL);
-
- if (nev < 0)
- diep("kevent()");
-
- else if (nev > 0) {
- if (evlist[0].flags & EV_EOF) /* read direction of socket has shutdown */
- exit(EXIT_FAILURE);
-
- for (i = 0; i < nev; i++) {
- if (evlist[i].flags & EV_ERROR) { /* report errors */
- fprintf(stderr, "EV_ERROR: %s\n", strerror(evlist[i].data));
- exit(EXIT_FAILURE);
- }
-
- if (evlist[i].ident == sckfd) { /* we have data from the host */
- memset(buf, 0, BUFSIZE);
- if (read(sckfd, buf, BUFSIZE) < 0)
- diep("read()");
- fputs(buf, stdout);
- }
-
- else if (evlist[i].ident == fileno(stdin)) { /* we have data from stdin */
- memset(buf, 0, BUFSIZE);
- fgets(buf, BUFSIZE, stdin);
- sendbuftosck(sckfd, buf, strlen(buf));
- }
- }
- }
- }
-
- close(kq);
- return EXIT_SUCCESS;
- }
-
- void diep(const char *s)
- {
- perror(s);
- exit(EXIT_FAILURE);
- }
-
- int tcpopen(const char *host, int port)
- {
- struct sockaddr_in server;
- struct hostent *hp;
- int sckfd;
-
- if ((hp = gethostbyname(host)) == NULL)
- diep("gethostbyname()");
-
- if ((sckfd = socket(PF_INET, SOCK_STREAM, 0)) < 0)
- diep("socket()");
-
- server.sin_family = AF_INET;
- server.sin_port = htons(port);
- server.sin_addr = *((struct in_addr *)hp->h_addr);
- memset(&(server.sin_zero), 0, 8);
-
- if (connect(sckfd, (struct sockaddr *)&server, sizeof(struct sockaddr)) < 0)
- diep("connect()");
-
- return sckfd;
- }
-
- void sendbuftosck(int sckfd, const char *buf, int len)
- {
- int bytessent, pos;
-
- pos = 0;
- do {
- if ((bytessent = send(sckfd, buf + pos, len - pos, 0)) < 0)
- diep("send()");
- pos += bytessent;
- } while (bytessent > 0);
- }
+```
+#include <netinet/in.h>
+#include <sys/event.h>
+#include <sys/socket.h>
+#include <sys/time.h>
+#include <netdb.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+
+#define BUFSIZE 1024
+
+/* function prototypes */
+void diep(const char *s);
+int tcpopen(const char *host, int port);
+void sendbuftosck(int sckfd, const char *buf, int len);
+
+int main(int argc, char *argv[])
+{
+ struct kevent chlist[2]; /* events we want to monitor */
+ struct kevent evlist[2]; /* events that were triggered */
+ char buf[BUFSIZE];
+ int sckfd, kq, nev, i;
+
+ /* check argument count */
+ if (argc != 3) {
+ fprintf(stderr, "usage: %s host port\n", argv[0]);
+ exit(EXIT_FAILURE);
+ }
+
+ /* open a connection to a host:port pair */
+ sckfd = tcpopen(argv[1], atoi(argv[2]));
+
+ /* create a new kernel event queue */
+ if ((kq = kqueue()) == -1)
+ diep("kqueue()");
+
+ /* initialise kevent structures */
+ EV_SET(&chlist[0], sckfd, EVFILT_READ, EV_ADD | EV_ENABLE, 0, 0, 0);
+ EV_SET(&chlist[1], fileno(stdin), EVFILT_READ, EV_ADD | EV_ENABLE, 0, 0, 0);
+
+ /* loop forever */
+ for (;;) {
+ nev = kevent(kq, chlist, 2, evlist, 2, NULL);
+
+ if (nev < 0)
+ diep("kevent()");
+
+ else if (nev > 0) {
+ if (evlist[0].flags & EV_EOF) /* read direction of socket has shutdown */
+ exit(EXIT_FAILURE);
+
+ for (i = 0; i < nev; i++) {
+ if (evlist[i].flags & EV_ERROR) { /* report errors */
+ fprintf(stderr, "EV_ERROR: %s\n", strerror(evlist[i].data));
+ exit(EXIT_FAILURE);
+ }
+
+ if (evlist[i].ident == sckfd) { /* we have data from the host */
+ memset(buf, 0, BUFSIZE);
+ if (read(sckfd, buf, BUFSIZE) < 0)
+ diep("read()");
+ fputs(buf, stdout);
+ }
+
+ else if (evlist[i].ident == fileno(stdin)) { /* we have data from stdin */
(Diff truncated)
Another idea on my personal wiki page
Index: wikisrc/users/charlotte.mdwn =================================================================== RCS file: /cvsroot/wikisrc/users/charlotte.mdwn,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- wikisrc/users/charlotte.mdwn 29 Sep 2026 02:43:07 -0000 1.6 +++ wikisrc/users/charlotte.mdwn 29 Sep 2026 22:01:59 -0000 1.7 @@ -35,3 +35,5 @@ - Port the [Sunshine](https://app.lizardbyte.dev/Sunshine/) server to NetBSD - Driver for the floppy drive on my Sun Blade 100 (?!) + +- Specialized driver for the Xbox 360 controller
More personal wiki updates
Index: wikisrc/users/charlotte.mdwn =================================================================== RCS file: /cvsroot/wikisrc/users/charlotte.mdwn,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- wikisrc/users/charlotte.mdwn 29 Sep 2026 02:30:23 -0000 1.5 +++ wikisrc/users/charlotte.mdwn 29 Sep 2026 02:43:07 -0000 1.6 @@ -14,6 +14,16 @@ - A program that lets you interactively preview console fonts and tweak other wscons settings, and then generates a suitable wscons.conf(5) +- An approachable wizard-like program that guides the user through + installing a GPT on a disk, labeling the partitions, and updating fstab(5) + +- More [gaming wiki](https://wiki.netbsd.org/gaming/) articles! + +- Finish up the + [NetBSD curses Lua bindings](https://github.com/dressupgeekout/netbsd-lua-curses) + and actually import them + + ### Medium - **mapleaction(1)**. It would be just like usbhidaction(1) but for Maple @@ -23,3 +33,5 @@ ### Hard - Port the [Sunshine](https://app.lizardbyte.dev/Sunshine/) server to NetBSD + +- Driver for the floppy drive on my Sun Blade 100 (?!)
Update my personal wiki page
Index: wikisrc/users/charlotte.mdwn =================================================================== RCS file: /cvsroot/wikisrc/users/charlotte.mdwn,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- wikisrc/users/charlotte.mdwn 5 Sep 2026 00:05:23 -0000 1.4 +++ wikisrc/users/charlotte.mdwn 29 Sep 2026 02:30:23 -0000 1.5 @@ -4,3 +4,22 @@ - [My NetBSD www page](https://www.netbsd.org/~charlotte/) - [My personal website](https://dressupgeekout.com) + +---- + +## Projects I want to work on + +### Easy + +- A program that lets you interactively preview console fonts and tweak + other wscons settings, and then generates a suitable wscons.conf(5) + +### Medium + +- **mapleaction(1)**. It would be just like usbhidaction(1) but for Maple + bus devices on the Dreamcast instead of USB. + + +### Hard + +- Port the [Sunshine](https://app.lizardbyte.dev/Sunshine/) server to NetBSD
how_to_use_snapshots: Need `mount -t msdos' for PR 60626.
Index: wikisrc/tutorials/how_to_use_snapshots.mdwn
===================================================================
RCS file: /cvsroot/wikisrc/tutorials/how_to_use_snapshots.mdwn,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- wikisrc/tutorials/how_to_use_snapshots.mdwn 10 Aug 2026 13:54:39 -0000 1.52
+++ wikisrc/tutorials/how_to_use_snapshots.mdwn 28 Sep 2026 01:38:39 -0000 1.53
@@ -188,15 +188,18 @@
#### Taking a snapshot
-To create a snapshot of the `/boot` directory, using space in
-`/var/tmp/` to save any data overwritten while the snapshot is active,
-and then mount it at `/mnt`:
+To create a snapshot of the msdosfs (FAT) file system `/boot`, using
+space in `/var/tmp/` to save any data overwritten while the snapshot is
+active, and then mount it at `/mnt`:
[[!template id=programlisting text="""
# fssconfig fss1 /boot /var/tmp/
-# mount /dev/fss1 /mnt
+# mount -t msdos /dev/fss1 /mnt
"""]]
+(The `-t msdos` option for [[!template id=man name="mount" section=8]]
+is currently required because of [[!template id=pr number=60626]].)
+
[[!template id=man name="fssconfig" section="8"]] will create a
temporary file with an unpredictable name in `/var/tmp/` as the backing
store for the snapshot, and immediately unlink it; it will be discarded
@@ -375,7 +378,7 @@
[[!template id=programlisting text="""
# fssconfig fss0 /home /home/.snap/20260706.store
# mkdir /home/.snap/20260706
-# mount /dev/fss0 /home/.snap/20260706
+# mount -t fss /dev/fss0 /home/.snap/20260706
# tar -C /home/.snap/20260706 -czf - . \
>/nfs/backups/home/20260706.tgz
"""]]
@@ -425,12 +428,13 @@
#### Example: rsync
-Mount an external snapshot of the msdos volume `/data` and back it up
-incrementally with [[!pkgsrc net/rsync desc="net/rsync"]]:
+Mount an external snapshot of the msdosfs (FAT) file system volume
+`/data` and back it up incrementally with
+[[!pkgsrc net/rsync desc="net/rsync"]]:
[[!template id=programlisting text="""
# fssconfig fss1 /data /var/tmp/
-# mount /dev/fss1 /mnt
+# mount -t msdos /dev/fss1 /mnt
# ssh rsynchost mkdir /backups/$(hostname)/data/20260706
# rsync -aHcz --link-dest=../latest/. \
/mnt/. rsynchost:/backups/$(hostname)/data/20260706/.
@@ -439,6 +443,9 @@
# fssconfig -u fss1
"""]]
+(The `-t msdos` option for [[!template id=man name="mount" section=8]]
+is currently required because of [[!template id=pr number=60626]].)
+
This will use a temporary file in `/var/tmp/` as the backing store
while the snapshot is active, and then discard it as soon as it is
unconfigured.
abi: Actually link to an archive for the archived SH-4 ELF ABI.
Index: wikisrc/abi.mdwn =================================================================== RCS file: /cvsroot/wikisrc/abi.mdwn,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- wikisrc/abi.mdwn 20 Apr 2025 18:52:43 -0000 1.12 +++ wikisrc/abi.mdwn 25 Sep 2026 20:42:36 -0000 1.13 @@ -120,7 +120,7 @@ #### sh3 -* [*SH-4 generic and C specific application binary interface*](https://www.st.com/resource/en/reference_manual/rm0197-sh4-generic-and-c-specific-application-binary-interface-stmicroelectronics.pdf), 7839242 Rev 2, October 2011, STMicroelectronics ([archive](https://www.st.com/resource/en/reference_manual/rm0197-sh4-generic-and-c-specific-application-binary-interface-stmicroelectronics.pdf)) +* [*SH-4 generic and C specific application binary interface*](https://www.st.com/resource/en/reference_manual/rm0197-sh4-generic-and-c-specific-application-binary-interface-stmicroelectronics.pdf), 7839242 Rev 2, October 2011, STMicroelectronics ([archive](https://web.archive.org/web/20260228123104/https://www.st.com/resource/en/reference_manual/rm0197-sh4-generic-and-c-specific-application-binary-interface-stmicroelectronics.pdf)) #### sparc/sparc64
OSC2026hiroshima: Youtube link
Index: wikisrc/users/jun.mdwn =================================================================== RCS file: /cvsroot/wikisrc/users/jun.mdwn,v retrieving revision 1.159 retrieving revision 1.160 diff -u -r1.159 -r1.160 --- wikisrc/users/jun.mdwn 14 Sep 2026 23:04:53 -0000 1.159 +++ wikisrc/users/jun.mdwn 24 Sep 2026 02:56:49 -0000 1.160 @@ -62,6 +62,7 @@ - https://event.ospn.jp/osc2026-hiroshima/ - Tour Guide [[https://cdn.netbsd.org/pub/NetBSD/misc/jun/OSC/ODC2026.pdf]] - togetter [[https://posfie.com/@ebijun/p/zsGBpJW]] +- youtube [[https://youtu.be/wZRwJwQ8QdQ]] - [[https://www.pastel-flower.jp/~isaki/NetBSD/osc26hi/]] - [[https://speakerdeck.com/tsutsui/osc2026hiroshima]]
move past: OSC2026hiroshima
Index: wikisrc/users/jun.mdwn =================================================================== RCS file: /cvsroot/wikisrc/users/jun.mdwn,v retrieving revision 1.158 retrieving revision 1.159 diff -u -r1.158 -r1.159 --- wikisrc/users/jun.mdwn 2 Sep 2026 02:56:29 -0000 1.158 +++ wikisrc/users/jun.mdwn 14 Sep 2026 23:04:53 -0000 1.159 @@ -10,13 +10,6 @@ #2026 -## Open Source Conference 2026 Hiroshima NetBSD Booth&BoF -- 2026 Sep.12 Sun 10:00-18:00 JST (UTC+9) -- NetBSD Bof: 2026 Sep.12 Sun 11:00-11:45 JST (UTC+9) -- https://event.ospn.jp/osc2026-hiroshima/ -- Tour Guide [[]] -- togetter [[]] - ## Open Source Conference 2026 Online/Fall BSD BoF - 2025 Oct.2(Fri)-3(Sat) 10:00-18:00 JST (UTC+9) - https://event.ospn.jp/osc2026-online-fall/ @@ -63,6 +56,15 @@ # Past in 2026 +## Open Source Conference 2026 Hiroshima NetBSD Booth&BoF +- 2026 Sep.12 Sun 10:00-18:00 JST (UTC+9) +- NetBSD Bof: 2026 Sep.12 Sun 11:00-11:45 JST (UTC+9) +- https://event.ospn.jp/osc2026-hiroshima/ +- Tour Guide [[https://cdn.netbsd.org/pub/NetBSD/misc/jun/OSC/ODC2026.pdf]] +- togetter [[https://posfie.com/@ebijun/p/zsGBpJW]] +- [[https://www.pastel-flower.jp/~isaki/NetBSD/osc26hi/]] +- [[https://speakerdeck.com/tsutsui/osc2026hiroshima]] + ## Open Developers Conference 2026 NetBSD BoF - 2026 Aug.29 Sat 11:00-11:45 JST (UTC+9) - [[https://event.ospn.jp/odc2026/]]
