Skip to content

wireview-hwmon 1.9.0

Latest

Choose a tag to compare

@emaspa emaspa released this 23 Nov 09:06
· 2 commits to main since this release
v1.9.0
52e943a

Several WireViews on one PC. wireviewd now drives every WireView it finds, and the kernel module gives each its own hwmon device. Existing clients keep working and see the first device, as before.

Added

  • wireviewd drives up to 8 WireViews at once. The first keeps the hwmon name wireview (chip wireview-isa-0000); the others are wireview1, wireview2 and so on. Each hwmon device has serial, uid and label attributes that name the unit behind it.
  • Each device keeps its number across restarts, reboots and replugs. wireviewd records it by UID in /var/lib/wireview/devices.
  • wireviewctl devices lists the devices with their index, state, USB serial, UID, edition, firmware, serial port, USB port and hwmon directory.
  • wireviewctl --device <index|UID|USB serial> picks one; the last digits of the UID or serial are enough (--device 4E46). Without it, info, build and sensors show every device, and commands that change a device refuse to run while more than one is connected.
  • wireviewctl flash points dfu-util at the target's USB port, so no other STM32 bootloader on the system is taken for it.
  • The command socket gains LIST_DEVICES and SELECT_DEVICE. A connection that selects nothing talks to the connected device with the lowest index, so existing clients are unaffected. A serial handover applies to the selected device only.
  • HTTP: GET /sensors lists every device, GET /metrics has a device label on each series, GET /config?id=<UID> reads a given device and POST /command honours deviceId.

Changed

  • An unsupported WireView on one port no longer keeps a supported device on another port from being found. It is reported once in the log and left alone until it is unplugged.
  • License: wireviewd, wireviewctl and the tests are now GPL-3.0-or-later. The kernel module stays GPL-2.0-only, the license of the kernel it builds against. The packages declare the license of each part.

Upgrading

  • With one WireView nothing changes: same hwmon name, same chip name, same output.
  • The package upgrade installs the new module, but the old one stays loaded until you reload it or reboot. Until then wireviewd drives every device over the socket and HTTP, but only the first one appears in hwmon. To reload without a reboot: sudo systemctl stop wireviewd && sudo modprobe -r wireview_hwmon && sudo modprobe wireview_hwmon && sudo systemctl start wireviewd.
  • The reference /etc/wireview/config is unchanged, so there is no conffile prompt.
  • wireview-linux 1.4.x keeps working and shows the first device. The release that picks between several devices comes next.

Packages

Ubuntu 24.04 and 26.04, Debian 13: wireview-hwmon_1.9.0_amd64.deb, wireview-hwmon-dkms_1.9.0_all.deb.

Fedora 43 and 44: wireview-hwmon-1.9.0-1.x86_64.rpm, wireview-hwmon-dkms-1.9.0-1.noarch.rpm.

Also in ppa:sparvoli/wireview-hwmon, COPR emaspa/wireview-linux, and the AUR.