Re: Support for Logitech g703 mouse battery levels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2020-11-26 at 19:46 +0100, Bastien Nocera wrote:
> On Thu, 2020-11-26 at 18:40 +0000, Filipe Laíns wrote:
> > On Thu, 2020-11-26 at 17:43 +0100, Bastien Nocera wrote:
> > > On Thu, 2020-11-26 at 15:57 +0000, Max Illis wrote:
> > > > I raised a ticket on upower, but have been pointed here
> > > > (https://gitlab.freedesktop.org/upower/upower/-/issues/125)
> > > > 
> > > > _Some_ info is reported:
> > > > 
> > > > ```
> > > > /sys/class/power_supply/hidpp_battery_1$ ls
> > > > device  manufacturer  online  powers  serial_number  subsystem 
> > > > uevent
> > > >       wakeup27
> > > > hwmon3  model_name    power   scope   status         type      
> > > > voltage_now
> > > > ```
> > > > But nothing is reported by upower apparently due to `capacity` or
> > > > `capacity_level` missing
> > > 
> > > 
> > > The voltage is output, but it's not interpreted, so it's impossible
> > > to
> > > know what XX volts corresponds to as a battery level.
> > > 
> > > Hans, Benjamin, any ideas how this could be better handled? Are we
> > > going to need voltage <-> capacity mapping?
> > > 
> > > Cheers
> > > 
> > > > 
> > > > I'm running Ubuntu 20.10 Linux 5.8.0-29-generic
> > > > 
> > > > LMK if more info is needed
> > > > Max
> > > > 
> > > > max@xxxxxxxx
> > > > 07803 009 004
> > > > 
> > > > max@xxxxxxxx
> > > > 07803 009 004
> > > 
> > > 
> > 
> > Relevant UPower issue: 
> > https://gitlab.freedesktop.org/upower/upower/-/issues/110
> > 
> > Logitech gave us permission to use the battery curve in OSS software,
> > I can get
> > it from them.
> 
> But where's that "battery curve"? If we need to put it somewhere, it
> would be incredibly useful to actually know what it looks like.
> 
> (And it looks like it's what I asked 9 months ago as well :/
> https://gitlab.freedesktop.org/upower/upower/-/issues/110#note_411028
> )
> 

I did not have it at the time, Logitech has since made it public.

I went looking for the link :)
https://drive.google.com/file/d/1F_fuqL0-TbZ77u0suXRcj3YcDidCcN1M/view?usp=sharing

Cheers,
Filipe Laíns

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux