lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120418141131.GN19507@zod.bos.redhat.com>
Date:	Wed, 18 Apr 2012 10:11:31 -0400
From:	Josh Boyer <jwboyer@...hat.com>
To:	Bastien Nocera <hadess@...ess.net>
Cc:	Jiri Kosina <jkosina@...e.cz>,
	Jeremy Fitzhardinge <jeremy@...p.org>,
	linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
	kernel-team@...oraproject.org,
	Richard Hughes <richard@...hsie.com>, mjg@...hat.com
Subject: Re: [PATCH] HID: hid-input: default HID_BATTERY_STRENGTH to no

On Wed, Apr 18, 2012 at 03:08:54PM +0100, Bastien Nocera wrote:
> On Wed, 2012-04-18 at 10:05 -0400, Josh Boyer wrote:
> > Commit 4f5ca836b "HID: hid-input: add support for HID devices reporting
> > Battery Strength" added the CONFIG_HID_BATTERY_STRENGTH option to report
> > the battery strength of HID devices.  The commit log explicitly mentions
> > it not working properly with recent userspace, but it is default y
> > anyway.  This is rather odd, and actually causes problems on real
> > systems.
> > 
> > This works around Fedora bug
> > https://bugzilla.redhat.com/show_bug.cgi?id=806295
> 
> Don't. The only bit of user-space that's broken is upower, and it's
> getting a fixed release shortly.

Matthew suggested that additional kernel patches were required to add a
scope parameter so upower could understand that the battery is powering
a device and not the system.

Also, when did it become OK to force-enable a new feature that is
_known_ to not work properly on recent userspace?  That makes no sense
to me.

josh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ