aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input
Commit message (Collapse)AuthorAge
* [PATCH] mips: kludge envdev to build for 64-bit MIPS with 32-bit compatRalf Baechle2005-09-05
| | | | | | | | | | | | 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>
* [PATCH] ns558 list handling fixAlexander Nyberg2005-08-10
| | | | | | | | | | | | 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>
* Merge master.kernel.org:/pub/scm/linux/kernel/git/dtor/inputLinus Torvalds2005-07-29
|\
| * Input: synaptics - fix setting packet size on passthrough port.Sergey Vlasov2005-07-24
| | | | | | | | | | | | | | | | | | 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-24
| | | | | | | | | | | | | | | | 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-15
| | | | | | | | | | | | | | | | | | | | | | 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-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-11
| | | | | | | | | | 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-11
| | | | | | | | | | | | | | | | | | | | 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-11
| | | | | | | | | | | | | | | | | | 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-11
| | | | | | | | | | | | | | | | | | 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-11
| | | | | | | | | | | | | | | | | | | | 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-11
| | | | | | | | | | 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-11
| | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: serio_raw - fix Kconfig helpNeil Brown2005-07-11
| | | | | | | | | | | | 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-11
| | | | | | | | | | | | 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-11
| |\
| * | Input: cannot refer to __exit from within __init.Andrew Morton2005-07-02
| | | | | | | | | | | | | | | 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-30
| | | | | | | | | | | | | | | | | | 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-30
| | | | | | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: serio - add modalias attribute and environment variable toDmitry Torokhov2005-06-30
| | | | | | | | | | | | | | | | | | simplify hotplug scripts. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: uinput - use completions instead of events and manualDmitry Torokhov2005-06-30
| | | | | | | | | | | | | | | | | | wakeups in force feedback code. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: clean up uinput driver (formatting, extra braces)Dmitry Torokhov2005-06-30
| | | | | | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | | [PATCH] Amiga joystick: Fix typo introduced by the open/close race fixesGeert Uytterhoeven2005-07-13
| |/ |/| | | | | | | Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | [PATCH] x86: i8253/i8259A lock cleanupIngo Molnar2005-06-30
|/ | | | | | | | Introduce proper declarations for i8253_lock and i8259A_lock. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Commit the manual part of the input layer merge.Linus Torvalds2005-06-27
| | | | | | | git did actually warn me about the fact that I hadn't actually done an "update-cache" on these two files, but the warning was at the bottom of a list of all the files that _did_ change in the merge, so I never noticed. My bad.
* Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/dtor/input.git manuallyLinus Torvalds2005-06-27
|\ | | | | | | Some manual fixups required due to clashes with the PF_FREEZE cleanups.
| * Input: psmouse - export protocol as a sysfs per-device attributeDmitry Torokhov2005-06-01
| | | | | | | | | | | | to allow easy switching at run-time. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: cleanup ps2_command() timeout handling in libps2.Dmitry Torokhov2005-06-01
| | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: add ps2_drain() to libps2 to allow reading and discardingDmitry Torokhov2005-06-01
| | | | | | | | | | | | | | | | given number of bytes from device. Change ps2_command to allow using 0 as command ID and actually pass it to the device instead of working as a drain. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: pmouse - introduce proper locking so state-changingDmitry Torokhov2005-06-01
| | | | | | | | | | | | | | | | | | operations do not iterfere with each other. Also make sure that serio core takes serio->drv_sem not only for connect/disconnect but for reconnect too. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: mousedev - do not wake up readers when receiving 0-motionDmitry Torokhov2005-06-01
| | | | | | | | | | | | event. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: do not corrupt system-wide procfs fops.Luke Kosewski2005-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | entry->proc_fops is a pointer to struct file_operations. When we call create_proc_entry(...), it pointis to proc_file_operations, deep in fs/proc/generic.c. By adding a 'poll' member to this struct we effectively force the 'poll' member on every file in /proc, which is wrong (they all fail select(...) calls). This patch changes a copy of entry->proc_fops and reassigns it rather than changing the original member. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: return correct value when setting up absolute device via uinipt.Ian Campbell2005-06-01
| | | | | | | | | | | | | | | | | | | | | | | | uinput_alloc_device() is supposed to return the number of bytes read, the value is returned to uinput_write() and from there to userspace. If EV_ABS is set then it returns the value from uinput_validate_absbits() instead, which is zero when everything is ok instead of the count. Signed-off-by: Ian Campbell <icampbell@arcom.com> Acked-by: Aristeu Rozanski <aris@cathedrallabs.org> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: ALPS - fix forward/back buttons on Ahtec laptop.Ivan Casado Ruiz2005-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | I have an Ahtec laptop with a ALPS GlidePoint device, with 4 buttons. With Linux hernel 2.6.12rc4 and rc5 I'm unable to use the vertical scroll buttons (BACK and FORWARD). BACK gets detected as BTN_MIDDLE and FORWARD is undetected. I've modified the drivers/input/mouse/alps.c from 2.6.12rc5 and now it works fine! Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: switch gameport core to using kthread API instead ofDmitry Torokhov2005-06-01
| | | | | | | | | | | | | | using daemonize() and signals. This way kgameportd will never be accidentially killed. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: switch serio core to using kthread API instead of usingDmitry Torokhov2005-06-01
| | | | | | | | | | | | | | daemonize() and signals. This way kseriod will never be accidentially killed. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Automatic merge of ↵Dmitry Torokhov2005-06-01
| |\ | | | | | | | | | rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
| * | Input: apparently Lifebook touchscreens have double resolutionDmitry Torokhov2005-05-29
| | | | | | | | | | | | | | | | | | | | | compared to "classic" PS/2 mice, provide appropriate resolution setting handler. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: lifebook - adjust initialization routines to be in line withDmitry Torokhov2005-05-29
| | | | | | | | | | | | | | | | | | | | | the rest of protocols in preparation to dynamic protocol switching. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: lifebook - various cleanups:Dmitry Torokhov2005-05-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - do not try to set rate and resolution in init method, let psmouse core do it for us. This also removes special quirks from the core; - do not disable mouse before doing full reset - meaningless; - some formatting and whitespace cleanups. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: Add Fujitsu Lifebook B-series touchscreen driver.Kenan Esau2005-05-29
| | | | | | | | | | | | | | | | | | From: Kenan Esau <kenan.esau@conan.de> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: Make EVIOSCSABS work in evdev.Vojtech Pavlik2005-05-29
| | | | | | | | | | | | | | | Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: Add a new I-Force device to the iforce driver.Marian-Nicolae V. Ion2005-05-29
| | | | | | | | | | | | | | | Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: fix open/close races in joystick drivers - add a semaphoreDmitry Torokhov2005-05-29
| | | | | | | | | | | | | | | | | | to the ones that register more than one input device. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: remove user counters from drivers/input/touchscreen sinceDmitry Torokhov2005-05-29
| | | | | | | | | | | | | | | | | | | | | input core takes care of calling open and close methods only when needed. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: remove user counters from drivers/input/mouse since inputDmitry Torokhov2005-05-29
| | | | | | | | | | | | | | | | | | | | | core takes care of calling open and close methods only when needed. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: add semaphore and user count to input_dev structure;Dmitry Torokhov2005-05-29
| | | | | | | | | | | | | | | | | | | | | | | | serialize open and close calls and ensure that device's open and close methods are only called when first user opens it or last user closes it. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: maple_keyb - remove useless dc_kbd_open and dc_kbd_closeDmitry Torokhov2005-05-29
| | | | | | | | | | | | | | | | | | functions as they are not doing anything. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: whitespace fixes in driver/input/joystickDmitry Torokhov2005-05-29
| | | | | | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>