On Mon, 4 Jun 2007, Renato Golin wrote: > > sorry, don't fully understand - what do you mean by "got the messages > > but not the fix"? > The range "detected" was 0 to 255 but both X and Y axis are reporting > 4096. > I think that the code in drivers/hid/hid-input.c: > if ((device->quirks & HID_QUIRK_BADPAD) && (usage->code == ABS_X || > usage->code == ABS_Y)) { > a = field->logical_minimum = 0; > b = field->logical_maximum = 255; > } Hi Renato, the thing is that the aim of this quirk is to normalize the values that are being reported by bogus devices, so we don't really want to trust the values they provide here, do we? Thanks, -- Jiri Kosina SUSE Labs - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: joydev.c and saitek cyborg evo force
- From: "Renato Golin" <[email protected]>
- Re: joydev.c and saitek cyborg evo force
- References:
- joydev.c and saitek cyborg evo force
- From: "Renato Golin" <[email protected]>
- Re: joydev.c and saitek cyborg evo force
- From: Jiri Kosina <[email protected]>
- Re: joydev.c and saitek cyborg evo force
- From: "Renato Golin" <[email protected]>
- Re: joydev.c and saitek cyborg evo force
- From: "Renato Golin" <[email protected]>
- Re: joydev.c and saitek cyborg evo force
- From: "Dmitry Torokhov" <[email protected]>
- Re: joydev.c and saitek cyborg evo force
- From: Jiri Kosina <[email protected]>
- Re: joydev.c and saitek cyborg evo force
- From: "Renato Golin" <[email protected]>
- Re: joydev.c and saitek cyborg evo force
- From: Jiri Kosina <[email protected]>
- Re: joydev.c and saitek cyborg evo force
- From: "Renato Golin" <[email protected]>
- Re: joydev.c and saitek cyborg evo force
- From: Jiri Kosina <[email protected]>
- Re: joydev.c and saitek cyborg evo force
- From: "Renato Golin" <[email protected]>
- joydev.c and saitek cyborg evo force
- Prev by Date: problem with NMI MSR reserve routines
- Next by Date: [PATCH] blkdev_wait_scan module to help initrd scripts
- Previous by thread: Re: joydev.c and saitek cyborg evo force
- Next by thread: Re: joydev.c and saitek cyborg evo force
- Index(es):