Script does not detect G203 Lightsync
techguy16 opened this issue · 9 comments
When I try and control my G203 Lightsync, the script keeps saying that 046d:c092 is not found.
Can this be fixed
In the script, change:
g203_lightsync_product_id = 0xc092
to
g203_lightsync_product_id = 0xc09d
This was a issue with libratbag too, I guess logitech added a new product id.
Libratbag works though.
My G203 LS is 046d:c092 though (according to lsusb
).
EDIT: @kritagyag09 the PID you referenced is actually the G102
Oh well my bad, I have a g203 and it has the referenced ID in my message above.
There is no reason the script should not work if the variables reflect the product and vendor id.
One possible way that the program would not be allowed to access the usb is if it lacks the permission.
Maybe try running the program as roott?
Tried that before making an issue.
Can you show the output of the program, along with the command line arguments you give to it?
Hi,
I bought today a brand new G203 Lightsync and have the same issue:
$ sudo ./g203-led.py lightsync solid 00FFFF
Error: Device 046d:c092 not found.
$ lsusb | grep G203
Bus 003 Device 022: ID 046d:c09d Logitech, Inc. G203 LIGHTSYNC Gaming Mouse
after making the change @akzytr suggested it works!
Just pointing out that mine's an older G203 LIGHTSYNC.
Here's proof:
techguy@pop-os:~$ lsusb
Bus 002 Device 005: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. JMS578 SATA 6Gb/s
Bus 002 Device 004: ID 1532:025e Razer USA, Ltd Razer Cynosa V2
Bus 002 Device 003: ID 046d:c092 Logitech, Inc. G203 LIGHTSYNC Gaming Mouse
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader
Bus 001 Device 003: ID 1532:0531 Razer USA, Ltd Razer Seiren Mini
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub