summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Input: add support for SEGA Dreamcast keyboardAdrian McMenamin2007-10-123-0/+263
| | | | | | Signed-off by: Adrian McMenamin <adrian@mcmen.demon.co.uk> Acked-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: omap-keyboard - don't pretend we support changing keymapDmitry Torokhov2007-10-121-13/+9
| | | | | | | | | | The driver's keymap is a mix of hardware codes and keycodes and so may not be used with default implementations of getkeycode() and setkeycode(). Also some whitespace cleanup. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: lifebook - fix X and Y axis rangeDmitry Torokhov2007-10-121-1/+1
| | | | | | | Possible range when using 6-byte protocol is 4096 and 1024 for 3-byte protocol. We had it reversed. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: usbtouchscreen - add support for GeneralTouch devicesIlya Frolov2007-10-122-0/+36
| | | | | Signed-off-by: Ilya Frolov <zeylie@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: fix open count handling in input interfacesOliver Neukum2007-10-124-4/+16
| | | | | | | | If input_open_device() fails we should not leave interfaces marked as opened. Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: keyboard - add CapsShift lockSamuel Thibault2007-10-111-1/+3
| | | | | | | | | There exists a CapsShift lock called KG_CAPSSHIFT, but no associated lock/slock, here is a patch which adds CapsShift lock and slock. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: adbhid - produce all CapsLock key eventsAndrew McNabb2007-10-111-9/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The ADB keyboard, which is used for Apple PowerBooks, has strange behavior with regard to the capslock key. It keeps track of capslock state internally, and it sends a keycode when capslock is engaged and a keycode when capslock is disengaged. When the current adbhid driver sees that the capslock key is pressed or released, it creates both a keypress event and a keyrelease event simultaneously. This results in normal capslock behavior. While this works, it makes it impossible to remap the capslock key to be a control key. However, by translating the 0xff keycode into capslock keycodes, we can restore the missing capslock events and make it possible to remap the capslock key. With this patch, the adbhid driver will translate these 0xff keycodes into capslock keypresses and keyreleases if /sys/module/adbhid/parameters/restore_capslock_events is set to 1. Otherwise it will retain the current behavior. This option is off by default because occasionally the 0xff keycode is not a capslock event, and a mistake may require the user to tap the capslock key. [akpm@linux-foundation.org: cleanups] Signed-off-by: Andrew McNabb <amcnabb@mcnabbs.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: ALPS - add signature for ThinkPad R61Dmitry Torokhov2007-10-111-0/+1
| | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: jornada720_kbd - send MSC_SCAN eventsDmitry Torokhov2007-10-111-4/+8
| | | | | | | Send MSC_SCAN events to userspace to ease task of adjusting keymap. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: add support for the HP Jornada 7xx (710/720/728) touchscreenKristoffer Ericson2007-09-263-0/+193
| | | | | Signed-off-by: Kristoffer Ericson <Kristoffer.Ericson@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: add support for HP Jornada 7xx onboard keyboardKristoffer Ericson2007-09-263-0/+192
| | | | | | | The driver supports onboard keyboards of HP Jornada 710/720/728 Signed-off-by: Kristoffer Ericson <kristoffer.ericson@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: add support for HP Jornada onboard keyboard (HP6XX)Kristoffer Ericson2007-09-263-0/+289
| | | | | Signed-off-by: Kristoffer Ericson <kristoffer.ericson@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: ucb1400_ts - use schedule_timeout_uninterruptibleRene Herman2007-09-261-2/+1
| | | | | | | | | Given that the code is not checking for signals it should use uninterruptible sleep. Signed-off-by: Rene Herman <rene.herman@gmail.com> Acked-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: xpad - fix dependancy on LEDS classDmitry Torokhov2007-09-261-1/+1
| | | | | | The driver can not be built-in when LEDS class is a module. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: auto-select INPUT for MAC_EMUMOUSEBTN optionAndreas Herrmann2007-09-261-0/+1
| | | | | | | | | | | | Otherwise we'll ge the following build error: LD .tmp_vmlinux1 drivers/built-in.o: In function `input_report_key': include/linux/input.h:1158: undefined reference to `input_event' ... Signed-off-by: Andreas Herrmann <aherrman@arcor.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* HWMON: ams - convert to use input-polldevDmitry Torokhov2007-09-263-47/+35
| | | | | | | | Switch to using input-polldev skeleton instead of implementing polling loop by itself. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Michael Hanselmann <linux-kernel@hansmi.ch>
* HWMON: applesmc - convert to use input-polldevDmitry Torokhov2007-09-262-53/+31
| | | | | | | Switch to using input-polldev skeleton instead of implementing polling loop by itself. This also fixes problem with trylock on a mutex in atomic context. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: polled device power savingStephen Hemminger2007-09-261-2/+5
| | | | | | | For slow running polling, it saves power to align wakeups on tick boundary. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: gpio-keys - add suspend/resume supportAnti Sullin2007-09-262-0/+53
| | | | | | | | This patch adds suspend/resume support and enables wakeup from gpio_keys buttons. Signed-off-by: Anti Sullin <anti.sullin@artecdesign.ee> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: gpio_keys - verify that supplied GPIO numbers are validAnti Sullin2007-09-261-7/+22
| | | | | | | | | | | | As David Brownell pointed out, gpio_keys driver does not check return code of gpio_to_irq(). This patch adds the gpio_to_irq return code check to gpio_keys and moves the IRQ edge type setting to request_irq flags to avoid changing the irq type before we have confirmed we can use it. Signed-off-by: Anti Sullin <anti.sullin@artecdesign.ee> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: usbtouchscreen - support DMC devices with empty EEPROMDaniel Ritz2007-09-101-1/+2
| | | | | | | | | A reply of 0x0600 means all OK, 0x1501 means OK, but EEPROM empty. The behavior with an empty EEPROM is the same as without one at all so do not fail loading the driver. Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: lifebook - add signature of Panasonic CF-72Dmitry Torokhov2007-09-051-0/+8
| | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: ALPS - add support for model found in Dell Vostro 1400William Pettersson2007-09-051-0/+1
| | | | | Signed-off-by: William Pettersson <william.pettersson@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: iforce - de-dosify iforce-protocol.txtAndrew Morton2007-09-041-254/+254
| | | | | | | This file used DOS line endings. Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: remove ec3104_keyb driverDmitry Torokhov2007-09-041-457/+0
| | | | | | | Now that ec3104 board support has been removed nothing references this driver so it can be safely removed as well. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: usbtouchscreen - add support for IdealTEK URTC1000Ondrej Zary2007-09-042-1/+64
| | | | | | | | | | | | This patch adds support for IdealTEK URTC1000 touchscreen controllers. Documentation can be downloaded at: http://projects.tbmn.org/cgi-bin/trac.cgi/wiki/urtc-1000 Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: psmouse - reset harder during probeAlon Ziv2007-08-301-2/+3
| | | | | | | | Some rodents appear to be extra-finicky, and require both PSMOUSE_RESET_DIS and PSMOUSE_RESET_BAT before they are unconfused enough to be probed. Signed-off-by: Alon Ziv <lkml@nolaviz.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: tsdev - implement proper lockingDmitry Torokhov2007-08-301-112/+276
| | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: joydev - implement proper lockingDmitry Torokhov2007-08-301-251/+492
| | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: mousedev - implement proper lockingDmitry Torokhov2007-08-301-272/+470
| | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: evdev - implement proper lockingDmitry Torokhov2007-08-301-240/+473
| | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: implement proper locking in input coreDmitry Torokhov2007-08-302-183/+595
| | | | | | Also add some kerneldoc documentation to input.h Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: mark some functions __must_checkDmitry Torokhov2007-07-181-2/+2
| | | | | | | | Mark input_register_device() and input_register_handler() functions as __must_check so authors of new drivers add error handling right away. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: i8042 - restore control register when enabling port failsMarkus Armbruster2007-07-181-0/+4
| | | | | | | | | | When enabling interrupts for a port fails, the interrupt enable and port enable bits remain set in i8042_ctr. Later writes of i8042_ctr to the hardware could accidentally retry enabling interrupts. Clear the bits on failure. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: xpad - use le16_to_cpup when parsing data streamDmitry Torokhov2007-07-181-19/+36
| | | | | | Use avaliable functions instead of doing it all manually. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: document intended meaning of KEY_SWITCHVIDEOMODEDmitry Torokhov2007-07-181-1/+2
| | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: switch to using seq_list_xxx helpersPavel Emelianov2007-07-181-25/+4
| | | | | | | | | | This is essentially just a renaming of the existing functions as copies of seq_list_start() and seq_list_next() already existed in the input.c. Signed-off-by: Pavel Emelianov <xemul@openvz.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: i8042 - give more trust to PNP data on i386Dmitry Torokhov2007-07-181-7/+29
| | | | | | | | | | | | On some boxes that don't have PS/2 mice connected at startup BIOS completely disables AUX port and attempts to access it result in hosed keyboard. Historically we do not trust ACPI/PNP data on i386 and try to poke AUX port even if we did not find an active PNP node for it. However in cases when BIOS writers got KBD port properly described we can assume that they did the right thing for AUX port as well. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: add driver for Fujitsu serial touchscreensDmitry Torokhov2007-07-184-0/+204
| | | | | | | | | | | | | | These serial touchscreens are found on some Fujitsu lifebook P-series laptops, and the B6210. Using this requires a new version of inputattach and doing: inputattach -fjt /dev/ttyS0 Big thanks to Stephen Hemminger for testing it and making it work on his B6210 laptop. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: ads7846 - re-check pendown status before reporting eventsSemih Hazar2007-07-182-0/+21
| | | | | | | | | | | | | | Pendown status from the PENIRQ pin is currently read only at the beginning of a sample set. If the pen is lifted just after sampling has began then sampled values become wrong. This patch adds an optional platform penirq_recheck_delay attribute. If non-zero, samples are only reported to the input subsystem if PENIRQ is still active that long after the samples taken. Signed-off-by: Semih Hazar <semih.hazar@indefia.com> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: ads7846 - introduce sample settling delaySemih Hazar2007-07-182-1/+72
| | | | | | | | | | | | | | | The ads7846 driver has support for filtering, but when the chip gets deselected between samples this causes noise. This patch adds support for an optional settling delay time, so that two consecutive samples will be taken with the specified delay time apart. This ensures that the chip won't be deselected, so the noise won't appear. Filtering can still be done, but will have less work to do since each time a new sample is taken the same delay applies. Signed-off-by: Semih Hazar <semih.hazar@indefia.com> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* Input: xpad - add support for leds on xbox 360 padJan Kratochvil2007-07-182-42/+155
| | | | | | | | | | | | | | | | | | Export LEDs on Xbox360 pad via led subsystem as a single device in /sys/class/leds/xpad[0-9]+. Xbox360 pad has four leds, which form a circle. Unfortunately the leds can't be controlled independently and can only display a predefined set of patterns (for example one is turned on wile others are off or a rotating pattern - 1-2-3-4). To activate a pattern one needs to send a specific command to the device (see http://www.free60.org/wiki/Gamepad). Led subsystem allows us to set brightness, but there is nothing like brightness on this device. So brightness is actually interpreted as the command (only values between 0 and 14 are accepted). Signed-off-by: Jan Kratochvil <honza@jikos.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* slob: Kill off duplicate kzalloc() definition.Paul Mundt2007-07-171-10/+0
| | | | | | | | | | With the slab zeroing allocations cleanups Christoph stubbed in a generic kzalloc(), which was missed on SLOB. Follow the SLAB/SLUB changes and kill off the __kzalloc() wrapper that SLOB was using. Reported-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* Revert drivers/ide/ide.c scsi_cmd_ioctl() usage changesLinus Torvalds2007-07-171-5/+5
| | | | | | | | | | | | | The old IDE driver is not ready to take generic SCSI commands, even if it uses them for some specific issues (ie the tray open/close ioctls for IDE CD-ROM's). Pointed out by Bartlomiej. I'm sure we'll have it fixed properly soon enough, but for now we should not allow it to cause problems. Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Cc: Jens Axboe <jens.axboe@oracle.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* Make the "z/VM unit record device driver" depend on S390Linus Torvalds2007-07-171-0/+1
| | | | | | I really don't see anybody else wanting to select it ;) Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6Linus Torvalds2007-07-1711-145/+1126
|\ | | | | | | | | | | | | | | | | | | | | | | * 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6: [S390] Fix broken logic, SIGA flags must be bitwise ORed [S390] cio: Dont print trailing \0 in modalias_show(). [S390] Simplify stack trace. [S390] z/VM unit record device driver [S390] vmcp cleanup [S390] qdio: output queue stall on FCP and network devices [S390] Fix disassembly of RX_URRD, SI_URD & PC-relative instructions. [S390] Update default configuration.
| * [S390] Fix broken logic, SIGA flags must be bitwise ORedJan Glauber2007-07-171-6/+6
| | | | | | | | | | Signed-off-by: Jan Glauber <jan.glauber@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
| * [S390] cio: Dont print trailing \0 in modalias_show().Cornelia Huck2007-07-171-1/+1
| | | | | | | | | | Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
| * [S390] Simplify stack trace.Heiko Carstens2007-07-171-15/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | sparse gives us a few of these: stacktrace.c:69:38: warning: incorrect type in argument 2 (different signedness) stacktrace.c:69:38: expected unsigned int *skip Just get rid of the 'skip' argument since it is contained in the struct stack_trace that gets passed anyway. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
| * [S390] z/VM unit record device driverFrank Munzert2007-07-175-0/+1018
| | | | | | | | | | | | | | | | z/VM Unit record character device driver to access VM reader, punch, and printer. Signed-off-by: Frank Munzert <munzert@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
OpenPOWER on IntegriCloud