summaryrefslogtreecommitdiffstats
path: root/drivers/input
Commit message (Collapse)AuthorAgeFilesLines
...
* Input: i8042 - use kzalloc instead of kcallocDmitry Torokhov2005-09-101-3/+3
| | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Manual merge with LinusDmitry Torokhov2005-09-0923-89/+131
|\
| * [PATCH] trivial __user annotations (evdev)viro@ZenIV.linux.org.uk2005-09-091-1/+1
| | | | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| * [PATCH] Input: Add a new switch event typeRichard Purdie2005-09-073-4/+24
| | | | | | | | | | | | | | | | | | | | The corgi keyboard has need of a switch event type with slightly type to the input system as recommended by the input maintainer. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Cc: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| * [PATCH] w100fb: Update corgi platform code to match new driverRichard Purdie2005-09-071-23/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch moves the platform specific Sharp SL-C7x0 LCD code from the w100fb driver into a more appropriate place and updates the Corgi code to match the new w100fb driver. It also updates the corgi touchscreen code to match the new simplified interface available from w100fb. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| * [PATCH] Corgi touchscreen: Fix a pmu bugRichard Purdie2005-09-071-1/+1
| | | | | | | | | | | | | | | | | | Corgi Touchscreen bugfix. If the PMU isn't running, the register needs to be set to a sane value rather than reusing some random value. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| * [PATCH] Corgi Touchscreen: Code cleanup / fixesRichard Purdie2005-09-071-8/+8
| | | | | | | | | | | | | | | | | | | | | | Clean up some Corgi Touchscreen logic and merge the repeat calls to w100fb_blanking() in anticipation of the w100fb patch. Fix a pm_message_t reference. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| * [PATCH] Corgi Touchscreen: Allow the driver to share the PMURichard Purdie2005-09-071-6/+9
| | | | | | | | | | | | | | | | | | | | The Corgi Touchscreen driver uses the PMU as an accurate timing source which conflicts with its usage for performance monitoring. This patch allows it to be shared with other users such as oprofile. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| * [PATCH] Corgi Keyboard: Code tidyingRichard Purdie2005-09-071-33/+28
| | | | | | | | | | | | | | | | | | | | The input system handles key state tracking so there's no need for the driver to do so as well. Also tidy up some comment formatting and remove a now unneeded function. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| * [PATCH] Corgi Keyboard: Add some power management codeRichard Purdie2005-09-071-1/+41
| | | | | | | | | | | | | | | | | | | | Add some power management code to the corgi keyboard driver so that only one power event gets reported within any reasonable time frame and the driver doesn't enter an infinte loop due to key repeat. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| * [PATCH] Corgi Keyboard: Fix a couple of compile errorsRichard Purdie2005-09-071-2/+2
| | | | | | | | | | | | | | | | Fix a couple of compile errors in the corgi keyboard driver. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| * [PATCH] input: convert kcalloc to kzallocPekka Enberg2005-09-0720-22/+22
| | | | | | | | | | | | | | | | | | This patch converts kcalloc(1, ...) calls to use the new kzalloc() function. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Cc: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| * [PATCH] mips: kludge envdev to build for 64-bit MIPS with 32-bit compatRalf Baechle2005-09-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Extend the compat mode kludgeology in envdev to cover MIPS as well. Or why we should need something like is_compat_task() ... Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Cc: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor_core@ameritech.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | Input: sunkbd - extend mapping to handle Type-6 Sun keyboardsVojtech Pavlik2005-09-051-1/+1
| | | | | | | | | | | | | | Map an unmarked key at 'Esc' position to KEY_MACRO Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | Input: iforce - use wait_event_interruptible_timeoutVojtech Pavlik2005-09-052-25/+8
| | | | | | | | | | | | | | | | | | | | The timeout while() loops in iforce-packets.c lack a set_current_state(TASK_INTERRUPTIBLE); call. The right solution is to replace them with wait_event_interruptible_timeout(). Reported-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | Input: atkbd - handle keyboards generating scancode 0x7fVojtech Pavlik2005-09-051-3/+7
| | | | | | | | | | | | | | | | Extend bat_xl handling to do err_xl handling, so that keyboards using 0x7f scancode for regular keys can work. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | Input: i8042 - add Lifebook E4010 to MUX blacklistDmitry Torokhov2005-09-041-0/+7
| | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | Input: i8042 - add i8042.nokbd module option to allow supressingDmitry Torokhov2005-09-042-5/+21
| | | | | | | | | | | | creation of keyboard port. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | Input: i8042 - fix IRQ printing when either KBD or AUX portDmitry Torokhov2005-09-041-14/+25
| | | | | | | | | | | | is absent from ACPI/PNP tables. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | Input: make i8042_platform_init return 'real' error codeDmitry Torokhov2005-09-046-23/+26
| | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | Input: i8042 - clean up initialization code; abort if weDmitry Torokhov2005-09-041-78/+100
| | | | | | | | | | | | can't create all ports. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | Input: fix checking whether new keycode fits size-wiseIan Campbell2005-09-041-1/+1
| | | | | | | | | | | | | | | | When dev->keycodesize == sizeof(int) the old code produces incorrect result. Signed-off-by: Ian Campbell <ijc@hellion.org.uk> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | Input: psmouse - add new Logitech wheel mouse modelVojtech Pavlik2005-09-041-0/+1
| | | | | | | | | | Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | Input: ALPS - fix wheel decodingVojtech Pavlik2005-09-041-1/+1
| | | | | | | | | | Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | Input: rework psmouse attributes to reduce module sizeDmitry Torokhov2005-09-044-163/+200
| | | | | | | | | | | | | | | | | | Rearrange attribute code to use generic show and set handlers instead of replicating them for every attribute; switch to using attribute_group instead of creating all attributes manually. All this saves about 4K. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | Merge HEAD from ↵Dmitry Torokhov2005-09-041-2/+2
|\| | | | | | | rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
| * [PATCH] ns558 list handling fixAlexander Nyberg2005-08-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Need to use list_for_entry_safe(), as we're removing items during the traversal. list_for_each_entry() uses the first ptr also as an iterator, if you kfree() it slab takes it, might poison it and then you try to use it to iterate to the next object in list. Cc: Vojtech Pavlik <vojtech@suse.cz> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | Input: psmouse - add support for IBM TrackPoint devices.Stephen Evanchik2005-08-085-2/+460
|/ | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Merge master.kernel.org:/pub/scm/linux/kernel/git/dtor/inputLinus Torvalds2005-07-2914-359/+386
|\
| * Input: synaptics - fix setting packet size on passthrough port.Sergey Vlasov2005-07-241-2/+2
| | | | | | | | | | | | | | | | | | Synaptics driver used child->type to select either 3-byte or 4-byte packet size for the pass-through port; this gives wrong results for the newer protocols. Change the check to use child->pktsize instead. Signed-off-by: Sergey Vlasov <vsu@altlinux.ru> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: check keycodesize when adjusting keymapsVojtech Pavlik2005-07-241-0/+1
| | | | | | | | | | | | | | | | When changing key mappings we need to make sure that the new keycode value can be stored in dev->keycodesize bytes. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: i8042 - don't use negation to mark AUX dataDmitry Torokhov2005-07-151-28/+32
| | | | | | | | | | | | | | | | | | | | | | Currently i8042_command() negates data coming from the AUX port of keyboard controller; this is not a very reliable indicator. Change i8042_command() to fail if response to I8042_CMD_AUX_LOOP is not coming from AUX channel and get rid of negation. Based on patch by Vojtech Pavlik. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: psmouse - wheel mice (imps, exps) always have 3rd buttonVojtech Pavlik2005-07-152-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are wheel mice that respond to Logitech probes and report that they have only 2 buttons (such as e-Aser mouse) and this stops the wheel from being used as a middle button. Change the driver to always report BTN_MIDDLE capability if a wheel is present. Also, never reset BTN_RIGHT capability in logips2pp code - there are no Logitech mice that have only one button and if some other mice happen to respond to Logitech's query we could do the wrong thing. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: elo - fix help in Kconfig (wrong module name)Michael Prokop2005-07-111-1/+1
| | | | | | | | | | Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: joydev - remove custom conversion from jiffies to msecsTobias Klauser2005-07-111-4/+2
| | | | | | | | | | | | | | | | | | | | Replace the MSECS() macro with the jiffies_to_msecs() function provided in jiffies.h Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch> Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: ALPS - unconditionally enable tapping modePeter Osterlund2005-07-111-18/+7
| | | | | | | | | | | | | | | | | | The condition in alps_init() was also inverted and the driver was enabling tapping mode only if it was already enabled. Signed-off-by: Peter Osterlund <petero2@telia.com> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: ALPS - fix resume (for DualPoints)David Moore2005-07-111-2/+2
| | | | | | | | | | | | | | | | | | The driver would not reset pass-through mode when performing resume of a DualPoint touchpad causing it to stop working until next reboot. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: synaptics - limit rate to 40pps on Toshiba DynabooksSimon Horman2005-07-111-1/+9
| | | | | | | | | | | | | | | | | | | | Toshiba Dynabooks require the same workaround as Satellites - Synaptics report rate should be lowered to 40pps (from 80), otherwise KBC starts losing keypresses. Signed-off-by: Simon Horman <horms@valinux.co.jp> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: i8042 - add Fujitsu T3010 to NOMUX blacklist.Vojtech Pavlik2005-07-111-0/+7
| | | | | | | | | | Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: i8042 - add Alienware Sentia to NOMUX blacklist.Dmitry Torokhov2005-07-111-0/+7
| | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: serio_raw - fix Kconfig helpNeil Brown2005-07-111-1/+1
| | | | | | | | | | | | Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: serio_raw - link serio_raw misc device to correspondingDmitry Torokhov2005-07-111-0/+1
| | | | | | | | | | | | serio port in sysfs. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Merge rsync://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6Dmitry Torokhov2005-07-112-2/+5
| |\
| * | Input: cannot refer to __exit from within __init.Andrew Morton2005-07-011-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: make name, phys and uniq be 'const char *' because onceDmitry Torokhov2005-06-301-11/+12
| | | | | | | | | | | | | | | | | | set noone should attempt to change them. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: rearrange procfs code to reduce number of #ifdefsDmitry Torokhov2005-06-301-191/+198
| | | | | | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: serio - add modalias attribute and environment variable toDmitry Torokhov2005-06-301-16/+26
| | | | | | | | | | | | | | | | | | simplify hotplug scripts. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: uinput - use completions instead of events and manualDmitry Torokhov2005-06-301-38/+43
| | | | | | | | | | | | | | | | | | wakeups in force feedback code. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: clean up uinput driver (formatting, extra braces)Dmitry Torokhov2005-06-301-46/+35
| | | | | | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | | [PATCH] Amiga joystick: Fix typo introduced by the open/close race fixesGeert Uytterhoeven2005-07-131-1/+1
| |/ |/| | | | | | | Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>