xhci: read HCIVERSION as part of the first capability word
Some controllers apparently do not like accesses non-aligned to 32bits,
even when only reading 8 or 16 bits.
Commit 6d5c80aee3ae made it so we unconditionally read XHCI_HCIVERSION
with a 16bits read, which panics on my Radxa Orion O6. This gives a
SError, with the firmware reporting "IDM: USB3CH0 non-secure access".
Instead, do a 32bits read on XHCI_CAPLENGTH, which is properly aligned,
and shift it to get the value of XHCI_HCIVERSION. This is what Linux
does too.
Reviewed by: aokblast, seuros
Differential Revision: https://reviews.freebsd.org/D62132
MFC after: 3 days (with 6d5c80aee3ae, as it gets MFC'd)
devel/pyotherside-qt5: Update and switch to Qt6
While here:
- Do not install qtquicktests test binary.
- Add testing support.
- Append opengl to USE_GL.
PR: 289587
Approved by: daniel at shafer.cc (maintainer timeout, 1+ year)
acpi: Add acpi_fan
Implemet acpi fan driver for controlling fan device defined in ACPI
standard. We implement level mode and step mode currently and provides
sysctls to control it.
In level mode, we have exposes n numbers of level can be choosen. People
writes the Ctrl value to set_level node to get desired value.
In step mode, people can write abitrary value (automatically rounddown
to the multiple of step) to set_level.
The full spec is in:
https://uefi.org/htmlspecs/ACPI_Spec_6_4_html/11_Thermal_Management/fan-device.html
Reviewed by: seuros, zaiee
Tested by: rz_fabmicro.ru
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55592
net-im/tdlib-purple: Update 0.9.6 => 0.9.7
Pictures are now shown at once, as blurred stand-ins replaced when the
picture arrives, and whether they are downloaded automatically can be
chosen per account and per conversation. Rich messages (instant-view
style blocks) are shown as formatted text, the buttons bots and
channels put under messages work, and a message's link in a public chat
can be copied. The local database can be encrypted with the account's
password. Many fixes, mostly in how a chat's history is filled in
Pidgin, and all five translations are complete.
The release adds tdlib-purple-tg-link, a handler for tg: links that
hands them to the running libpurple program over D-Bus, with a desktop
entry registering it for x-scheme-handler/tg; hence desktop-file-utils.
Release notes:
https://github.com/UnitedMarsupials/tdlib-purple/releases/tag/v0.9.7
PR: 301242
Co-Authored-By: Claude Opus 5.5 (effort medium)
misc/paseo-desktop: Update to 0.18.1
Add a FreeBSD verifier for the browser proxy's SOCKS5 client check.
Assisted-by: Claude Code (Opus 5.5, Fable 5.2)
benchmarks/imaptest: New port
ImapTest is a generic IMAP server compliance tester that works with all
IMAP servers. It supports stress testing with state tracking, scripted
tests with expected output, and benchmarking.
Upstream has no releases. The newest release-* branch (2.3.21) is from
2021 and only builds with Dovecot 2.3; the main branch follows Dovecot
core development. Use the last commit that builds with Dovecot 2.4.5,
versioned by its date. Later ones need the SASL and SMTP client APIs of
the next Dovecot release.
WWW: https://github.com/dovecot/imaptest
PR: 301173
Co-Authored-By: Claude Opus 5.5 (effort medium)
ports.cgi: do not CC freebsd-ports@ if it is the maintainer
Ports maintained by freebsd-ports at FreeBSD.org got a mailto link
with the same address as CC, so the list received the mail twice.
rtwn: added usb tx_checksum HAL for each chipsets
Tested on RTL8188FTV, 8821AU and RTL8192FU
Sponsored by: Alchemilla Ventures Private Limited
Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D62148