Closed alllexx88 closed 10 months ago
Solaar version 1.1.10 does support the Bolt receiver.
Run solaar -ddd show
when the Bolt receiver is attached to your system. Also run solaar -ddd
under the same circumstances. Post the output of both commands.
@pfps thank you for your reply!
I know that Bolt receiver is supported by Solaar 1.1.10, since it works properly on my laptop. I just can't get it to work on the nvidia orin nano microcomputer with jetpack 6.0.
solaar -ddd show
:
solaar: error: Traceback (most recent call last):
File "/home/dln0/.local/lib/python3.10/site-packages/solaar/cli/__init__.py", line 206, in run
raise Exception(
Exception: No supported device found. Use "lsusb" and "bluetoothctl devices Connected" to list connected devices.
solaar -ddd
:
2024-01-08 20:45:49,095,095 INFO [MainThread] root: version 1.1.10, language uk_UA (UTF-8)
2024-01-08 20:45:49,400,400 INFO [MainThread] logitech_receiver.diversion: GDK Keymap set up
2024-01-08 20:45:49,434,434 DEBUG [MainThread] solaar.ui.tray: using Ayatana AppIndicator3
2024-01-08 20:45:49,445,445 INFO [MainThread] solaar.upower: connected to system dbus, watching for suspend/resume events
2024-01-08 20:45:49,521,521 DEBUG [MainThread] solaar.ui: startup registered=True, remote=False
2024-01-08 20:45:49,525,525 DEBUG [AsyncUI] solaar.tasks: started
2024-01-08 20:45:49,526,526 INFO [MainThread] solaar.ui.notify: starting desktop notifications
2024-01-08 20:45:49,531,531 DEBUG [MainThread] solaar.ui.icons: sys.path[0] = /home/dln0/.local/bin
2024-01-08 20:45:49,531,531 DEBUG [MainThread] solaar.ui.icons: looking for icons in /home/dln0/.local/icons
2024-01-08 20:45:49,532,532 DEBUG [MainThread] solaar.ui.icons: looking for icons in /home/dln0/.local/share/solaar/icons
2024-01-08 20:45:49,532,532 DEBUG [MainThread] solaar.ui.icons: icon theme paths: ['/home/dln0/.local/share/solaar/icons', '/home/dln0/.local/share/icons', '/home/dln0/.icons', '/usr/share/ubuntu/icons', '/usr/share/gnome/icons', '/usr/local/share/icons', '/usr/share/icons', '/var/lib/snapd/desktop/icons', '/usr/share/ubuntu/pixmaps', '/usr/share/gnome/pixmaps', '/usr/local/share/pixmaps', '/usr/share/pixmaps', '/var/lib/snapd/desktop/pixmaps']
2024-01-08 20:45:49,643,643 INFO [MainThread] solaar.listener: starting receiver listening threads
2024-01-08 20:45:49,650,650 DEBUG [MainThread] solaar.ui: activate
So the problem is likely that hid enumeration isn't working. It looks as if the udev library is present but doesn't find anything. If so, that's a problem with JetPack and nothing that can be fixed inside Solaar. But Solaar runs fine on Ubuntu so I guess JetPack has stripped out parts of Ubuntu.
You could try running solaar -ddd
and unplugging and replugging the Bolt receiver. If Solaar does not detect the receiver then your next step is to try to put debug messages in lib/hidapi/udev.py but you will be on your own.
@pfps Thanks again. I did some debugging and find out that the 5.15.122-tegra JetPack 6 kernel is built with # CONFIG_HIDRAW is not set
config (yes, there're no /dev/hidraw*
devices in the system), _Context().list_devices(subsystem='hidraw')
in hidapi/udev.py
is always empty because of this.
I'll try to build a kernel from the sources (at least to see if it would get the issue fixed), but then when Nvidia rolls out a kernel upgrade, I'll have to repeat the process, unless they switch HIDRAW support on (I wouldn't count on it) :disappointed:
That certainly looks like the problem. But removing /dev/hidraw* would cause other parts of Linux to not work, such as high-resolution scrolling for select Logitech devices, as far as I can tell. I wonder why this choice was made.
So I built a kernel from the GPL sources with hidraw and hid-logitech-dj, and hid-logitech-hidpp, and uinput (logiops needed it as I found out, so I decided to have it in the kernel too) and now Solaar works perfectly!
It's hard to tell what Nvidia is thinking, maybe it's just that the Jetson devices aren't intended to be used as desktop devices, so they don't really care for advanced HID functionality and such. Who knows :confused:
Thanks again for your help @pfps, I think we can close the issue now :smiley:
Information
uname -srmo
):Linux 5.15.122-tegra aarch64 GNU/Linux
solaar show
:~/.config/solaar/config.yaml
(or~/.config/solaar/config.json
if~/.config/solaar/config.yaml
not present):Describe the bug Solaar doesn't detect the logi bolt, and devices connected to it. I suspect this can be a driver issue, since on my Archlinux laptop Solaar works perfectly with the same devices. According to the installation page,
Solaar needs a reasonably new kernel with kernel modules hid-logitech-dj and hid-logitech-hidpp loaded
, these modules weren't available in JetPack 6.0, I built and loaded them manually:To Reproduce Steps to reproduce the behavior:
Additional context System log when connecting the HID devices: