aboutsummaryrefslogtreecommitdiff
path: root/drivers/input
AgeCommit message (Collapse)AuthorFilesLines
2008-06-30Input: hil_mlc.c - make code staticAdrian Bunk1-3/+3
Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-06-30Input: wistron - generate normal key event if bluetooth or wifi not presentÉric Piel1-1/+18
If the subsystem is not present, instead of not doing anything, report the key press as a normal key. This is done by modifying at initialization the copied key entry table. Signed-off-by: Eric Piel <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-06-30Input: atkbd - fix HP 2133 not sending release event for video switchJiri Kosina1-0/+26
Video switch key on HP 2133 doesn't send release event, so we have to create workaround similar to what we do for Dell Latitude, i.e. perform DMI match for the system and generate 'false' release event ourselves, so that userspace doesn't think that the key is stuck forever. Signed-off-by: Jiri Kosina <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-06-30Input: Add driver for iNexio serial touchscreen.Richard Lemon3-0/+220
Signed-off-by: Richard Lemon <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-06-30Input: wm9712 - no pressure measurement with 5-wire modeMark Brown1-6/+12
The hardware does not support pressure measurement is 5-wire mode so warn the user if he tries to request it. Signed-off-by: Mark Brown <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-06-30Input: fix force feedback upload issue in compat modeAdam Dawidowski1-11/+90
Force feedback upload of effects through the event device (ioctl EVIOCSFF) is not working in 32 bit applications running on 64-bit kernel due to the fact that struct ff_effect contains a pointer, resulting in the structure having different sizes in 64 and 32 bit programs and causing difference in ioctl numbers. [[email protected]: refactor to keep all ugliness in evdev] Signed-off-by: Adam Dawidowski <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-06-30Input: atamouse - various cleanupsDmitry Torokhov1-15/+12
Signed-off-by: Dmitry Torokhov <[email protected]>
2008-06-30Input: evbug - identify device by its sysfs IDDmitry Torokhov1-3/+7
This should help with devices that don't set up their phys or name since sysfs ID is always present. Signed-off-by: Dmitry Torokhov <[email protected]>
2008-06-30Input: don't reset sync flag when ignoring eventDmitry Torokhov1-1/+1
Signed-off-by: Dmitry Torokhov <[email protected]>
2008-06-30Input: fix locking in force-feedback coreDmitry Torokhov1-6/+11
The newly added event_lock spinlock in the input core disallows sleeping and therefore using mutexes in event handlers. Convert force-feedback core to rely on event_lock instead of mutex to protect slots allocated for fore-feedback effects. The original mutex is still used to serialize uploading and erasing of effects. Reported-by: Anssi Hannula <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-06-25Merge commit 'v2.6.26-rc8' into x86/xenIngo Molnar4-11/+54
Conflicts: arch/x86/xen/enlighten.c arch/x86/xen/mmu.c Signed-off-by: Ingo Molnar <[email protected]>
2008-06-20hp_sdc_rtc: BKL pushdownArnd Bergmann1-0/+2
Signed-off-by: Arnd Bergmann <[email protected]>
2008-06-20Input: cdev lock_kernel() pushdownJonathan Corbet1-4/+12
Signed-off-by: Jonathan Corbet <[email protected]>
2008-06-17Merge branch 'for-linus' of ↵Linus Torvalds4-11/+54
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: appletouch - implement reset-resume logic Input: i8042 - retry failed CTR writes when resuming Input: i8042 - add Fujitsu-Siemens Amilo Pro V2030 to nomux table Input: pcspkr - remove negative dependency on snd-pcsp Manually fixed up trivial conflict in drivers/usb/core/quirks.c
2008-06-17Merge branch 'for-linus' into nextDmitry Torokhov10-55/+155
Conflicts: drivers/input/mouse/appletouch.c
2008-06-17Input: appletouch - implement reset-resume logicOliver Neukum1-8/+41
On some boxes the touchpad needs to be reinitialized after resume to make it function again. This fixes bugzilla #10825. Signed-off-by: Oliver Neukum <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-06-17Input: i8042 - retry failed CTR writes when resumingJiri Kosina1-2/+6
There are systems that fail in i8042_resume() with i8042: Can't write CTR to resume as i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR) fails even though the controller claimed itself to be ready before. One retry after failing write fixes the problems on the failing systems. Reported-by: Helmut Schaa <[email protected]> Signed-off-by: Jiri Kosina <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-06-16Merge branch 'linus' into x86/xenIngo Molnar8-44/+101
2008-06-06Input: i8042 - add Fujitsu-Siemens Amilo Pro V2030 to nomux tableJiri Kosina1-0/+7
Fujitsu Siemens Amilo Pro V2030 needs nomux table entry, in addition to already existing entry for V2010 model (note that Fujitsu-Siemens changed the capitalization in the DMI data for product). Tested-by: Jiri Mleziva <[email protected]> Signed-off-by: Jiri Kosina <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-06-06Input: pcspkr - remove negative dependency on snd-pcspStas Sergeev1-1/+0
It should be possible to build pcspkr driver together with snd-pcsp, even though tehy can not be used together. Signed-off-by: Stas Sergeev <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-06-02Input: pxa27x_keypad - add wakeup supportEric Miao1-1/+14
Signed-off-by: Eric Miao <[email protected]> Acked-by: Russell King <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-06-02Input: serio - remove pending events when unregistering driverDmitry Torokhov1-3/+6
That fixes an opps when driver is repeatedly loaded and unloaded in a tight loop. Tested-by: Roland Kletzing <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-06-02Input: atkbd - use ushort instead of uchar keymapDmitry Torokhov1-10/+10
Since some of the keycodes defined in input.h have values greater than 255 we should use unsigned shorts in keymaps. Tested-by: Carlos Corbacho <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-06-02Input: add HTC Shift Touchscreen DriverPau Oliva Fora3-0/+268
Signed-off-by: Pau Oliva Fora <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-05-30Merge branch 'for-linus' of ↵Linus Torvalds8-44/+101
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: rename SW_RADIO to SW_RFKILL_ALL Input: gtco - fix double kfree in error handling path Input: pxa27x_keypad - miscellaneous fixes Input: atkbd - mark keyboard as disabled when suspending/unloading Input: apanel - remove duplicate include Input: wm9713 - support five wire panels Input: wm97xx-core - fix race on PHY init Input: wm97xx-core - fix driver name Input: wm97xx-core - report a phys for WM97xx touchscreens Input: i8042 - make sure Dritek quirk is invoked at resume Input: i8042 - add Dritek quirk for Acer TravelMate 660
2008-05-30Input: gtco - fix double kfree in error handling pathDmitry Torokhov1-10/+7
The code would try to free 'report' twice upon input_register_device() failure. Reported-by: Julia Lawall <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-05-29Input: i8042 - add Intel D845PESV to nopnp listJiri Kosina1-11/+18
This patch introduces i8042_dmi_nopnp_table to make it possible to perform DMI matches for systems that need 'i8042.nopnp' to work correctly, and introduces such an entry for Intel D845PESV -- this system doesn't detect PS2 mouse reliably without this option, as reported by Robert Lewis. [[email protected] - make it compile if CONFIG_PNP is off - reported by Randy Dunlap] Signed-off-by: Jiri Kosina <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-05-28Input: pxa27x_keypad - miscellaneous fixesAntonio Ospite1-13/+25
1. Set input bits for direct keys codes 2. Set input bits for rotary encoder codes only if rotary encoder is enabled 3. Enable EV_REL only if rotary encoder is enabled and rel_codes are set up Signed-off-by: Antonio Ospite <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-05-28Input: atkbd - mark keyboard as disabled when suspending/unloadingDmitry Torokhov1-0/+2
This will shut off garbage that may come from KBD port during resume. Signed-off-by: Dmitry Torokhov <[email protected]>
2008-05-27xen pvfb: Dynamic mode support (screen resizing)Markus Armbruster1-0/+10
The pvfb backend indicates dynamic mode support by creating node feature_resize with a non-zero value in its xenstore directory. xen-fbfront sends a resize notification event on mode change. Fully backwards compatible both ways. Framebuffer size and initial resolution can be controlled through kernel parameter xen_fbfront.video. The backend enforces a separate size limit, which it advertises in node videoram in its xenstore directory. xen-kbdfront gets the maximum screen resolution from nodes width and height in the backend's xenstore directory instead of hardcoding it. Additional goodie: support for larger framebuffers (512M on a 64-bit system with 4K pages). Changing the number of bits per pixels dynamically is not supported, yet. Ported from http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev/92f7b3144f41 http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev/bfc040135633 Signed-off-by: Pat Campbell <[email protected]> Signed-off-by: Markus Armbruster <[email protected]> Signed-off-by: Jeremy Fitzhardinge <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
2008-05-27xen pvfb: Module aliases to support module autoloadingMarkus Armbruster1-0/+2
These are mostly for completeness and consistency with the other frontends, as PVFB is typically compiled in rather than a module. Derived from http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev/5e294e29a43e While there, add module descriptions. Signed-off-by: Markus Armbruster <[email protected]> Signed-off-by: Jeremy Fitzhardinge <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
2008-05-27xen pvfb: Pointer z-axis (mouse wheel) supportMarkus Armbruster1-1/+7
Add z-axis motion to pointer events. Backward compatible, because there's space for the z-axis in union xenkbd_in_event, and old backends zero it. Derived from http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev/57dfe0098000 http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev/1edfea26a2a9 http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev/c3ff0b26f664 Signed-off-by: Pat Campbell <[email protected]> Signed-off-by: Markus Armbruster <[email protected]> Signed-off-by: Jeremy Fitzhardinge <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
2008-05-27Input: apanel - remove duplicate includeHuang Weiyi1-1/+0
Remove duplicate include file <linux/module.h>. Signed-off-by: Huang Weiyi <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-05-27Input: wm9713 - support five wire panelsMark Brown1-0/+22
Signed-off-by: Mark Brown <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-05-27Input: wm97xx-core - fix race on PHY initMark Brown1-11/+11
The chip phy_init() function must be called before the dig_enable() function but dig_enable() is called when the device is opened and we only call phy_init() after having reigstered the device, meaning the two can race. Fix this by doing the phy_init() before we register the input device. Thanks to Rodolfo Giometti <[email protected]> for the report. Signed-off-by: Mark Brown <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-05-27Input: wm97xx-core - fix driver nameMark Brown1-1/+1
Fix driver name - thanks to Guennadi Liakhovetski <[email protected]> for reporting this. Signed-off-by: Mark Brown <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-05-27Input: wm97xx-core - report a phys for WM97xx touchscreensMark Brown1-0/+1
phys is displayed in diagnostic output like that from evbug so ensure that it is set to something. Signed-off-by: Mark Brown <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-05-27Input: i8042 - make sure Dritek quirk is invoked at resumeBruno Prémont1-8/+25
Also do not fail i8042 entire initialization if enabling dritek extension fails. Signed-off-by: Bruno Prémont <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-05-21MODULE_LICENSE expects "GPL v2", not "GPLv2"Al Viro6-6/+6
... and we have few enough places using the latter to make it simpler to do search and replace... Signed-off-by: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-05-20Input: i8042 - add Dritek quirk for Acer TravelMate 660Bruno Prémont1-0/+7
The Acer TravelMate 660 series also requires the Dritek quirk to enable the extra scancodes. Signed-off-by: Bruno Prémont <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-05-20Input: remove CVS keywordsAdrian Bunk40-82/+0
This patch removes CVS keywords that weren't updated for a long time from comments. Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-05-18m68k: Return -ENODEV if no device is foundGeert Uytterhoeven1-1/+1
According to the tests in do_initcalls(), the proper error code in case no device is found is -ENODEV, not -ENXIO or -EIO. Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-05-18m68k: Some input drivers do not check the platformGeert Uytterhoeven3-0/+14
Some input drivers do not check whether they're actually running on the correct platform, causing multi-platform kernels to crash if they are not. Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2008-05-16Input: gpio-keys debouncing supportDmitry Baryshkov1-20/+69
Signed-off-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-05-16Input: add support for SuperH MigoR touchscreenMagnus Damm3-0/+262
This is V2 of the MigoR touch screen driver. The chip we interface to is unfortunately a custom designed microcontroller speaking some undocumented protocol over i2c. The board specific code is expected to register this device as an i2c chip using struct i2c_board_info [] and i2c_register_board_info(). [[email protected]: don't enable touchscreen if there are no users] Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-05-16Input: libps2 - remove delayed command executionDmitry Torokhov1-52/+0
Delayed command execution is not used by anyone so let's remove it. Reported-by: Adrian Bunk <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-05-16Input: gameport - remove rescan/reconnect facilitiesDmitry Torokhov1-22/+0
They have never been used and are unlikely to be used in the future so remove them altogether. Reported-by: Adrian Bunk <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-05-16Input: hil_ptr - check return value of input_register_device()Andres Salomon1-11/+26
[[email protected]: also signal correct return value to callers] Signed-off-by: Andres Salomon <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-05-16Input: appletouch - simplify touchpad type detectionSven Anders1-107/+57
This patch simplifies type detection and removes unnecessary code. Signed-off-by: Sven Anders <[email protected]> [jberg: don't typedef, checkpatch clean, remove useless comments, ...] Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
2008-05-16Input: appletouch - miscellaneous code cleanupsJohannes Berg1-73/+100
This patch does some code cleanups in appletouch: * useless comment removal * make almost checkpatch clean * make sparse clean Signed-off-by: Sven Anders <[email protected]> [jberg: most of the changes including removing much of the original patch] Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>