summaryrefslogtreecommitdiffstats
path: root/drivers/input
Commit message (Collapse)AuthorAgeFilesLines
* Input: wistron - disable wifi/bluetooth on suspendMiloslav Trmac2005-11-201-0/+6
| | | | | | | Try to save battery power by disabling wifi and bluetooth on suspend. Signed-off-by: Miloslav Trmac <mitr@volny.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: wistron - add PM supportDmitry Torokhov2005-11-201-5/+57
| | | | | | | Register wistron-bios as a platform device, restore WIFI and Bluetooth state upon resume. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: wistron - convert to dynamic input_dev allocationDmitry Torokhov2005-11-201-16/+37
| | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: wistron - add support for Acer Aspire 1500 notebooksBernhard Rosenkraenzer2005-11-201-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 <bero@arklinux.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: wistron - disable for x86_64Andrew Morton2005-11-201-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 <akpm@osdl.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: add Wistron driverDmitry Torokhov2005-11-203-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 <mitr@volny.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: atkbd - speed up setting leds/repeat stateDmitry Torokhov2005-11-201-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 <dtor@mail.ru>
* Merge master.kernel.org:/home/rmk/linux-2.6-drvmodelLinus Torvalds2005-11-115-63/+67
|\
| * [DRIVER MODEL] Convert platform drivers to use struct platform_driverRussell King2005-11-095-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 <rmk+kernel@arm.linux.org.uk> Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
* | [PATCH] Input: fix 'uniq' reporting in hotplug handlerDmitry Torokhov2005-11-091-1/+1
|/ | | | | | | | Input: fix 'uniq' reporting in hotplug handler Signed-off-by: Dmitry Torokhov <dtor@mail.ru> 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-11-074-85/+109
|\
| * Input: lkkbd - miscellaneous fixesJan-Benedict Glaw2005-11-021-42/+59
| | | | | | | | | | | | | | | | | | | | | | * Hide debugging code into #ifdef, which allows to simplify the large switch statement * Update macros to not reference variables not given as arguments Signed-off-by: Jan-Benedict Glaw <jbglaw@lug-owl.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: logips2pp - add support for MX3100Mirco Macrelli2005-11-021-0/+3
| | | | | | | | | | Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: locomokbd - fix wrong bustypePavel Machek2005-11-021-1/+1
| | | | | | | | | | Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: fix input device deregistrationDmitry Torokhov2005-11-021-0/+1
| | | | | | | | | | | | | | Remove main attribute group (name, phys, uniq) when unregistering input devices. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: do not register statically allocated devicesDmitry Torokhov2005-11-021-11/+15
| | | | | | | | | | | | | | | | Do not register statically allocated input devices to prevent OOPS when attaching input interfaces since it requires class device to be properly initialized. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: locomokbd - convert to dynamic input allocationDmitry Torokhov2005-11-021-32/+31
| | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | [PATCH] kfree cleanup: misc remaining driversJesper Juhl2005-11-071-7/+3
|/ | | | | | | | | | | | | | | | | | This is the remaining misc drivers/ part of the big kfree cleanup patch. Remove pointless checks for NULL prior to calling kfree() in misc files in drivers/. Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Acked-by: Aristeu Sergio Rozanski Filho <aris@cathedrallabs.org> Acked-by: Roland Dreier <rolandd@cisco.com> Acked-by: Pierre Ossman <drzeus@drzeus.cx> Acked-by: Jean Delvare <khali@linux-fr.org> Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Acked-by: Len Brown <len.brown@intel.com> Acked-by: "Antonino A. Daplas" <adaplas@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] i386: CONFIG_PC removalArthur Othieno2005-10-312-3/+3
| | | | | | | | | CONFIG_PC is left-over cruft after the introduction of CONFIG_X86_PC with the subarch split. Remove it, and fixup the remaining users to depend on CONFIG_X86_PC instead. Signed-off-by: Arthur Othieno <a.othieno@bluewin.ch> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Merge master.kernel.org:/home/rmk/linux-2.6-drvmodelLinus Torvalds2005-10-318-4/+8
|\ | | | | | | Manual #include fixups for clashes - there may be some unnecessary
| * Create platform_device.h to contain all the platform device details.Russell King2005-10-298-4/+8
| | | | | | | | | | | | | | | | Convert everyone who uses platform_bus_type to include linux/platform_device.h. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
* | Input: lkkbd - fix debug message in lkkbd_interrupt()Dmitry Torokhov2005-10-311-1/+1
| | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | Input: pcspkr - fix setting name and phys for the deviceDmitry Torokhov2005-10-311-1/+1
| | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | Input: fix input_dev registration messageDmitry Torokhov2005-10-311-1/+1
| | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | Input: evdev - allow querying SW state from compat ioctlDmitry Torokhov2005-10-311-0/+3
| | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | Input: evdev - allow querying EV_SW bits from compat_ioctlDmitry Torokhov2005-10-311-0/+1
| | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | [PATCH] fix missing includesTim Schmielau2005-10-3014-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I recently picked up my older work to remove unnecessary #includes of sched.h, starting from a patch by Dave Jones to not include sched.h from module.h. This reduces the number of indirect includes of sched.h by ~300. Another ~400 pointless direct includes can be removed after this disentangling (patch to follow later). However, quite a few indirect includes need to be fixed up for this. In order to feed the patches through -mm with as little disturbance as possible, I've split out the fixes I accumulated up to now (complete for i386 and x86_64, more archs to follow later) and post them before the real patch. This way this large part of the patch is kept simple with only adding #includes, and all hunks are independent of each other. So if any hunk rejects or gets in the way of other patches, just drop it. My scripts will pick it up again in the next round. Signed-off-by: Tim Schmielau <tim@physik3.uni-rostock.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | [PATCH] CONFIG_IA32Brian Gerst2005-10-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Add CONFIG_X86_32 for i386. This allows selecting options that only apply to 32-bit systems. (X86 && !X86_64) becomes X86_32 (X86 || X86_64) becomes X86 Signed-off-by: Brian Gerst <bgerst@didntduck.org> Cc: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | [PATCH] amikbd fixAl Viro2005-10-291-1/+1
| | | | | | | | | | | | | | it's input_allocate_device(), not input_dev_allocate()... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | [PATCH] missing bits in sparkspkr conversionAl Viro2005-10-291-1/+1
|/ | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6Linus Torvalds2005-10-2865-2644/+2984
|\
| * [PATCH] DRIVER MODEL: Get rid of the obsolete tri-level suspend/resume callbacksRussell King2005-10-284-62/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In PM v1, all devices were called at SUSPEND_DISABLE level. Then all devices were called at SUSPEND_SAVE_STATE level, and finally SUSPEND_POWER_DOWN level. However, with PM v2, to maintain compatibility for platform devices, I arranged for the PM v2 suspend/resume callbacks to call the old PM v1 suspend/resume callbacks three times with each level in order so that existing drivers continued to work. Since this is obsolete infrastructure which is no longer necessary, we can remove it. Here's an (untested) patch to do exactly that. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * [PATCH] input core: remove custom-made hotplug handlerDmitry Torokhov2005-10-281-145/+104
| | | | | | | | | | | | | | | | | | | | Input: remove custom-made hotplug handler Now that all input devices are registered with sysfs we can remove old custom-made hotplug handler and crate a standard one. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * [PATCH] INPUT: Create symlinks for backwards compatibilityGreg Kroah-Hartman2005-10-284-8/+32
| | | | | | | | | | | | | | | | | | | | This creates symlinks in /sys/class/input/ to the nested class devices to help userspace cope with the nesting. Unfortunatly udev still needs to be updated as it can't handle symlinks properly here :( Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * [PATCH] INPUT: rename input_dev_class to input_class to be correct.Greg Kroah-Hartman2005-10-285-17/+17
| | | | | | | | Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * [PATCH] INPUT: remove the input_class structure, as it is unused.Greg Kroah-Hartman2005-10-281-15/+3
| | | | | | | | Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * [PATCH] INPUT: Fix oops when accessing sysfs files of nested input devicesGreg Kroah-Hartman2005-10-281-7/+12
| | | | | | | | Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * [PATCH] INPUT: move the input class devices under their new input_dev devicesGreg Kroah-Hartman2005-10-284-14/+14
| | | | | | | | Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * [PATCH] INPUT: export input_dev_class so that input drivers can use it.Greg Kroah-Hartman2005-10-281-1/+2
| | | | | | | | Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * [PATCH] INPUT: register the input class device soonerGreg Kroah-Hartman2005-10-281-3/+3
| | | | | | | | | | | | | | This is needed so we can actually use the class device within the input handlers. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * [PATCH] Input: export input_dev data via sysfs attributesDmitry Torokhov2005-10-281-23/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Input: export various input device attributes via sysfs The following structure is exported: input0/ |-- name |-- phys |-- uniq |-- id/{bustype|vendor|product|version} `-- capabilities/{ev|abs|rel|key|led|msc|ff|sw} Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * [PATCH] Input: show sysfs path in /proc/bus/input/devicesDmitry Torokhov2005-10-281-0/+6
| | | | | | | | | | | | | | | | | | Input: show sysfs path in /proc/bus/input/devices Show that sysfs and phys path are different objects. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * [PATCH] drivers/input/joystick: convert to dynamic input_dev allocationDmitry Torokhov2005-10-2825-1230/+1460
| | | | | | | | | | | | | | | | | | Input: convert drivers/input/joystick to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * [PATCH] Input: convert driver/input/misc to dynamic input_dev allocationDmitry Torokhov2005-10-283-57/+56
| | | | | | | | | | | | | | | | | | Input: convert driver/input/misc to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * [PATCH] drivers/input/touchscreen: convert to dynamic input_dev allocationDmitry Torokhov2005-10-287-308/+279
| | | | | | | | | | | | | | | | | | Input: convert drivers/input/touchscreen to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * [PATCH] drivers/input/keyboard: convert to dynamic input_dev allocationDmitry Torokhov2005-10-289-431/+449
| | | | | | | | | | | | | | | | | | Input: convert drivers/input/keyboard to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * [PATCH] drivers/input/mouse: convert to dynamic input_dev allocationDmitry Torokhov2005-10-2815-361/+363
| | | | | | | | | | | | | | | | | | Input: convert drivers/input/mouse to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * [PATCH] Input: prepare to sysfs integrationDmitry Torokhov2005-10-281-5/+72
| | | | | | | | | | | | | | | | | | | | | | Input: prepare to sysfs integration Add struct class_device to input_dev; add input_allocate_dev() to dynamically allocate input devices; dynamically allocated devices are automatically registered with sysfs. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * [PATCH] Input: kill devfs referencesDmitry Torokhov2005-10-285-30/+1
| | | | | | | | | | | | | | Input: remove references to devfs from input subsystem Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * [PATCH] Driver Core: fix up all callers of class_device_create()Greg Kroah-Hartman2005-10-284-5/+5
| | | | | | | | | | | | | | | | The previous patch adding the ability to nest struct class_device changed the paramaters to the call class_device_create(). This patch fixes up all in-kernel users of the function. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
OpenPOWER on IntegriCloud