- 25 11月, 2008 1 次提交
-
-
由 Jaya Kumar 提交于
The Wacom W8001 sensor is a sensor device (uses electromagnetic resonance) and it is interfaced via its serial microcontroller to the host. Signed-off-by: NJaya Kumar <jayakumar.lkml@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 21 11月, 2008 1 次提交
-
-
由 Peter Hutterer 提交于
According to Section 2.4.4 of the Synaptics TouchPad Interfacing Guide, bit 2 specifies if multi-finger detection is provided by the touchpad. Thus, only set BTN_TOOL_DOUBLETAP and BTN_TOOL_TRIPLETAP if the device actually supports it. Signed-off-by: NPeter Hutterer <peter.hutterer@redhat.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 20 11月, 2008 3 次提交
-
-
由 Peter Popovec 提交于
Signed-off-by: NPeter Popovec <popovec@fei.tuke.sk> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Zoltan Devai 提交于
There've been reports [1] about the sysem bell causing a hard lockup. My machine was affected as well: any speaker output hung the machine completely, nothing in the logs, no magic sysrq, etc., looked like a hardware problem. Had a closer look on the issue, and it turned out that the pcspkr module is responsible. The cause is the bad setup of Timer 2 in the i8253 controller, which probably hangs the whole PIT controller. Intel datasheets [2] state that the timer registers are in an undefined state after reset and they need to be programmed before enabling the timer. (And enabling without programming the frequency first doesn't make sense anyway). I don't know which chipsets are affected (if not all), it also depends on the BIOS whether it initializes the timer (e.g. to beep when you start the machine). The following patch solved the issue on my ICH6 notebook, couldn't test it with any others, but should be safe to apply. [1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/146151 https://bugs.launchpad.net/ubuntu/+bug/270790 http://ubuntuforums.org/showthread.php?t=227693 http://bugs.gentoo.org/show_bug.cgi?id=222583 https://bugzilla.redhat.com/show_bug.cgi?id=454225 [2] http://www.intel.com/assets/pdf/datasheet/252516.pdf http://www.intel.com/assets/pdf/datasheet/301473.pdf http://www.intel.com/design/chipsets/datashts/29065503.pdfSigned-off-by: NZoltan Devai <zdevai@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Nuno Lucas 提交于
The usbtouchscreen module implements a driver for the TSC-10 DM USB touchscreen controllers, but assumes a 2-byte response for the CMD_RESET and CMD_RATE commands, when they can be only a single byte when no EEPROM is connected. The driver worked with an earlier controller revision, but new revisions of the controller fail. It seems the problem is that the early controller had the SEL4/EEPROM-CS pin high, but the new controller has it down, making the response different. Without the fix, the controller would answer the single byte 0x06 (ACK), making the init fail with -ENODEV because buf[1] is 0xFF (as initialized before). As the single byte is the only thing we need to check it was ok, there is no need to verify the second byte. The [0x15 0x01] case is the NAK [0x15] response for when there is no data in the EEPROM [bit-0 of second byte set], so I let that be, as I don't have any controller with an EEPROM. With this patch, both the earlier and latest controller work the same. Note: This was previously submited as BUG #11961 [1] on the bugzilla tracker, but rebased to version 2.6.27.4 and with unnecessary comments and printk's removed. [1] http://bugzilla.kernel.org/show_bug.cgi?id=11961Signed-off-by: NNuno Lucas <ntlucas@gmail.com> Acked-by: NDaniel Ritz <daniel.ritz@gmx.ch> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 30 10月, 2008 1 次提交
-
-
由 Kay Sievers 提交于
Acked-by: NGreg Kroah-Hartman <gregkh@suse.de> Signed-off-by: NKay Sievers <kay.sievers@vrfy.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 29 10月, 2008 3 次提交
-
-
由 Peter Ujfalusi 提交于
There is no reason to limit the GPIO rows to 6 for OMAP2. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@nokia.com> Signed-off-by: NTony Lindgren <tony@atomide.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Peter Ujfalusi 提交于
The GPIO interrupts are disabled several times after the first key press. No need to disable - again - the interrupts in the omap_kp_scan_keypad function on OMAP2. Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@nokia.com> Signed-off-by: NTony Lindgren <tony@atomide.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Stelian Pop 提交于
The appletouch driver has grown up from supporting only a couple of touchpads into supporting many touchpads, which can have different number of sensors, different aspect ratios etc. This patch cleans up the current driver code and makes it easy to support the features of each different touchpad. As a side effect, this patch also modifies the 'Y' multiplication factor of the 'geyser3' and 'geyser4' touchpads (found on Core Duo and Core2 Duo MacBook and MacBook Pro laptops) in order to make the touchpad output match the aspect ratio of the touchpad (Y factor changed from 43 to 64). [dtor@mail.ru: make atp_info constant] Signed-off-by: NStelian Pop <stelian@popies.net> Acked-by: NJohannes Berg <johannes@sipsolutions.net> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 28 10月, 2008 4 次提交
-
-
由 Dominic Curran 提交于
This patch adds a flag to gpio-key driver to turn on the input subsystems auto repeat feature if needed. Signed-off-by: NDominic Curran <dcurran@ti.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 John Linn 提交于
Review comments were incorporated to improve the driver. 1. Some data was eliminated that was not needed. 2. Renaming of variables for clarity. 3. Removed unneeded type casting. 4. Changed to use dev_err rather than other I/O. 5. Merged together some functions. 6. Added kerneldoc format to functions. Signed-off-by: NSadanand <sadanan@xilinx.com> Signed-off-by: NJohn Linn <john.linn@xilinx.com> Acked-by: NPeter Korsgaard <jacmet@sunsite.dk> Acked-by: NGrant Likely <grant.likely@secretlab.ca> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Philip Langdale 提交于
Currently, evdev has working 32bit compatibility and uinput does not. uinput needs the input_event code that evdev uses, so let's refactor it so it can be shared. [dtor@mail.ru: add fix for force feedback compat issues] Signed-off-by: NPhilip Langdale <philipl@overt.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitri Vorobiev 提交于
The SGI Volume Button interface driver uses GPL-only symbols platform_driver_unregister and platform_driver_register, but lacks license specification. Thus, when compiled as a module, this driver cannot be installed. This patch fixes this by adding the MODULE_LICENSE() specification. Signed-off-by: NDmitri Vorobiev <dmitri.vorobiev@movial.fi> Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
-
- 21 10月, 2008 1 次提交
-
-
由 Eric Miao 提交于
Separate building of corgi_ssp.c, and introduce a new hidden config option CONFIG_CORGI_SSP_DEPRECATED for this. Aslo mark corgi_ts.c and corgi_bl.c as deprecated. This unbreaks the legacy configs in {corgi,spitz}_defconfig, however, SPI based ADS7846 touchscreen driver and a new SPI-based corgi_lcd.c driver with integrated backlight support are recommended. Signed-off-by: NEric Miao <eric.miao@marvell.com>
-
- 20 10月, 2008 2 次提交
-
-
由 Paul Mundt 提交于
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
-
由 Andrew Morton 提交于
Cc: "Randy.Dunlap" <rdunlap@xenotime.net> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Signed-off-by: NSamuel Ortiz <sameo@openedhand.com> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
-
- 18 10月, 2008 2 次提交
-
-
由 Greg Kroah-Hartman 提交于
USB should not be having it's own printk macros, so remove info() and use the system-wide standard of dev_info() wherever possible. Acked-by: NDmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Greg Kroah-Hartman 提交于
USB should not be having it's own printk macros, so remove warn() and use the system-wide standard of dev_warn() wherever possible. In the few places that will not work out, use a basic printk(). Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
- 17 10月, 2008 4 次提交
-
-
由 Arjan Opmeer 提交于
This is version 5 of the driver. Relative mode support has been dropped (users wishing to use touchpad in relative mode can use standard PS/2 protocol emulation done in hardware). The driver supports both original version of Elantech protocol and the newer one used by touchpads installed in EeePC. Signed-off-by: NArjan Opmeer <arjan@opmeer.net> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Stefan Bader 提交于
Signed-off-by: NStefan Bader <stefan.bader@canonical.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 David Brownell 提交于
This updates most of the OMAP drivers which are in mainline to switch to using the cross-platform GPIO calls instead of the older OMAP-specific ones. This is all fairly brainless/obvious stuff. Probably the most interesting bit is to observe that the omap-keypad code seems to now have a portable core that could work with non-OMAP matrix keypads. (That would improve with hardware IRQ debouncing enabled, of course...) Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net> Signed-off-by: NTony Lindgren <tony@atomide.com> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: Antonino Daplas <adaplas@gmail.com> Cc: David Woodhouse <dwmw2@infradead.org> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
-
由 Harvey Harrison 提交于
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
-
- 15 10月, 2008 1 次提交
-
-
由 Geert Uytterhoeven 提交于
Kill compiler warnings related to printf() formats in the input drivers for various HP9000 machines, which are shared between PA-RISC (suseconds_t is int) and m68k (suseconds_t is long). As both are 32-bit, it's safe to cast to int. Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org> Acked-by: NHelge Deller <deller@gmx.de> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
-
- 14 10月, 2008 2 次提交
-
-
由 Liam Girdwood 提交于
This updates the email address for Liam Girdwood as my old address is no longer valid. Signed-off-by: NLiam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Colin B Macdonald 提交于
Thinkpad R31 needs i8042 nomux quirk. Stops jittery jumping mouse and random keyboard input. Fixes kernel bug #11723. Cherry picked from Ubuntu who have sometimes (on-again-off-again) had a fix in their patched kernels. Signed-off-by: NColin B Macdonald <cbm@m.fsf.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 11 10月, 2008 1 次提交
-
-
由 Atsushi Nemoto 提交于
The map_to_7segment.h provides generic 7segment LED mappings and is designed to be used by other drivers. Moving it to common area will make it more usable. Also exporting it to userspace will help users of sysfs interface. Signed-off-by: NAtsushi Nemoto <anemo@mba.ocn.ne.jp> Acked-by: NHenk Vergonet <henk.vergonet@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 09 10月, 2008 2 次提交
-
-
由 Dmitry Torokhov 提交于
We had a report a while back that the ads7846 driver had some issues when used with DMA-based SPI controllers (like atmel_spi) on systems where main memory is not DMA-coherent (most non-x86 boards). Allocate memory potentially used for DMA separately to avoid cache line issues. Reported-by: NDavid Brownell <dbrownell@users.sourceforge.net> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Daniel Gimpelevich 提交于
Recent conversion from err(), warn(), info() to dev_* variants caused loss of newlines at the end of messages, add them back. Signed-off-by: NDaniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 25 9月, 2008 1 次提交
-
-
由 Russell King 提交于
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
-
- 23 9月, 2008 1 次提交
-
-
由 Kumar Gala 提交于
Now that arch/ppc is dead CONFIG_PPC_MERGE is always defined for all powerpc platforms and we want to get rid of CONFIG_PPC_MERGE use CONFIG_PPC instead. Signed-off-by: NKumar Gala <galak@kernel.crashing.org> Acked-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
- 22 9月, 2008 4 次提交
-
-
由 Andres Salomon 提交于
This adds support for OLPC's touchpad. It has lots of neat features, none of which are enabled because the hardware is too buggy. Instead, we use it like a normal touchpad, but with a number of workarounds in place to deal with the frequent hardware spasms. Humidity changes, sweat, tinfoil underwear, plugging in AC, drinks, evil felines.. All tend to cause the touchpad to freak out. Signed-off-by: NAndres Salomon <dilinger@debian.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Andres Salomon 提交于
We want to support attr->set callbacks that may need psmouse->state to not be updated, or may want to manually deal w/ enabling and disabling the device. To do that, we create __PSMOUSE_DEFINE_ATTR which enables us to set a 'protect' argument specifying whether or not the set callback should be protected with psmouse_disable and state setting. Signed-off-by: NAndres Salomon <dilinger@debian.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Andres Salomon 提交于
psmouse_queue_work is passed a delayed_work struct, and queues up the work with kpsmouse_wq. Since we're dealing with delayed_work stuff, this also switches resync_work to a delayed_work struct as well, and makes use of psmouse_queue_work when doing a resync within psmouse-base. Signed-off-by: NAndres Salomon <dilinger@debian.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Andres Salomon 提交于
Signed-off-by: NAndres Salomon <dilinger@debian.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 18 9月, 2008 1 次提交
-
-
由 Eric Miao 提交于
The GPIO connected to ADS7846 nPENIRQ signal is usually used to get the pendown state as well. Introduce a .gpio_pendown, and use this to decide the pendown state if .get_pendown_state is NULL. Signed-off-by: NEric Miao <eric.miao@marvell.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 17 9月, 2008 2 次提交
-
-
由 Kristoffer Ericson 提交于
This patch removes the usage of LONG() which is deprecated; we also replace BIT() with BIT_MASK(). signed-off-by: NKristoffer Ericson <kristoffer.ericson@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Henrik Rydberg 提交于
Staying in multi-touch mode after closing the device sometimes makes the keyboard drop keys or repeat keys irratically. The conjecture is that some internal buffer starts to overflow, resulting in undefined behavior. Switching back to normal mode when closing the device makes the problem go away. Signed-off-by: NHenrik Rydberg <rydberg@euromail.se> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 11 9月, 2008 3 次提交
-
-
由 Eric Miao 提交于
The GPIO connected to ADS7846 nPENIRQ signal is usually used to get the pendown state as well. Introduce a .gpio_pendown, and use this to decide the pendown state if .get_pendown_state is NULL. Signed-off-by: NEric Miao <eric.miao@marvell.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Elvis Pranskevichus 提交于
Signed-off-by: NElvis Pranskevichus <el@prans.net> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Niels de Vos 提交于
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: NNiels de Vos <niels.devos@wincor-nixdorf.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-