I have install a fresh, vanilla version of Fedora 39 Workstation Edition on my Lenovo Legion Go.
I have installed the acpi_call dkms package, then I installed hhd, adjuster and hhd-ui with the provided commands:
`# Fedora
sudo dnf copr enable hhd-dev/hhd
sudo dnf install hhd adjustor hhd-ui
sudo systemctl enable hhd@$(whoami)`
Unfortunately hhd does not run correctly.
The output of sudo systemctl status hhd@$(whoami) gave
Main PID: 13944 (code=exited, status=1/FAILURE)
When I ran the command 'hhd' from the terminal, it outputted:
` __
/ / ╲╲/ / ╲╲_/ ╲╲
/ // // //
/ / / /
╲/____/╲//╲____/
[22:50] MAIN INFO Handheld Daemon starting...
MAIN INFO Running under an unknown Linux distro.
MAIN WARNING Plugin blacklist not found, using default (empty).
MAIN INFO Running autodetection...
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /usr/bin/hhd:8 in │
│ │
│ 5 from hhd.main import main │
│ 6 if name == "main": │
│ 7 │ sys.argv[0] = re.sub(r"(-script.pyw|.exe)?$", "", sys.argv[0]) │
│ ❱ 8 │ sys.exit(main()) │
│ 9 │
│ │
│ /usr/lib/python3.12/site-packages/hhd/main.py:193 in main │
│ │
│ 190 │ │ │ if name in blacklist: │
│ 191 │ │ │ │ logger.info(f"Skipping blacklisted provider '{name}'.") │
│ 192 │ │ │ else: │
│ ❱ 193 │ │ │ │ detectors[autodetect.name] = autodetect.resolve() │
│ 194 │ │ │
│ 195 │ │ # Save new blacklist file │
│ 196 │ │ save_blacklist_yaml(blacklist_fn, detector_names, blacklist) │
│ │
│ /usr/lib/python3.12/site-packages/pkg_resources/init.py:2523 in resolve │
│ │
│ 2520 │ │ """ │
│ 2521 │ │ Resolve the entry point from its module and attrs. │
│ 2522 │ │ """ │
│ ❱ 2523 │ │ module = import(self.module_name, fromlist=['name'], level=0) │
│ 2524 │ │ try: │
│ 2525 │ │ │ return functools.reduce(getattr, self.attrs, module) │
│ 2526 │ │ except AttributeError as exc: │
│ │
│ /usr/lib/python3.12/site-packages/hhd/device/gpd/win/init.py:15 in │
│ │
│ 12 │ get_gyro_config, │
│ 13 ) │
│ 14 from hhd.plugins.settings import HHDSettings │
│ ❱ 15 from hhd.controller.lib.hid import enumerate_unique │
│ 16 │
│ 17 from .const import GPD_WIN_MAX_2_2023_MAPPINGS, GPD_WIN_DEFAULT_MAPPINGS │
│ 18 │
│ │
│ /usr/lib/python3.12/site-packages/hhd/controller/lib/hid.py:34 in │
│ │
│ 31 │ error = "Unable to load any of the following libraries:{}".format( │
│ 32 │ │ " ".join(library_paths) │
│ 33 │ ) │
│ ❱ 34 │ raise ImportError(error) │
│ 35 │
│ 36 │
│ 37 hidapi.hid_init() │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ImportError: Unable to load any of the following libraries:libhidapi-hidraw.so libhidapi-hidraw.so.0
`
Could anyone please advise and assist me on how to get this up and running on Fedora 39 Workstation Edition?
I have install a fresh, vanilla version of Fedora 39 Workstation Edition on my Lenovo Legion Go.
I have installed the acpi_call dkms package, then I installed hhd, adjuster and hhd-ui with the provided commands: `# Fedora sudo dnf copr enable hhd-dev/hhd sudo dnf install hhd adjustor hhd-ui
sudo systemctl enable hhd@$(whoami)`
Unfortunately hhd does not run correctly. The output of
sudo systemctl status hhd@$(whoami)
gaveMain PID: 13944 (code=exited, status=1/FAILURE)
When I ran the command 'hhd' from the terminal, it outputted: ` __
/ / ╲╲/ / ╲╲_/ ╲╲ / // // // / / / / ╲/____/╲//╲____/
[22:50] MAIN INFO Handheld Daemon starting... │
│ │
│ 5 from hhd.main import main │
│ 6 if name == "main": │
│ 7 │ sys.argv[0] = re.sub(r"(-script.pyw|.exe)?$", "", sys.argv[0]) │
│ ❱ 8 │ sys.exit(main()) │
│ 9 │
│ │
│ /usr/lib/python3.12/site-packages/hhd/main.py:193 in main │
│ │
│ 190 │ │ │ if name in blacklist: │
│ 191 │ │ │ │ logger.info(f"Skipping blacklisted provider '{name}'.") │
│ 192 │ │ │ else: │
│ ❱ 193 │ │ │ │ detectors[autodetect.name] = autodetect.resolve() │
│ 194 │ │ │
│ 195 │ │ # Save new blacklist file │
│ 196 │ │ save_blacklist_yaml(blacklist_fn, detector_names, blacklist) │
│ │
│ /usr/lib/python3.12/site-packages/pkg_resources/init.py:2523 in resolve │
│ │
│ 2520 │ │ """ │
│ 2521 │ │ Resolve the entry point from its module and attrs. │
│ 2522 │ │ """ │
│ ❱ 2523 │ │ module = import(self.module_name, fromlist=['name'], level=0) │
│ 2524 │ │ try: │
│ 2525 │ │ │ return functools.reduce(getattr, self.attrs, module) │
│ 2526 │ │ except AttributeError as exc: │
│ │
│ /usr/lib/python3.12/site-packages/hhd/device/gpd/win/init.py:15 in │
│ │
│ 12 │ get_gyro_config, │
│ 13 ) │
│ 14 from hhd.plugins.settings import HHDSettings │
│ ❱ 15 from hhd.controller.lib.hid import enumerate_unique │
│ 16 │
│ 17 from .const import GPD_WIN_MAX_2_2023_MAPPINGS, GPD_WIN_DEFAULT_MAPPINGS │
│ 18 │
│ │
│ /usr/lib/python3.12/site-packages/hhd/controller/lib/hid.py:34 in │
│ │
│ 31 │ error = "Unable to load any of the following libraries:{}".format( │
│ 32 │ │ " ".join(library_paths) │
│ 33 │ ) │
│ ❱ 34 │ raise ImportError(error) │
│ 35 │
│ 36 │
│ 37 hidapi.hid_init() │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ImportError: Unable to load any of the following libraries:libhidapi-hidraw.so libhidapi-hidraw.so.0
`
MAIN INFO Running under an unknown Linux distro.
MAIN WARNING Plugin blacklist not found, using default (empty).
MAIN INFO Running autodetection...
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ /usr/bin/hhd:8 in
Could anyone please advise and assist me on how to get this up and running on Fedora 39 Workstation Edition?