linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: multi-input quirk and skip output reports quirk
@ 2008-04-05  6:01 Sam Liddicott
  2008-04-05  6:01 ` Jiri Kosina
  0 siblings, 1 reply; 11+ messages in thread
From: Sam Liddicott @ 2008-04-05  6:01 UTC (permalink / raw)
  To: Jiri Kosina, Anssi Hannula; +Cc: linux-input

I'm afraid I don't recognize that quirk name.

I'm all for setting quirks dynamically from user space during the plug event, as the delay between posting a patch and having it appear in distro of choice can be well over a year which is too long to remember and too long to be useful.

I do remember that there were two quirks set for the same brand of dual controller and I copied them both to the quad controller. I was asked to check if both quirks were actually needed, I still haven't had the required couple of hours to rebuild my kernel to do this and it became simpler to use the quad controller as a single controller.

I still feel guilty this but not guilty enough. Sorry.

Sam

-----Original Message-----
From: Jiri Kosina <jkosina@suse.cz>
Sent: 04 April 2008 15:51
To: Anssi Hannula <anssi.hannula@gmail.com>
Cc: linux-input@vger.kernel.org; Sam Liddicott <sam@liddicott.com>
Subject: Re: multi-input quirk and skip output reports quirk

On Fri, 4 Apr 2008, Anssi Hannula wrote:

> >>>> I've encountered another multi-input device that needs the skip output
> >>>> reports quirk (as it contains force feedback output reports), 0925:8866.
> >>>> However, maybe we should use another approach, dropping
> >>>> HID_QUIRK_SKIP_OUTPUT_REPORTS. Why not just *not* register the input
> >>>> device for that report in case the report didn't contain anything that
> >>>> was mapped by hidinput_configure_usage(), in hidinput_connect()?
> >>> as long as we still have the possibility to see the coming data in debug 
> >>> mode, I don't have objection to that.
> >> Okay.
> >>> Are you going to make that patch?
> >> Not right now, maybe in a few weeks.
> > I will meanwhile queue the patch below, ok? After the hidinput_connect() 
> > is refactored to ignore devices for which the mappings haven't been 
> > established, we could then remove all the devices for which we have 
> > HID_QUIRK_SKIP_OUTPUT_REPORTS altogether.
> Ok.
> > BTW, do you happen to have any idea whether the Quad joypad needs this 
> > quirk too?
> No, but I guess it is quite probable.

I have added Sam (who reported the need of the quirk for Quad joypad) to 
CC.

Sam?

Thanks,

-- 
Jiri Kosina
SUSE Labs



^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: multi-input quirk and skip output reports quirk
@ 2008-04-05  6:16 Sam Liddicott
  0 siblings, 0 replies; 11+ messages in thread
From: Sam Liddicott @ 2008-04-05  6:16 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: Anssi Hannula, linux-input

Sor for top  posting - stinkin' pocket outlook (roll-on a linux keyboard phone)

I suppose the module parameter is nearly the same thing.

If you could tell me how to use it to set quirks for a usb id then I will check it in the next hour. I have a force-feedback controler but I don't know anything that uses it which could make the test hard...

If you can show me how to ass quirks for multipe devices than I will come up with a mechanism for distros that re-generates modprobe.d contents or whatever to combine a portable list of quirks. It will be easy to have the quirks file maintained and updated.

I hope I don't appear a total slacker but my brain is suffering from stack-full syndrome - sorry, and thanks.

Sam


-----Original Message-----
From: Jiri Kosina <jkosina@suse.cz>
Sent: 05 April 2008 07:01
To: Sam Liddicott <sam@liddicott.com>
Cc: Anssi Hannula <anssi.hannula@gmail.com>; linux-input@vger.kernel.org
Subject: RE: multi-input quirk and skip output reports quirk

On Sat, 5 Apr 2008, Sam Liddicott wrote:

> I'm all for setting quirks dynamically from user space during the plug 
> event, as the delay between posting a patch and having it appear in 
> distro of choice can be well over a year which is too long to remember 
> and too long to be useful.

This can be done by using a 'quirks' module parameter to usbhid.

> I do remember that there were two quirks set for the same brand of dual 
> controller and I copied them both to the quad controller. I was asked to 
> check if both quirks were actually needed, I still haven't had the 
> required couple of hours to rebuild my kernel to do this and it became 
> simpler to use the quad controller as a single controller.

You don't have to rebuild if you have a kernel that supports dynamic 
quirks for usbhid.

-- 
Jiri Kosina
SUSE Labs


^ permalink raw reply	[flat|nested] 11+ messages in thread
* multi-input quirk and skip output reports quirk
@ 2008-04-01 11:25 Anssi Hannula
  2008-04-01 14:12 ` Jiri Kosina
  2008-04-06  8:06 ` Jiri Kosina
  0 siblings, 2 replies; 11+ messages in thread
From: Anssi Hannula @ 2008-04-01 11:25 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: linux-input

Hi!

I've encountered another multi-input device that needs the skip output
reports quirk (as it contains force feedback output reports), 0925:8866.

However, maybe we should use another approach, dropping
HID_QUIRK_SKIP_OUTPUT_REPORTS. Why not just *not* register the input
device for that report in case the report didn't contain anything that
was mapped by hidinput_configure_usage(), in hidinput_connect()?

-- 
Anssi Hannula

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

end of thread, other threads:[~2008-04-06 14:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-05  6:01 multi-input quirk and skip output reports quirk Sam Liddicott
2008-04-05  6:01 ` Jiri Kosina
  -- strict thread matches above, loose matches on Subject: below --
2008-04-05  6:16 Sam Liddicott
2008-04-01 11:25 Anssi Hannula
2008-04-01 14:12 ` Jiri Kosina
2008-04-01 14:15   ` Anssi Hannula
2008-04-04 14:37     ` Jiri Kosina
2008-04-04 14:40       ` Anssi Hannula
2008-04-04 14:51         ` Jiri Kosina
2008-04-06  8:06 ` Jiri Kosina
2008-04-06 14:12   ` Anssi Hannula

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