libratbag: Cannot find any devices Logitech G203
Information
ratbagdversion (ratbagd --version): (0.13):- Distribution: Ubuntu 20.04
- Kernel version (ex.
uname -srmo): Linux 5.4.0-37-generic x86_64 GNU/Linux
Device info (if applicable): Bus 005 Device 002: ID 046d:c092 Logitech, Inc. G203 LIGHTSYNC Gaming Mouse
$ ratbagctl 'Logitech G203' info
Unable to find device Logitech G203
Describe the bug
Upon launching the Piper application I get “Cannot find any devices”

To Reproduce Steps to reproduce the behavior:
- Connect device via USB
sudo apt install piper- launch Piper
Logs
$ ratbagd --verbose=raw
Initializing libratbag
ratbag debug: New device: Logitech G203 LIGHTSYNC Gaming Mouse
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: No data file found for 046d:c092
ratbag debug: New device: Logitech G203 LIGHTSYNC Gaming Mouse
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: No data file found for 046d:c092
ratbag debug: New device: SHANWAN PS3 GamePad
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: No data file found for 054c:0268
ratbag debug: New device: Logitech Gaming Keyboard G610
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: No data file found for 046d:c333
ratbag debug: New device: Logitech Gaming Keyboard G610
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: No data file found for 046d:c333
DBus server ready
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 16 (5 by maintainers)
Thanks, I had the same problem and it worked for me too. I think it’s worth noting that, in order to get it working, I had to restart ratbagd too. So:
sudo killall ratbagdsudo systemctl start ratbagd.serviceI’m presuming your device ID is the same as mine. You should check with
lsusbI’m on Ubuntu and did the following:
/usr/share/libratbagsudo nano /usr/share/libratbag/logitech-g102-g203.deviceThanks, this worked for me.
For those with the purple G203, it has a different USB ID of:
046d:c09d.You actually have to restart ratbagd after making changes to device files - the service that actually talks to the mice, Piper is just a frontend.
systemctl restart ratbagd