-
Notifications
You must be signed in to change notification settings - Fork 435
OSError: [Errno 16] Device or resource busy #1605
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
Comments
I'm not having any problems with the same Bolt Receiver model running Fedora with kernel 5.17.6. I'm assuming that you ran Try |
Nothing that helps me. Indeed, lsof doesn't show anything. Do you have HIDPP enabled in the kernel? |
Strange. Can you use your Lift Mouse at all connected through the Bolt receiver? I don't think that the kernel itself knows much about HID++ (or HIDPP). There is an hid_logitech_hidpp driver that implements a few HID++ things (including name, serial, battery, scroll wheel resolution, and force feedback) but Solaar doesn't need that driver running to work. Try unplugging the receiver and replugging it again and see what kernel messages are printed ( |
I paired the mouse using a Windows PC that I need to use sometimes, so the mouse is working fine. |
The driver shouldn't take control of the device. On the contrary, the driver should make the device available. The problem might be a timing issue. You could try having Solaar running before the receiver is inserted, if this is possible on your system. Or you could try running Solaar only after the receiver is inserted. |
Tried every combindation last day, but might try again later. |
If you've tried every combination then I don't know what is going on. Can you connect your mouse via Bluetooth? If so, try that. |
Another thing you could do is to try to write to the device directly. Try something like Solaar includes the hidconsole tool. Clone Solaar and run |
writing to and trying hidconsole also ends with "Device or resource busy". Here is my kernel config with grepped HID:
|
A very simple test to perform is to just try to read from the device via Try |
Its hidraw 5 - 7. BTW, here are the kernel messages:
I wonder if hid-generic is the correct driver for hidraw7? |
I see the exact same kernel messages with my Bolt receiver. Solaar uses the device node that on your system is /dev/hidraw7. So something is going wrong with /dev/hidraw7 before Solaar is involved. I don't know what this could be. Two possibilities are that some driver is misbehaving or some program is locking the device. Further investigation is going to require expertise that I don't have. |
@supermaz I assume you did unplug and replug the receiver already? This is what solved the problem for my Unify Receiver and it's working fine for me. Since the message says busy it means Solaar can't lock on that device. When unplugging the receiver it may reconnect properly and Solaar should take care of it. |
@supermaz Are you still having the problem? It still looks to me as if something is going wrong before Solaar starts. |
No, no change so far. But I haven't tried different kernel options, yet. Even after a clean restart the hidraw device is in use. |
It sure looks as if something is going wrong before Solaar starts. Given that the problem also affects One thing to try is to run |
Nothing of interest there. The file is already in use after startup, before solaar is started. So I don't think it is solaar's fault, I just hoped that you guys know which other software or kernel options blocks access. |
No, no further information from here. I'm going to close this issue. If you find out the cause you can post to the issue even if it is closed. |
Hi,
I'm using Gentoo and I wanted to configure my new Bolt Receiver which came with my new Lift Mouse.
But Solaar is unable to open the device:
Do you have any idea why the hidraw device is blocked? I tried with lsof but couldn't find anything.
Same when running with sudo.
Kernel 5.17.8, Solaar 1.1.3
The text was updated successfully, but these errors were encountered: