You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Rotary controller does not work. There is no volume Change. See logs below
audiocontrol2 - could not create controller ac2.plugins.control.rotary.Rotary
HiFiBerryOS version
64alpha8
HiFiBerry sound card
AMP2
To Reproduce
install controller on gpio Pins
Set Pins in the configuration file
Try to Change volume Expected behavior
A clear and concise description of what you expected to happen.
Rotary controller changing volume and / or pausing tracks. Screenshots
If applicable, add screenshots to help explain your problem.
discoluc
changed the title
Rotary Controller mit working
Rotary Controller not working
Sep 5, 2024
discoluc
changed the title
Rotary Controller not working
Rotary Controller not working / audiocontrol2 - could not create controller ac2.plugins.control.rotary.Rotary
Sep 5, 2024
Describe the bug
Rotary controller does not work. There is no volume Change. See logs below
audiocontrol2 - could not create controller ac2.plugins.control.rotary.Rotary
HiFiBerryOS version
64alpha8
HiFiBerry sound card
AMP2
To Reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Rotary controller changing volume and / or pausing tracks.
Screenshots
If applicable, add screenshots to help explain your problem.
Browser (if applicable)
Additional context
Logs of audiocontrol2
Sep 03 07:29:28 freilufttheater python3[1378]: INFO: audiocontrol2 - Controller class: ac2.plugins.control.rotary.Rotary
Sep 03 07:29:28 freilufttheater python3[1378]: ERROR: audiocontrol2 - No module named 'RPi'
Sep 03 07:29:28 freilufttheater python3[1378]: Traceback (most recent call last):
Sep 03 07:29:28 freilufttheater python3[1378]: File "/opt/audiocontrol2/audiocontrol2.py", line 85, in create_object
Sep 03 07:29:28 freilufttheater python3[1378]: MyClass = getattr(importlib.import_module(module_name), class_name)
Sep 03 07:29:28 freilufttheater python3[1378]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sep 03 07:29:28 freilufttheater python3[1378]: File "/usr/lib/python3.11/importlib/init.py", line 126, in import_module
Sep 03 07:29:28 freilufttheater python3[1378]: File "", line 1204, in _gcd_import
Sep 03 07:29:28 freilufttheater python3[1378]: File "", line 1176, in _find_and_load
Sep 03 07:29:28 freilufttheater python3[1378]: File "", line 1147, in _find_and_load_unlocked
Sep 03 07:29:28 freilufttheater python3[1378]: File "", line 690, in _load_unlocked
Sep 03 07:29:28 freilufttheater python3[1378]: File "", line 940, in exec_module
Sep 03 07:29:28 freilufttheater python3[1378]: File "", line 241, in _call_with_frames_removed
Sep 03 07:29:28 freilufttheater python3[1378]: File "/opt/audiocontrol2/ac2/plugins/control/rotary.py", line 27, in
Sep 03 07:29:28 freilufttheater python3[1378]: from pyky040 import pyky040
Sep 03 07:29:28 freilufttheater python3[1378]: File "/usr/lib/python3.11/site-packages/pyky040/pyky040.py", line 1, in
Sep 03 07:29:28 freilufttheater python3[1378]: ModuleNotFoundError: No module named 'RPi'
Sep 03 07:29:28 freilufttheater python3[1378]: ERROR: audiocontrol2 - could not create controller ac2.plugins.control.rotary.Rotary
Sep 03 07:29:28 freilufttheater python3[1378]: INFO: audiocontrol2 - registered metadata display <ac2.plugins.metadata.lametric.LaMetricPush object at 0x7f935fd210>
Sep 03 07:29:28 freilufttheater python3[1378]: INFO: audiocontrol2 - Controller class: ac2.plugins.control.powercontroller.Powercontroller
The text was updated successfully, but these errors were encountered: