summaryrefslogtreecommitdiff
path: root/drivers/input
AgeCommit message (Collapse)Author
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>
2005-02-24input: Separate dualpoint and passthrough flags in ALPS driver.Vojtech Pavlik
Some non-dualpoint devices need passthrough enabled. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-24input: Fix usage of *_MAX macros. Check keycode in KDIOSKEYCODE andVojtech Pavlik
EVIOCSKEYCODE macros to be <= KEY_MAX. Check off-by one mistakes in keycodemax usage. There was a lot of potential for overwriting memory. Also enlarge NR_KEYS to 256 while we're at it. Found-by: Georgi Guninski <guninski@guninski.com> Initial-patch-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-24input: Make ALPS protocol synchronization dependent onVojtech Pavlik
protocol variant to enhance robustness. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-24input: Fix i8042's interactions with ACPI. Only believe what ACPIVojtech Pavlik
tells us if it is enabled, if is PnP enabled, and if is ACPIPnP enabled. It will still lie to us, but it won't be too bad. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-24input: Workaround in i8042 for PnP BIOS reporting incorrect commandVojtech Pavlik
register address. If the address is in the standard range, and a non-standard number is reported, we ignore it and use the default. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-24input: Fix sermouse not to call serio_open() twice.Dmitry Torokhov
Bug introduced in last serio update. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-24input: Add support for less usual ALPS touchpads, rearrange code,Vojtech Pavlik
separate touchpoint/passthrough into its own input device. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-23Merge bkbits:input into suse.cz:/home/vojtech/bk/inputVojtech Pavlik
2005-02-23Manual mergeVojtech Pavlik
2005-02-23input: Fix keyboard scrollwheel support, add horizontalVojtech Pavlik
wheel support, and enable both by default. Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-21input: Fix a few conditions in power.c, which kept it from dointVojtech Pavlik
anything at all. Found-by: BJ Douma <bjdouma@xs4all.nl> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-16Input: fix timer handling race in sidewinder joystick driver byDmitry Torokhov
switching to gameport's polling facilities. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-15Input: fix race timer handling races in gameport-based joystick driversDmitry Torokhov
by moving pollig timer down into gameport and using spinlock to protect it. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-14Input: fix ALPS protocol validation rulesLinus Torvalds
We checked the wrong byte, causing the touchpad to lose sync if an absolute packet is received after a relative packet with negative Y displacement. Signed-off-by: Dmitry Torokhov <dtor_core@ameritech.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-02-14Input: psmouse should probe for "special" protocols only if maxDmitry Torokhov
protocol is greater than IMEX so that proto=imps and proto=exps options work. Fix Kensington case. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-14[ARM] Fix sparse warnings for Integrator builds.Russell King
Add some missing __iomem annotations for Integrator machines. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2005-02-14[ARM] Fix SA1111 and PXA iomem sparse warnings.Russell King
This adds some missing annotations found by making the raw IO operations check their pointer type. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
2005-02-13input: Store alps hardware version info in the input_dev structure, so thatPeter Osterlund
it shows up in /proc/bus/input/devices. Signed-off-by: Peter Osterlund <petero2@telia.com> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-12input: Add pin numbers to parkbd.c documentation.Vojtech Pavlik
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-11input: Fix keybit initialization in MK712 touchscreen driver.n1gp@hotmail.com
With this, the driver is tested to work properly. From: Richard Koch <n1gp@hotmail.com> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
2005-02-11Merge bk://dtor.bkbits.net/input into suse.cz:/home/vojtech/bk/inputVojtech Pavlik
2005-02-10Input: remove gameport->private in favor of using driver-specific dataDmitry Torokhov
in device structure, add gameport_get/set_drvdata to access it. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2005-02-10Input: complete gameport sysfs integration, ports are nowDmitry Torokhov
devices in driver model. Implemented similarly to serio. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2005-02-10Input: integrate gameport drivers info dribver model/sysfs,Dmitry Torokhov
create "gameport" bus. drivers' connect() routines now return error code instead of void. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2005-02-10Input: convert input/gameport to dynamic gameport allocation.Dmitry Torokhov
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2005-02-10Input: prepare for dynamic gameport allocation:Dmitry Torokhov
- provide functions to allocate and free gameports; - provide functions to properly set name and phys; - dynamically allocated gameports are automatically announced in kernel logs and freed when unregistered. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2005-02-10Input: make connect and disconnect methods mandatory for gameportDmitry Torokhov
drivers since that's where gameport_{open|close} are called from to actually bind driver to a port. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>