Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

J316 panic #8

Closed
mavonarx opened this issue Dec 19, 2023 · 3 comments
Closed

J316 panic #8

mavonarx opened this issue Dec 19, 2023 · 3 comments

Comments

@mavonarx
Copy link

➜ ~ sudo speakersafetyd
INFO [speakersafetyd] Starting up
INFO [speakersafetyd] Config base: "/usr/local/share/speakersafetyd"
INFO [speakersafetyd] Machine: apple,j316
INFO [speakersafetyd] Config file: "/usr/local/share/speakersafetyd/apple/j316.conf"
INFO [speakersafetyd] Device: hw:AppleJ316
INFO [speakersafetyd::uclamp] Set task uclamp to 0:64
INFO [speakersafetyd] Found 6 speakers
INFO [speakersafetyd] Opening control device
INFO [speakersafetyd] Startup mode: Cold boot
INFO [speakersafetyd::types] Speaker [Left Woofer 1]:
thread 'main' panicked at src/helpers.rs:172:13:
Could not lock elem Left Woofer 1 VSENSE Switch. alsa-lib error: Error("snd_ctl_elem_lock", EBUSY)
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
WARN [speakersafetyd] Panic!

➜ ~ sudo speakersafetyd
INFO [speakersafetyd] Starting up
INFO [speakersafetyd] Config base: "/usr/local/share/speakersafetyd"
INFO [speakersafetyd] Machine: apple,j316
INFO [speakersafetyd] Config file: "/usr/local/share/speakersafetyd/apple/j316.conf"
INFO [speakersafetyd] Device: hw:AppleJ316
INFO [speakersafetyd::uclamp] Set task uclamp to 0:64
INFO [speakersafetyd] Found 6 speakers
INFO [speakersafetyd] Opening control device
INFO [speakersafetyd] Startup mode: Warm boot
INFO [speakersafetyd::types] Speaker [Left Woofer 1]:
thread 'main' panicked at src/helpers.rs:172:13:
Could not lock elem Left Woofer 1 VSENSE Switch. alsa-lib error: Error("snd_ctl_elem_lock", EBUSY)
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
WARN [speakersafetyd] Panic!

Speakers didn't activate after upgrading to the recent patch. So I tried to to activate speakersafetyd by my own. But it seems to crash while locking the Left Woofer. Can you help me with that?

@jannau
Copy link
Member

jannau commented Dec 19, 2023

Looks like this a self-managed system. Due to a bug in lsp-plugins speaker enablement needs out of tree patches to ensure speakers are only enabled on systems with fix lsp-plugins.

See the speakers/enablement-READ-COMMIT-MESSAGE branch in the linux repo.

@mavonarx
Copy link
Author

mavonarx commented Dec 19, 2023

Hmm i installed it quite a while ago woth fedora installer.
I just do dnf upgrade --refresh regularly to update the system but nothing else.

Don't know if it helps, but thats my output of uname -a
Linux asahi-linux 6.6.3-411.asahi.fc38.aarch64+16k #1 SMP PREEMPT_DYNAMIC Tue Dec 19 10:20:05 UTC 2023 aarch64 GNU/Linux

Edit: Thought it had something to do with still being on fedora38 so i upgraded to fedora 39 but there still seems to be the same problem

@mavonarx
Copy link
Author

Reinstalled fedora with installer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants