mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-07-12 18:19:42 -07:00
df92325273
Issue #19 (RTL8188EUS dongle can scan but never authenticates): the udev swap rule shipped in v2.0 was structurally a no-op. It matched the usb_device add event and echoed the device name ("1-1") into rtl8xxxu's unbind node, but USB drivers bind to the interface ("1-1:1.0"), and at usb_device add time nothing is bound yet anyway; the follow-up modprobe never rebinds an interface the in-tree driver already claimed. Users confirmed the auth failure survived into the release. Rewrite the rule to match the usb_interface event, where the kernel has already finished its synchronous bind, and deterministically move the interface: unbind from rtl8xxxu (no-op if it lost the probe race) and write it into 8188eu's bind node via udev's own %k substitution (no shell $$ escaping to get wrong). Issue #35 (R36S Clone V20 speaker silent, headphones fine): the V20-era clone boards route the speaker through the external amplifier exactly like the Soysauce (the eeclone DTS already ships rk817-sound-amplified) but the R36S Clone quirk never exported the playback mux paths nor the jack input device. Reporters on the issue validated this exact config by hand-editing the quirk. Also fix headphone_sense: every amixer cset passed the control name unquoted, so names with spaces ("Playback Mux") split into two arguments and the call failed; and the boot-time jack probe read a legacy /sys/class/gpio node that mainline kernels don't expose, now guarded with a speaker-path default. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>