USB device permissions not applied every time I open ASM #140
Replies: 5 comments 20 replies
|
Did you run |
|
@DefactoCasual — you did nothing wrong, and there is nothing left for you to learn here: this is a bug in ASM, and you found it. Thank you for reporting it, and sorry it made you doubt your setup a week into using Linux. @jsuvanto handed me the answer without realising it:
That one sentence is the whole diagnosis. "Exit" from the tray also stops the background service, so reopening ASM makes it grab the headset a second time — and that second time works. Your udev rules were always fine. What actually happensYour dongle never leaves its USB port, so it gets detected while the computer is still booting — and ASM's background service starts right behind it, sometimes before the system has finished granting access to the device. That first attempt fails, and ASM reported it as "permissions are missing" when the truth was "permissions are not ready yet, one second". Clicking the button in that dialog didn't repair the rules either. It nudged the system into re-announcing the device, which is what actually let ASM grab it. And there was a worse side to this that neither of you could see: after that first failure, ASM gave up on the headset entirely and never tried again. So the click wasn't just dismissing a message — it was genuinely what got your headset working each boot. @DefactoCasual, when you wrote "I need to redo this step every time I reboot", you were right in a way I don't think you suspected. The fixASM now retries a few seconds later instead of concluding anything. A boot-time race sorts itself out silently — no dialog, no click, headset working — while a genuinely missing rules file is still reported, just a few seconds later than before. It's in the next release; you'll get it through your normal system updates. Until then, clicking the button remains harmless, and nothing on your systems needs changing. One small favour, @jsuvantoYou mentioned installing with rpm -qi arctis-sound-manager python3-arctis-sound-manager 2>&1 | grep -E "Name|Version|Vendor|URL"Most likely you enabled the COPR a while back and forgot — that would be the boring, happy answer. But if something else is shipping ASM under a different name, I'd very much like to know, because I'd end up getting bug reports for a build I don't control. |
|
Is not my package ... it's why it don't work |
|
Thank you both — your outputs answered a question I'd been circling for two days, and it explains more than the package name. The package you have isn't the one this project publishes@jsuvanto's That build comes from Terra, a third-party Fedora repository enabled by default on Nobara and Ultramarine. It is built from this project's source — same code, same licence, and their spec is clearly derived from ours — but it is packaged and shipped by someone else. That's why Nothing malicious about it, and I'm not upset that it exists. But it is not the package I publish, and I can't fix it from here. Two consequences, and they matter for what you're seeing1. The fix for this very problem is in 1.2.11. @jsuvanto, you tested 1.2.10 — that release does not contain it. The retry that stops the permission dialog from appearing on every boot shipped the version after. So "same behaviour" is expected on 1.2.10, and worth retesting. 2. The Terra build declares no dependencies at all. Their spec has zero
plus If you'd like the package from this projectsudo dnf remove python3-arctis-sound-manager
sudo dnf copr enable loteran/arctis-sound-manager
sudo dnf install arctis-sound-manager
asm-setupIt carries the dependency list above, and it updates within minutes of a release rather than whenever the third-party rebuild catches up. If you'd rather stay on Terra, that's entirely fine — but please mention it when reporting a problem, because I may be reading code that isn't the code you're running. As of the next release, the bug report and @DefactoCasual — and thank you for the kind words earlier. For what it's worth, "it seemed weird that I was asked for permissions I already granted" was exactly the right instinct, and it found a real bug that affected everyone, not just you. |
|
Small follow-up: rather than leave this as "their build, not mine", I've sent the fix to Terra directly. terrapkg/packages#14469 — fix(Arctis-Sound-Manager): declare runtime dependencies It adds the sixteen I also offered to keep the packaging in sync going forward, so this doesn't drift again. Once that lands and Terra rebuilds, the package you already have will pick up the dependencies through a normal
@jsuvanto — separately from all of this, the boot-time permission dialog is fixed in 1.2.11, and you tested 1.2.10, so that one is still worth a retest whenever Terra's rebuild reaches you. |







@DefactoCasual — you did nothing wrong, and there is nothing left for you to learn here: this is a bug in ASM, and you found it. Thank you for reporting it, and sorry it made you doubt your setup a week into using Linux.
@jsuvanto handed me the answer without realising it:
That one sentence is the whole diagnosis. "Exit" from the tray also stops the background service, so reopening ASM makes it grab the headset a second time — and that second time works. Your udev rules were always fine.
asm-setupshowing them installed was correct.What actually happens
Your…