aboutsummaryrefslogtreecommitdiff
path: root/drivers/input
AgeCommit message (Collapse)AuthorFilesLines
2008-09-10Input: serio_raw - allow attaching to translated (SERIO_I8042XL) portsNiels de Vos1-0/+6
serio_raw only binds to non-translated devices. Enable serio_raw to bind to normal (translated) keyboards which can have non-standard extensions (like POS Keyboards). With this it is possible to send commands to the device over /dev/serio_raw<n>. Signed-off-by: Niels de Vos <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-09-10Input: cm109 - don't use obsolete logging macrosStephen Rothwell1-16/+16
err(), warn(), info() are being removed in favor of dev_* variants. Signed-off-by: Stephen Rothwell <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-09-10Input: atkbd - expand Latitude's force release quirk to other DellsMatthew Garrett1-5/+5
Dell laptops fail to send key up events for several of their special keys. There's an existing quirk in the kernel to handle this, but it's limited to the Latitude range. This patch extends it to cover all portable Dells. Signed-off-by: Matthew Garrett <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-09-10Input: bf54x-keys - add power management supportMichael Hennerich1-1/+12
Fix Bug: does nor properply resume after suspend mem Fix for PM_SUSPEND_MEM: Save and restore peripheral base registers Signed-off-by: Michael Hennerich <[email protected]> Signed-off-by: Bryan Wu <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-09-10Input: atmel_tsadcc - improve accuracyDan Liang1-13/+24
Discard the last sample just before pen is up because it is quite often errorneous. Signed-off-by: Nicolas Ferre <[email protected]> Signed-off-by: Dan Liang <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-09-10Input: convert drivers to use strict_strtoul()Joe Rouvier6-51/+53
strict_strtoul() allows newline character at the end of the the input string and therefore is more user-friendly. Signed-off-by: Dmitry Torokhov <[email protected]>
2008-09-10Merge branch 'core/xen' into x86/xenIngo Molnar3-19/+59
2008-09-06Merge branch 'for-linus' of ↵Linus Torvalds2-18/+58
git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: i8042 - make Lenovo 3000 N100 blacklist entry more specific Input: bcm5974 - add BTN_TOUCH event for mousedev benefit Input: bcm5974 - improve finger tracking and counting Input: bcm5974 - small formatting cleanup Input: bcm5974 - add maintainer entry
2008-09-05[ARM] omap: fix a load of "warning: symbol 'xxx' was not declared. Should it ↵Russell King1-1/+1
be static?" Signed-off-by: Russell King <[email protected]>
2008-09-04Input: i8042 - make Lenovo 3000 N100 blacklist entry more specificJiri Kosina1-1/+1
Apparently, there are more different versions of Lenovo 3000 N100, some of them working properly with active mux, and some of them requiring it being switched off. This patch applies 'nomux' only to the specific product name that is reported to behave badly unless 'nomux' is specified. Signed-off-by: Jiri Kosina <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-09-04Input: bcm5974 - add BTN_TOUCH event for mousedev benefitHenrik Rydberg1-0/+2
The mousedev driver requires the use of BTN_TOUCH events to process ABS_X and ABS_Y events properly, which is what is needed for the bcm5974-based apple computers to have a functional pointer out-of-the-box. Signed-off-by: Henrik Rydberg <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-09-04Input: bcm5974 - improve finger tracking and countingHenrik Rydberg1-16/+54
The problem of finger tracking, i.e., when to switch focus from one finger to another on the trackpad, has been improved by utilizing more information from the bcm5974 chip output. This results in less pointer hopping when many fingers are on the trackpad. In addition, a finger counting method based on pressure information from all fingers is introduced. Together with a pressure hysteresis window, this yields a more stable counting of the number of fingers on the trackpad. Signed-off-by: Henrik Rydberg <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-09-04Input: bcm5974 - small formatting cleanupHenrik Rydberg1-1/+1
Signed-off-by: Henrik Rydberg <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-08-31sparc: Annotate of_device_id arrays with const or __initdata.David S. Miller2-3/+3
As suggested by Stephen Rothwell. Signed-off-by: David S. Miller <[email protected]>
2008-08-27Blackfin arch: move include/asm-blackfin header files to arch/blackfinBryan Wu1-1/+1
Signed-off-by: Bryan Wu <[email protected]>
2008-08-25Merge branch 'linus' into x86/xenIngo Molnar12-13/+14
Conflicts: arch/x86/kernel/paravirt.c Signed-off-by: Ingo Molnar <[email protected]>
2008-08-23removed unused #include <linux/version.h>'sAdrian Bunk2-2/+0
This patch lets the files using linux/version.h match the files that #include it. Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-08-20[ARM] 5184/1: Split ucb1400_ts into core and touchscreenMarek Vašut2-248/+135
This patch splits ucb1400_ts into ucb1400_ts and ucb1400_core. Since this chip supports more features than only touchscreen, it was necessary to prepare it for feature addition. The previous functionality is preserved by applying this patch. [Build fixes for non-ARM by Stephen Rothwell and Takashi Iwai] Signed-off-by: Marek Vasut <[email protected]> Signed-off-by: Russell King <[email protected]>
2008-08-20Merge branch 'sh/for-2.6.27' of ↵Linus Torvalds1-2/+9
git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6 * 'sh/for-2.6.27' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: sh: Provide a FLAT_PLAT_INIT() definition. binfmt_flat: Stub in a FLAT_PLAT_INIT(). video: export sh_mobile_lcdc panel size sh: select memchunk size using kernel cmdline sh: export sh7723 VEU as VEU2H input: migor_ts compile and detection fix sh: remove MSTPCR defines from Migo-R header file sh: Update sh7763rdp defconfig sh: Add support sh7760fb to sh7763rdp board sh: Add support sh_eth to sh7763rdp board sh: Disable 64kB hugetlbpage size when using 64kB PAGE_SIZE. sh: Don't export __{s,u}divsi3_i4i from SH-2 libgcc. fix SH7705_CACHE_32KB compilation sh: mach-x3proto: Fix up smc91x platform data.
2008-08-20xen: clean up domain mode predicatesJeremy Fitzhardinge1-2/+2
There are four operating modes Xen code may find itself running in: - native - hvm domain - pv dom0 - pv domU Clean up predicates for testing for these states to make them more consistent. Signed-off-by: Jeremy Fitzhardinge <[email protected]> Cc: Xen-devel <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
2008-08-19Merge branch 'for-linus' of ↵Linus Torvalds9-9/+5
git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: evdev - fix printf() format for sizeof Input: remove version.h from drivers that don't need it Input: cobalt_btns - add missing MODULE_LICENSE
2008-08-19Input: evdev - fix printf() format for sizeofGeert Uytterhoeven1-2/+2
commit f2afa7711f8585ffc088ba538b9a510e0d5dca12 ("Input: paper over a bug in Synaptics X driver") introduced a compiler warning on 64-bit platforms, as sizeof() returns a size_t, not an (unsigned) int: | drivers/input/evdev.c: In function 'handle_eviocgbit': | drivers/input/evdev.c:684: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' Use the proper `z' modifier for size_t, and make the printf() formats for the sizes unsigned while we're at it. Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-08-18Input: remove version.h from drivers that don't need itHuang Weiyi7-7/+0
If a driver dies not use LINUX_VERSION_CODE nor KERNEL_VERSION then it does not need to include version.h Signed-off-by: Huang Weiyi <[email protected]> Acked-by: Mark Brown <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-08-18Input: cobalt_btns - add missing MODULE_LICENSEMartin Michlmayr1-0/+3
Export the module license and other information about the Cobalt button module in order to avoid the following warning: | WARNING: modpost: missing MODULE_LICENSE() in drivers/input/misc/cobalt_btns.o Signed-off-by: Martin Michlmayr <[email protected]> Acked-by: Yoichi Yuasa <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-08-15Merge branch 'for-linus' of ↵Linus Torvalds9-35/+769
git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: xilinx_ps2 - fix warning Input: bcm5974 - implement autosuspend support Input: bcm5974 - add driver for Macbook Air and Pro Penryn touchpads Input: paper over a bug in Synaptics X driver Input: evdev - split EVIOCGBIT handlig into a separate function Input: i8042 - Add Dritek quirk for Acer TravelMate 4280 Input: xpad - add Pelican Eclipse D-Pad to the list of devices Input: gpio-keys - make gpio_keys_device_driver static Input: gpio-keys - fix possible NULL pointer dereference Input: wm97xx - enable sub-drivers by default
2008-08-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6Linus Torvalds1-1/+2
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6: sparc64: Handle stack trace attempts before irqstacks are setup. sparc64: Implement IRQ stacks. sparc: remove include of linux/of_device.h from asm/of_device.h sparc64: Fix recursion in stack overflow detection handling. sparc/drivers: use linux/of_device.h instead of asm/of_device.h sparc64: Don't MAGIC_SYSRQ ifdef smp_fetch_global_regs and support code.
2008-08-11sparc/drivers: use linux/of_device.h instead of asm/of_device.hStephen Rothwell1-1/+2
Signed-off-by: Stephen Rothwell <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2008-08-11input: migor_ts compile and detection fixMagnus Damm1-2/+9
The i2c layer got changed while the migor_ts driver was in the input tree waiting to get merged upstream. Fix current compile issue by using struct i2c_client member "name" instead of "driver_name". Also, add id_table to make sure the device gets properly detected. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
2008-08-10Input: xilinx_ps2 - fix warningAndrew Morton1-2/+2
drivers/input/serio/xilinx_ps2.c:272: warning: cast from pointer to integer of different size Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-08-08Input: appletouch - handle geyser 3/4 status bitsSven Anders1-18/+35
Implement support for status bits on Geyser 3/4. Signed-off-by: Sven Anders <[email protected]> Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-08-08Input: appletouch - prepare for geyser 3/4 handlingSven Anders1-69/+197
Split complete function into separate functions for GEYSER1/2 and GEYSER 3/4. Signed-off-by: Sven Anders <[email protected]> Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-08-08Input: bcm5974 - implement autosuspend supportDmitry Torokhov1-0/+12
Signed-off-by: Dmitry Torokhov <[email protected]>
2008-08-08Input: bcm5974 - add driver for Macbook Air and Pro Penryn touchpadsHenrik Rydberg3-0/+693
This driver adds support for the multitouch trackpad on the new Apple Macbook Air and Macbook Pro Penryn laptops. It replaces the appletouch driver on those computers, and integrates well with the synaptics driver of the Xorg system. [[email protected]: various cleanups] Signed-off-by: Henrik Rydberg <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-08-08Merge commit 'v2.6.27-rc1' into for-linusDmitry Torokhov7-28/+15
2008-08-08Input: paper over a bug in Synaptics X driverDmitry Torokhov1-1/+20
Signed-off-by: Dmitry Torokhov <[email protected]>
2008-08-08Merge branch 'for-linus-merged' of master.kernel.org:/home/rmk/linux-2.6-armLinus Torvalds14-35/+33
* 'for-linus-merged' of master.kernel.org:/home/rmk/linux-2.6-arm: [ARM] 5177/1: arm/mach-sa1100/Makefile: remove CONFIG_SA1100_USB [ARM] 5166/1: magician: add MAINTAINERS entry [ARM] fix pnx4008 build errors [ARM] Fix SMP booting with non-zero PHYS_OFFSET [ARM] 5185/1: Fix spi num_chipselect for lubbock [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach [ARM] Add support for arch/arm/mach-*/include and arch/arm/plat-*/include [ARM] Remove asm/hardware.h, use asm/arch/hardware.h instead [ARM] Eliminate useless includes of asm/mach-types.h [ARM] Fix circular include dependency with IRQ headers avr32: Use <mach/foo.h> instead of <asm/arch/foo.h> avr32: Introduce arch/avr32/mach-*/include/mach avr32: Move include/asm-avr32 to arch/avr32/include/asm [ARM] sa1100_wdt: use reset_status to remember watchdog reset status [ARM] pxa: introduce reset_status and clear_reset_status for driver's usage [ARM] pxa: introduce reset.h for reset specific header information
2008-08-08Input: gpio-keys - simplify argument list for report_eventUwe Kleine-König1-4/+5
For now this only saves a few instructions (for gpio_keys_report_event, gpio_keys_isr and gpio_check_button one instraction each on ARM using arm-linux-gnu-gcc 4.2.3---I assume this is similar for other arch/compiler combinations). Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-08-08Input: gpio-keys - optimize interrupt handlerUwe Kleine-König1-23/+12
By passing a gpio_button_data structure to the handler instead of the whole platform_device the search for the right button can go away. Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-08-08Input: wistron - add support for Fujitsu-Siemens Amilo Pro v3505Remi Herilier1-0/+19
Wistron button support for Fujitsu-Siemens Amilo Pro Edition V3505. Signed-off-by: Remi Herilier <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-08-08Input: evdev - split EVIOCGBIT handlig into a separate functionLinus Torvalds1-20/+24
Signed-off-by: Linus Torvalds <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-08-08Input: add driver for USB VoIP phones with CM109 chipsetAlfred E. Heggestad3-0/+898
Signed-off-by: Alfred E. Heggestad <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-08-07[ARM] Move include/asm-arm/arch-* to arch/arm/*/include/machRussell King14-33/+33
This just leaves include/asm-arm/plat-* to deal with. Signed-off-by: Russell King <[email protected]>
2008-08-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixesRussell King8-134/+483
2008-08-07[ARM] Remove asm/hardware.h, use asm/arch/hardware.h insteadRussell King6-6/+6
Remove includes of asm/hardware.h in addition to asm/arch/hardware.h. Then, since asm/hardware.h only exists to include asm/arch/hardware.h, update everything to directly include asm/arch/hardware.h and remove asm/hardware.h. Signed-off-by: Russell King <[email protected]>
2008-08-07[ARM] Eliminate useless includes of asm/mach-types.hRussell King2-2/+0
There are 43 includes of asm/mach-types.h by files that don't reference anything from that file. Remove these unnecessary includes. Signed-off-by: Russell King <[email protected]>
2008-08-06Input: i8042 - Add Dritek quirk for Acer TravelMate 4280Carlos Corbacho1-0/+7
Reported-by: Mattias Jernberg <[email protected]> Signed-off-by: Carlos Corbacho <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-08-06sparc: i8042-sparcio.h: fix warningAlexander Beregalov1-6/+13
drivers/input/serio/i8042-sparcio.h:95: warning: 'sparc_i8042_driver' defined but not used Signed-off-by: Alexander Beregalov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2008-08-04maple: Kill useless private_data pointer.Paul Mundt1-7/+8
We can simply wrap in to the dev_set/get_drvdata(), there's no reason to track an extra level of private data on top of the struct device. Signed-off-by: Paul Mundt <[email protected]>
2008-08-04maple: Clean up maple_driver_register/unregister routines.Paul Mundt1-3/+3
These were completely inconsistent. Clean these up to take a maple_driver pointer directly for consistency. Signed-off-by: Paul Mundt <[email protected]>
2008-08-04input: Clean up maple keyboard driverAdrian McMenamin1-69/+32
Have a single probe function instead of a probe and a connect function. Also tidy a comment. Signed-off-by: Adrian McMenamin <[email protected]> Signed-off-by: Paul Mundt <[email protected]>