Package: sispmctl Followup-For: Bug #810458 Control: tags -1 patch This bug is now fixed. I have migrated sispmctl from libusb-0.1 to libusb-1.0. The patch is attached.
On Linux 6.x (Debian 13 / trixie) the kernel rejects USBDEVFS_CLAIMINTERFACE with ENOENT when using libusb-0.1. Additionally, the Gembird Silver Shield PM (04b4:fd11, Cypress CY7C63001A) sends a truncated configuration descriptor (11 of 27 bytes), causing the kernel to register 0 interfaces. The patch adds a USB reset at startup to force the device to send the full descriptor on re-enumeration. The patch: - Migrates from libusb-0.1 to libusb-1.0 - Adds USB reset workaround for truncated descriptors - Updates configure.ac, snap/snapcraft.yaml - Bumps version to 4.13 Tested on Debian 13 (kernel 6.x, amd64) with Gembird Silver Shield PM. Patch also available at: https://github.com/nowrap/sispmctl/tree/migrate-libusb1 -- System Information: Debian Release: 13.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.17.13-2-pve (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages sispmctl depends on: ii libc6 2.41-12+deb13u2 ii libusb-1.0-0 2:1.0.28-1 ii systemd [systemd-sysusers] 257.9-1~deb13u1 sispmctl recommends no packages. sispmctl suggests no packages. -- no debconf information
sispmctl-migrate-libusb1.patch
Description: application/mbox
sispmctl-migrate-libusb1.patch
Description: application/mbox

