* Re: dell-wmi - question concerning battery charge key functionality
[not found] <4CDD1603.808@googlemail.com>
@ 2010-11-12 19:53 ` Dmitry Torokhov
2010-11-24 16:41 ` Matthew Garrett
0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Torokhov @ 2010-11-12 19:53 UTC (permalink / raw)
To: Dmitry Gubenko; +Cc: Rezwanul Kabir, Platform Driver x86
Hi Dmitry,
On Fri, Nov 12, 2010 at 11:25:07AM +0100, Dmitry Gubenko wrote:
> 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_wmi on 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).
> 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.
> 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 platform-driver-x86@vger.kernel.org
mailing list (CCed) as they would have better idea.
--
Dmitry
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: dell-wmi - question concerning battery charge key functionality
2010-11-12 19:53 ` dell-wmi - question concerning battery charge key functionality Dmitry Torokhov
@ 2010-11-24 16:41 ` Matthew Garrett
0 siblings, 0 replies; 2+ messages in thread
From: Matthew Garrett @ 2010-11-24 16:41 UTC (permalink / raw)
To: Dmitry Torokhov; +Cc: Dmitry Gubenko, Rezwanul Kabir, Platform Driver x86
On Fri, Nov 12, 2010 at 11:53:22AM -0800, Dmitry Torokhov wrote:
> > I'm using dell_wmi on 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).
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.
> > 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?
--
Matthew Garrett | mjg59@srcf.ucam.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-11-24 16:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <4CDD1603.808@googlemail.com>
2010-11-12 19:53 ` dell-wmi - question concerning battery charge key functionality Dmitry Torokhov
2010-11-24 16:41 ` Matthew Garrett
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.