summaryrefslogtreecommitdiffstats
path: root/drivers/input
Commit message (Collapse)AuthorAgeFilesLines
* missing dependencies for USB drivers in inputAl Viro2007-05-155-0/+12
| | | | | | | | stuff that does select USB should depend on USB_ARCH_HAS_HCD, or we'll end up with unbuildable configs. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* Input: evdev - fix overflow in compat_ioctlKenichi Nagai2007-05-111-1/+1
| | | | | | | | | | When exporting input device bitmaps via compat_ioctl on BIG_ENDIAN platforms evdev calculates data size incorrectly. This causes buffer overflow if user specifies buffer smaller than maxlen. Signed-off-by: Kenichi Nagai <kenichi3.nagai@toshiba.co.jp> Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* Fix ixp4xx compile errorFrederik Deweerdt2007-05-101-1/+1
| | | | | | | | | | | | drivers/input/misc/ixp4xx-beeper.c: In function 'ixp4xx_spkr_event': drivers/input/misc/ixp4xx-beeper.c:54: error: 'input_dev' undeclared (first use in this function) drivers/input/misc/ixp4xx-beeper.c:54: error: (Each undeclared identifier is reported only once drivers/input/misc/ixp4xx-beeper.c:54: error: for each function it appears in.) Signed-off-by: Frederik Deweerdt <frederik.deweerdt@gmail.com> Acked-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* [S390] Kconfig: unwanted menus for s390.Martin Schwidefsky2007-05-101-0/+1
| | | | | | | Disable some more menus in the configuration files that are of no interest to a s390 machine. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
* Merge master.kernel.org:/pub/scm/linux/kernel/git/dtor/inputLinus Torvalds2007-05-0842-112/+11206
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master.kernel.org:/pub/scm/linux/kernel/git/dtor/input: Input: move USB miscellaneous devices under drivers/input/misc Input: move USB mice under drivers/input/mouse Input: move USB gamepads under drivers/input/joystick Input: move USB touchscreens under drivers/input/touchscreen Input: move USB tablets under drivers/input/tablet Input: i8042 - fix AUX port detection with some chips Input: aaed2000_kbd - convert to use polldev library Input: drivers/usb/input - usb_buffer_free() cleanup Input: synaptics - don't complain about failed resets Input: pull input.h into uinpit.h Input: drivers/usb/input - fix sparse warnings (signedness) Input: evdev - fix some sparse warnings (signedness, shadowing) Input: drivers/joystick - fix various sparse warnings Input: force feedback - make sure effect is present before playing
| * Input: move USB miscellaneous devices under drivers/input/miscDmitry Torokhov2007-05-089-9/+3961
| | | | | | | | | | | | | | | | This will allow concentrating all input devices in one place in {menu|x|q}config. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
| * Input: move USB mice under drivers/input/mouseDmitry Torokhov2007-05-083-9/+736
| | | | | | | | | | | | | | | | This will allow concentrating all input devices in one place in {menu|x|q}config. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
| * Input: move USB gamepads under drivers/input/joystickDmitry Torokhov2007-05-083-2/+451
| | | | | | | | | | | | | | | | This will allow concentrating all input devices in one place in {menu|x|q}config. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
| * Input: move USB touchscreens under drivers/input/touchscreenDmitry Torokhov2007-05-083-11/+905
| | | | | | | | | | | | | | | | This will allow concentrating all input devices in one place in {menu|x|q}config. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
| * Input: move USB tablets under drivers/input/tabletDmitry Torokhov2007-05-0812-0/+5068
| | | | | | | | | | | | | | | | This will allow concentrating all input devices in one place in {menu|x|q}config. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
| * Input: i8042 - fix AUX port detection with some chipsRoland Scheidegger2007-05-081-6/+29
| | | | | | | | | | | | | | | | | | | | | | | | The i8042 driver fails detection of the AUX port with some chips, because they apparently do not change the I8042_CTR_AUXDIS bit immediately. This is known to affect at least HP500/HP510 notebooks, consequently the built-in touchpad will not work. The patch will simply reread the value until it gets the expected value or a retry limit is hit, without touching other workaround code in the same area. Signed-off-by: Roland Scheidegger <sroland@tungstengraphics.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6Dmitry Torokhov2007-05-0812-14/+332
| |\
| * | Input: aaed2000_kbd - convert to use polldev libraryDmitry Torokhov2007-05-032-42/+21
| | | | | | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: synaptics - don't complain about failed resetsDmitry Torokhov2007-05-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On many laptops (Compaq, HP) the touchpad is so slow responding to reset that keyboard controller times out. The device is reset nonetheless and works fine. Kill the "synaptics reset failed" error; if device is not working then other parts of synaptics_query_hardware() will fail anyway. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: pull input.h into uinpit.hMike Frysinger2007-05-031-1/+0
| | | | | | | | | | | | | | | | | | | | | uinput.h relies on structures found in input.h, so pull in the header Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: evdev - fix some sparse warnings (signedness, shadowing)Dmitry Torokhov2007-05-031-3/+3
| | | | | | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: drivers/joystick - fix various sparse warningsDmitry Torokhov2007-05-035-27/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix various issues pointed by sparse: - module_param_array_named() takes unsigned int as number of parameters argument - shadowing of global variables is not healthy. I think there was once a bug in db9 caused by it. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: force feedback - make sure effect is present before playingDmitry Torokhov2007-05-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure that requested effect id is not out of range for the device and that effect is present before requesting device to play it. Reported-by: Jan Kratochvil <honza@jikos.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | | header cleaning: don't include smp_lock.h when not usedRandy Dunlap2007-05-085-5/+0
| |/ |/| | | | | | | | | | | | | | | | | | | | | Remove includes of <linux/smp_lock.h> where it is not used/needed. Suggested by Al Viro. Builds cleanly on x86_64, i386, alpha, ia64, powerpc, sparc, sparc64, and arm (all 59 defconfigs). Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* | sh: hp6xx driver compile fixes.Kristoffer Ericson2007-05-071-1/+1
| | | | | | | | | | | | | | Trivial compilation fixes for the hp6xx drivers. Signed-off-by: Kristoffer Ericson <Kristoffer_e1@hotmail.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* | Merge branch 'for-linus' of ↵Linus Torvalds2007-05-0494-1653/+3602
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | master.kernel.org:/pub/scm/linux/kernel/git/dtor/input * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/dtor/input: (65 commits) Input: gpio_keys - add support for switches (EV_SW) Input: cobalt_btns - convert to use polldev library Input: add skeleton for simple polled devices Input: update some documentation Input: wistron - fix typo in keymap for Acer TM610 Input: add input_set_capability() helper Input: i8042 - add Fujitsu touchscreen/touchpad PNP IDs Input: i8042 - add Panasonic CF-29 to nomux list Input: lifebook - split into 2 devices Input: lifebook - add signature of Panasonic CF-29 Input: lifebook - activate 6-byte protocol on select models Input: lifebook - work properly on Panasonic CF-18 Input: cobalt buttons - separate device and driver registration Input: ati_remote - make button repeat sensitivity configurable Input: pxa27x - do not use deprecated SA_INTERRUPT flag Input: ucb1400 - make delays configurable Input: misc devices - switch to using input_dev->dev.parent Input: joysticks - switch to using input_dev->dev.parent Input: touchscreens - switch to using input_dev->dev.parent Input: mice - switch to using input_dev->dev.parent ... Fixed up conflicts with core device model removal of "struct subsystem" manually. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
| * Input: gpio_keys - add support for switches (EV_SW)Roman Moravcik2007-05-011-7/+12
| | | | | | | | | | | | Signed-off-by: Roman Moravcik <roman.moravcik@gmail.com> Signed-off-by: Paul Sokolovsky <pmiscml@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Merge master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6Dmitry Torokhov2007-05-017-62/+45
| |\ | | | | | | | | | | | | | | | | | | Conflicts: drivers/usb/input/Makefile drivers/usb/input/gtco.c
| * | Input: cobalt_btns - convert to use polldev libraryDmitry Torokhov2007-04-292-37/+23
| | | | | | | | | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
| * | Input: add skeleton for simple polled devicesDmitry Torokhov2007-04-293-0/+183
| | | | | | | | | | | | | | | | | | | | | | | | input-polldev provides a skeleton for supporting simple input devices that need to be periodically scanned or polled to detect changes in their state. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: wistron - fix typo in keymap for Acer TM610Eric Piel2007-04-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes typo that prevented PROG2 key from working on Acer Travelmate 610. Signed-off-by: Eric Piel <eric.piel@tremplin-utc.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: add input_set_capability() helperDmitry Torokhov2007-04-251-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | Add input_set_capability() helper used to indicate that an input device supports a certain event without need to manipulate bitmaps directly. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: i8042 - add Fujitsu touchscreen/touchpad PNP IDsDmitry Torokhov2007-04-251-0/+2
| | | | | | | | | | | | | | | | | | | | | Add PNP IDs for Fujitsu touchscreen/touchpad for AUX port detection to latch onto. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: i8042 - add Panasonic CF-29 to nomux listDmitry Torokhov2007-04-251-0/+11
| | | | | | | | | | | | | | | | | | | | | There is no data coming from touchscreen on Panasonic CF-29 notebook unless keyboard controller is in legacy mode. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: lifebook - split into 2 devicesDmitry Torokhov2007-04-251-20/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | Have lifebook protocol register 2 separate input devices - one for the touchscreen reporting absolute coordinates and touches and another one for touchpad reporting relative coordinates and left and right button presses. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: lifebook - add signature of Panasonic CF-29Dmitry Torokhov2007-04-251-0/+8
| | | | | | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: lifebook - activate 6-byte protocol on select modelsDmitry Torokhov2007-04-121-13/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It appears that if we turn on 6-byte Lifebook protocol on Panasonic CF-28 its touchpad is left alone and generates standard 3-byte PS/2 data stream with relative packets instead of being converted in 3-byte Lifebook protocol with absolute coordinates - in other words what get what we need to distinguish between touchscreen and touchpad. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: lifebook - work properly on Panasonic CF-18Dmitry Torokhov2007-04-121-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | Panasonic CF18 has an active multiplexing controller with touchscreen connected to one port and a touchpad to another. Use "phys" from serio port to activate lifebook protoocol only on the port that has touchscreen connected to it. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: cobalt buttons - separate device and driver registrationDmitry Torokhov2007-04-121-23/+1
| | | | | | | | | | | | | | | | | | | | | | | | Create platform device for cobalt buttons as part of arch setup. This makes the driver follow current driver model more closely. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
| * | Input: pxa27x - do not use deprecated SA_INTERRUPT flagThomas Gleixner2007-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | IRQF_DISABLED is the proper name. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: ucb1400 - make delays configurableCliff Brake2007-04-121-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds module parameters for several timing values used in the driver. These values can vary based on the hardware design and how much capacitive filtering there is on the touch panel inputs, and the resistance of the panel. Signed-off-by: Cliff Brake <cbrake@bec-systems.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: misc devices - switch to using input_dev->dev.parentDmitry Torokhov2007-04-124-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | In preparation for struct class_device -> struct device input core conversion, switch to using input_dev->dev.parent when specifying device position in sysfs tree. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: joysticks - switch to using input_dev->dev.parentDmitry Torokhov2007-04-1218-18/+19
| | | | | | | | | | | | | | | | | | | | | | | | In preparation for struct class_device -> struct device input core conversion, switch to using input_dev->dev.parent when specifying device position in sysfs tree. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: touchscreens - switch to using input_dev->dev.parentDmitry Torokhov2007-04-1210-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | In preparation for struct class_device -> struct device input core conversion, switch to using input_dev->dev.parent when specifying device position in sysfs tree. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: mice - switch to using input_dev->dev.parentDmitry Torokhov2007-04-124-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | In preparation for struct class_device -> struct device input core conversion, switch to using input_dev->dev.parent when specifying device position in sysfs tree. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: keyboards - switch to using input_dev->dev.parentDmitry Torokhov2007-04-1214-13/+15
| | | | | | | | | | | | | | | | | | | | | | | | In preparation for struct class_device -> struct device input core conversion, switch to using input_dev->dev.parent when specifying device position in sysfs tree. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: prepare to switching to struct deviceDmitry Torokhov2007-04-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In preparation to switching to struct device and class device going away provide an alias to allow drivers that create devices to use either input_dev->cdev.dev or input_dev->dev.parent to put them into sysfs tree. The former will go away once conversion to struct device is complete. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: drivers/input/misc - don't access dev->private directlyDmitry Torokhov2007-04-122-10/+9
| | | | | | | | | | | | | | | | | | Use input_get_drvdata() and input_set_drvdata() instead. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: drivers/input/keyboard - don't access dev->private directlyDmitry Torokhov2007-04-1214-20/+13
| | | | | | | | | | | | | | | | | | Use input_get_drvdata() and input_set_drvdata() instead. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: drivers/input/joystick - don't access dev->private directlyDmitry Torokhov2007-04-1220-49/+59
| | | | | | | | | | | | | | | | | | Use input_get_drvdata() and input_set_drvdata() instead. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: drivers/input/touchscreen - don't access dev->private directlyDmitry Torokhov2007-04-129-13/+8
| | | | | | | | | | | | | | | | | | Use input_get_drvdata() and input_set_drvdata() instead. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: drivers/input/mice - don't access dev->private directlyDmitry Torokhov2007-04-124-5/+0
| | | | | | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: logips2pp - add model 1 informationDmitry Torokhov2007-04-121-0/+1
| | | | | | | | | | | | | | | | | | | | | It turns out I had an old 2-button Logitech mouse that responds to Logitech's queries with model of 1. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: wistron - declare keymaps as initdataEric Piel2007-04-121-27/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As the number of keymaps increases and is very unlikely to reduce, this patch helps to reduce memory consumption by declaring all keymaps as __initdata and copying right keymap during DMI detection. On x86 this make the module size at runtime going from 10616 to 9428: a bit more than 1kb saved. Signed-off-by: Eric Piel <eric.piel@tremplin-utc.net> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: wistron - introduce generic keymapEric Piel2007-04-121-2/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It turns out that the keymaps in the wistron driver are almost the same, the main difference being some keys which may not exist and leds which might not be present. Therefore it's possible to write a generic keymap which would allow the use of an unknown keyboard with little drawbacks. The user can select it specifying the parameter "keymap=generic". Signed-off-by: Eric Piel <eric.piel@tremplin-utc.net> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
OpenPOWER on IntegriCloud