From: Michal Malý Date: Thu, 4 Aug 2011 14:20:40 +0000 (+0200) Subject: HID: lg4ff - Add range setting support and sysfs interface X-Git-Tag: v3.2-rc1~187^2~2^3~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30bb75d71b3732c0adb6297815288ce0fb9cc04c;p=pandora-kernel.git HID: lg4ff - Add range setting support and sysfs interface Wheel range of certain Logitech wheels - namely Driving Force GT, Driving Force Pro, G25 and G27 can be adjusted. Minimu is 40 degrees, maximum 900. DFGT, G25 and G27 all use a common command, DFP uses another one. Range can be set from userspace by writing to "/sys/module/hid_logitech/drivers/hid:logitech/range". The driver use list to store range of each connected wheel; it's not possible to use driver_data in hid_device struct as it's already b hig-lg driver. Signed-off-by: Michal Malý Signed-off-by: Simon Wood Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed