- 10 May, 2007 1 commit
-
-
Frederik Deweerdt authored
drivers/input/misc/ixp4xx-beeper.c: In function 'ixp4xx_spkr_event': drivers/input/misc/ixp4xx-beeper.c:54: error: 'input_dev' undeclared (first use in this function) drivers/input/misc/ixp4xx-beeper.c:54: error: (Each undeclared identifier is reported only once drivers/input/misc/ixp4xx-beeper.c:54: error: for each function it appears in.) Signed-off-by:
Frederik Deweerdt <frederik.deweerdt@gmail.com> Acked-by:
Dmitry Torokhov <dtor@mail.ru> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- 07 May, 2007 1 commit
-
-
Dmitry Torokhov authored
This will allow concentrating all input devices in one place in {menu|x|q}config. Signed-off-by:
Dmitry Torokhov <dtor@mail.ru> Acked-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
- 02 May, 2007 1 commit
-
-
Mike Frysinger authored
uinput.h relies on structures found in input.h, so pull in the header Signed-off-by:
Mike Frysinger <vapier@gentoo.org> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- 29 Apr, 2007 3 commits
-
-
Dmitry Torokhov authored
Signed-off-by:
Dmitry Torokhov <dtor@mail.ru> Acked-by:
Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
-
Dmitry Torokhov authored
input-polldev provides a skeleton for supporting simple input devices that need to be periodically scanned or polled to detect changes in their state. Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Eric Piel authored
This patch fixes typo that prevented PROG2 key from working on Acer Travelmate 610. Signed-off-by:
Eric Piel <eric.piel@tremplin-utc.net> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- 11 Apr, 2007 6 commits
-
-
Dmitry Torokhov authored
Create platform device for cobalt buttons as part of arch setup. This makes the driver follow current driver model more closely. Signed-off-by:
Dmitry Torokhov <dtor@mail.ru> Acked-by:
Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
-
Dmitry Torokhov authored
In preparation for struct class_device -> struct device input core conversion, switch to using input_dev->dev.parent when specifying device position in sysfs tree. Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Dmitry Torokhov authored
Use input_get_drvdata() and input_set_drvdata() instead. Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Eric Piel authored
As the number of keymaps increases and is very unlikely to reduce, this patch helps to reduce memory consumption by declaring all keymaps as __initdata and copying right keymap during DMI detection. On x86 this make the module size at runtime going from 10616 to 9428: a bit more than 1kb saved. Signed-off-by:
Eric Piel <eric.piel@tremplin-utc.net> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Eric Piel authored
It turns out that the keymaps in the wistron driver are almost the same, the main difference being some keys which may not exist and leds which might not be present. Therefore it's possible to write a generic keymap which would allow the use of an unknown keyboard with little drawbacks. The user can select it specifying the parameter "keymap=generic". Signed-off-by:
Eric Piel <eric.piel@tremplin-utc.net> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Eric Piel authored
Acerhk supports already a lot of laptops. Lets import its database so that everyone can benefit of the work of Olaf Tauber. Only the "tm_new" laptops were imported. "tm_old" laptops could be possible but requires more testing and probably only few laptops are still alive. "dritek" laptops should probably be imported into a different driver. Also compress the keymaps by fitting each entry on an int. Most of the dmi matching was written based on google searches, so it's rather prone to errors. That's why I'm asking people to confirm it works. Support to generate switch input events was added as some laptops indicate lid open/close through this interface. This adds the following hardware: Acer TravelMate 370 Acer TravelMate 380 Acer TravelMate C300 Acer TravelMate C100 Acer TravelMate C110 Acer TravelMate 250 Acer TravelMate 350 Acer TravelMate 620 Acer TravelMate 630 Acer TravelMate 220 Acer TravelMate 230 Acer TravelMate 260 Acer TravelMate 280 Acer TravelMate 360 Acer TravelMate 2100 Acer TravelMate 2410 Acer Aspire 1500 Acer Aspire 1600 Acer Aspire 3020 Acer Aspire 5020 Medion MD 2900 Medion MD 40100 Medion MD 95400 Medion MD 96500 Fujitsu Siemens Amilo 7820 Signed-off-by:
Eric Piel <eric.piel@tremplin-utc.net> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- 06 Mar, 2007 1 commit
-
-
Eric Piel authored
Add support for Acer TravelMate 610 to wistron_btns. All special keys are detected, but the 2 leds are not handled (yet). Signed-off-by:
Eric Piel <eric.piel@tremplin-utc.net> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- 17 Feb, 2007 1 commit
-
-
Yoichi Yuasa authored
Tested on Cobalt Qube2. Signed-off-by:
Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- 12 Feb, 2007 1 commit
-
-
Arjan van de Ven authored
Many struct file_operations in the kernel can be "const". Marking them const moves these to the .rodata section, which avoids false sharing with potential dirty data. In addition it'll catch accidental writes at compile time to these shared resources. Signed-off-by:
Arjan van de Ven <arjan@linux.intel.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- 09 Feb, 2007 2 commits
-
-
Michael Leun authored
Tested on a Amilo D8820. Signed-off-by:
Michael Leun <ml@newton.leun.net> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Jaya Kumar authored
This patch adds support for the buttons on the Atlas wallmount touchscreen. Signed-off-by:
Jaya Kumar <jayakumar.acpi@gmail.com> Acked-by:
Len Brown <len.brown@intel.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- 07 Dec, 2006 1 commit
-
-
Neil Horman authored
Clean up several code points in which the return code from misc_register is not handled properly. Several modules failed to deregister various hooks when misc_register fails, and this patch cleans them up. Also there are a few modules that legitimately don't care about the failure status of misc register. These drivers however unilaterally call misc_deregister on module unload. Since misc_register doesn't initialize the list_head in the init_routine if it fails, the deregister operation is at risk for oopsing when list_del is called. The initial solution was to manually init the list in the miscdev structure in each of those modules, but the consensus in this thread was to consolodate and do that universally inside misc_register. Signed-off-by:
Neil Horman <nhorman@tuxdriver.com> Cc: Bjorn Helgaas <bjorn.helgaas@hp.com> Cc: Kylene Jo Hall <kjhall@us.ibm.com> Cc: Dmitry Torokhov <dtor@mail.ru> Cc: Olaf Hering <olh@suse.de> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
- 15 Oct, 2006 1 commit
-
-
Al Viro authored
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
- 11 Oct, 2006 1 commit
-
-
Matthew Wilcox authored
In preparation for moving check_signature, change these users from asm/io.h to linux/io.h Signed-off-by:
Matthew Wilcox <willy@parisc-linux.org> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
- 09 Oct, 2006 1 commit
-
-
Geert Uytterhoeven authored
Enable HIL configuration options on HP300 Signed-off-by:
Kars de Jong <jongk@linux-m68k.org> Signed-off-by:
Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
- 05 Oct, 2006 1 commit
-
-
David Howells authored
Maintain a per-CPU global "struct pt_regs *" variable which can be used instead of passing regs around manually through all ~1800 interrupt handlers in the Linux kernel. The regs pointer is used in few places, but it potentially costs both stack space and code to pass it around. On the FRV arch, removing the regs parameter from all the genirq function results in a 20% speed up of the IRQ exit path (ie: from leaving timer_interrupt() to leaving do_IRQ()). Where appropriate, an arch may override the generic storage facility and do something different with the variable. On FRV, for instance, the address is maintained in GR28 at all times inside the kernel as part of general exception handling. Having looked over the code, it appears that the parameter may be handed down through up to twenty or so layers of functions. Consider a USB character device attached to a USB hub, attached to a USB controller that posts its interrupts through a cascaded auxiliary interrupt controller. A character device driver may want to pass regs to the sysrq handler through the input layer which adds another few layers of parameter passing. I've build this code with allyesconfig for x86_64 and i386. I've runtested the main part of the code on FRV and i386, though I can't test most of the drivers. I've also done partial conversion for powerpc and MIPS - these at least compile with minimal configurations. This will affect all archs. Mostly the changes should be relatively easy. Take do_IRQ(), store the regs pointer at the beginning, saving the old one: struct pt_regs *old_regs = set_irq_regs(regs); And put the old one back at the end: set_irq_regs(old_regs); Don't pass regs through to generic_handle_irq() or __do_IRQ(). In timer_interrupt(), this sort of change will be necessary: - update_process_times(user_mode(regs)); - profile_tick(CPU_PROFILING, regs); + update_process_times(user_mode(get_irq_regs())); + profile_tick(CPU_PROFILING); I'd like to move update_process_times()'s use of get_irq_regs() into itself, except that i386, alone of the archs, uses something other than user_mode(). Some notes on the interrupt handling in the drivers: (*) input_dev() is now gone entirely. The regs pointer is no longer stored in the input_dev struct. (*) finish_unlinks() in drivers/usb/host/ohci-q.c needs checking. It does something different depending on whether it's been supplied with a regs pointer or not. (*) Various IRQ handler function pointers have been moved to type irq_handler_t. Signed-Off-By:
David Howells <dhowells@redhat.com> (cherry picked from 1b16e7ac850969f38b375e511e3fa2f474a33867 commit)
-
- 01 Oct, 2006 2 commits
-
-
Ashutosh Naik authored
The key mappings are the same as the older Acer TravelMate 240. Signed-off-by:
Ashutosh Naik <ashutosh.naik@gmail.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Reiner Herrmann authored
If either wifi or bluetooth button has been detected, the code would break off the loop. But there are laptops that have both types of buttons, so the loop has to continue checking. Signed-off-by:
Reiner Herrmann <reiner@reiner-h.de> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- 22 Aug, 2006 1 commit
-
-
Dmitry Torokhov authored
Remove __initdata markings from keymaps as they are used during normal driver operations. Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- 18 Jul, 2006 1 commit
-
-
Anssi Hannula authored
The userspace interface of the force feedback part is changed and documentation in uinput.h is updated accordingly. MODULE_VERSION is also incremented to reflect the revision. Signed-off-by:
Anssi Hannula <anssi.hannula@gmail.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- 05 Jul, 2006 1 commit
-
-
Andrew Morton authored
Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- 02 Jul, 2006 1 commit
-
-
Thomas Gleixner authored
Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: "David S. Miller" <davem@davemloft.net> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
- 30 Jun, 2006 1 commit
-
-
Jörn Engel authored
Signed-off-by:
Jörn Engel <joern@wohnheim.fh-wedel.de> Signed-off-by:
Adrian Bunk <bunk@stusta.de>
-
- 26 Jun, 2006 1 commit
-
-
Frank de Lange authored
Wistron MS 2111 (aka Medion 'Titanium' MD 9783, aka ALDI PC, aka Fujitsu-Siemens AMILO D7800, aka ...) has 5 extra buttons, map them. Unfortunately we only have DMI data for the Medion box. Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- 24 Jun, 2006 2 commits
-
-
David S. Miller authored
Sparcspkr and power drivers are converted, to make sure it works. Eventually the SBUS device layer will use this as a sub-class. I really cannot cut loose on that bit until sparc32 is given the same infrastructure. Signed-off-by:
David S. Miller <davem@davemloft.net>
-
David S. Miller authored
Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- 29 May, 2006 1 commit
-
-
masc@theaterzentrum.at authored
Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- 04 Apr, 2006 2 commits
-
-
John Reed Riley authored
Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Stefan Rompf authored
Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- 13 Mar, 2006 1 commit
-
-
Michael Neuling authored
The current pcspkr code combines the device and driver registration. This patch splits these, putting the device registration in the arch specific code. PowerPC and MIPS only have the pcspkr present sometimes. Signed-off-by:
Michael Neuling <mikey@neuling.org> Signed-off-by:
Ralf Baechle <ralf@linux-mips.org> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- 18 Feb, 2006 1 commit
-
-
Dmitry Torokhov authored
Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- 14 Feb, 2006 2 commits
-
-
Arthur Othieno authored
98kbd{,-io} and 98spkr all went out with PC98 subarch. Remove stale Makefile entries that remained. Signed-off-by:
Arthur Othieno <apgo@patchbomb.org> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
Alessandro Zummo authored
Signed-off-by:
Alessandro Zummo <a.zummo@towertech.it> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-
- 29 Jan, 2006 1 commit
-
-
Alessandro Zummo authored
This is a driver for beeper found in LinkSys NSLU2 boxes. It should work on any ixp4xx based platform. Signed-off-by:
Alessandro Zummo <a.zummo@towertech.it> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
-