summaryrefslogtreecommitdiff
path: root/drivers/input
AgeCommit message (Collapse)Author
2005-06-16[PATCH] ALPS: fix enabling hardware tappingDmitry Torokhov
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>
2005-06-07[PATCH] input: disable scroll feature on AT keyboardsVojtech Pavlik
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>
2005-05-29Automatic merge of 'for-linus' branch fromLinus Torvalds
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/dtor/input
2005-05-29Input: Fix fast scrolling scancodes in atkbd.cVojtech Pavlik
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2005-05-28[PATCH] input: Fix fast scrolling scancodes in atkbd.cVojtech Pavlik
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-05-28[PATCH] fix jumpy mouse cursor on consolePavel Machek
Do not send empty events to gpm. (Keyboards are assumed to have scroll wheel these days, that makes them part-mouse. That means typing on keyboard generates empty mouse events). From: Dmitry Torokhov <dtor_core@ameritech.net> Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-05-28Input: synaptics - reduce verboseness of synaptics driver - thereDmitry Torokhov
is no reason one driver should take 10 lines in dmesg. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2005-05-28Input: yet another model that does not play nicely when i8042 isDmitry Torokhov
put in MUX mode - Fujitsu Lifebook S6230 Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2005-05-28Input: automatically disable MUX mode on Toshiba Satellite P10Dmitry Torokhov
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>
2005-05-28Input: gunze - fix out-of-bound array access reported by Adrian Bunk.Dmitry Torokhov
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2005-05-28Input: Fix button mapping in joydev - BTN_TRIGGER was beingVojtech Pavlik
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>
2005-05-28Input: Workaround for Sunrex K8561 IR Keyboard/Mouse. The mouseVojtech Pavlik
sends an incorrect ID and wasn't recognized. Reported-by: Stefan Seyfried <seife@suse.de> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2005-05-28Input: Avoid double unregistering of i8042 PnP driver. This can happenKurt Garloff
when no i8042 controller (not PnP, not legacy) is present. From: Kurt Garloff <garloff@suse.de> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2005-05-28Input: Tone down the severity of a printk() in i386/ia64 arch codeDmitry Torokhov
for i386, it's printed on many machines and usually is not a cause for worry. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-05-28Input: Only write the CTR in i8042 resume function. Reading it isVojtech Pavlik
wrong, since it may (will) contain nonsensical data. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2005-05-28Input: Remove (now) unused variable in i8042.cVojtech Pavlik
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2005-05-28Input: Add a missing KERN_INFO message designation, fix behaviorVojtech Pavlik
when only a keyboard part of the controller is detected. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2005-05-28Input:Adrian Bunk
This patch adds dummy gameport_register_port, gameport_unregister_port and gameport_set_phys functions to gameport.h for the case when a driver can't use gameport. This fixes the compilation of some OSS drivers with GAMEPORT=n without the need to #if inside every single driver. This patch also removes the non-working and now obsolete SOUND_GAMEPORT. This patch is also an alternative solution for ALSA drivers with similar problems (but #if's inside the drivers might have the advantage of saving some more bytes of gameport is not available). The only user-visible change is that for GAMEPORT=m the affected OSS drivers are now allowed to be built statically (but they won't have gameport support). Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2005-05-28Input: Fix a warning in psmouse-base.cAndrew Morton
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2005-05-17[PATCH] drivers/input/keyboard/atkbd.c: fix off by one errorsAdrian Bunk
This patch fixes two possible off by one errors found by the Coverity checker (look at the period[i] and delay[j] in the two first unchanged lines). Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: Vojtech Pavlik <vojtech@suse.cz> Cc: Dmitry Torokhov <dtor_core@ameritech.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-05-17[PATCH] serio 'id' attributesDmitry Torokhov
move serio port's id attributes into separate subdirectory: ..devices/serioX/id_type -> ..devices/serioX/id/type ..devices/serioX/id_proto -> ..devices/serioX/id/proto Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Cc: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-05-17[PATCH] serport oops fixDmitry Torokhov
serport - avoid calling serio_interrupt or serio_write_wakeup on unregistered port. Also fix memory leak which could happen if serport was left unused by moving serio allocation down to serport_ldisc_read. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Cc: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-05-17[PATCH] ALPS resume fixDmitry Torokhov
ALPS needs to be reset for detection to work reliably when reconnecting. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Cc: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-05-17[PATCH] alps printk tidyAndrew Morton
Make the alps printk output look consistent. Cc: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-05-17[PATCH] serio resume fixDmitry Torokhov
serio - do not attempt to immediately disconnect port if resume failed, let kseriod take care of it. Otherwise we may attempt to unregister associated input devices which will generate hotplug events which are not handled well during swsusp. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Cc: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-05-01[PATCH] drivers/input/joystick/spaceorb.c: fix an array overflowAdrian Bunk
This patch fixes an array overflow found by the Coverity checker. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-05-01[PATCH] Change synchronize_kernel to _rcu and _schedPaul E. McKenney
This patch changes calls to synchronize_kernel(), deprecated in the earlier "Deprecate synchronize_kernel, GPL replacement" patch to instead call the new synchronize_rcu() and synchronize_sched() APIs. 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>
2005-04-03[PATCH] missing gameport dependenciesAlexander Viro
several pci-only drivers marked as dependent on PCI. Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
2005-03-28[PATCH] unified spinlock initializationAmit Gud
- remove the usage of {SPIN,RW}_LOCK_UNLOCKED as far as possible - add a note to Documentation/spinlocks.txt about the deprecation of the macros {SPIN,RW}_LOCK_UNLOCKED Signed-off-by: Amit Gud <gud@eth.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-11[PATCH] Update Thibaut Varene's email addressMatthew Wilcox
Update my copyright information in a few files (email change) Signed-off-by: Thibaut VARENE <varenet@parisc-linux.org> Signed-off-by: Matthew Wilcox <willy@parisc-linux.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-11[PATCH] PA-RISC GSC interrupt fixesMatthew Wilcox
Two problems occurred with the recent switch to virtual interrupt numbers. The first is that two devices (eg Lasi PS/2 mouse and keyboard) can share the same physical interrupt and should therefore share the same virtual interrupt rather than have a new one assigned to them. Fix this by initialising the global_irq array to NO_IRQ, then checking the array before assigning a new one. The second is that some GSC devices (eg HIL and EISA) can have two interrupts; one for normal interrupts and the other for NMI or high-priority. To fix this, I introduced an auxiliary IRQ to the parisc_device and fill it in in Asp and Wax. Signed-off-by: Matthew Wilcox <willy@parisc-linux.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-03-07Input: export psmouse module parameters via sysfs:Dmitry Torokhov
/sys/module/psmouse/parameters/proto /sys/module/psmouse/parameters/rate /sys/module/psmouse/parameters/resetafter /sys/module/psmouse/parameters/resolution /sys/module/psmouse/parameters/smartscroll Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-03-07Input: i8042 - disable MUX mode on some Fujitsu notebooks as itDmitry Torokhov
does not seem to be working properly and requires psmouse module to be reloaded several times for touchpad to be identified correctly. Since none of these notebooks have external PS/2 ports disabling MUX should have no drawbacks. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-03-07input: some whitespace and formatting cleanup in Corgi drivers.Dmitry Torokhov
Also change del_timer to del_timer_sync in corgikbd and add missing del_timer_sync to corgi_ts. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-03-07input: convert from pci_module_init to pci_register_driverChristophe Lucas
Signed-off-by: Christophe Lucas <c.lucas@ifrance.com> Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-03-07input: This patch is for the keyboard on Sharp Zaurus collie and poodleJohn Lenz
models (SL5000, SL5500, and SL5600). It uses the devices exported in arch/arm/common/locomo.c. The pressed state of the keys is now handled by the input layer rather than directly in this driver. More information about the status of Zaurus (and some extra patches if you need to test this out) can be found on my web page at http://www.cs.wisc.edu/~lenz/zaurus Signed-off-by: John Lenz <lenz@cs.wisc.edu> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-03-07New BitKeeper file ``drivers/input/touchscreen/hp680_ts_input.c''Paul Mundt
2005-03-07input: Fix a connector name in a comment in lkkbd.cVojtech Pavlik
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-03-07input: Fix ALPS breakage caused by previous refactoring.Vojtech Pavlik
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-03-07input: Fix two typos in i8042 PnP code.Vojtech Pavlik
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-03-01input: Add MicroTouch (3M) serial touchscreen driverDan Streetman
From: Dan Streetman <ddstreet@ieee.org> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-28Merge bkbits:input into suse.cz:/home/vojtech/bk/inputVojtech Pavlik
2005-02-28input: Make gameport digital joysticks work on 2.6 and x86_64 again.Vojtech Pavlik
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-28input: Add more PnP IDs to i8042 PnP probe table. BIOS manufacturersVojtech Pavlik
are very creative. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-26input: Fix string formatting in joydump.Vojtech Pavlik
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-26input: set gameport devices' bus so they can be bound to drivers.Dmitry Torokhov
Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-25input: After testing on real world hardware, it's obvious we can't trustVojtech Pavlik
ACPIPnP nor PnPBIOS to properly report the existence of a keyboard and mouse port in all cases. Some BIOSes hide the ports if no mouse or keyboard is connected, causing trouble with eg. KVM switches. The i8042 driver now does read-only probing first, which should not cause any problems even if an i8042 controller really is not present. However, on IA64 we still need to trust ACPI, since legacy-free hardware is common there and invalid port accesses cause exceptions. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-25input: atkbd - "scroll" is a per-device attribute, don't use globalDmitry Torokhov
flag in interrupt handler. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-24input: Print a warning message when PnP fails to find an i8042Vojtech Pavlik
controller. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-24input: Make the i8042 PnP detection even more BIOS and CONFIG-proof.Vojtech Pavlik
This now should work with almost any BIOS and kernel config combination. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>