linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] HID: hid-input: default HID_BATTERY_STRENGTH to no
@ 2012-04-18 14:05 Josh Boyer
  2012-04-18 14:08 ` Bastien Nocera
  0 siblings, 1 reply; 9+ messages in thread
From: Josh Boyer @ 2012-04-18 14:05 UTC (permalink / raw)
  To: Jiri Kosina, Jeremy Fitzhardinge; +Cc: linux-input, linux-kernel, kernel-team

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

Signed-off-by: Josh Boyer <jwboyer@redhat.com>

---

diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index a3d0332..ffddcba 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -34,7 +34,7 @@ config HID
 config HID_BATTERY_STRENGTH
 	bool
 	depends on HID && POWER_SUPPLY && HID = POWER_SUPPLY
-	default y
+	default n
 
 config HIDRAW
 	bool "/dev/hidraw raw HID device support"

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-04-24  8:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-18 14:05 [PATCH] HID: hid-input: default HID_BATTERY_STRENGTH to no Josh Boyer
2012-04-18 14:08 ` Bastien Nocera
2012-04-18 14:11   ` Josh Boyer
2012-04-18 14:24     ` Matthew Garrett
2012-04-18 17:12       ` Jeremy Fitzhardinge
2012-04-18 17:20         ` Matthew Garrett
2012-04-18 17:28       ` Jiri Kosina
2012-04-22  8:38         ` Geert Uytterhoeven
2012-04-24  8:52           ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).