[PATCH 7/7] usbhid: add configfs USB HID quirk configuration

2007-04-10 Thread Paul Walmsley
From: Paul Walmsley <[EMAIL PROTECTED]> Add support for runtime USB HID quirk configuration via ConfigFS, after the usbhid module has been loaded. Also included is support for dynamic quirk removal. Signed-off-by: Paul Walmsley <[EMAIL PROTECTED]> --- drivers/usb/input/Kconfig|

[PATCH 6/7] usbhid: add 'quirks' module parameter

2007-04-10 Thread Paul Walmsley
From: Paul Walmsley <[EMAIL PROTECTED]> Add a 'quirks' module parameter for the usbhid module, so users can add or modify quirks at module load time. Signed-off-by: Paul Walmsley <[EMAIL PROTECTED]> --- Documentation/kernel-parameters.txt |8 ++ drivers/usb/input/hid-core.c|

[PATCH 5/7] usbhid: add support for dynamically-created quirks

2007-04-10 Thread Paul Walmsley
From: Paul Walmsley <[EMAIL PROTECTED]> Add internal support for dynamically-allocated HID quirks, "equirks" (for "extra quirks"). Includes several functions to add/modify quirks from the list. This code is used by the next patch to implement quirk modification upon module load. Signed-off-b

[PATCH 3/7] usbhid: move all quirk handling code and data to usb-quirks.[ch]

2007-04-10 Thread Paul Walmsley
From: Paul Walmsley <[EMAIL PROTECTED]> Encapsulate quirk handling into its own files, hid-quirks.[ch]. Move the USB_VENDOR* and USB_DEVICE* defines and the hid_blacklist[] array there from hid-core.c. Add hid-quirks.c:usbhid_lookup_any_quirks() to return quirk information to hid-core.c. Conve

[PATCH 4/7] usbhid: clarify static quirk handling as 'squirks'

2007-04-10 Thread Paul Walmsley
From: Paul Walmsley <[EMAIL PROTECTED]> Rename existing quirks handling code that operates over a static array to "squirks" (short for static quirks) to differentate it from the dynamically-allocated "extra" quirks that will be introduced in the next patch. Add an accessor function specifically

[PATCH 2/7] usbhid: consolidate USB_VENDOR*, USB_DEVICE* defines

2007-04-10 Thread Paul Walmsley
From: Paul Walmsley <[EMAIL PROTECTED]> Consolidate the USB_VENDOR* and USB_DEVICE* defines into one block. Signed-off-by: Paul Walmsley <[EMAIL PROTECTED]> --- drivers/usb/input/hid-core.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) Index: linux/drivers/usb/input/hi

[PATCH 1/7] usbhid: create hid-quirks.h

2007-04-10 Thread Paul Walmsley
From: Paul Walmsley <[EMAIL PROTECTED]> Move the HID quirks #defines from hid.h into their own header file, hid-quirks.h. Signed-off-by: Paul Walmsley <[EMAIL PROTECTED]> --- drivers/usb/input/hid-core.c |1 + drivers/usb/input/hiddev.c |1 + include/linux/hid-quirks.h | 31

[PATCH 0/7] usbhid: quirks cleanup, add dynamic quirks, ConfigFS interface

2007-04-10 Thread Paul Walmsley
Hello, As requested, I respun the runtime USB HID quirks patches that I posted a few weeks ago. My application for this code is to switch quirks at runtime for a data acquisition device. This device has at least two drivers written for it: one kernel module driver requiring HID_QUIRK_IGNOR

Re: Logitech Spring FF (effect on/off)

2007-04-10 Thread Anssi Hannula
Richard Bolkey kirjoitti: Alright, I can turn the spring effect on; however, I can't turn it off right now. There is a separate report that needs to be sent to turn off the spring effect for each axis. I can't see an obvious place to put that kind of functionality into the framework of ff-mem

Re: Logitech Spring FF (effect on/off)

2007-04-10 Thread Richard Bolkey
Alright, I can turn the spring effect on; however, I can't turn it off right now. There is a separate report that needs to be sent to turn off the spring effect for each axis. I can't see an obvious place to put that kind of functionality into the framework of ff-memless. I'm wondering if th

Re: Getting touchscreen to work on Fujitsu B6210

2007-04-10 Thread Richard Purdie
On Thu, 2007-04-05 at 22:27 -0400, Dmitry Torokhov wrote: > > > On Thursday 22 February 2007 01:16, Stephen Hemminger wrote: > > > > I did a little investigation and the touchscreen on B6210 is > > > > attached via the 8250 serial port. I tried enabling it with > > > > inputattach but seem to get g

Re: [PATCH] gpio_keys ev_sw support

2007-04-10 Thread Dmitry Torokhov
Hi Roman, On 4/10/07, Roman Moravcik <[EMAIL PROTECTED]> wrote: This patch adds software event support to gpio_keys driver. Just for the record EV_SW is not software event but switch event. Switch, as opposed to a key that returns to "off" state when released, keeps it's state until toggled a

[PATCH] gpio_keys ev_sw support

2007-04-10 Thread Roman Moravcik
This patch adds software event support to gpio_keys driver. Signed-off-by: Roman Moravcik <[EMAIL PROTECTED]> diff -Naur a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c --- a/drivers/input/keyboard/gpio_keys.c2007-02-25 19:50:43.0 +0100 +++ b/drivers/input

Re: Logitech Spring FF

2007-04-10 Thread Jiri Kosina
On Tue, 10 Apr 2007, Richard Bolkey wrote: > First off, I've never made a patch before, which I guess I better learn, but > for now if anyone wants to add the device_type for the Logitech Force 3D Pro > Joystick to hid-lgff.c, it's { 0x046d, 0xc286, ff_joystick }. Queued support for 0x046d/0xc286

Re: Logitech Spring FF

2007-04-10 Thread johann deneux
On 4/10/07, Richard Bolkey <[EMAIL PROTECTED]> wrote: First off, I've never made a patch before, which I guess I better learn, but for now if anyone wants to add the device_type for the Logitech Force 3D Pro Joystick to hid-lgff.c, it's { 0x046d, 0xc286, ff_joystick }. Now for a few follow up qu