Comments (8)
Hm, the main window should be hidden at startup if the systray icon appears. I assume you're using the latest version? What distro, and what desktop environment?
As for the battery -- I don't have a Performance MX to test with, but I think this model does not report the battery percentage, just a sort of a general status (good/bad), and there's no documentation on the exact values.
To confirm this, please start solaar with "-dd". You'll get a lost of debug messages, look for something like "failed to read 'battery' from default register 0x0D, blacklisting" -- this means there's no battery percentage available.
To read the battery status register, you can run "echo '10 01 8107 000000' | tools/hidconsole --hidpp" (you'll need to download the solaar source for this, hidconsole is not available in the packages).
from solaar.
Thanks for the quick response.
I'm using the git version.
Distro is openSuSE 12.2 x86_64 with KDE 4.10.60, python is 2.7.3
On startup window keeps open and DPI settings won't be restored (not sure if the software is supposed to restore them).
As for the battery:
You`re right, I get the "failed to read battery" string:
alex@linux-7jg6:~/bin/Solaar/bin> ./solaar -dd
2013-01-16 18:24:24,646 ERROR [MainThread] root: Could not find any typelib for Notify
2013-01-16 18:24:24,769 INFO [ReceiverListener] LUR.listener: started with <Receiver(/dev/hidraw0,T9)> (9)
2013-01-16 18:24:24,770 INFO [ReceiverListener] listener: notifications listener has started
2013-01-16 18:24:24,770 DEBUG [ReceiverListener] LUR.base: (9) <= w[10 FF 8000 FFFFFF]
2013-01-16 18:24:24,773 DEBUG [ReceiverListener] LUR.base: (9) => r[10 FF 8000 000000]
2013-01-16 18:24:24,773 INFO [ReceiverListener] LUR.receiver: device notifications enabled
2013-01-16 18:24:24,773 DEBUG [ReceiverListener] LUR.base: (9) <= w[10 FF 8002 020000]
2013-01-16 18:24:24,777 DEBUG [ReceiverListener] LUR.base: (9) => r[10 01 4104 121A10]
2013-01-16 18:24:24,777 DEBUG [ReceiverListener] LUR.listener: queueing unhandled Notification(1,41,04,121A10)
2013-01-16 18:24:24,779 DEBUG [ReceiverListener] LUR.base: (9) => r[10 FF 8002 000000]
2013-01-16 18:24:24,779 DEBUG [ReceiverListener] listener: status_changed <Receiver(/dev/hidraw0,T9)>: active No devices found. (1)
2013-01-16 18:24:24,780 DEBUG [ReceiverListener] LUR.base: (9) <= w[10 FF 83B5 200000]
2013-01-16 18:24:24,783 DEBUG [ReceiverListener] LUR.base: (9) => r[11 FF 83B5 200708101A0400020600000000000000]
2013-01-16 18:24:24,783 INFO [ReceiverListener] LUR.receiver: found device 1 (101A)
2013-01-16 18:24:24,783 DEBUG [ReceiverListener] LUR.base: (9) pinging device 1
2013-01-16 18:24:24,784 DEBUG [ReceiverListener] LUR.base: (9) <= w[10 01 001D 000082]
2013-01-16 18:24:26,207 DEBUG [ReceiverListener] LUR.base: (9) => r[10 01 8F00 1D0100]
2013-01-16 18:24:26,208 DEBUG [ReceiverListener] LUR.base: (9) <= w[10 FF 83B5 400000]
2013-01-16 18:24:26,212 DEBUG [ReceiverListener] LUR.base: (9) => r[11 FF 83B5 400E506572666F726D616E6365204D58]
2013-01-16 18:24:26,212 DEBUG [ReceiverListener] listener: status_changed <Receiver(/dev/hidraw0,T9)>: active 1 device found. (0)
2013-01-16 18:24:26,213 DEBUG [ReceiverListener] LUR.status: <PairedDevice(1,Performance MX)>: connection notification: software=True, encrypted=False, link=True, payload=False
2013-01-16 18:24:26,213 DEBUG [ReceiverListener] listener: status_changed <PairedDevice(1,Performance MX)>: active (1)
2013-01-16 18:24:28,217 DEBUG [ReceiverListener] LUR.base: (9) <= w[10 FF 83B5 210000]
2013-01-16 18:24:28,220 DEBUG [ReceiverListener] LUR.base: (9) => r[10 FF 8F83 B50300]
2013-01-16 18:24:28,220 DEBUG [ReceiverListener] LUR.base: (9) device 0xFF error on request {83B5}: 3 = invalid value
2013-01-16 18:24:28,221 DEBUG [ReceiverListener] LUR.base: (9) <= w[10 FF 83B5 220000]
2013-01-16 18:24:28,224 DEBUG [ReceiverListener] LUR.base: (9) => r[10 FF 8F83 B50300]
2013-01-16 18:24:28,224 DEBUG [ReceiverListener] LUR.base: (9) device 0xFF error on request {83B5}: 3 = invalid value
2013-01-16 18:24:28,224 DEBUG [ReceiverListener] LUR.base: (9) <= w[10 FF 83B5 230000]
2013-01-16 18:24:28,228 DEBUG [ReceiverListener] LUR.base: (9) => r[10 FF 8F83 B50300]
2013-01-16 18:24:28,228 DEBUG [ReceiverListener] LUR.base: (9) device 0xFF error on request {83B5}: 3 = invalid value
2013-01-16 18:24:28,228 DEBUG [ReceiverListener] LUR.base: (9) <= w[10 FF 83B5 240000]
2013-01-16 18:24:28,232 DEBUG [ReceiverListener] LUR.base: (9) => r[10 FF 8F83 B50300]
2013-01-16 18:24:28,232 DEBUG [ReceiverListener] LUR.base: (9) device 0xFF error on request {83B5}: 3 = invalid value
2013-01-16 18:24:28,232 DEBUG [ReceiverListener] LUR.base: (9) <= w[10 FF 83B5 250000]
2013-01-16 18:24:28,236 DEBUG [ReceiverListener] LUR.base: (9) => r[10 FF 8F83 B50300]
2013-01-16 18:24:28,236 DEBUG [ReceiverListener] LUR.base: (9) device 0xFF error on request {83B5}: 3 = invalid value
2013-01-16 18:24:28,236 DEBUG [ReceiverListener] listener: polling status: <Receiver(/dev/hidraw0,T9)> [<PairedDevice(1,Performance MX)>]
2013-01-16 18:24:28,237 DEBUG [ReceiverListener] LUR.base: (9) <= w[10 FF 83B5 030000]
2013-01-16 18:24:28,240 DEBUG [ReceiverListener] LUR.base: (9) => r[11 FF 83B5 0368A19F6E0106070000000000000000]
2013-01-16 18:24:28,240 DEBUG [ReceiverListener] LUR.base: (9) <= w[10 FF 81F1 010000]
2013-01-16 18:24:28,244 DEBUG [ReceiverListener] LUR.base: (9) => r[10 FF 81F1 011201]
2013-01-16 18:24:28,244 DEBUG [ReceiverListener] LUR.base: (9) <= w[10 FF 81F1 020000]
2013-01-16 18:24:28,248 DEBUG [ReceiverListener] LUR.base: (9) => r[10 FF 81F1 020019]
2013-01-16 18:24:28,248 DEBUG [ReceiverListener] LUR.base: (9) <= w[10 FF 81F1 040000]
2013-01-16 18:24:28,252 DEBUG [ReceiverListener] LUR.base: (9) => r[10 FF 81F1 040214]
2013-01-16 18:24:28,252 DEBUG [ReceiverListener] LUR.base: (9) <= w[10 FF 83B5 300000]
2013-01-16 18:24:28,256 DEBUG [ReceiverListener] LUR.base: (9) => r[11 FF 83B5 30E367D0E00400000001000000000000]
2013-01-16 18:24:28,256 DEBUG [ReceiverListener] LUR.base: (9) <= w[10 01 81F1 010000]
2013-01-16 18:24:28,286 DEBUG [ReceiverListener] LUR.base: (9) => r[10 01 81F1 011501]
2013-01-16 18:24:28,286 DEBUG [ReceiverListener] LUR.base: (9) <= w[10 01 81F1 020000]
2013-01-16 18:24:28,392 DEBUG [ReceiverListener] LUR.base: (9) => r[10 01 81F1 020062]
2013-01-16 18:24:28,393 DEBUG [ReceiverListener] LUR.base: (9) <= w[10 01 81F1 040000]
2013-01-16 18:24:28,496 DEBUG [ReceiverListener] LUR.base: (9) => r[10 01 81F1 040211]
2013-01-16 18:24:28,497 DEBUG [ReceiverListener] LUR.base: (9) <= w[10 01 810D 000000]
2013-01-16 18:24:28,600 DEBUG [ReceiverListener] LUR.base: (9) => r[10 01 8F81 0D0200]
2013-01-16 18:24:28,601 DEBUG [ReceiverListener] LUR.base: (9) device 0x01 error on request {810D}: 2 = invalid address
2013-01-16 18:24:28,601 DEBUG [ReceiverListener] LUR.base: (9) pinging device 1
2013-01-16 18:24:28,601 DEBUG [ReceiverListener] LUR.base: (9) <= w[10 01 001C 000096]
2013-01-16 18:24:28,706 DEBUG [ReceiverListener] LUR.base: (9) => r[10 01 8F00 1C0100]
2013-01-16 18:24:28,707 WARNING [ReceiverListener] LUR.hidpp10: <PairedDevice(1,Performance MX)>: failed to read 'battery' from default register 0x0D, blacklisting
The reading results in the following output:
alex@linux-7jg6:~/bin/Solaar/tools> echo '10 01 8107 000000' | hidconsole --hidpp
.. Opening device /dev/hidraw0
.. Opened handle 3, vendor 'Logitech' product 'USB Receiver' serial None.
.. HID++ validation enabled.
<< ( 0.023) [10 01 8107 000000] '\x10\x01\x81\x07\x00\x00\x00'
>> ( 1.343) [10 01 8107 050000] '\x10\x01\x81\x07\x05\x00\x00'
.. Closing handle 3
While the battery indicator on the mouse reports "full" (3 of 3 LED's) - i will fire this one again as soon as the battery indicator changes.
from solaar.
Okay, so the good news is the 0x07 register is the same as on the M510 mouse (the battery does not work on that model either). There is a user with that mouse, and the register reads 0x05 on it as well. Unfortunately, there isn't much I can do until I know, at least, more possible values.
I'll be doing some testing with KDE to see what could be wrong with the systray icon.
from solaar.
So am I readding the wrong Adress?
With the power indicator down to two LED's it seems to give the same reading as last time...
alex@linux-7jg6:~/bin/Solaar/tools> echo '10 01 8107 000000' | hidconsole --hidpp
.. Opening device /dev/hidraw0
.. Opened handle 3, vendor 'Logitech' product 'USB Receiver' serial None.
.. HID++ validation enabled.
<< ( 0.020) [10 01 8107 000000] '\x10\x01\x81\x07\x00\x00\x00'
>> ( 1.995) [10 01 8107 050000] '\x10\x01\x81\x07\x05\x00\x00'
.. Closing handle 3
from solaar.
No, I think it's the right address -- the Windows Logitech software shows no battery percentage either, but reads the 0x07 register before displaying somethink like "good"/"excellent"/etc (from some other reports I've read on the web).
My guess is that the values returned from that register signify, each, a rather wide range of the battery charge; but I don't know if 4 means a lower or higher charge than 5, what's the highest possible value, and so on. So unfortunately, until I know more about the possible values returned from that register, I don't know what to display about the battery.
from solaar.
I think I've fixed the problem with the main window showing -- could you check with the 0.8.7 version?
from solaar.
Confirmed - 0.8.7 hides the main window on startup.
Thank's a lot...
from solaar.
Okay, I'll close this bug for the systray issue. The battery issue is still open (#5).
from solaar.
Related Issues (20)
- Invert fn with ctrl key on MX keys mini HOT 1
- the MX keyboard light diode of the ShiftLK key is inconsistent HOT 2
- Target the same device with different connection modes (Bluetooth vs Bolt) HOT 2
- "Exception: pairing failed: failed" when pairing logitech mx master 3s HOT 6
- Bolt Detection Issue using M650L in non sudo use HOT 3
- Allow mouse gesture button to emulate trackpad HOT 7
- Solaar is unable to find any device HOT 8
- Broken link in documentation HOT 2
- Equalizer doesn't do anything HOT 13
- MX Master 3S For Ubuntu 24.04 no shown in the GUI device list HOT 1
- Solaar does not recognize Unifying Receiver plugged into Raspberry Pi 4 HOT 4
- Non-battery tray icon can't be themed independently HOT 5
- Crash on updating UI HOT 5
- DPI resets randomly on MX Master 3 HOT 7
- Help with diversion with g502 lightspeed HOT 3
- Is it possible to control the LEDs on the Logitech G733 Headset HOT 8
- Mx master 3S cant get mouse gesture button to work HOT 2
- add signal strength? HOT 1
- Update UI to GTK4 for a More Modern and Intuitive Experience HOT 2
- Unable to unpair G502X Plus from Powerplay Charging Pad HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solaar.