* Detecting that a battery is inside a dock?
@ 2015-04-29 15:08 Bastien Nocera
2015-05-06 14:20 ` Bastien Nocera
0 siblings, 1 reply; 5+ messages in thread
From: Bastien Nocera @ 2015-04-29 15:08 UTC (permalink / raw)
To: linux-acpi
Hey,
I have access to a convertible Toshiba machine where the 2nd battery
is in detachable keyboard. This is the decompiled DSDT:
https://hadess.fedorapeople.org/toshiba.dsl
There's no BAT0, BAT1 is in the screen, and BAT2 is in the keyboard.
BAT2 can be ejected (it has an _EJD method), but the dock code doesn't
see it as having a battery:
$ pwd
/sys/devices/platform/dock.0
$ cat flags
16
$ cat type
dock_station
Any ideas what might be missing here?
I'd eventually like to be able to say that, if I can detect that the
battery is inside the dock, to mark it as such in the UI[1] (even
better would be to say it's "in the keyboard" but I'm not sure we can
easily detect that).
[1]: https://bugzilla.gnome.org/show_bug.cgi?id=748592
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Detecting that a battery is inside a dock?
2015-04-29 15:08 Detecting that a battery is inside a dock? Bastien Nocera
@ 2015-05-06 14:20 ` Bastien Nocera
2015-05-06 22:26 ` Rafael J. Wysocki
0 siblings, 1 reply; 5+ messages in thread
From: Bastien Nocera @ 2015-05-06 14:20 UTC (permalink / raw)
To: linux-acpi
On Wed, 2015-04-29 at 17:08 +0200, Bastien Nocera wrote:
> Hey,
>
> I have access to a convertible Toshiba machine where the 2nd battery
> is in detachable keyboard. This is the decompiled DSDT:
> https://hadess.fedorapeople.org/toshiba.dsl
>
> There's no BAT0, BAT1 is in the screen, and BAT2 is in the keyboard.
>
> BAT2 can be ejected (it has an _EJD method), but the dock code
> doesn't
> see it as having a battery:
> $ pwd
> /sys/devices/platform/dock.0
> $ cat flags
> 16
> $ cat type
> dock_station
>
> Any ideas what might be missing here?
>
> I'd eventually like to be able to say that, if I can detect that the
> battery is inside the dock, to mark it as such in the UI[1] (even
> better would be to say it's "in the keyboard" but I'm not sure we
> can
> easily detect that).
Anyone?
> [1]: https://bugzilla.gnome.org/show_bug.cgi?id=748592
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Detecting that a battery is inside a dock?
2015-05-06 14:20 ` Bastien Nocera
@ 2015-05-06 22:26 ` Rafael J. Wysocki
2015-05-07 9:11 ` Bastien Nocera
0 siblings, 1 reply; 5+ messages in thread
From: Rafael J. Wysocki @ 2015-05-06 22:26 UTC (permalink / raw)
To: Bastien Nocera; +Cc: linux-acpi
On Wednesday, May 06, 2015 04:20:17 PM Bastien Nocera wrote:
> On Wed, 2015-04-29 at 17:08 +0200, Bastien Nocera wrote:
> > Hey,
> >
> > I have access to a convertible Toshiba machine where the 2nd battery
> > is in detachable keyboard. This is the decompiled DSDT:
> > https://hadess.fedorapeople.org/toshiba.dsl
> >
> > There's no BAT0, BAT1 is in the screen, and BAT2 is in the keyboard.
> >
> > BAT2 can be ejected (it has an _EJD method), but the dock code
> > doesn't
> > see it as having a battery:
> > $ pwd
> > /sys/devices/platform/dock.0
> > $ cat flags
> > 16
> > $ cat type
> > dock_station
> >
> > Any ideas what might be missing here?
> >
> > I'd eventually like to be able to say that, if I can detect that the
> > battery is inside the dock, to mark it as such in the UI[1] (even
> > better would be to say it's "in the keyboard" but I'm not sure we
> > can
> > easily detect that).
>
> Anyone?
Not now, sorry. Too many things are going on in parallel and this one is
not the most urgent of them.
Please file a bug for it at bugzilla.kernel.org in the ACPI category, so it's
not forgotten. Those bugs are looked at on a regular basis, so we'll get to
it at one point.
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Detecting that a battery is inside a dock?
2015-05-06 22:26 ` Rafael J. Wysocki
@ 2015-05-07 9:11 ` Bastien Nocera
2015-05-07 20:43 ` Rafael J. Wysocki
0 siblings, 1 reply; 5+ messages in thread
From: Bastien Nocera @ 2015-05-07 9:11 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: linux-acpi
On Thu, 2015-05-07 at 00:26 +0200, Rafael J. Wysocki wrote:
> On Wednesday, May 06, 2015 04:20:17 PM Bastien Nocera wrote:
> > On Wed, 2015-04-29 at 17:08 +0200, Bastien Nocera wrote:
> > > Hey,
> > >
> > > I have access to a convertible Toshiba machine where the 2nd
> > > battery
> > > is in detachable keyboard. This is the decompiled DSDT:
> > > https://hadess.fedorapeople.org/toshiba.dsl
> > >
> > > There's no BAT0, BAT1 is in the screen, and BAT2 is in the
> > > keyboard.
> > >
> > > BAT2 can be ejected (it has an _EJD method), but the dock code
> > > doesn't
> > > see it as having a battery:
> > > $ pwd
> > > /sys/devices/platform/dock.0
> > > $ cat flags
> > > 16
> > > $ cat type
> > > dock_station
> > >
> > > Any ideas what might be missing here?
> > >
> > > I'd eventually like to be able to say that, if I can detect that
> > > the
> > > battery is inside the dock, to mark it as such in the UI[1]
> > > (even
> > > better would be to say it's "in the keyboard" but I'm not sure
> > > we
> > > can
> > > easily detect that).
> >
> > Anyone?
>
> Not now, sorry. Too many things are going on in parallel and this
> one is
> not the most urgent of them.
Sure. I didn't expect a bug fix straight away, I just wanted to know
whether I was missing something.
> Please file a bug for it at bugzilla.kernel.org in the ACPI
> category, so it's
> not forgotten. Those bugs are looked at on a regular basis, so
> we'll get to
> it at one point.
>
Filed as:
https://bugzilla.kernel.org/show_bug.cgi?id=97841
Cheers
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Detecting that a battery is inside a dock?
2015-05-07 9:11 ` Bastien Nocera
@ 2015-05-07 20:43 ` Rafael J. Wysocki
0 siblings, 0 replies; 5+ messages in thread
From: Rafael J. Wysocki @ 2015-05-07 20:43 UTC (permalink / raw)
To: Bastien Nocera; +Cc: linux-acpi
On Thursday, May 07, 2015 11:11:39 AM Bastien Nocera wrote:
> On Thu, 2015-05-07 at 00:26 +0200, Rafael J. Wysocki wrote:
> > On Wednesday, May 06, 2015 04:20:17 PM Bastien Nocera wrote:
> > > On Wed, 2015-04-29 at 17:08 +0200, Bastien Nocera wrote:
> > > > Hey,
> > > >
> > > > I have access to a convertible Toshiba machine where the 2nd
> > > > battery
> > > > is in detachable keyboard. This is the decompiled DSDT:
> > > > https://hadess.fedorapeople.org/toshiba.dsl
> > > >
> > > > There's no BAT0, BAT1 is in the screen, and BAT2 is in the
> > > > keyboard.
> > > >
> > > > BAT2 can be ejected (it has an _EJD method), but the dock code
> > > > doesn't
> > > > see it as having a battery:
> > > > $ pwd
> > > > /sys/devices/platform/dock.0
> > > > $ cat flags
> > > > 16
> > > > $ cat type
> > > > dock_station
> > > >
> > > > Any ideas what might be missing here?
> > > >
> > > > I'd eventually like to be able to say that, if I can detect that
> > > > the
> > > > battery is inside the dock, to mark it as such in the UI[1]
> > > > (even
> > > > better would be to say it's "in the keyboard" but I'm not sure
> > > > we
> > > > can
> > > > easily detect that).
> > >
> > > Anyone?
> >
> > Not now, sorry. Too many things are going on in parallel and this
> > one is
> > not the most urgent of them.
>
> Sure. I didn't expect a bug fix straight away, I just wanted to know
> whether I was missing something.
>
> > Please file a bug for it at bugzilla.kernel.org in the ACPI
> > category, so it's
> > not forgotten. Those bugs are looked at on a regular basis, so
> > we'll get to
> > it at one point.
> >
>
> Filed as:
> https://bugzilla.kernel.org/show_bug.cgi?id=97841
Thanks!
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-05-07 20:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-29 15:08 Detecting that a battery is inside a dock? Bastien Nocera
2015-05-06 14:20 ` Bastien Nocera
2015-05-06 22:26 ` Rafael J. Wysocki
2015-05-07 9:11 ` Bastien Nocera
2015-05-07 20:43 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox