Re: [PATCH] Added device to hid-ff
From: Anssi Hannula <hidden>
Date: 2007-02-15 19:51:07
Dmitry Torokhov wrote:
On 2/15/07, STenyaK (Bruno Gonzalez) [off-list ref] wrote:quoted
Sorry for not providing a proper patch, could you please also add {0x46d, 0xc294, hid_lgff_init}, // Logitech G25 wheel to the list? I tested it here and that wheel is also working.OK.
Hmm.. Shouldn't an entry also be added to the devices[] list in hid-lgff.c for these devices? (and it seems one device is already missing from there in the current kernel). I'm not able to check right now, but I think some earlier kernels may have defaulted to ff_joystick if no entry is present in devices[], hence these devices working for some without the entry. (so the alternative is to restore that behaviour) BTW, shouldn't the PID/VID check in hid_lgff_init() do endian conversion? -- Anssi Hannula