aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input
Commit message (Collapse)AuthorAge
* 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>
| * | Input: whitespace fixes in drivers/input/touchscreenDmitry Torokhov2005-05-29
| | | | | | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: whitespace fixes in drivers/input/keyboardDmitry Torokhov2005-05-29
| | | | | | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: whitespace fixes in drivers/input/mouseDmitry Torokhov2005-05-29
| | | | | | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: Corgi keyboard driver - correct two keys which are much more usefulRichard Purdie2005-05-29
| | | | | | | | | | | | | | | | | | | | | | | | as function keys instead of special keys. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: Fix a warning in evdev's 32-bit emulation code.Vojtech Pavlik2005-05-29
| | | | | | | | | | | | | | | Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: Add support for 32-bit emulation on 64-bit platforms for evdev.Juergen Kreileder2005-05-29
| | | | | | | | | | | | | | | | | | Signed-off-by: Juergen Kreileder <jk@blackdown.de> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: This patch implements compat_ioctl for joydev.Jeremy Fitzhardinge2005-05-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've tested it with a Logitech WingMan Rumblepad on an x86-64 machine, and on an ia32 machine to make sure I didn't break anything. Signed-off-by: Jeremy Fitzhardinge <jeremy@goop.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: Kill Aureal Vortex 1/2 gameport driver. ALSA Aureal driverVojtech Pavlik2005-05-29
| | | | | | | | | | | | | | | | | | | | | offers the gameport part already. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: Crystal SoundFusion (cs461x) gameport support isn't neededVojtech Pavlik2005-05-29
| | | | | | | | | | | | | | | | | | | | | either, since ALSA handles it nicely. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: Probe PnP gameports first, ISA after that.Vojtech Pavlik2005-05-29
| | | | | | | | | | | | | | | Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | | Merge Christoph's freeze cleanup patchLinus Torvalds2005-06-25
|\ \ \
| * | | [PATCH] Cleanup patch for process freezingChristoph Lameter2005-06-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Establish a simple API for process freezing defined in linux/include/sched.h: frozen(process) Check for frozen process freezing(process) Check if a process is being frozen freeze(process) Tell a process to freeze (go to refrigerator) thaw_process(process) Restart process frozen_process(process) Process is frozen now 2. Remove all references to PF_FREEZE and PF_FROZEN from all kernel sources except sched.h 3. Fix numerous locations where try_to_freeze is manually done by a driver 4. Remove the argument that is no longer necessary from two function calls. 5. Some whitespace cleanup 6. Clear potential race in refrigerator (provides an open window of PF_FREEZE cleared before setting PF_FROZEN, recalc_sigpending does not check PF_FROZEN). This patch does not address the problem of freeze_processes() violating the rule that a task may only modify its own flags by setting PF_FREEZE. This is not clean in an SMP environment. freeze(process) is therefore not SMP safe! Signed-off-by: Christoph Lameter <christoph@lameter.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | | | [PATCH] RCU: clean up a few remaining synchronize_kernel() callsPaul E. McKenney2005-06-25
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2.6.12-rc6-mm1 has a few remaining synchronize_kernel()s, some (but not all) in comments. This patch changes these synchronize_kernel() calls (and comments) to synchronize_rcu() or synchronize_sched() as follows: - arch/x86_64/kernel/mce.c mce_read(): change to synchronize_sched() to handle races with machine-check exceptions (synchronize_rcu() would not cut it given RCU implementations intended for hardcore realtime use. - drivers/input/serio/i8042.c i8042_stop(): change to synchronize_sched() to handle races with i8042_interrupt() interrupt handler. Again, synchronize_rcu() would not cut it given RCU implementations intended for hardcore realtime use. - include/*/kdebug.h comments: change to synchronize_sched() to handle races with NMIs. As before, synchronize_rcu() would not cut it... - include/linux/list.h comment: change to synchronize_rcu(), since this comment is for list_del_rcu(). - security/keys/key.c unregister_key_type(): change to synchronize_rcu(), since this is interacting with RCU read side. - security/keys/process_keys.c install_session_keyring(): change to synchronize_rcu(), since this is interacting with RCU read side. Signed-off-by: "Paul E. McKenney" <paulmck@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | | [PATCH] Convert users to tty_unregister_ldisc()Alexey Dobriyan2005-06-23
| | | | | | | | | | | | | | | | | | | | | | | | tty_register_ldisc(N_FOO, NULL) => tty_unregister_ldisc(N_FOO) Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | | [PATCH] smp_processor_id() cleanupIngo Molnar2005-06-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch implements a number of smp_processor_id() cleanup ideas that Arjan van de Ven and I came up with. The previous __smp_processor_id/_smp_processor_id/smp_processor_id API spaghetti was hard to follow both on the implementational and on the usage side. Some of the complexity arose from picking wrong names, some of the complexity comes from the fact that not all architectures defined __smp_processor_id. In the new code, there are two externally visible symbols: - smp_processor_id(): debug variant. - raw_smp_processor_id(): nondebug variant. Replaces all existing uses of _smp_processor_id() and __smp_processor_id(). Defined by every SMP architecture in include/asm-*/smp.h. There is one new internal symbol, dependent on DEBUG_PREEMPT: - debug_smp_processor_id(): internal debug variant, mapped to smp_processor_id(). Also, i moved debug_smp_processor_id() from lib/kernel_lock.c into a new lib/smp_processor_id.c file. All related comments got updated and/or clarified. I have build/boot tested the following 8 .config combinations on x86: {SMP,UP} x {PREEMPT,!PREEMPT} x {DEBUG_PREEMPT,!DEBUG_PREEMPT} I have also build/boot tested x64 on UP/PREEMPT/DEBUG_PREEMPT. (Other architectures are untested, but should work just fine.) Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Arjan van de Ven <arjan@infradead.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | | [PATCH] Driver Core: drivers/i2c/chips/w83781d.c - ↵Yani Ioannou2005-06-20
| | | | | | | | | | | | | | | | | | | | | drivers/s390/block/dcssblk.c: update device attribute callbacks Signed-off-by: Yani Ioannou <yani.ioannou@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* | | [PATCH] INPUT: move to use the new class code, instead of class_simplegregkh@suse.de2005-06-20
| | | | | | | | | | | | Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* | | [PATCH] ALPS: fix enabling hardware tappingDmitry Torokhov2005-06-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It looks like logic for enabling hardware tapping in ALPS driver was inverted and we enable it only if it was already enabled by BIOS or firmware. I have a confirmation from one user that the patch below fixes the problem for him and it might be beneficial if we could get it into 2.6.12. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | | [PATCH] input: disable scroll feature on AT keyboardsVojtech Pavlik2005-06-07
| |/ |/| | | | | | | | | | | | | | | This patch disables the scroll feature on AT keyboards by default, because it causes the numbers of mouse devices to shift, breaking user setups. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | Automatic merge of 'for-linus' branch fromLinus Torvalds2005-05-29
|\| | | | | | | rsync://rsync.kernel.org/pub/scm/linux/kernel/git/dtor/input
| * Input: Fix fast scrolling scancodes in atkbd.cVojtech Pavlik2005-05-29
| | | | | | | | | | Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: synaptics - reduce verboseness of synaptics driver - thereDmitry Torokhov2005-05-28
| | | | | | | | | | | | is no reason one driver should take 10 lines in dmesg. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: yet another model that does not play nicely when i8042 isDmitry Torokhov2005-05-28
| | | | | | | | | | | | put in MUX mode - Fujitsu Lifebook S6230 Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: automatically disable MUX mode on Toshiba Satellite P10Dmitry Torokhov2005-05-28
| | | | | | | | | | | | | | | | | | because it interferes with ALPS touchpad detection and causes horrible death on reboot. Since P10 does not have external PS/2 ports MUX mode does not have any advantages over legacy mode anyway. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: gunze - fix out-of-bound array access reported by Adrian Bunk.Dmitry Torokhov2005-05-28
| | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: Fix button mapping in joydev - BTN_TRIGGER was beingVojtech Pavlik2005-05-28
| | | | | | | | | | | | | | | | mapped twice, resulting in it being the last (instead of first) button on a joystick. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>