Closed luisalvarado closed 1 year ago
The popup is created when Solaar finds a device that it thinks it should connect to but it can't open the /dev/hidrawN file for it.
There are several potential causes but the most likely one is that Solaar is running at a time when permissions are not correctly set up for the /dev/hidrawN node (shown in the output of solaar show
) for the headset. Run ls -l /dev/hidraw*
and look to see whether there is a + on the line for the headset. If there is no + there, then something weird is going on. Try disconnecting and reconnecting the headset. If this works then the above cause almost certainly the correct one. Terminate Solaar and start it up again. If it works correctly then the above cause is even more likely the correct one.
The solution is then likely to be to start up Solaar a bit later. I don't know how you have Solaar starting up but it is best to only start Solaar after user login and after window system start.
The Logitech PowerPlay is a strange device. As far as Solaar can see, it is a Lightspeed Receiver plus the Candy touchpad. Logitech software may provide a different name for the device's parts but Solaar is using what the parts identify themselves as. The Candy touchpad is also connected to the receiver using an unusual device number.
The popup is created when Solaar finds a device that it thinks it should connect to but it can't open the /dev/hidrawN file for it.
There are several potential causes but the most likely one is that Solaar is running at a time when permissions are not correctly set up for the /dev/hidrawN node (shown in the output of
solaar show
) for the headset. Runls -l /dev/hidraw*
and look to see whether there is a + on the line for the headset. If there is no + there, then something weird is going on. Try disconnecting and reconnecting the headset. If this works then the above cause almost certainly the correct one. Terminate Solaar and start it up again. If it works correctly then the above cause is even more likely the correct one.The solution is then likely to be to start up Solaar a bit later. I don't know how you have Solaar starting up but it is best to only start Solaar after user login and after window system start.
The Logitech PowerPlay is a strange device. As far as Solaar can see, it is a Lightspeed Receiver plus the Candy touchpad. Logitech software may provide a different name for the device's parts but Solaar is using what the parts identify themselves as. The Candy touchpad is also connected to the receiver using an unusual device number.
Thank you so much for a thorough reply. Here is the image about the hidraw devices
So yes, it has a + sign
I followed your advice, so on the startup application app I did the following:
bash -c "sleep 2 && solaar --window=hide"
And now it does not show. Thank you friend.
How do you start up Solaar?
You type start in the gnome search and get the startup application (I know we can do it with run and rc and etc... but I am lazy:
Then you select solaar here:
Lastly just edit the code. I had to push it to 5 seconds this time:
This is still a bug, like, maybe an option that does not show the popup until X amount of retries during a certain amount of time. Instead of failing on the first one would help.
I've never seen this problem before. It may be related to how Gnome or Wayland does things. But it does seem worthwhile to retry and only complain if the retries fail.
PR #1933 should fix your problem. It retries opening devices when there are permissions errors after several seconds.
To clone and use Solar from its GitHub repository
git clone https://github.com/pwr-Solaar/Solaar.git
cd Solaar
Run Solaar as bin/solaar from this directory.
To run PR #1933, first clone Solaar if you have not already done so and cd to the clone directory. The first time you download the pull request, fetch it into a new branch and checkout that branch, as in:
git fetch origin pull/1933/head:pull_1933
git checkout pull_1933
To download a new version of the pull request, fetch it and then set your pull branch to the new fetch, as in:
git checkout pull_1933
git fetch origin pull/1933/head
git reset --hard FETCH_HEAD
Awesome sauce, let me test tomorrow (I am super sick) But amazing work buddy,
Information
solaar --version
orgit describe --tags
if cloned from this repository):uname -srmo
):KERNEL VERSION HERE
solaar show
:Linux 5.19.0-26-generic x86_64 GNU/Linux
~/.config/solaar/config.yaml
(or~/.config/solaar/config.json
if~/.config/solaar/config.yaml
not present):Describe the bug A clear and concise description of what the bug is.
A popup shows whenever I reboot the computer that says:
A receiver dev/hidraw2 but did not have permission to open it
To Reproduce Steps to reproduce the behavior:
Screenshots If applicable, add screenshots to help explain your problem.
This is the popup
This is the menu with the Logitech Powerplay. Even though I can connect the G903 to its own Receiver, the powerplay also offers the option of connecting the G903 to it so I can save one usb slot on the PC, meaning I can connect the G903 to the Powerplay receiver and both would use the same usb connection.
This is how it looks connected directly to the Powerplay receiver:
Also, it confused me when I saw Candy instead of Logitech Powerplay
Additional context Add any other context about the problem here.