Samsung Galaxy Book4 Edge - OpenBSD

Hardware info on main page.

sd0 - KIOXIA THGJFJT2T85BAT0A - WoA

sd1 - Kingston XS2000, 1TB - OpenBSD

keys: F2 - BIOS, F10 - boot menu,

Links

Work log

2025-07-17: sd1a - but the different hub (TCH-7M2UD) drops off the usb bus when I unplug the usb power supply. Hmm, the TCH-11 also drops off the usb bus when I unplug the usb power supply. Not sure kif this is a hardware or a driver problem.

2025-07-17: sd1a - with a different hub (Pepper Jobs TCH-7M2UD), and a separate usb to ethernet adapter

b4e# usbdevs -v
Controller /dev/usb0:
addr 01: 0000:0000 Generic, xHCI root hub
     super speed, self powered, config 1, rev 1.00
     driver: uhub0
addr 02: 2109:2822 VIA Labs, Inc., USB2.0 Hub
     high speed, self powered, config 1, rev 6.03, iSerial 000000001
     driver: uhub2
addr 03: 0bda:9210 Realtek, RTL9210B-CG
     high speed, power 500 mA, config 1, rev 20.01, iSerial 012345678907
     driver: umass0
addr 04: 1a40:0101 Terminus Technology, USB 2.0 Hub
     high speed, self powered, config 1, rev 1.11
     driver: uhub3
addr 05: 0bda:8153 Realtek, USB 10/100/1000 LAN
     high speed, power 180 mA, config 1, rev 30.00, iSerial 000001000000
     driver: ure0
addr 06: 2109:8884 VIA Labs, Inc., USB Billboard Device
     high speed, self powered, config 1, rev 0.01, iSerial 0000000000000001
     driver: ugen0
addr 07: 2109:0822 VIA Labs, Inc., USB3.1 Hub
     super speed, self powered, config 1, rev 6.03, iSerial 000000001
     driver: uhub4
Controller /dev/usb1:
addr 01: 0000:0000 Generic, xHCI root hub
     super speed, self powered, config 1, rev 1.00
     driver: uhub1
addr 02: 0951:176b Kingston, XS2000
     super speed, power 224 mA, config 1, rev 1.00, iSerial 50026B728373DC80
     driver: umass1

2025-07-17: sd1a - fw_update list

b4e# fw_update -l
acx
amd
amdsev
arm64-qcom-dtb
qcpas

dry run

b4e# fw_update -n     
fw_update: add none; update amd; keep acx,amdsev,arm64-qcom-dtb,qcpas

do it

b4e# fw_update        
fw_update: add none; update amd; keep acx,amdsev,arm64-qcom-dtb,qcpas

check

b4e# fw_update 
fw_update: add none; update none; keep acx,amd,amdsev,arm64-qcom-dtb,qcpas

2025-07-17: sd1a - syspatch

b4e# syspatch
Get/Verify syspatch77-007_xserver... 100% |***************************************************|  4304 KB    00:00    
Installing patch 007_xserver
Get/Verify syspatch77-008_pledge.tgz 100% |***************************************************| 89281       00:00    
Installing patch 008_pledge
Relinking to create unique kernel... done; reboot to load the new kernel
Errata can be reviewed under /var/syspatch

2025-07-17: sd1a - sysctl info

b4e# sysctl hw
hw.machine=arm64
hw.model=Qualcomm Oryon r2p1
hw.ncpu=12
hw.byteorder=1234
hw.pagesize=4096
hw.disknames=sd0:,sd1:4da0076d5ee83ddc
hw.diskcount=2
hw.sensors.qctsens0.temp0=45.10 degC (aoss0)
hw.sensors.qctsens0.temp1=45.10 degC (cpu0-0-top)
hw.sensors.qctsens0.temp2=45.10 degC (cpu0-0-btm)
hw.sensors.qctsens0.temp3=45.10 degC (cpu0-1-top)
hw.sensors.qctsens0.temp4=45.90 degC (cpu0-1-btm)
hw.sensors.qctsens0.temp5=45.10 degC (cpu0-2-top)
hw.sensors.qctsens0.temp6=45.10 degC (cpu0-2-btm)
hw.sensors.qctsens0.temp7=45.50 degC (cpu0-3-top)
hw.sensors.qctsens0.temp8=45.50 degC (cpu0-3-btm)
hw.sensors.qctsens0.temp9=46.70 degC (cpuss0-top)
hw.sensors.qctsens0.temp10=45.90 degC (cpuss0-btm)
hw.sensors.qctsens0.temp11=46.30 degC (mem)
hw.sensors.qctsens0.temp12=46.70 degC (video)
hw.sensors.qctsens1.temp0=46.80 degC (aoss1)
hw.sensors.qctsens1.temp1=47.20 degC (cpu1-0-top)
hw.sensors.qctsens1.temp2=47.60 degC (cpu1-0-btm)
hw.sensors.qctsens1.temp3=47.20 degC (cpu1-1-top)
hw.sensors.qctsens1.temp4=47.60 degC (cpu1-1-btm)
hw.sensors.qctsens1.temp6=48.80 degC (cpu1-2-btm)
hw.sensors.qctsens1.temp7=47.60 degC (cpu1-3-top)
hw.sensors.qctsens1.temp8=47.60 degC (cpu1-3-btm)
hw.sensors.qctsens1.temp9=49.20 degC (cpuss1-top)
hw.sensors.qctsens1.temp10=50.40 degC (cpuss1-btm)
hw.sensors.qctsens2.temp0=46.80 degC (aoss2)
hw.sensors.qctsens2.temp1=46.80 degC (cpu2-0-top)
hw.sensors.qctsens2.temp3=47.20 degC (cpu2-1-top)
hw.sensors.qctsens2.temp4=47.60 degC (cpu2-1-btm)
hw.sensors.qctsens2.temp5=48.00 degC (cpu2-2-top)
hw.sensors.qctsens2.temp6=48.80 degC (cpu2-2-btm)
hw.sensors.qctsens2.temp7=47.60 degC (cpu2-3-top)
hw.sensors.qctsens2.temp8=47.60 degC (cpu2-3-btm)
hw.sensors.qctsens2.temp9=49.60 degC (cpuss2-top)
hw.sensors.qctsens2.temp10=50.00 degC (cpuss2-btm)
hw.sensors.qctsens3.temp0=46.20 degC (aoss3)
hw.sensors.qctsens3.temp1=45.80 degC (nsp0)
hw.sensors.qctsens3.temp2=45.80 degC (nsp1)
hw.sensors.qctsens3.temp3=44.90 degC (nsp2)
hw.sensors.qctsens3.temp4=45.30 degC (nsp3)
hw.sensors.qctsens3.temp5=44.90 degC (gpuss-0)
hw.sensors.qctsens3.temp6=45.30 degC (gpuss-1)
hw.sensors.qctsens3.temp7=45.30 degC (gpuss-2)
hw.sensors.qctsens3.temp8=44.90 degC (gpuss-3)
hw.sensors.qctsens3.temp9=45.30 degC (gpuss-4)
hw.sensors.qctsens3.temp10=45.30 degC (gpuss-5)
hw.sensors.qctsens3.temp11=44.50 degC (gpuss-6)
hw.sensors.qctsens3.temp12=45.30 degC (gpuss-7)
hw.sensors.qctsens3.temp13=45.30 degC (camera0)
hw.sensors.qctsens3.temp14=45.30 degC (camera1)
hw.sensors.scmi0.power0=0.22 W
hw.sensors.scmi0.power1=0.58 W
hw.sensors.scmi0.power2=0.53 W
hw.sensors.scmi0.frequency0=2976000000.00 Hz
hw.sensors.scmi0.frequency1=4012800000.00 Hz
hw.sensors.scmi0.frequency2=4012800000.00 Hz
hw.vendor=SAMSUNG ELECTRONICS CO., LTD.
hw.product=Galaxy Book4 Edge
hw.version=2.1
hw.serialno=6RW69FFX700089T
hw.uuid=7b260098-9e7d-3833-4a4e-3847300095cb
hw.physmem=16614047744
hw.usermem=16614043648
hw.ncpufound=12
hw.allowpowerdown=1
hw.smt=0
hw.ncpuonline=12
hw.power=1
hw.ucomnames=

2025-07-17: sd1a - charging seems to work (with the TCH-11 hub) even if apm doesn't report anything

b4e# apm
Battery state: unknown, 0% remaining, unknown life estimate
AC adapter state: not known
Performance adjustment mode: invalid (0 MHz)

try to enable apmd

b4e# rcctl enable apmd
b4e# rcctl start apmd  
apmd(ok)

check again

b4e# apm
Battery state: unknown, 0% remaining, unknown life estimate
AC adapter state: not known
Performance adjustment mode: invalid (0 MHz)

2025-07-17: sd1a - connected up the Pepper Jobs TCH-11 hub and connected a network cable to the ethernet port on it. It works. usbdevs output

b4e$ doas usbdevs -v 
doas (tingo@b4e.local) password: 
Controller /dev/usb0:
addr 01: 0000:0000 Generic, xHCI root hub
     super speed, self powered, config 1, rev 1.00
     driver: uhub0
addr 02: 2109:2817 VIA Labs, Inc., USB2.0 Hub
     high speed, self powered, config 1, rev 3.b4
     driver: uhub2
addr 03: 1a40:0101 Terminus Technology, USB 2.0 Hub
     high speed, self powered, config 1, rev 1.11
     driver: uhub3
addr 04: 0c76:161f EasyDisk, USB PnP Audio Device
     full speed, power 100 mA, config 1, rev 1.00
     driver: uaudio0
     driver: uhidev0
addr 05: 0bda:8153 Realtek, USB 10/100/1000 LAN
     high speed, power 200 mA, config 1, rev 30.00, iSerial 000001
     driver: ure0
addr 06: 2109:0817 VIA Labs, Inc., USB3.0 Hub
     super speed, self powered, config 1, rev 3.b4
     driver: uhub4
Controller /dev/usb1:
addr 01: 0000:0000 Generic, xHCI root hub
     super speed, self powered, config 1, rev 1.00
     driver: uhub1
addr 02: 0951:176b Kingston, XS2000
     super speed, power 224 mA, config 1, rev 1.00, iSerial 50026B728373DC80
     driver: umass0

2025-06-22: sd1a - fw_update - check

b4e$ fw_update -l
amdsev
arm64-qcom-dtb
qcpas

dry run

b4e# fw_update -n
fw_update: add none; update arm64-qcom-dtb; keep amdsev,qcpas

try to update

b4e# fw_update arm64-qcom-dtb
fw_update: add none; update none; keep arm64-qcom-dtb
b4e# fw_update amdsev
fw_update: add none; update none; keep amdsev
b4e# fw_update qcpas
fw_update: add none; update none; keep qcpas
b4e# fw_update -v arm64-qcom-dtb
fw_update: add none; update none; keep arm64-qcom-dtb

not sure what it is doing.

2025-06-22: sd1a - syspatch - check

b4e# syspatch -c
001_nfs
002_zic
003_zoneinfo
004_pfsyncook
005_acme
006_xserver

install

b4e# syspatch
Get/Verify syspatch77-001_nfs.tgz 100% |***********************************************************************************************************|   144 KB    00:00    
Installing patch 001_nfs
Get/Verify syspatch77-002_zic.tgz 100% |***********************************************************************************************************| 24073       00:00    
Installing patch 002_zic
Get/Verify syspatch77-003_zoneinf... 100% |********************************************************************************************************| 76048       00:00    
Installing patch 003_zoneinfo
Get/Verify syspatch77-004_pfsynco... 100% |********************************************************************************************************|   355 KB    00:00    
Installing patch 004_pfsyncook
Get/Verify syspatch77-005_acme.tgz 100% |**********************************************************************************************************| 37759       00:00    
Installing patch 005_acme
Get/Verify syspatch77-006_xserver... 100% |********************************************************************************************************|  4307 KB    00:00    
Installing patch 006_xserver
Relinking to create unique kernel... done; reboot to load the new kernel
Errata can be reviewed under /var/syspatch

2025-06-22: sd1a - enable avahi

b4e# rcctl enable messagebus avahi_daemon
b4e# rcctl order messagebus avahi_daemon

and I added /etc/rc.conf.local and added the line

multicast=YES

oh, I also needed to start the daemons

b4e# rcctl start messagebus avahi_daemon  
messagebus(ok)
avahi_daemon(ok)

and the avahi works.

2025-06-22: sd1a - pkg_info - check for the avahi package

b4e# pkg_info avahi 
Information for https://cdn.openbsd.org/pub/OpenBSD/7.7/packages/aarch64/avahi-0.8p10.tgz

Comment:
framework for Multicast DNS Service Discovery

Description:
Avahi is a free, standards-compliant implementation of the Zeroconf
protocols Multicast DNS and DNS-SD.

It is a system which facilitates service discovery on a local network.
This means that you can plug your laptop or computer into a network and
instantly be able to view other people who you can chat with, find
printers to print to or find files being shared.  This kind of
technology is already found in Apple MacOS X (branded Rendezvous,
Bonjour and sometimes Zeroconf) and is very convenient.

Maintainer: Antoine Jacoutot <ajacoutot@openbsd.org>

WWW: http://www.avahi.org/

ok install it

b4e# pkg_add avahi
quirks-7.103 signed on 2025-04-13T18:52:01Z
quirks-7.96->7.103: ok
avahi-0.8p10:libiconv-1.17: ok
avahi-0.8p10:gettext-runtime-0.23.1: ok
avahi-0.8p10:gdbm-1.24: ok
avahi-0.8p10:libdaemon-0.14p1: ok
avahi-0.8p10:dbus-1.16.2v0: ok
avahi-0.8p10:libevent-2.1.12p1: ok
avahi-0.8p10:avahi-libs-0.8p5: ok
avahi-0.8p10:dbus-daemon-launch-helper-1.16.2: ok
avahi-0.8p10: ok
Read shared items: ok
The following new rcscripts were installed: /etc/rc.d/avahi_daemon /etc/rc.d/avahi_dnsconfd /etc/rc.d/messagebus
See rcctl(8) for details.
New and changed readme(s):
    /usr/local/share/doc/pkg-readmes/avahi
    /usr/local/share/doc/pkg-readmes/dbus

2025-06-22: sd1a - booted OpenBSD again. the USB SSD has to be in one of the machine ports, if I put it in the usb-C port on my usb hub, it is not detected by the bios.

b4e# uname -a
OpenBSD b4e.local 7.7 GENERIC.MP#361 arm64

2025-06-22: sd1a - or it is that my usb hub doesn't support power delivery.

2025-05-15: hmm - it doesn't look like the machine is charging in OpenBSD.

2025-05-15: sd1a - reboot, OpenBSD 7.7 is in

b4e$ uname -a
OpenBSD b4e.local 7.7 GENERIC.MP#361 arm64

2025-05-15: sd1a - sysupgrade

b4e$ doas sysupgrade -n
doas (tingo@b4e.local) password: 
Fetching from https://cdn.openbsd.org/pub/OpenBSD/7.7/arm64/
SHA256.sig   100% |**********************************************************************************|  1899       00:00    
Signature Verified
BUILDINFO    100% |**********************************************************************************|    54       00:00    
Verifying old sets.
INSTALL.arm64 100% |*********************************************************************************| 41786       00:00    
base77.tgz   100% |**********************************************************************************|   336 MB    07:20    
bsd          100% |**********************************************************************************| 18322 KB    00:08    
bsd.mp       100% |**********************************************************************************| 18388 KB    00:09    
bsd.rd       100% |**********************************************************************************| 18084 KB    00:09    
comp77.tgz   100% |**********************************************************************************| 78735 KB    00:27    
game77.tgz   100% |**********************************************************************************|  2750 KB    00:04    
man77.tgz    100% |**********************************************************************************|  8282 KB    00:08    
xbase77.tgz  100% |**********************************************************************************| 52061 KB    00:11    
xfont77.tgz  100% |**********************************************************************************| 23022 KB    00:02    
xserv77.tgz  100% |**********************************************************************************| 15606 KB    00:09    
xshare77.tgz 100% |**********************************************************************************|  4570 KB    00:09    
Verifying sets.
Fetching updated firmware.
fw_update: add amdsev,qcpas; update none; keep arm64-qcom-dtb
Will upgrade on next reboot
b4e$ 

reboot, do the upgrade and reboot again.

2025-03-30: sd1a - try sysupgrade

b4e$ doas sysupgrade
doas (tingo@b4e.local) password: 
Fetching from https://cdn.openbsd.org/pub/OpenBSD/7.7/arm64/
sysupgrade: Error retrieving https://cdn.openbsd.org/pub/OpenBSD/7.7/arm64/SHA256.sig: 404 Not Found
Fetching from https://cdn.openbsd.org/pub/OpenBSD/7.6/arm64/
SHA256.sig   100% |********************************************************************************************************************************|  1814       00:00    
Signature Verified
BUILDINFO    100% |********************************************************************************************************************************|    54       00:00    
Downloaded release is older than installed system. Use -f to force downgrade.

2025-03-30: sd1a - network interfaces

b4e$ ifconfig
lo0: flags=2008049<UP,LOOPBACK,RUNNING,MULTICAST,LRO> mtu 32768
    index 2 priority 0 llprio 3
    groups: lo
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
    inet 127.0.0.1 netmask 0xff000000
enc0: flags=0<>
    index 1 priority 0 llprio 3
    groups: enc
    status: active
ure0: flags=808c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST,AUTOCONF4> mtu 1500
    lladdr 00:e0:4c:36:08:f8
    index 3 priority 0 llprio 3
    groups: egress
    media: Ethernet autoselect (100baseTX full-duplex)
    status: active
    inet 10.1.161.19 netmask 0xffff0000 broadcast 10.1.255.255
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33136
    index 4 priority 0 llprio 3
    groups: pflog

I use a usb ethernet dongle for now, it shows up as ure0.

2025-03-01: sd1a - try to mount the EFI partition, which should be sd1i (for india) in this case

b4e# mount /dev/sd1i /mnt

check

b4e# mount
/dev/sd1a on / type ffs (local)
/dev/sd1l on /home type ffs (local, nodev, nosuid)
/dev/sd1d on /tmp type ffs (local, nodev, nosuid)
/dev/sd1f on /usr type ffs (local, nodev)
/dev/sd1g on /usr/X11R6 type ffs (local, nodev)
/dev/sd1h on /usr/local type ffs (local, nodev, wxallowed)
/dev/sd1k on /usr/obj type ffs (local, nodev, nosuid)
/dev/sd1j on /usr/src type ffs (local, nodev, nosuid)
/dev/sd1e on /var type ffs (local, nodev, nosuid)
/dev/sd1i on /mnt type msdos (local)

list contents

b4e# ls -la /mnt
total 68
drwxr-xr-x   1 root  wheel  16384 Jan  1  1980 .
drwxr-xr-x  13 root  wheel    512 Mar  1 15:40 ..
drwxr-xr-x   1 root  wheel   8192 Feb 25 21:44 System Volume Information
drwxr-xr-x   1 root  wheel   8192 Feb 24 22:40 efi
b4e# ls -la /mnt/efi
total 80
drwxr-xr-x  1 root  wheel   8192 Feb 24 22:40 .
drwxr-xr-x  1 root  wheel  16384 Jan  1  1980 ..
drwxr-xr-x  1 root  wheel   8192 Feb 24 22:40 boot
drwxr-xr-x  1 root  wheel   8192 Feb 24 22:40 openbsd
b4e# ls -la /mnt/efi/boot/                                                                                                                                                
total 512
drwxr-xr-x  1 root  wheel    8192 Feb 24 22:40 .
drwxr-xr-x  1 root  wheel    8192 Feb 24 22:40 ..
-rw-r--r--  1 root  wheel  233644 Feb 24 22:40 bootaa64.efi
-rw-r--r--  1 root  wheel      13 Feb 24 22:40 startup.nsh
b4e# ls -la /mnt/efi/openbsd/                                                                                                                                             
total 496
drwxr-xr-x  1 root  wheel    8192 Feb 24 22:40 .
drwxr-xr-x  1 root  wheel    8192 Feb 24 22:40 ..
-rw-r--r--  1 root  wheel  233644 Feb 24 22:40 bootaa64.efi

no strangeness there. unmount

b4e# umount /mnt

2025-03-01: sda1 - fdisk info

b4e# fdisk sd1
Disk: sd1   geometry: 124519/255/63 [2000409264 Sectors]
Offset: 0   Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
*0: 0C      2  10   9 -     35  47  12 [       32768:      532480 ] Win95 FAT32L
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] Unused
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] Unused
 3: A6     35  47  13 - 124519 182  63 [      565248:  1999844016 ] OpenBSD

fdisk -v info

b4e# fdisk -v sd1
Primary GPT:
Not Found

Secondary GPT:
Not Found

MBR:
Disk: sd1   geometry: 124519/255/63 [2000409264 Sectors]
Offset: 0   Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
*0: 0C      2  10   9 -     35  47  12 [       32768:      532480 ] Win95 FAT32L
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] Unused
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] Unused
 3: A6     35  47  13 - 124519 182  63 [      565248:  1999844016 ] OpenBSD

interesting, MBR, not GPT format.

2025-02-25: sda1 - Xorg - startx works, and I get a very basic X config, but the resolution looks right. The log file '/home/tingo/.local/share/xorg/Xorg.0.log' shows

X.Org X Server 1.21.1.15
X Protocol Version 11, Revision 0
[  4978.526] Current Operating System: OpenBSD b4e.local 7.6 GENERIC.MP#315 arm64
[  4978.527]  
[  4978.529] Current version of pixman: 0.42.2
[  4978.531]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  4978.531] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  4978.537] (==) Log file: "/home/tingo/.local/share/xorg/Xorg.0.log", Time: Tue Feb 25 22:23:02 2025
[  4978.542] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d"
[  4978.544] (==) No Layout section.  Using the first Screen section.
[  4978.544] (==) No screen section available. Using defaults.
[  4978.544] (**) |-->Screen "Default Screen Section" (0)
[  4978.544] (**) |   |-->Monitor "<default monitor>"
[  4978.546] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[  4978.546] (**) Allowing byte-swapped clients
[  4978.546] (==) Automatically adding devices
[  4978.546] (==) Automatically enabling devices
[  4978.546] (==) Not automatically adding GPU devices
[  4978.546] (==) Automatically binding GPU devices
[  4978.547] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  4978.554] (==) FontPath set to:
        /usr/X11R6/lib/X11/fonts/misc/,
        /usr/X11R6/lib/X11/fonts/TTF/,
        /usr/X11R6/lib/X11/fonts/OTF/,
        /usr/X11R6/lib/X11/fonts/Type1/,
        /usr/X11R6/lib/X11/fonts/100dpi/,
        /usr/X11R6/lib/X11/fonts/75dpi/
[  4978.554] (==) ModulePath set to "/usr/X11R6/lib/modules"
[  4978.554] (II) The server relies on wscons to provide the list of input devices.
        If no devices become available, reconfigure wscons or disable AutoAddDevices.
[  4978.555] (II) Loader magic: 0x90fe82e78
[  4978.555] (II) Module ABI versions:
[  4978.555]    X.Org ANSI C Emulation: 0.4
[  4978.555]    X.Org Video Driver: 25.2
[  4978.555]    X.Org XInput driver : 24.4
[  4978.555]    X.Org Server Extension : 10.0
[  4978.556] (--) Using wscons driver on /dev/ttyC4
[  4978.558] (II) LoadModule: "glx"
[  4978.561] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[  4978.600] (II) Module glx: vendor="X.Org Foundation"
[  4978.600]    compiled for 1.21.1.15, module version = 1.0.0
[  4978.600]    ABI class: X.Org Server Extension, version 10.0
[  4978.601] (==) Matched wsfb as autoconfigured driver 0
[  4978.601] (==) Assigned the driver to the xf86ConfigLayout
[  4978.601] (II) LoadModule: "wsfb"
[  4978.601] (II) Loading /usr/X11R6/lib/modules/drivers/wsfb_drv.so
[  4978.603] (II) Module wsfb: vendor="X.Org Foundation"
[  4978.603]    compiled for 1.21.1.15, module version = 0.4.1
[  4978.603]    ABI class: X.Org Video Driver, version 25.2
[  4978.603] (II) wsfb: driver for wsdisplay framebuffer: wsfb
[  4978.603] (WW) Falling back to old probe method for wsfb
[  4978.603] (II) wsfb(0): using default device
[  4978.603] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  4978.603] (II) wsfb(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[  4978.603] (==) wsfb(0): Depth 24, (--) framebuffer bpp 32
[  4978.603] (==) wsfb(0): RGB weight 888
[  4978.603] (==) wsfb(0): Default visual is TrueColor
[  4978.603] (==) wsfb(0): Using gamma correction (1.0, 1.0, 1.0)
[  4978.603] (II) wsfb(0): Vidmem: 20250k
[  4978.603] (==) wsfb(0): DPI set to (96, 96)
[  4978.603] (**) wsfb(0): Using "Shadow Framebuffer"
[  4978.603] (II) Loading sub module "shadow"
[  4978.603] (II) LoadModule: "shadow"
[  4978.605] (II) Loading /usr/X11R6/lib/modules/libshadow.so
[  4978.606] (II) Module shadow: vendor="X.Org Foundation"
[  4978.606]    compiled for 1.21.1.15, module version = 1.1.0
[  4978.606]    ABI class: X.Org ANSI C Emulation, version 0.4
[  4978.606] (II) Loading sub module "fb"
[  4978.606] (II) LoadModule: "fb"
[  4978.606] (II) Module "fb" already built-in
[  4978.613] (==) wsfb(0): Backing store enabled
[  4978.620] (II) Initializing extension Generic Event Extension
[  4978.621] (II) Initializing extension SHAPE
[  4978.621] (II) Initializing extension MIT-SHM
[  4978.622] (II) Initializing extension XInputExtension
[  4978.623] (II) Initializing extension XTEST
[  4978.623] (II) Initializing extension BIG-REQUESTS
[  4978.624] (II) Initializing extension SYNC
[  4978.625] (II) Initializing extension XKEYBOARD
[  4978.626] (II) Initializing extension XC-MISC
[  4978.627] (II) Initializing extension SECURITY
[  4978.627] (II) Initializing extension XFIXES
[  4978.628] (II) Initializing extension RENDER
[  4978.628] (II) Initializing extension RANDR
[  4978.629] (II) Initializing extension COMPOSITE
[  4978.631] (II) Initializing extension DAMAGE
[  4978.631] (II) Initializing extension MIT-SCREEN-SAVER
[  4978.632] (II) Initializing extension DOUBLE-BUFFER
[  4978.634] (II) Initializing extension RECORD
[  4978.634] (II) Initializing extension DPMS
[  4978.634] (II) Initializing extension Present
[  4978.634] (II) Initializing extension DRI3
[  4978.635] (II) Initializing extension X-Resource
[  4978.635] (II) Initializing extension XVideo
[  4978.636] (II) Initializing extension XVideo-MotionCompensation
[  4978.636] (II) Initializing extension GLX
[  4978.637] (II) AIGLX: Screen 0 is not DRI2 capable
[  4978.770] (II) IGLX: Loaded and initialized swrast
[  4978.770] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[  4978.770] (II) Initializing extension XFree86-VidModeExtension
[  4978.770] (II) Initializing extension XFree86-DGA
[  4978.771] (II) Initializing extension XFree86-DRI
[  4978.771] (II) Initializing extension DRI2
[  4978.908] (II) config/wscons: checking input device /dev/wskbd
[  4978.908] (II) wskbd: using layout no
[  4978.908] (II) LoadModule: "kbd"
[  4978.908] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so
[  4978.910] (II) Module kbd: vendor="X.Org Foundation"
[  4978.910]    compiled for 1.21.1.15, module version = 2.0.0
[  4978.910]    Module class: X.Org XInput Driver
[  4978.910]    ABI class: X.Org XInput driver, version 24.4
[  4978.910] (II) Using input driver 'kbd' for '/dev/wskbd'
[  4978.910] (**) /dev/wskbd: always reports core events
[  4978.910] (**) /dev/wskbd: always reports core events
[  4978.910] (**) Option "Protocol" "standard"
[  4978.910] (**) Option "XkbRules" "base"
[  4978.910] (**) Option "XkbModel" "pc105"
[  4978.910] (**) Option "XkbLayout" "no"
[  4978.910] (II) XINPUT: Adding extended input device "/dev/wskbd" (type: KEYBOARD, id 6)
[  4979.041] (II) config/wscons: checking input device /dev/wsmouse0
[  4979.041] (II) LoadModule: "ws"
[  4979.041] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so
[  4979.042] (II) Module ws: vendor="X.Org Foundation"
[  4979.042]    compiled for 1.21.1.15, module version = 1.3.0
[  4979.042]    Module class: X.Org XInput Driver
[  4979.042]    ABI class: X.Org XInput driver, version 24.4
[  4979.042] (II) Using input driver 'ws' for '/dev/wsmouse0'
[  4979.042] (**) /dev/wsmouse0: always reports core events
[  4979.042] (II) ws: /dev/wsmouse0: debuglevel 0
[  4979.042] (**) Option "Device" "/dev/wsmouse0"
[  4979.042] (**) ws: /dev/wsmouse0: ZAxisMapping: buttons 4 and 5
[  4979.042] (**) ws: /dev/wsmouse0: WAxisMapping: buttons 6 and 7
[  4979.043] (**) ws: /dev/wsmouse0: associated screen: 0
[  4979.150] (**) ws: /dev/wsmouse0: device will work in raw mode
[  4979.150] (II) ws: /dev/wsmouse0: minimum x position: 0
[  4979.150] (II) ws: /dev/wsmouse0: maximum x position: 28800
[  4979.150] (II) ws: /dev/wsmouse0: minimum y position: 0
[  4979.150] (II) ws: /dev/wsmouse0: maximum y position: 18000
[  4979.150] (==) ws: /dev/wsmouse0: Buttons: 7
[  4979.150] (**) ws: /dev/wsmouse0: YAxisMapping: buttons 4 and 5
[  4979.150] (II) XINPUT: Adding extended input device "/dev/wsmouse0" (type: TOUCHSCREEN, id 7)
[  4979.260] (**) /dev/wsmouse0: (accel) keeping acceleration scheme 1
[  4979.260] (**) /dev/wsmouse0: (accel) acceleration profile 0
[  4979.260] (**) /dev/wsmouse0: (accel) acceleration factor: 2.000
[  4979.260] (**) /dev/wsmouse0: (accel) acceleration threshold: 4
[  4979.260] (II) config/wscons: checking input device /dev/wsmouse
[  4979.260] (II) Using input driver 'ws' for '/dev/wsmouse'
[  4979.260] (**) /dev/wsmouse: always reports core events
[  4979.260] (II) ws: /dev/wsmouse: debuglevel 0
[  4979.260] (**) Option "Device" "/dev/wsmouse"
[  4979.260] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
[  4979.260] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7
[  4979.260] (**) ws: /dev/wsmouse: associated screen: 0
[  4979.370] (II) ws: /dev/wsmouse: minimum x position: 0
[  4979.370] (II) ws: /dev/wsmouse: maximum x position: 2879
[  4979.370] (II) ws: /dev/wsmouse: minimum y position: 0
[  4979.370] (II) ws: /dev/wsmouse: maximum y position: 1799
[  4979.370] (==) ws: /dev/wsmouse: Buttons: 7
[  4979.370] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
[  4979.370] (II) XINPUT: Adding extended input device "/dev/wsmouse" (type: MOUSE, id 8)
[  4979.480] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1
[  4979.480] (**) /dev/wsmouse: (accel) acceleration profile 0
[  4979.480] (**) /dev/wsmouse: (accel) acceleration factor: 2.000
[  4979.480] (**) /dev/wsmouse: (accel) acceleration threshold: 4
[  5037.044] (II) UnloadModule: "ws"
[  5037.045] (II) UnloadModule: "ws"
[  5037.045] (II) UnloadModule: "kbd"
[  5037.084] (II) Server terminated successfully (0). Closing log file.

2025-02-25: sda1 - sysctl hw info

b4e# sysctl hw
hw.machine=arm64
hw.model=Qualcomm Oryon r2p1
hw.ncpu=12
hw.byteorder=1234
hw.pagesize=4096
hw.disknames=sd0:,sd1:4da0076d5ee83ddc
hw.diskcount=2
hw.sensors.acpiac0.indicator0=Off (power supply)
hw.sensors.acpibtn0.indicator0=On (lid open)
hw.vendor=SAMSUNG ELECTRONICS CO., LTD.
hw.product=Galaxy Book4 Edge
hw.version=2.1
hw.serialno=6RW69FFX700089T
hw.uuid=7b260098-9e7d-3833-4a4e-3847300095cb
hw.physmem=16709292032
hw.usermem=16709287936
hw.ncpufound=12
hw.allowpowerdown=1
hw.smt=0
hw.ncpuonline=12
hw.power=0
hw.ucomnames=ucom0:usb0.1.00003.2

2025-02-25: sda1 - uname info

b4e# uname -a
OpenBSD b4e.local 7.6 GENERIC.MP#315 arm64

2025-02-25: sda1 - network, for now I use a usb Ethernet dongle, which show up as ure0. Manual setup

ifconfig ure0 inet autoconfig

and I get an ip address. For automatic setup, I created /etc/hostname.ure0 and added

b4e# cat /etc/hostname.ure0                                                                                                                                               
inet autoconf

to it.

2025-02-25: sda1 - info from fw_update

b4e# fw_update -l
arm64-qcom-dtb

do a dry run

b4e# fw_update -n
fw_update: add arm64-qcom-dtb; update none

do it

b4e# fw_update
fw_update: add arm64-qcom-dtb; update none

or not.

2025-02-25: I created this page.

2025-02-25: sd1a - disk info from dmesg

b4e# dmesg | grep ^sd
sd0 at scsibus0 targ 1 lun 0: <KIOXIA, THGJFJT2T85BAT0A, 0002>
sd0: 488152MB, 4096 bytes/sector, 124966912 sectors
sd1 at scsibus1 targ 1 lun 0: <Kingston, XS2000, > serial.0951176b6B728373DC80
sd1: 976762MB, 512 bytes/sector, 2000409264 sectors

swap devices

b4e# swapctl -l
Device      512-blocks     Used    Avail Capacity  Priority
/dev/sd1b     33159640        0 33159640     0%    0

disk layout

b4e# df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/sd1a      986M    100M    836M    11%    /
/dev/sd1l      295G   36.0K    281G     1%    /home
/dev/sd1d      3.9G   10.0K    3.7G     1%    /tmp
/dev/sd1f     29.1G    1.2G   26.4G     5%    /usr
/dev/sd1g      986M    280M    657M    30%    /usr/X11R6
/dev/sd1h     19.4G    146K   18.4G     1%    /usr/local
/dev/sd1k      5.8G    2.0K    5.5G     1%    /usr/obj
/dev/sd1j      4.8G    2.0K    4.6G     1%    /usr/src
/dev/sd1e     34.0G    7.6M   32.3G     1%    /var

2025-02-25: I connected up a Kingston XS2000 1TB SSD to one usb-C port on the left side, and a usb hub to get USB A ports. I plugged in a usb stick with a snapshot (2025-02-24) of install76.img on. I turmed off Secure Boot in BIOS, then booted and installed OpenBSD.