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-next>] [day] [month] [year] [list]
Message-Id: <1333436730-13008-1-git-send-email-rydberg@euromail.se>
Date:	Tue,  3 Apr 2012 09:05:25 +0200
From:	"Henrik Rydberg" <rydberg@...omail.se>
To:	Jiri Kosina <jkosina@...e.cz>
Cc:	Dmitry Torokhov <dmitry.torokhov@...il.com>,
	"benjamin.tissoires" <benjamin.tissoires@...il.com>,
	Stephane Chatty <chatty@...c.fr>, linux-input@...r.kernel.org,
	linux-kernel@...r.kernel.org, Henrik Rydberg <rydberg@...omail.se>
Subject: [RFC 0/5] hid: Extending the device-driver matching mechanism

Hi Jiri,

These patches were first sent out as a reply to Benjamin's autoloading
patch (http://www.spinics.net/lists/linux-input/msg20001.html), but it
seems more appropriate as an RFC.

The idea is to parse the hid descriptors before adding the device,
such that the device identifier, in particular the device/modalias,
can be augmented by the report information. This approach solves the
generic auto-loading problem we face today, here exemplified by a
solution for hid-multitouch.

The patches apply cleanly to 3.3 for easy testing.

Thanks,
Henrik

Henrik Rydberg (5):
  hid: Remove multitouch quirk
  hid-multitouch: Prepare driver for new device ids
  hid: Parse the device before adding it
  hid: Add idtags to modalias
  hid: Remove multitouch devices from blacklist

 drivers/hid/hid-core.c          |   88 ++++++++-------------------
 drivers/hid/hid-input.c         |   11 ----
 drivers/hid/hid-multitouch.c    |  124 +++++++++++++++++++++------------------
 drivers/hid/usbhid/hid-core.c   |    5 ++
 include/linux/hid.h             |    8 ++-
 include/linux/mod_devicetable.h |    2 +-
 scripts/mod/file2alias.c        |    2 +
 7 files changed, 107 insertions(+), 133 deletions(-)

-- 
1.7.9.5

--
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