Linux Input/HID development
 help / color / mirror / Atom feed
* [PATCH] HID: logitech-dj: add HIDRAW dependency in Kconfig
@ 2013-12-02 23:17 Olivier Gay
  2013-12-03  7:53 ` Jiri Kosina
  0 siblings, 1 reply; 6+ messages in thread
From: Olivier Gay @ 2013-12-02 23:17 UTC (permalink / raw)
  To: linux-input
  Cc: Jiri Kosina, linux-kernel, Olivier Gay, Nestor Lopez Casado,
	Mathieu Meisser

hid-logitech-dj.c driver needs hidraw to work correctly. Without
hidraw, hid-logitech-dj.c fails during probe() and Logitech
Unifying devices HID reports aren't recognized.

Signed-off-by: Olivier Gay <ogay@logitech.com>
Signed-off-by: Nestor Lopez Casado <nlopezcasad@logitech.com>
Signed-off-by: Mathieu Meisser <mmeisser@logitech.com>
---

Hi everyone,

this adds a HIDRAW dependency in Kconfig for hid-logitech-dj.c
driver. The driver uses hidraw and needs it to work correctly.

Without hidraw if a Logitech Unifying device is plugged, the driver
fails during probe() and Logitech Unifying devices HID reports aren't
recognized. This has been the cause of some confusion. Some Linux and
Android distributions had HID_LOGITECH_DJ enabled without HIDRAW and
the Unifying mice and keyboards would simply not work (no cursor
tracking / no keyboard typing).

Best regards,

Olivier

 drivers/hid/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 329fbb9..c8a66b9 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -344,6 +344,7 @@ config HID_LOGITECH
 
 config HID_LOGITECH_DJ
 	tristate "Logitech Unifying receivers full support"
+	depends on HIDRAW
 	depends on HID_LOGITECH
 	---help---
 	Say Y if you want support for Logitech Unifying receivers and devices.
-- 
1.8.4

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

end of thread, other threads:[~2013-12-03 14:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-02 23:17 [PATCH] HID: logitech-dj: add HIDRAW dependency in Kconfig Olivier Gay
2013-12-03  7:53 ` Jiri Kosina
2013-12-03 10:30   ` Olivier Gay
2013-12-03 12:51     ` Jiri Kosina
     [not found]       ` <CAE7qMrq6YzvprAGDTO8uEU9WZXXGpP=TG_OxB6=-1KuF1Tr8sg@mail.gmail.com>
2013-12-03 14:03         ` Nestor Lopez Casado
2013-12-03 14:08         ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox