dell-wmi - question concerning battery charge key functionality
Hi Dmitry,
Quoted 11 lines · Dmitry Gubenko
Hello,
i hope this is the correct way of contacting you (i'm not really familiar with communication internae of the linux kernel development community).I'm using
dell_wmion my laptop (Dell Latitude e4300) which has keybinds for toggling battery charging if AC adapter is available (Fn+F2 and Fn+F3).
As far as i understand this functionality is not available as of now. I get
dell-wmi: Received unknown WMI event (0x11)
Looking at the code we are only prepared to handle 0x10 events. Rezwanul Kabir added the code to handle newer Dells so he might have an idea what event 0x11 is (CCed).
Quoted 2 lines
when pressing Fn+F2 and no reaction when pressing Fn+F3.
If you locate evtest utility and run it against the event device corresponding to dell-wmi, does it show any events? It might be that the driver is working but we missing userspace plumbing to react to the events.
Quoted 5 lines
My question is if there are plans to add this functionality at some point. Also if there are any other information ressources about the status of dell-wmi (apart from mentions in the kernel changelog) i'd be grateful if you'd point me towards those.
Generally such question is better asked on [email protected] mailing list (CCed) as they would have better idea.
Signature · 1 line
Dmitry
Quoted 10 lines · Dmitry Torokhov
Quoted 6 lines
I'm using
dell_wmion my laptop (Dell Latitude e4300) which has keybinds for toggling battery charging if AC adapter is available (Fn+F2 and Fn+F3).
As far as i understand this functionality is not available as of now. I get
dell-wmi: Received unknown WMI event (0x11)Looking at the code we are only prepared to handle
0x10events. Rezwanul Kabir added the code to handle newer Dells so he might have an idea what event0x11is (CCed).
Fn+F2 should toggle the battery charging on and off. I believe that this works fine and even updates the battery driver appropriately - we probably just need to update dell-wmi not to emit a warning in that case.
Quoted 2 lines
Quoted 2 lines
when pressing Fn+F2 and no reaction when pressing Fn+F3.
Fn+F3 should end up sending KEY_BATTERY, and your userspace should use that to display battery information.
So other than the warning generated by dell-wmi, I think this all works as expected?
Signature · 1 line
Matthew Garrett | [email protected]