summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Input: i8042 - add Fujitsu-Siemens Amilo Pro 2010 to nomux listJiri Kosina2008-01-301-0/+7
| | | | | | Reported-by: Hans Aschauer <Hans.Aschauer@web.de> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: i8042 - enable DMI quirks on x86-64Bruce Duncan2008-01-301-2/+2
| | | | | | | | | | If firmware does not implement AUX_LOOP comand in 32 bit mode it is unlikely to implement it in 64 bit mode. Same goes for active multiplexing. See: http://bugzilla.kernel.org/show_bug.cgi?id=9664 Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: i8042 - add Dritek quirk for Acer Aspire 9110Carlos Corbacho2008-01-301-0/+7
| | | | | | | | The Acer Aspire 9110 series also requires the Dritek quirk to enable the extra scancodes. Signed-off-by: Carlos Corbacho <carlos@strangeworlds.co.uk> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: add input event to APM event bridgeRichard Purdie2008-01-303-0/+144
| | | | | | | | | | | | | | | | | | | | This patch adds a very simple input power event to APM user suspend event bridge. Its currently only works for the systems using the emulated APM driver but could easily be extended to work with anything with a true APM BIOS too. This covers a standard embedded system need which is to suspend when the user presses a suspend button. It leaves options open to system integrators to ignore (or unload) this code and implement their own more complex event handling system. Its hidden behind the EMBEDDED Kconfig option since its only likely to be of use to embedded style systems. It can be built as a module so the "hardcoded" policy can easily be removed from the kernel at runtime if desired too. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: mousedev - use BIT_MASK instead of BITDmitry Torokhov2008-01-301-1/+1
| | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: remove duplicate includesAndre Haupt2008-01-213-3/+0
| | | | | Signed-off-by: Andre Haupt <andre@bitwigglers.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: remove cdev from input_dev structureDmitry Torokhov2008-01-212-7/+0
| | | | | | | | Cdev field was obsolete and provided only for backward compatibility since conversion of input core from class devices to regular devices. It is time to remove it. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: remove duplicated headers in drivers/char/keyboard.cFrancisco Alecrim2008-01-211-1/+0
| | | | | | | drivers/char/keyboard.c: linux/consolemap.h is included more than once. Signed-off-by: Francisco Alecrim <francisco.alecrim@indt.org.br> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: i8042 - add Dritek keyboard extension quirkCarlos Corbacho2008-01-212-0/+63
| | | | | | | | | | Some Wistron based laptops need us to explicitly enable the 'Dritek keyboard extension' to make their extra keys start generating scancodes. Originally, this was just confined to older laptops, but a few Acer laptops have turned up in 2007 that also need this again. Signed-off-by: Carlos Corbacho <carlos@strangeworlds.co.uk> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: add Tosa keyboard driverDmitry Baryshkov2008-01-215-0/+510
| | | | | | | | Add keyboard support on tosa (Sharp Zaurus SL-6000x). Largely based on patches by Dirk Opfer. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: add driver for Fujitsu application buttonsStephen Hemminger2008-01-213-0/+393
| | | | | | | | | | | | | | | | | | | | This driver supports the application buttons on some Fujitsu Lifebook laptops. It is based on the earlier apanel driver done by Jochen Eisenger, but with many changes. The original driver used ioctl's and a separate user space program (see http://apanel.sourceforge.net). This driver hooks into the input subsystem so that the normal keys act as expected without a daemon. In addition to buttons, the Mail Led is handled via LEDs class device. The driver now supports redefinable keymaps and no longer has to have a DMI table for all Fujitsu laptops. I thought about mixing this driver should be integrated into the Fujitsu laptop extras driver that handles backlight, but rejected the idea because it wasn't clear if all the Fujitsu laptops supported both. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: ads7846 - stop updating dev->power.power_stateDavid Brownell2008-01-211-4/+4
| | | | | | | | | This stops the ads7846 driver from using dev->power.power_state; that field is deprecated (overdue for removal) and the only reason to update it was to make the /sys/devices/.../power/state files (now removed) work better. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: drop redundant includes of moduleparam.hJulia Lawall2008-01-2119-19/+0
| | | | | | | | Drop #include <linux/moduleparam.h> in files that also include linux/module.h, since module.h includes moduleparam.h already. Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: fix bug in example codeSteven Whitehouse2008-01-211-1/+1
| | | | | | | | The input example driver uses BTN_0 in the later stages of the example, so this changes the interrupt routine to match. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: implement proper timer rounding for polled devicesStephen Hemminger2008-01-211-8/+10
| | | | | | | | | | | | | Rounding doesn't matter for the first tick, but we want succeeding ticks to be aligned on second boundary if poll interval is large enough. Also: cancel_rearming_delayed_workqueue is marked as obsolete in workqueue.h so use cancel_delayed_work_sync. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Acked-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* V4L/DVB: Don't access input_dev->private directlyDmitry Torokhov2008-01-212-4/+0
| | | | | | | | | Drivers should use input_{get|set}_drvdata() instead of accessing input_dev->provate directly, but since these drivers do not actually use the data stored there we can simply remove the assignments. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Mauro Carvalho Chehab <mchehab@infradead.org>
* Input: iforce - don't access input_dev->private directlyDmitry Torokhov2008-01-211-8/+9
| | | | | | input_{get|set}_drvdata() helpers should be used instead. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: i8042 - use synchronize_irq() instead of synchronize_sched()Dmitry Torokhov2008-01-211-1/+8
| | | | | | | | RT guys advised me that in their kernels synchronize_sched() will not work to ensure that all IRQ handlers run to their completion and that synchronize_irq() should be used instead. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: atkbd - remove unneeded synchronize_sched()Dmitry Torokhov2008-01-211-1/+0
| | | | | | | atkbd_disable() provides all necessary synchronization with atkbd_interrupt(). Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: cobalt_btns - add support for loadable keymapsDmitry Torokhov2008-01-211-37/+36
| | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: atlas_btns - add support for loadable keymapsDmitry Torokhov2008-01-211-16/+23
| | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: keyspan_remote - add support for loadable keymapsDmitry Torokhov2008-01-211-51/+67
| | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: Add proper locking when changing device's keymapDmitry Torokhov2008-01-214-11/+80
| | | | | | | Take dev->event_lock to make sure that we don't race with input_event() and also force key up event when removing a key from keymap table. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: atkbd - properly handle special keys on Dell LatitudesGiel de Nijs2008-01-211-17/+72
| | | | | | | | Most of Fn+F? special keys on (at least) the Dell Latitude laptops don't generate a hardware key release event so the driver has to generate one. Signed-off-by: Giel de Nijs <giel@caffeinetrip.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: ALPS - fix sync loss on Acer Aspire 5720ZGDmitry Torokhov2008-01-171-1/+1
| | | | | | | The recently added support for Dell Volstro 1400 was causing protocol synchronization errors on Acer Aspire 5720ZG, fix it. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: psmouse - fix input_dev leak in lifebook driverAndres Salomon2008-01-171-1/+6
| | | | | | | | The lifebook driver may register a second input device, but it never unregisters it. This fixes that. Signed-off-by: Andres Salomon <dilinger@debian.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: psmouse - fix potential memory leak in psmouse_connect()Andres Salomon2008-01-171-0/+2
| | | | | | | | | | If we successfully call input_register_device() in psmouse_connect() but sysfs_create_group() fails, we'll enter the error path without ever having called input_unregister_device() potentially leaking memory. Signed-off-by: Andres Salomon <dilinger@debian.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: usbtouchscreen - fix buffer overflow, make more egalax workDaniel Ritz2008-01-171-22/+33
| | | | | | | | | | | | | | | | | | | | Fix a buffer overflow in mutli-packet handling code. The overflow can only happen with eGalax devices and is even there very unlikely (only non-report packet are affected any only when truncated after the first byte). Also changes the mutli-packet handling code not to drop unknown packets, but rather just drop one byte. This allows synchronizing on report packets in the data stream. It's required for some egalax devices to work at all. Also remove the pointless 'flags' member of the device struct and set the version number to 0.6, plus some minor cleanups. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: mousedev - handle mice that use absolute coordinatesMicah Parrish2008-01-171-0/+9
| | | | | | | | | | | | | | | | | | | Devices like the HP Integrated Remote Console Virtual Mouse, which are standard equipment on all Proliant and Integrity servers, produce absolute coordinates instead of relative coordinates. This is done to synchronize the position of the mouse cursor on the client desktop with the mouse cursor position on the server. Mousedev is not designed to pass those absolute events directly to X, but it can translate them into relative movements. It currently does this for tablet like devices and touchpads. This patch merely tells it to also include a device with ABS_X, ABS_Y, and mouse buttons in its list of devices to process input for. This patch enables the mouse pointer to move when using the remote console. Signed-off-by: Micah Parrish <micah.parrish@hp.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: improve Kconfig help entries for HP Jornada devicesKristoffer Ericson2008-01-142-11/+9
| | | | | Signed-off-by: Kristoffer Ericson <kristoffer.ericson@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: pass EV_PWR events to event handlersRichard Purdie2008-01-031-0/+4
| | | | | | | | | | input_handle_event() used to pass EV_PWR events to event handlers but no longer does so in 2.6.23. Modules to trigger power management events based on input power events exist but rely on the EV_PWR events being passed to the input event handlers. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: spitzkbd - fix suspend key handlingRichard Purdie2008-01-031-0/+1
| | | | | | | | | | The spitz keyboard driver reports KEY_SUSPEND events but doesn't register its use of this event in the keybit bitfield, breaking input events for this key. This patch fixes that by registering the key in the keybit bitfield. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* gameport: don't export functions that are static inlineIvan Kokshaysky2008-01-031-2/+0
| | | | | | | | This does not make sense and moreover causes build failures on alpha. Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: jornada680_kbd - fix default keymapKristoffer Ericson2007-12-141-20/+20
| | | | | | | | | | | This patch fixes the HP Jornada 6xx keyboard default keymap which had some bad keymap values. This resulted in wrong key being returned when pressed (for example, key 'y' returned 'r'). Also, while we are at it lets arrange the include files in alphabetical order. Signed-off-by: Kristoffer Ericson <kristoffer.ericson@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: Handle EV_PWR type of input caps in input_set_capability.Dmitry Baryshkov2007-12-141-0/+4
| | | | | Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: adds the context menu key (HUT GenDesc 0x84)Aristeu Rozanski2007-11-271-0/+2
| | | | | Signed-off-by: Aristeu Rozanski <aris@ruivo.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: add definitions for frame forward and frame back keysAristeu Rozanski2007-11-271-0/+3
| | | | | Signed-off-by: Aristeu Rozanski <aris@ruivo.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: bf54x-keys - keypad does not exist on BF544 partsMike Frysinger2007-11-271-1/+1
| | | | | | Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: gpio-keys - request and configure GPIOsHerbert Valerio Riedel2007-11-211-10/+28
| | | | | | | | | | | Currently, gpio_keys.c assumes the GPIOs to be already properly configured; this patch changes gpio-keys to perform explicit calls to gpio_request() and gpio_configure_input(). This matches the behaviour of leds-gpio. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: i8042 - add i8042.noloop quirk for MS Virtual MachineJiri Kosina2007-11-211-0/+8
| | | | | | | | | When booting under Microsoft Virtual Machine, the noloop quirk is needed, otherwise PS/2 mouse is not properly detected. Reported-by: Lawrence Steeger <vendor@russte.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Sonypi: use synchronize_irq instead of sycnronize_schedDmitry Torokhov2007-11-211-1/+1
| | | | | | | | | We know exactly what IRQ we are using, so synchronize_irq() suits much better. Plus synchronize_sched() will not work for us in -rt kernels. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Mattia Dongili <malattia@linux.it>
* sonypi: fit input devices into sysfs treeDmitry Torokhov2007-11-211-2/+4
| | | | | | | Properly set up parent on input devices registered by sonypi. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Mattia Dongili <malattia@linux.it>
* sony-laptop: fit input devices into sysfs treeDmitry Torokhov2007-11-211-4/+6
| | | | | | | Properly set up parent on input devices registered by sony-laptop. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Mattia Dongili <malattia@linux.it>
* Input: linux-input mailing list moved to vger.kernel.orgDmitry Torokhov2007-11-021-4/+3
| | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Jiri Kosina <jkosina@suse.cz> Acked-by: Johannes Berg <johannes@sipsolutions.net>
* Input: inport, logibm - use KERN_INFO when reporting missing mouseHelge Deller2007-11-012-2/+2
| | | | | | | | | | | | Many mouse drivers are often compiled (e.g. in Linux distributions) into the kernel at the same time just to make sure that at least one driver will suceed in find it's mouse device. Nevertheless, only the inport and logitech busmouse mouse drivers report with KERN_ERR log level if the mouse wasn't found. They should use KERN_INFO instead, because it's not an error if the mouse isn't attached at all. Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: appletouch - idle reset logic broke older FountainsDmitry Torokhov2007-11-011-48/+77
| | | | | | | | | | | | | | Fountains do not support change mode request and therefore should be excluded from idle reset attempts. Also: - do not re-submit URB when we decide that touchpad needs to be reinicialized - do not repeat size detection when reinitializing the touchpad - Add missing KERN_* prefixes to messages Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Johannes Berg <johannes@sipsolutions.net>
* Input: hp_sdc.c - fix section mismatchAdrian Bunk2007-10-271-4/+0
| | | | | | | | hp_sdc_exit() mustn't be __exit since it's called from the __init hp_sdc_register(). Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: appletouch - add Johannes Berg as maintainerJohannes Berg2007-10-271-0/+6
| | | | | | | | | After the last patch that broke appletouch for powerbooks again I'd like to take over maintainership of this driver to make sure it doesn't break again in the future. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: Add Euro and Dollar key codesCarlos Corbacho2007-10-271-0/+3
| | | | | | | | | Most newer Acer laptops (from 2005 onwards) now ship with an extra Dollar and Euro key either side of the 'Up' arrow. These cannot be mapped in the traditional way, since they are not combination keys. Signed-off-by: Carlos Corbacho <cathectic@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: xpad - add more USB IDsJoshua J Bowman2007-10-271-0/+2
| | | | | | | | Add USB IDs of Mad Catz Wired Xbox 360 Controller and Pelican 'TSZ' Wired Xbox 360 Controller. Signed-off-by: Joshua J Bowman <bowmanj@augsburg.edu> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
OpenPOWER on IntegriCloud