- May 13, 2010
-
-
Dmitry Torokhov authored
Synaptics hardware requires resetting device after suspend to ram in order for the device to be operational. The reset lives in synaptics-specific reconnect handler, but it is not being invoked if synaptics support is disabled and the device is handled as a standard PS/2 device (bare or IntelliMouse protocol). Let's add reset into generic reconnect handler as well. Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Dmitry Torokhov authored
Apparently all 3 bytes returned by ETP_FW_VERSION_QUERY are significant and should be taken into account when matching hardware version/features. Tested-by:
Eric Piel <eric.piel@tremplin-utc.net> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- May 11, 2010
-
-
Marek Vasut authored
USB ID entry for "Guillemot Jet Leader 3D" in iforce-main.c did not match one used in iforce-usb.c Signed-off-by:
Marek Vasut <marek.vasut@gmail.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Marek Vasut authored
This device features a RUDDER on the knob. Signed-off-by:
Marek Vasut <marek.vasut@gmail.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- May 04, 2010
-
-
Christoph Fritz authored
Dance pads don't have an axis, so allow this kind of controllers to be used via legacy joystick interface. Signed-off-by:
Christoph Fritz <chf.fritz@googlemail.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Florian Ragwitz authored
In older versions of the elantech hardware/firmware those bits always were unset, so it didn't actually matter, but newer versions seem to use those high bits for something else, screwing up the coordinates we report to the input layer for those devices. Signed-off-by:
Florian Ragwitz <rafl@debian.org> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Florian Ragwitz authored
Apparently hardware vendors now ship elantech touchpads with different version magic. This options allows for them to be tested easier with the current driver in order to add their magic to the whitelist later. Signed-off-by:
Florian Ragwitz <rafl@debian.org> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Florian Ragwitz authored
The check determining whether device should use 4- or 6-byte packets was trying to compare firmware with 2.48, but was failing on majors greater than 2. The new check ensures that versions like 4.1 are checked properly. Signed-off-by:
Florian Ragwitz <rafl@debian.org> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Jarod Wilson authored
The (out-of-tree) lirc_atiusb driver has a much longer list of devices it supports. Some of them look like they may just be guesses at possible device IDs, but a few are definitely confirmed devices. This adds the nVidia-branded RF receiver and the X10 Lola Wireless Video Sender device (which contains an RF receiver) to the list of devices in ati_remote. Signed-off-by:
Jarod Wilson <jarod@redhat.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- Apr 20, 2010
-
-
Daniel Mack authored
This fixes a race between the suspend code and input events. Signed-off-by:
Daniel Mack <daniel@caiaq.de> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Takashi Iwai authored
The new type of touchpads can be detected via a new query command 0x0c. The clickpad flags are in cap[0]:4 and cap[1]:0 bits. When the device is detected, the driver now reports only the left button as the supported buttons so that X11 driver can detect that the device is Clickpad. A Clickpad device gives the button events only as the middle button. The kernel driver morphs to the left button. The real handling of Clickpad is done rather in X driver side. Signed-off-by:
Takashi Iwai <tiwai@suse.de> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Dmitry Torokhov authored
This reverts commit 5e28d8eb since the magic knock does not work for this model of the touchpad and the device stays in PS/2 compatibility mode.
-
- Apr 19, 2010
-
-
Dmitry Torokhov authored
Observing behavior of the other OS it appears that parity errors reported by the keyboard controller are being ignored and the data is processed as usual. Let's do the same for standard PS/2 protocols (bare, Intellimouse and Intellimouse Explorer) to provide better compatibility. Thsi should fix teh following bug: https://bugzilla.kernel.org/show_bug.cgi?id=6105 Thanks for Damjan Jovanovic for locating the source of issue and ideas for the patch. Tested-by:
Damjan Jovanovic <damjan.jov@gmail.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- Apr 16, 2010
-
-
Ping Cheng authored
When Wacom devices wake up from a sleep, the switch mode command (wacom_query_tablet_data) is needed before wacom_open is called. wacom_query_tablet_data should not be executed inside wacom_open since wacom_open is called more than once during probe. wacom_retrieve_hid_descriptor is removed from wacom_resume due to the fact that the required descriptors are stored properly upon system resume. Reported-and-tested-by:
Anton Anikin <Anton@Anikin.name> Signed-off-by:
Ping Cheng <pingc@wacom.com> Cc: stable@kernel.org Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- Apr 14, 2010
-
-
Dmitry Torokhov authored
This reverts commit 776943fd as it causes issues with ISDv4 E3 touchscreens: https://bugzilla.kernel.org/show_bug.cgi?id=15670 Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- Apr 06, 2010
-
-
H Hartley Sweeten authored
In an embedded system the matrix_keypad driver might be used to interface with an external control panel and not an actual keyboard. On the control panel some of the keys could be used to turn on/off various functions. If key autorepeat is enabled this causes the function to quickly toggle between the on and off states and makes operation difficult. Add an option in the platform-specific data to disable the key autorepeat. Signed-off-by:
H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Chase Douglas authored
Tested by a user running Ubuntu 9.10 in the following bug report. BugLink: http://bugs.launchpad.net/bugs/545307 Signed-off-by:
Chase Douglas <chase.douglas@canonical.com> Cc: stable@kernel.org Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Dominik Brodowski authored
Signed-off-by:
Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- Mar 22, 2010
-
-
Dmitry Torokhov authored
Allow calling sparse_keymap_free() before unregistering input device whithout risk of racing with EVIOCGETKEYCODE and EVIOCSETKEYCODE. This makes life of drivers writers easier. Acked-by:
Yong Wang <yong.y.wang@intel.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Henrik Rydberg authored
The Multitouch X driver project has moved to alpha status. This patch updates the documentation accordingly. Signed-off-by:
Henrik Rydberg <rydberg@euromail.se> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Henrik Rydberg authored
The current documentation does not explicitly specify how to report zero fingers, leaving a potential problem in the driver implementations and giving no parsing directive to userland. This patch defines two equally valid ways. Signed-off-by:
Henrik Rydberg <rydberg@euromail.se> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- Mar 20, 2010
-
-
Henrik Rydberg authored
With the recent system-wide improvements on suspend/resume and EFI booting the suspend_resume method of the bcm5974 has broken. When waking up from the S3 state on the MacBookAir, the trackpad is found in a yet unknown state, unable to switch to the proper multitouch mode. The result is a frozen touchpad, and a flood of errors of the kind bcm5974: bad trackpad package, length: 8. This patch retracts the reset_resume method altogether, falling back on the generic unbind/rebind functionality of the usb layer until further investigations can be made as how to reset the device when booting from efi. Signed-off-by:
Henrik Rydberg <rydberg@euromail.se> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Yong Wang authored
'map' is allocated in sparse_keymap_setup() and it it the one that should be freed on error instead of 'keymap'. Signed-off-by:
Yong Wang <yong.y.wang@intel.com> Cc: stable@kernel.org Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- Mar 14, 2010
-
-
Christoph Fritz authored
ALDI/MEDION netbook E1222 needs to be in the reset quirk list for its touchpad's proper function. Reported-by:
Michael Fischer <mifi@gmx.de> Signed-off-by:
Christoph Fritz <chf.fritz@googlemail.com> Cc: stable@kernel.org Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Martin Buck authored
Enable button release event redirection to the device that got the button press not only for touchpads with interleaved protocols, but unconditionally for all Alps touchpads. This is required at least for the touchpads in Dell Inspiron 8200 and Latitude d630. Signed-off-by:
Martin Buck <mb-tmp-yvahk-vachg@gromit.dyndns.org> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- Mar 11, 2010
-
-
Mark Brown authored
Now that the WM831x core has been converted to use genirq for the interrupt controller there is no need for the client drivers to use a WM831x-specific API rather than just calling genirq directly. Also fixes a leak of the IRQ during init failure - the error path free_irq() was using NULL rather than the driver data as the data pointer so free_irq() wouldn't have matched. Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Ranjith Lohithakshan authored
Add wakeup support to the ads7846 driver. Platforms can enable wakeup capability by setting the wakeup flag in ads7846_platform_data. With this patch the ads7846 driver can be used to wake the system from suspend. Signed-off-by:
Ranjith Lohithakshan <ranjithl@ti.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Vadim Zaliva authored
When reading data from Geyser 2 touchpads used on post Oct 2005 Apple PowerBooks the driver was casting X and Y coordinates values to 'signed char'. Testing on one of such PowerBooks I have noticed that touchpad always generates positive values, but some of them are greater that 127, and thus, when cast to 'signed char' being interpreted as a negative. Such bigger values have been observed infrequently, closer to the edges of a touchpad, so the problem was not very visible. Nevertheless, the patch would potentially improve touchpad driver accuracy. Signed-off-by:
Vadim Zaliva <lord@crocodile.org> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- Mar 10, 2010
-
-
Michael Hennerich authored
The time interval between consecutive interrupts depends on a number of tunables: first_conversion_delay, acquisition_time, averaging and foremost the pen_down_acc_interval. Since the mod_timer() action for the PEN UP event happens in the spi_async() callback function, latencies incurred by the spi bus drivers also need to be taken into account. So all in all, give the PEN UP event a bit more wiggle room and increase timeout to 100ms. Signed-off-by:
Michael Hennerich <michael.hennerich@analog.com> Signed-off-by:
Mike Frysinger <vapier@gentoo.org> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Michael Hennerich authored
The AD7873 is almost identical to the ADS7846; the only difference is related to the Power Management bits PD0 and PD1. This results in a slightly different PENIRQ enable behavior. For the AD7873, VREF should be turned off during differential measurements. So, add the AD7873/43 to the list of driver supported devices, and prevent VREF usage during differential/ratiometric conversion modes. Signed-off-by:
Michael Hennerich <michael.hennerich@analog.com> Signed-off-by:
Mike Frysinger <vapier@gentoo.org> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Mike Frysinger authored
We need to use the nosync version of disable_irq so that we don't hang in the IRQ handler as we don't ACK the interrupt until later. This used to work regardless, but at some point, the IRQ behavior changed. Not sure when exactly. Signed-off-by:
Mike Frysinger <vapier@gentoo.org> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Thomas Bächler authored
Signed-off-by:
Thomas Bächler <thomas@archlinux.org> Cc: stable@kernel.org Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Arnd Bergmann authored
Holding the BKL in input_open_file seems pointless because it does not protect against updates of input_table, and all open functions from the underlying drivers have proper mutex locking. This makes input_open_file take the input_mutex when accessing the table and no lock when calling into the lower function. Signed-off-by:
Arnd Bergmann <arnd@arndb.de> Acked-by:
Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Thadeu Lima de Souza Cascardo authored
serio_raw open function already uses a mutex. Also change formatting a bit. Signed-off-by:
Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com> Acked-by:
Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Thadeu Lima de Souza Cascardo authored
There's no need for BKL in mousedev, relevan protection is provided by a private mutex. Signed-off-by:
Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com> Acked-by:
Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- Mar 09, 2010
-
-
Jari Vanhala authored
TWL4030 Vibrator implemented via Force Feedback interface. This uses MFD TWL4030 codec and own dynamic workqueue. Signed-off-by:
Jari Vanhala <ext-jari.vanhala@nokia.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Alan Stern authored
This patch (as1355) enables remote wakeup by default on PNP i8042 keyboard ports. Signed-off-by:
Alan Stern <stern@rowland.harvard.edu> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Dmitry Torokhov authored
The HID layer has some scan codes of the form 0xffbc0000 for logitech devices which do not work if scancode is typed as signed int, so we need to switch to unsigned it instead. While at it keycode being signed does not make much sense either. Acked-by:
Márton Németh <nm127@freemail.hu> Acked-by:
Matthew Garrett <mjg@redhat.com> Acked-by:
Jiri Kosina <jkosina@suse.cz> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Dmitry Torokhov authored
Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Dmitry Torokhov authored
-