ping()įile "/home/sebastien/Solaar/lib/logitech_receiver/device.py", line 439, in ping protocol = _base. run( c, args, _find_receiver, _find_device)įile "/home/sebastien/Solaar/lib/solaar/cli/show.py", line 277, in run _print_device( d, num = dev_num)įile "/home/sebastien/Solaar/lib/solaar/cli/show.py", line 90, in _print_device dev.
OSError: written 0 bytes out of expected 7 During handling of the above exception, another exception occurred:įile "/home/sebastien/Solaar/lib/solaar/cli/_init_.py", line 199, in run m. EIO, 'written %d bytes out of expected %d' % ( bytes_written, len( data))) write( int( handle), wdata)įile "/home/sebastien/Solaar/lib/hidapi/udev.py", line 336, in write raise IOError( _errno. Wired Devices solaar: error: Traceback ( most recent call last):įile "/home/sebastien/Solaar/lib/logitech_receiver/base.py", line 209, in write _hid. I made a script that gets this data automatically, but I need a way to calculate the battery percentage to make it useful.
WINDOWS G930 VOLUME SCROLL DOES NOT WORK HOW TO
I found that the byte 6 of the response corresponds to state of the device:ĭisconnected:0x0, idle:0x01, charging:0x03 (also 0x07 and 0x87 which I haven't figured out yet)įrom this I noticed that the byte 5(d0 in this case) seems to change in relation to charging and discharging, but don't know how to convert it to usable information. Host>7.6.3 (some kind of default packet, probably ack) (when opening battery monitoring page of the gaming software) I used wireshark and windows vm with logitech gaming software to try guess how the data requesting works.
Have you got it working? I have been trying to get battery information of G933 for couple of days now. G930īDeviceClass 0 (Defined at Interface level)
Bus 001 Device 003: ID 046d:0a1f Logitech, Inc.