ASRock M3A UCC - FreeBSD
Hardware info on main page.
Test machine, runs the amd64 version of FreeBSD.
Storage
Kingston SA400 120 GB SSD (ada0)
root@locaal:~ # gpart show -p ada0 => 40 234441568 ada0 GPT (112G) 40 1024 ada0p1 freebsd-boot (512K) 1064 226491392 ada0p2 freebsd-ufs (108G) 226492456 7949152 ada0p3 freebsd-swap (3.8G)
Archives: 2011, 2012, 2013, 2014, 2015, 2016, 2018, 2019,
Links
local links
FreeBSD workstation c2,
Work log
2024-10-27: c2 - fsck on the ssd (shows up as da5 here)
root@kg-core2:~ # gpart show -p da5 => 40 234441568 da5 GPT (112G) 40 1024 da5p1 freebsd-boot (512K) 1064 226491392 da5p2 freebsd-ufs (108G) 226492456 7949152 da5p3 freebsd-swap (3.8G)
check and fix
root@kg-core2:~ # fsck -y /dev/da5p2 ** /dev/da5p2 ** SU+J Recovering /dev/da5p2 USE JOURNAL? yes ** Reading 655589376 byte journal from inode 4. RECOVER? yes ** Building recovery table. ** Resolving unreferenced inode list. ** Processing journal entries. WRITE CHANGES? yes ***** FILE SYSTEM IS CLEAN ***** ** 27 journal records in 1536 bytes for 56.25% utilization ** Freed 0 inodes (0 dirs) 0 blocks, and 0 frags. **** FILE SYSTEM MARKED CLEAN ****
again
root@kg-core2:~ # fsck -y /dev/da5p2 ** /dev/da5p2 ** SU+J Recovering /dev/da5p2 Journal timestamp does not match fs mount time Skipping journal, falling through to full fsck ** Last Mounted on / ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 55226 files, 1200396 used, 26221755 free (1619 frags, 3277517 blocks, 0.0% fragmentation) ***** FILE SYSTEM IS CLEAN *****
2024-10-27: ada0p2 - suddenly it fails boot with error 22. I take out the SSD and put it in my workstation to run a fsck
2024-10-27: ada0p2 - Xorg - create a driver file fro the nvidoa card
root@locaal:~ # cat /usr/local/etc/X11/xorg.conf.d/20-nvidia.conf Section "Device" Identifier "Card0" Driver "nvidia" EndSection
and try with that. Hmm, startx doesn't work (I can still see the text cursor and mouse), and in /var/log/messages I see
Oct 27 12:59:16 locaal kernel: NVRM: GPU at PCI:0000:01:00: GPU-70b64976-c6df-2ede-7ca1-a3d91a693571 Oct 27 12:59:16 locaal kernel: NVRM: Xid (PCI:0000:01:00): 79, pid='<unknown>', name=<unknown>, GPU has fallen off the bus. Oct 27 12:59:16 locaal kernel: NVRM: GPU 0000:01:00.0: GPU has fallen off the bus. Oct 27 12:59:16 locaal kernel: NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x41:0x40:2762) Oct 27 12:59:16 locaal kernel: nvidia0: NVRM: rm_init_adapter() failed! Oct 27 12:59:16 locaal kernel: NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x22:0x56:890) Oct 27 12:59:16 locaal kernel: nvidia0: NVRM: rm_init_adapter() failed!
hmm, did I make my user a member of the video group?
root@locaal:~ # groups tingo tingo wheel operator
no - fix it
root@locaal:~ # pw groupmod video -m tingo root@locaal:~ # groups tingo tingo wheel operator video
2024-10-27: ada0p2 - Xorg - test with startx. Hmm, it uses the vesa driver.
2024-10-27: adaop2 - Xorg - add a config file for the keyboard
root@locaal:~ # cat /usr/local/etc/X11/xorg.conf.d/keyboard-no.conf Section "InputClass" Identifier "keyboard defaults" MatchIsKeyboard "on" Option "XkbLayout" "no" EndSection
2024-10-27: ada0p2 - pkg - install xorg-minimal
Oct 27 12:39:24 locaal pkg[1988]: py311-six-1.16.0_1 installed Oct 27 12:39:24 locaal pkg[1988]: libgudev-237 installed Oct 27 12:39:24 locaal pkg[1988]: libXt-1.3.0,1 installed Oct 27 12:39:25 locaal pkg[1988]: libwacom-1.5_1 installed Oct 27 12:39:25 locaal pkg[1988]: libevdev-1.13.2 installed Oct 27 12:39:25 locaal pkg[1988]: py311-evdev-1.7.0 installed Oct 27 12:39:25 locaal pkg[1988]: libmtdev-1.1.7 installed Oct 27 12:39:25 locaal pkg[1988]: py311-pyudev-0.24.1 installed Oct 27 12:39:25 locaal pkg[1988]: libXi-1.8.1,1 installed Oct 27 12:39:25 locaal pkg[1988]: libinput-1.26.2 installed Oct 27 12:39:25 locaal pkg[1988]: libXmu-1.1.4,1 installed Oct 27 12:39:25 locaal pkg[1988]: xauth-1.1.3 installed Oct 27 12:39:25 locaal pkg[1988]: xinit-1.4.2_1,1 installed Oct 27 12:39:25 locaal pkg[1988]: xf86-input-libinput-1.3.0_1 installed Oct 27 12:39:25 locaal pkg[1988]: xf86-video-vesa-2.5.0_3 installed Oct 27 12:39:25 locaal pkg[1988]: xorg-minimal-7.5.2_3 installed
and install xterm xclock twm xrandr
Oct 27 12:41:55 locaal pkg[2170]: encodings-1.1.0,1 installed Oct 27 12:41:55 locaal pkg[2170]: libXpm-3.5.17_1 installed Oct 27 12:41:55 locaal pkg[2170]: libXaw-1.0.16,2 installed Oct 27 12:41:55 locaal pkg[2170]: luit-20240102_1 installed Oct 27 12:41:55 locaal pkg[2170]: xclock-1.0.9_1 installed Oct 27 12:41:55 locaal pkg[2170]: xterm-394 installed Oct 27 12:41:55 locaal pkg[2170]: xrandr-1.5.2_1 installed Oct 27 12:41:55 locaal pkg[2170]: twm-1.0.12_1 installed
2024-10-27: ada0p2 - nvidia-driver - test by kldload nvidia-modeset
on the console. The module loads, and this is from /var/log/messages
Oct 27 12:29:46 locaal kernel: nvidia0: <NVIDIA GeForce RTX 3060> on vgapci0 Oct 27 12:29:46 locaal kernel: vgapci0: child nvidia0 requested pci_enable_io Oct 27 12:29:46 locaal syslogd: last message repeated 1 times Oct 27 12:29:46 locaal kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 550.120 Fri Sep 13 09:32:47 UTC 2024
so enable it
root@locaal:~ # sysrc kld_list+=nvidia-modeset kld_list: -> nvidia-modeset
2024-10-27: ada0p2 - pkg - install nvidia-driver
Oct 27 12:23:40 locaal pkg[1374]: libedit-3.1.20240808,1 installed Oct 27 12:23:40 locaal pkg[1374]: libXfixes-6.0.1 installed Oct 27 12:23:40 locaal pkg[1374]: libxml2-2.11.9 installed Oct 27 12:23:40 locaal pkg[1374]: lua53-5.3.6_1 installed Oct 27 12:23:40 locaal pkg[1374]: libepoll-shim-0.0.20240608 installed Oct 27 12:23:40 locaal pkg[1374]: libpciaccess-0.18.1 installed Oct 27 12:23:40 locaal pkg[1374]: libXrandr-1.5.4 installed Oct 27 12:23:40 locaal pkg[1374]: libXxf86vm-1.1.5 installed Oct 27 12:23:40 locaal pkg[1374]: libXdamage-1.1.6 installed Oct 27 12:23:41 locaal pkg[1374]: libdrm-2.4.123,1 installed Oct 27 12:23:41 locaal pkg[1374]: wayland-1.23.1 installed Oct 27 12:23:41 locaal pkg[1374]: libxshmfence-1.3.2 installed Oct 27 12:24:01 locaal pkg[1374]: llvm15-15.0.7_10 installed Oct 27 12:24:01 locaal pkg[1374]: libglvnd-1.7.0 installed Oct 27 12:24:02 locaal pkg[1374]: spirv-tools-2024.4.r1 installed Oct 27 12:24:02 locaal pkg[1374]: libXv-1.0.12_1,1 installed Oct 27 12:24:02 locaal pkg[1374]: spirv-llvm-translator-llvm15-15.0.5 installed Oct 27 12:24:03 locaal pkg[1374]: mesa-libs-24.1.7 installed Oct 27 12:24:03 locaal pkg[1374]: libfontenc-1.1.8 installed Oct 27 12:24:03 locaal pkg[1374]: libxkbfile-1.1.3 installed Oct 27 12:24:03 locaal pkg[1374]: libxcvt-0.1.2_2 installed Oct 27 12:24:03 locaal pkg[1374]: libXfont2-2.0.6 installed Oct 27 12:24:03 locaal pkg[1374]: xkbcomp-1.4.7 installed Oct 27 12:24:03 locaal pkg[1374]: libepoxy-1.5.10 installed Oct 27 12:24:03 locaal pkg[1374]: libudev-devd-0.6.0 installed Oct 27 12:24:03 locaal pkg[1374]: libunwind-20240221 installed Oct 27 12:24:03 locaal pkg[1374]: pixman-0.42.2 installed Oct 27 12:24:03 locaal pkg[1374]: xkeyboard-config-2.41_4 installed Oct 27 12:24:05 locaal pkg[1374]: mesa-dri-24.1.7 installed Oct 27 12:24:05 locaal pkg[1374]: egl-wayland-1.1.13 installed Oct 27 12:24:05 locaal pkg[1374]: xorg-server-21.1.13,1 installed Oct 27 12:24:12 locaal pkg[1374]: nvidia-driver-550.120 installed
message from nvidia-driver
To use these drivers, make sure that you have loaded the NVidia kernel module, by running # kldload nvidia-modeset on the command line, or by putting ``nvidia-modeset'' on the ``kld_list'' variable in /etc/rc.conf, either manually or by running # sysrc kld_list+=nvidia-modeset If you build this port with FreeBSD AGP GART driver, make sure you have agp.ko kernel module installed and loaded, since nvidia.ko will depend on it, or have your kernel compiled with "device agp". Otherwise, the NVidia kernel module will not load. Also, please set correct value for ``Option "NvAGP"'' in ``Device'' section of your X11 configuration file. When building with Linux compatibility support, make sure that linux.ko module is available as well (or have it compiled in kernel). It can be loaded via /boot/loader.conf, or later in the boot process if you add linux_enable="YES" to your /etc/rc.conf. If X.org cannot start and reports (EE) NVIDIA(0): Failed to obtain a shared memory identifier. in /var/log/Xorg.0.log while actually you have ``options SYSVSHM'' enabled in kernel, the sysctl ``kern.ipc.shmall'' should be increased. See /usr/local/share/doc/NVIDIA_GLX-1.0/README for more information.
message from xorg-server
Xorg-server has been installed. If your kernel is compiled with the EVDEV_SUPPORT option enabled (default starting from FreeBSD 12.1) it is recommended to enable evdev mode in pointer device drivers like ums(4) and psm(4). This will give improvements like better tilt wheel support for mice and centralized gesture support via xf86-input-synaptics or libinput drivers for touchpads. This is also needed for PS/2 devices to be properly detected by Xorg when moused service is disabled in /etc/rc.conf and kernel is compiled with EVDEV_SUPPORT. To enable evdev in such a device, run the following: # sysctl kern.evdev.rcpt_mask=6 To make it persistent across reboots, add the following to /etc/sysctl.conf: kern.evdev.rcpt_mask=6 In case you're using a serial mouse or any other mouse that *only* works over sysmouse(4) and moused(8) on an evdev enabled kernel, please run this: # sysctl kern.evdev.rcpt_mask=3 To make it persistent across reboots, add to this /etc/sysctl.conf: kern.evdev.rcpt_mask=3
2024-10-27: ada0p2 - enable avahi
root@locaal:~ # sysrc dbus_enable="YES" dbus_enable: -> YES root@locaal:~ # sysrc avahi_daemon_enable="YES" avahi_daemon_enable: -> YES
and start it
root@locaal:~ # service dbus start Starting dbus. root@locaal:~ # service avahi-daemon start Starting avahi-daemon.
check
root@locaal:~ # service dbus status dbus is running as pid 1335. root@locaal:~ # service avahi-daemon status avahi_daemon is running as pid 1348.
and from another machine verify that it works
$ avahi-resolve -n locaal.local locaal.local 10.1.161.24
avahi-browse also works.
2024-10-27: ada0p2 - configure /etc/nsswitch.conf for mdns. Before
root@locaal:~ # grep ^hosts /etc/nsswitch.conf hosts: files dns
after
root@locaal:~ # grep ^hosts /etc/nsswitch.conf hosts: files mdns_minimal [NOTFOUND=return] dns mdns
2024-10-27: ada0p2 - pkg - install avahi (via nss_mdns)
Oct 27 12:09:46 locaal pkg[1010]: libICE-1.1.1,1 installed Oct 27 12:09:46 locaal pkg[1010]: libSM-1.2.4,1 installed Oct 27 12:09:47 locaal pkg[1010]: dbus-1.14.10_5,1 installed Oct 27 12:09:47 locaal pkg[1010]: dbus-glib-0.112_1 installed Oct 27 12:09:47 locaal pkg[1010]: gnome_subr-1.0 installed Oct 27 12:09:47 locaal pkg[1010]: libdaemon-0.14_1 installed Oct 27 12:09:47 locaal pkg[1010]: libevent-2.1.12 installed Oct 27 12:09:47 locaal pkg[1010]: gdbm-1.24 installed Oct 27 12:09:47 locaal pkg[1010]: avahi-app-0.8_2 installed Oct 27 12:09:47 locaal pkg[1010]: nss_mdns-0.14.1.20200624_1 installed
2024-10-27: ada0p2 - gfx - the MSI GeForce RTX 3060 Ventus 2X 12G OC that I installed (I removed the Radeon cards first) shows up as
root@locaal:~ # pciconf -lv | grep -B 4 VGA vgapci0@pci0:1:0:0: class=0x030000 rev=0xa1 hdr=0x00 vendor=0x10de device=0x2504 subvendor=0x1462 subdevice=0x397d vendor = 'NVIDIA Corporation' device = 'GA106 [GeForce RTX 3060 Lite Hash Rate]' class = display subclass = VGA
in pciconf output.
2024-10-27: ada0p2 - enable Linux compat
root@locaal:~ # sysrc linux_enable="YES" linux_enable: NO -> YES
and start it
root@locaal:~ # service linux start
verify
root@locaal:~ # df -h Filesystem Size Used Avail Capacity Mounted on /dev/ada0p2 105G 2.9G 93G 3% / devfs 1.0K 0B 1.0K 0% /dev linprocfs 8.0K 0B 8.0K 0% /compat/linux/proc linsysfs 8.0K 0B 8.0K 0% /compat/linux/sys devfs 1.0K 0B 1.0K 0% /compat/linux/dev fdescfs 1.0K 0B 1.0K 0% /compat/linux/dev/fd tmpfs 10G 4.0K 10G 0% /compat/linux/dev/shm
2024-10-27: ada0p2 - boot method
root@locaal:~ # sysctl machdep.bootmethod machdep.bootmethod: BIOS
2024-10-27: ada0p2 - test liquidctl
root@locaal:~ # liquidctl --version liquidctl v1.13.0 (FreeBSD-13.4-RELEASE-amd64-64bit-ELF)
more testing
root@locaal:~ # liquidctl list root@locaal:~ # liquidctl --vendor 0x1b1c --product 0x0c06 list root@locaal:~ # liquidctl --vendor 0x1b1c --product 0x0c06 --direct-access list root@locaal:~ # liquidctl --vendor 0x1b1c --product 0x0c06 status ERROR: no device matches available drivers and selection criteria root@locaal:~ # liquidctl --vendor 0x1b1c --product 0x0c06 -v status ERROR: no device matches available drivers and selection criteria root@locaal:~ # liquidctl --vendor 0x1b1c --product 0x0c06 --direct-access -v list root@locaal:~ # liquidctl --vendor 0x1b1c --product 0x0c06 -v list
hmm, try this
root@locaal:~ # liquidctl initialize ERROR: no device matches available drivers and selection criteria root@locaal:~ # liquidctl list root@locaal:~ # liquidctl -v list root@locaal:~ # liquidctl list -v
nah, doesn't work here.
2024-10-27: ada0p2 - pkg - install py311-liquidctl
Oct 27 01:38:58 locaal pkg[1639]: xorgproto-2024.1 installed Oct 27 01:38:58 locaal pkg[1639]: libXau-1.0.11 installed Oct 27 01:38:58 locaal pkg[1639]: libXdmcp-1.1.5 installed Oct 27 01:38:58 locaal pkg[1639]: png-1.6.44 installed Oct 27 01:39:00 locaal pkg[1639]: libxcb-1.17.0 installed Oct 27 01:39:00 locaal pkg[1639]: brotli-1.1.0,1 installed Oct 27 01:39:01 locaal pkg[1639]: freetype2-2.13.3 installed Oct 27 01:39:01 locaal pkg[1639]: liblz4-1.10.0,1 installed Oct 27 01:39:01 locaal pkg[1639]: libX11-1.8.9,1 installed Oct 27 01:39:01 locaal pkg[1639]: jpeg-turbo-3.0.4 installed Oct 27 01:39:02 locaal pkg[1639]: zstd-1.5.6 installed Oct 27 01:39:02 locaal pkg[1639]: libiconv-1.17_1 installed Oct 27 01:39:02 locaal pkg[1639]: libdeflate-1.22 installed Oct 27 01:39:02 locaal pkg[1639]: libXext-1.3.6,1 installed Oct 27 01:39:02 locaal pkg[1639]: fontconfig-2.15.0_3,1 installed Oct 27 01:39:02 locaal pkg[1639]: py311-packaging-24.1 installed Oct 27 01:39:02 locaal pkg[1639]: libXrender-0.9.11 installed Oct 27 01:39:02 locaal pkg[1639]: jbigkit-2.1_3 installed Oct 27 01:39:02 locaal pkg[1639]: lerc-4.0.0 installed Oct 27 01:39:02 locaal pkg[1639]: libXScrnSaver-1.2.4_1 installed Oct 27 01:39:03 locaal pkg[1639]: glib-2.80.5,2 installed Oct 27 01:39:03 locaal pkg[1639]: libXft-2.3.8 installed Oct 27 01:39:03 locaal pkg[1639]: graphite2-1.3.14 installed Oct 27 01:39:04 locaal pkg[1639]: tcl86-8.6.15_2 installed Oct 27 01:39:05 locaal pkg[1639]: tiff-4.6.0 installed Oct 27 01:39:05 locaal pkg[1639]: lcms2-2.16_2 installed Oct 27 01:39:06 locaal pkg[1639]: tk86-8.6.15 installed Oct 27 01:39:06 locaal pkg[1639]: fribidi-1.0.15 installed Oct 27 01:39:06 locaal pkg[1639]: py311-setuptools-63.1.0_1 installed Oct 27 01:39:07 locaal pkg[1639]: giflib-5.2.2 installed Oct 27 01:39:07 locaal pkg[1639]: harfbuzz-10.0.1 installed Oct 27 01:39:07 locaal pkg[1639]: libraqm-0.10.1 installed Oct 27 01:39:07 locaal pkg[1639]: hidapi-0.14.0 installed Oct 27 01:39:07 locaal pkg[1639]: py311-tkinter-3.11.10_7 installed Oct 27 01:39:07 locaal pkg[1639]: openjpeg-2.5.2_1 installed Oct 27 01:39:07 locaal pkg[1639]: py311-wheel-0.44.0 installed Oct 27 01:39:07 locaal pkg[1639]: py311-olefile-0.46 installed Oct 27 01:39:07 locaal pkg[1639]: libimagequant-4.3.3_2 installed Oct 27 01:39:07 locaal pkg[1639]: webp-1.4.0_1 installed Oct 27 01:39:07 locaal pkg[1639]: py311-colorlog-6.8.2 installed Oct 27 01:39:08 locaal pkg[1639]: py311-crcmod-1.7_2 installed Oct 27 01:39:08 locaal pkg[1639]: py311-docopt-0.6.2_1 installed Oct 27 01:39:08 locaal pkg[1639]: py311-hidapi-0.14.0 installed Oct 27 01:39:08 locaal pkg[1639]: py311-pillow-10.4.0 installed Oct 27 01:39:08 locaal pkg[1639]: py311-pyusb-1.2.1 installed Oct 27 01:39:08 locaal pkg[1639]: py311-liquidctl-1.13.0 installed
2024-10-27: ada0p2 - pkg - install git
Oct 27 01:26:51 locaal pkg[1284]: perl5-5.36.3_2 installed Oct 27 01:26:51 locaal pkg[1284]: p5-TimeDate-2.33,1 installed Oct 27 01:26:51 locaal pkg[1284]: p5-HTTP-Date-6.06 installed Oct 27 01:26:51 locaal pkg[1284]: p5-URI-5.29 installed Oct 27 01:26:51 locaal pkg[1284]: p5-Encode-Locale-1.05 installed Oct 27 01:26:51 locaal pkg[1284]: libunistring-1.2 installed Oct 27 01:26:51 locaal pkg[1284]: p5-LWP-MediaTypes-6.04 installed Oct 27 01:26:51 locaal pkg[1284]: p5-IO-HTML-1.004 installed Oct 27 01:26:51 locaal pkg[1284]: p5-Clone-0.47 installed Oct 27 01:26:51 locaal pkg[1284]: libidn2-2.3.7 installed Oct 27 01:26:51 locaal pkg[1284]: p5-HTML-Tagset-3.24 installed Oct 27 01:26:51 locaal pkg[1284]: p5-HTTP-Message-6.46 installed Oct 27 01:26:51 locaal pkg[1284]: p5-Net-SSLeay-1.94 installed Oct 27 01:26:52 locaal pkg[1284]: libnghttp2-1.63.0 installed Oct 27 01:26:52 locaal pkg[1284]: mpdecimal-4.0.0 installed Oct 27 01:26:52 locaal pkg[1284]: p5-GSSAPI-0.28_2 installed Oct 27 01:26:52 locaal pkg[1284]: p5-IO-Socket-IP-0.42 installed Oct 27 01:26:52 locaal pkg[1284]: p5-HTML-Parser-3.83 installed Oct 27 01:26:52 locaal pkg[1284]: p5-Mozilla-CA-20240924 installed Oct 27 01:26:52 locaal pkg[1284]: libffi-3.4.6 installed Oct 27 01:26:52 locaal pkg[1284]: readline-8.2.13_1 installed Oct 27 01:26:52 locaal pkg[1284]: p5-Digest-HMAC-1.04 installed Oct 27 01:26:52 locaal pkg[1284]: libssh2-1.11.0_1,3 installed Oct 27 01:26:52 locaal pkg[1284]: libpsl-0.21.5_1 installed Oct 27 01:26:52 locaal pkg[1284]: p5-IO-Socket-SSL-2.089 installed Oct 27 01:26:52 locaal pkg[1284]: p5-CGI-4.66 installed Oct 27 01:26:52 locaal pkg[1284]: pcre2-10.43 installed Oct 27 01:26:53 locaal pkg[1284]: curl-8.10.1 installed Oct 27 01:26:53 locaal pkg[1284]: p5-Error-0.17029 installed Oct 27 01:26:53 locaal pkg[1284]: expat-2.6.3 installed Oct 27 01:27:01 locaal pkg[1284]: python311-3.11.10 installed Oct 27 01:27:01 locaal pkg[1284]: p5-Authen-SASL-2.17 installed Oct 27 01:27:02 locaal pkg[1284]: git-2.46.2 installed
2024-10-27: ada0p2 - Corsair C-Link - there is corsairmi-rs in Rust, but it is very Linux-bound, it uses Linux hidraw interface.
2024-10-27: ada0p2 - pkg - install pkg and sudo
Oct 27 00:56:42 locaal pkg-static[1147]: pkg-1.21.3 installed Oct 27 00:57:14 locaal pkg[1174]: indexinfo-0.3.1 installed Oct 27 00:57:15 locaal pkg[1174]: gettext-runtime-0.22.5 installed Oct 27 00:57:15 locaal pkg[1174]: sudo-1.9.16 installed
2024-10-27: ada0p2 - the Corsair C-Link for the RM-750 shows up as a uhid device in demsg:
root@locaal:~ # dmesg | egrep ugen3\|uhid uhid0: detached ugen3.1: <ATI OHCI root HUB> at usbus3 ugen3.2: <Corsair Memory, Inc. RM-Series C-Link Adapter> at usbus3 uhid0 on uhub3 uhid0: <Corsair Memory, Inc. RM-Series C-Link Adapter, class 0/0, rev 2.00/0.03, addr 2> on usbus3
interesting. usbconfig device description
root@locaal:~ # usbconfig -d ugen3.2 dump_device_desc ugen3.2: <Corsair Memory, Inc. RM-Series C-Link Adapter> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 <Probed by interface class> bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x1b1c idProduct = 0x0c06 bcdDevice = 0x0003 iManufacturer = 0x0001 <Corsair Memory, Inc.> iProduct = 0x0002 <RM-Series C-Link Adapter> iSerialNumber = 0x0000 <no string> bNumConfigurations = 0x0001
usbconfig config description
root@locaal:~ # usbconfig -d ugen3.2 dump_curr_config_desc ugen3.2: <Corsair Memory, Inc. RM-Series C-Link Adapter> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0022 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x0080 bMaxPower = 0x0032 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0003 <HID device> bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0000 iInterface = 0x0000 <no string> Additional Descriptor bLength = 0x09 bDescriptorType = 0x21 bDescriptorSubType = 0x11 RAW dump: 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x1b, 0x08 | 0x00 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0003 <INTERRUPT> wMaxPacketSize = 0x0008 bInterval = 0x000a bRefresh = 0x0000 bSynchAddress = 0x0000
and usbhidctl says
root@locaal:~ # usbhidctl -f uhid0 -a Microsoft:0x0001.Microsoft:0x0001=6 Microsoft:0x0001.Microsoft:0x0001=247 Microsoft:0x0001.Microsoft:0x0001=0 Microsoft:0x0001.Microsoft:0x0001=0 Microsoft:0x0001.Microsoft:0x0001=148 Microsoft:0x0001.Microsoft:0x0001=146 Microsoft:0x0001.Microsoft:0x0001=0 Microsoft:0x0001.Microsoft:0x0001=0 Microsoft:0x0001.Microsoft:0x0002=0 Microsoft:0x0001.Microsoft:0x0002=0 Microsoft:0x0001.Microsoft:0x0002=0 Microsoft:0x0001.Microsoft:0x0002=0 Microsoft:0x0001.Microsoft:0x0002=0 Microsoft:0x0001.Microsoft:0x0002=0 Microsoft:0x0001.Microsoft:0x0002=0 Microsoft:0x0001.Microsoft:0x0002=0
not very informative.
2024-10-27: ada0p2 - I installed FreeBSD 13.4-release on a Kingston SA400 120 GB SSD:
root@locaal:~ # freebsd-version -ku 13.4-RELEASE 13.4-RELEASE
kernel
root@locaal:~ # uname -a FreeBSD locaal 13.4-RELEASE FreeBSD 13.4-RELEASE releng/13.4-n258257-58066db597be GENERIC amd64
camcontrol info
root@locaal:~ # camcontrol devlist -v scbus0 on ahcich0 bus 0: <KINGSTON SA400S37120G SBFKB1E1> at scbus0 target 0 lun 0 (pass0,ada0) <> at scbus0 target -1 lun ffffffff () scbus1 on ahcich1 bus 0: <> at scbus1 target -1 lun ffffffff () scbus2 on ahcich2 bus 0: <> at scbus2 target -1 lun ffffffff () scbus3 on ahcich3 bus 0: <> at scbus3 target -1 lun ffffffff () scbus4 on ata0 bus 0: <> at scbus4 target -1 lun ffffffff () scbus-1 on xpt0 bus 0: <> at scbus-1 target -1 lun ffffffff (xpt0)
gpart info
root@locaal:~ # gpart show -p ada0 => 40 234441568 ada0 GPT (112G) 40 1024 ada0p1 freebsd-boot (512K) 1064 226491392 ada0p2 freebsd-ufs (108G) 226492456 7949152 ada0p3 freebsd-swap (3.8G)
the machine still has the Radeon HD 7870 and the Radeon R9 280 in it
root@locaal:~ # pciconf -lv | grep -B 4 VGA vgapci0@pci0:1:0:0: class=0x030000 rev=0x00 hdr=0x00 vendor=0x1002 device=0x6818 subvendor=0x174b subdevice=0xe241 vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]' device = 'Pitcairn XT [Radeon HD 7870 GHz Edition]' class = display subclass = VGA -- vgapci1@pci0:2:0:0: class=0x030000 rev=0x00 hdr=0x00 vendor=0x1002 device=0x679a subvendor=0x174b subdevice=0xa003 vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]' device = 'Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280]' class = display subclass = VGA
2024-10-26: I cleaned up the FreeBSD section. All history in archives now.