aboutsummaryrefslogtreecommitdiff
path: root/drivers/input
AgeCommit message (Collapse)AuthorFilesLines
2006-01-06[PATCH] s390: cleanup KconfigMartin Schwidefsky1-1/+1
Sanitize some s390 Kconfig options. We have ARCH_S390, ARCH_S390X, ARCH_S390_31, 64BIT, S390_SUPPORT and COMPAT. Replace these 6 options by S390, 64BIT and COMPAT. Signed-off-by: Martin Schwidefsky <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2006-01-05Input: i8042 - add OQO Zepto to noloop dmi table.Ben Collins1-0/+8
Signed-off-by: Ben Collins <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2006-01-05Input: atkbd - don't lose keymap settings when reconnecting keyboardDmitry Torokhov1-1/+1
Call serio_reconnect() instead of serio_rescan() when detecting that a new keyboard was plugged in. This should help KVM uses losing custom keymap settings when switching between boxes. Signed-off-by: Dmitry Torokhov <[email protected]>
2006-01-05Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6Dmitry Torokhov7-24/+61
2006-01-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6Linus Torvalds2-19/+57
Trivial manual merge fixup for usb_find_interface clashes.
2006-01-04[PATCH] Input: add modalias supportRusty Russell1-0/+39
Here's the patch for modalias support for input classes. It uses comma-separated numbers, and doesn't describe all the potential keys (no module currently cares, and that would make the strings huge). The changes to input.h are to move the definitions needed by file2alias outside __KERNEL__. I chose not to move those definitions to mod_devicetable.h, because there are so many that it might break compile of something else in the kernel. The rest is fairly straightforward. Signed-off-by: Rusty Russell <[email protected]> CC: Kay Sievers <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2006-01-04[PATCH] driver core: replace "hotplug" by "uevent"Kay Sievers2-18/+18
Leave the overloaded "hotplug" word to susbsystems which are handling real devices. The driver core does not "plug" anything, it just exports the state to userspace and generates events. Signed-off-by: Kay Sievers <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2006-01-04[PATCH] remove CONFIG_KOBJECT_UEVENT optionKay Sievers1-1/+0
It makes zero sense to have hotplug, but not the netlink events enabled today. Remove this option and merge the kobject_uevent.h header into the kobject.h header file. Signed-off-by: Kay Sievers <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2006-01-04[PATCH] USB: remove .owner field from struct usb_driverGreg Kroah-Hartman1-1/+0
It is no longer needed, so let's remove it, saving a bit of memory. Signed-off-by: Greg Kroah-Hartman <[email protected]>
2006-01-03[ARM] Remove clk_use()/clk_unuse()Russell King1-8/+1
It seems that clk_use() and clk_unuse() are additional complexity which isn't required anymore. Remove them from the clock framework to avoid the additional confusion which they cause, and update all ARM machine types except for OMAP. Signed-off-by: Russell King <[email protected]>
2005-12-30[PATCH] Input: warrior - fix HAT0Y axis setupDmitry Torokhov1-1/+1
This patch fixes a typo introduced by conversion to dynamic input_dev allocation. Signed-off-by: Dmitry Torokhov <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-12-28[SERMOUSE]: Sun mice speak 5-byte protocol too.David S. Miller1-1/+1
Noticed by Christophe Zimmerman, this explains the slow mouse movement with 2.6.x kernels. And checking the 2.4.x drivers/sbus/char/sunmouse.c driver shows we always used a 5-byte protocol with Sun mice in the past. I have no idea how the 3-byte thing got into the 2.6.x driver, but it's surely wrong. Signed-off-by: David S. Miller <[email protected]>
2005-12-28Input: wistron - convert to the new platform device interfaceDmitry Torokhov1-46/+68
Do not use platform_device_register_simple() as it is going away, implement ->probe() and ->remove() functions so manual binding and unbinding would work. Signed-off-by: Dmitry Torokhov <[email protected]>
2005-12-28Input: maceps2 - convert to the new platform device interfaceDmitry Torokhov1-16/+52
Do not use platform_device_register_simple() as it is going away, implement ->probe() and ->remove() functions so manual binding and unbinding will work with this driver. Signed-off-by: Dmitry Torokhov <[email protected]>
2005-12-28Input: q40kbd - convert to the new platform device interfaceDmitry Torokhov1-32/+57
Do not use platform_device_register_simple() as it is going away, implement ->probe() and ->remove() functions so manual binding and unbinding will work with this driver. Signed-off-by: Dmitry Torokhov <[email protected]>
2005-12-28Input: ct82c710 - convert to the new platform device interfaceDmitry Torokhov1-26/+63
Do not use platform_device_register_simple() as it is going away, implement ->probe() and ->remove() functions so manual binding and unbinding will work with this driver. Signed-off-by: Dmitry Torokhov <[email protected]>
2005-12-28Input: i8042 - convert to the new platform device interfaceDmitry Torokhov1-49/+67
Do not use platform_device_register_simple() as it is going away, implement ->probe() and ->remove() functions so manual binding and unbinding will work with this driver. Signed-off-by: Dmitry Torokhov <[email protected]>
2005-12-22[SPARC]: introduce a SPARC Kconfig symbolAdrian Bunk2-2/+2
Introduce a Kconfig symbol SPARC that is defined on both the sparc and sparc64 architectures. This symbol makes some dependencies more readable. Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2005-12-21Input: logips2pp - add signature of MouseMan Wheel Mouse (87)Dmitry Torokhov1-0/+1
Signed-off-by: Dmitry Torokhov <[email protected]>
2005-12-21Input: sparcspkr - register with driver core as a platfrom deviceDmitry Torokhov1-57/+105
Signed-off-by: Dmitry Torokhov <[email protected]>
2005-12-21Input: m68kspkr - register with driver core as a platfrom deviceDmitry Torokhov1-17/+85
Signed-off-by: Dmitry Torokhov <[email protected]>
2005-12-21Input: pcspkr - register with driver core as a platfrom deviceDmitry Torokhov1-6/+80
Signed-off-by: Dmitry Torokhov <[email protected]>
2005-12-21Input: lifebook - add DMI signature of Fujitsu Lifebook B142Daniele Gozzi1-0/+7
This DMI data was found in Fujitsu LifeBook B142 (Product S/N FPC01003B, italian keyboard); re: bugzilla #5335 Signed-off-by: Dmitry Torokhov <[email protected]>
2005-12-21Input: add help entry for FM801 gameport driver to KconfigDmitry Torokhov1-0/+7
Signed-off-by: Dmitry Torokhov <[email protected]>
2005-12-21Input: i8042 - disable MUX mode for Sharp MM20Dmitry Torokhov1-0/+7
Add yet another entry to the ever-growing list of boxes with non-working MUX implementation. Signed-off-by: Dmitry Torokhov <[email protected]>
2005-12-21Input: psmouse - don't leave mouse asleepDmitry Torokhov1-9/+6
It looks like quite a few mice out there treat PSMOUSE_RESET_DIS as a powerdown request and turn off the light rendering the mouse unusable. Vojtech recommended to switch from PSMOUSE_RESET_DIS to full reset, however we don't want to do that everywhere as full reset is pretty slow. Instead we only use it before probing for "generic" protocols, such as IntelliMouse and Explorer, to make sure that the mouse will be woken up if it went to sleep as a result of PSMOUSE_RESET_DIS issued earlier. Signed-off-by: Dmitry Torokhov <[email protected]>
2005-12-21Input: ALPS - add signature for HP ze1115Larry Finger1-0/+1
Signed-off-by: Dmitry Torokhov <[email protected]>
2005-12-20Manual merge with Linus (conflict in drivers/input/misc/wistron_bnts.c)Dmitry Torokhov2-2/+2
2005-12-15[PATCH] drivers/input/misc/wistron_btns.c NULL noise removalAl Viro1-1/+1
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-12-14[PATCH] Input: ALPS - correctly report button presses on Fujitsu Siemens S6010Vojtech Pavlik1-1/+1
Without this patch Forward and Backward buttons on the touchpad do not generate any events. Signed-off-by: Dmitry Torokhov <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-12-11Input: wistron - add Acer TravelMate 240 to DMI tableAshutosh Naik1-0/+19
Signed-off-by: Ashutosh Naik <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2005-12-11Input: logips2pp - add new signature (85)Jasper Spaans1-0/+1
Signed-off-by: Dmitry Torokhov <[email protected]>
2005-12-11Input: mousedev - make module parameters visible in sysfsDmitry Torokhov1-5/+5
Signed-off-by: Dmitry Torokhov <[email protected]>
2005-12-11Input: evdev - consolidate compat and regular codeDmitry Torokhov1-280/+213
Compat and normal code mirror each other and are hard to maintain. When EV_SW was added compat_ioctl case was missed. Here is my attempt at consolidating the code. Signed-off-by: Dmitry Torokhov <[email protected]>
2005-11-20Input: make serio and gameport more swsusp friendlyDmitry Torokhov2-6/+18
kseriod and kgameportd used to process all pending events before checking for freeze condition. This may cause swsusp to time out while stopping tasks when resuming. Switch to process events one by one to check freeze status more often. Signed-off-by: Dmitry Torokhov <[email protected]>
2005-11-20Input: handle failures in input_register_device()Dmitry Torokhov1-27/+36
Signed-off-by: Dmitry Torokhov <[email protected]>
2005-11-20Input: uinput - don't use "interruptible" in FF codeDmitry Torokhov1-8/+3
If thread that submitted FF request gets interrupted somehow it will release request structure and ioctl handler will work with freed memory. TO prevent that from happening switch to using wait_for_completion instead of wait_for_completion_interruptible. Signed-off-by: Dmitry Torokhov <[email protected]>
2005-11-20Input: uinput - add UI_SET_SWBIT ioctlDmitry Torokhov1-0/+4
Signed-off-by: Dmitry Torokhov <[email protected]>
2005-11-20Input: uinput - convert to dynalloc allocationDmitry Torokhov1-147/+163
Also introduce proper locking when creating/deleting device. Signed-off-by: Dmitry Torokhov <[email protected]>
2005-11-20Input: wistron - disable wifi/bluetooth on suspendMiloslav Trmac1-0/+6
Try to save battery power by disabling wifi and bluetooth on suspend. Signed-off-by: Miloslav Trmac <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2005-11-20Input: wistron - add PM supportDmitry Torokhov1-5/+57
Register wistron-bios as a platform device, restore WIFI and Bluetooth state upon resume. Signed-off-by: Dmitry Torokhov <[email protected]>
2005-11-20Input: wistron - convert to dynamic input_dev allocationDmitry Torokhov1-16/+37
Signed-off-by: Dmitry Torokhov <[email protected]>
2005-11-20Input: wistron - add support for Acer Aspire 1500 notebooksBernhard Rosenkraenzer1-20/+59
Also fix a potential issue with some notebooks: The current code assumes the response to bios_wifi_get_default_setting is either 1 (disabled) or 3 (enabled), or wifi isn't supported. The BIOS response appears to be a bit field w/ 0x1 indicating hardware presence, 0x2 indicating actiation status, and the other 6 bits being unknown/reserved -- with the patch, these 6 bits are ignored. Signed-off-by: Bernhard Rosenkraenzer <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2005-11-20Input: wistron - disable for x86_64Andrew Morton1-1/+1
On x86_64: {standard input}:233: Error: suffix or operands invalid for `push' {standard input}:233: Error: suffix or operands invalid for `pop' Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2005-11-20Input: add Wistron driverDmitry Torokhov3-0/+454
A driver for laptop buttons using an x86 BIOS interface that is apparently used on quite a few laptops and seems to be originating from Wistron. This driver currently "knows" only about Fujitsu-Siemens Amilo Pro V2000 (i.e. it can detect the laptop using DMI and it contains the keycode->key meaning mapping for this laptop) and Xeron SonicPro X 155G (probably can't be reliably autodetected, requires a module parameter), adding other laptops should be easy. In addition to reporting button presses to the input layer the driver also allows enabling/disabling the embedded wireless NIC (using the "Wifi" button); this is done using the same BIOS interface, so it seems only logical to keep the implementation together. Any flexibility possibly gained by allowing users to remap the function of the "Wifi" button is IMHO not worth it when weighted against the necessity to run an user-space daemon to convert button presses to wifi state changes. Signed-off-by: Miloslav Trmac <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2005-11-20Input: atkbd - speed up setting leds/repeat stateDmitry Torokhov1-31/+68
Changing led state is pretty slow operation; when there are multiple requests coming at a high rate they may interfere with normal typing. Try optimize (skip) changing hardware state when multiple requests are coming back-to-back. Signed-off-by: Dmitry Torokhov <[email protected]>
2005-11-11Merge master.kernel.org:/home/rmk/linux-2.6-drvmodelLinus Torvalds5-63/+67
2005-11-09[DRIVER MODEL] Convert platform drivers to use struct platform_driverRussell King5-63/+67
This allows us to eliminate the casts in the drivers, and eventually remove the use of the device_driver function pointer methods for platform device drivers. Signed-off-by: Russell King <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]>
2005-11-09[PATCH] Input: fix 'uniq' reporting in hotplug handlerDmitry Torokhov1-1/+1
Input: fix 'uniq' reporting in hotplug handler Signed-off-by: Dmitry Torokhov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-11-07Merge master.kernel.org:/pub/scm/linux/kernel/git/dtor/inputLinus Torvalds4-85/+109