History log of /drivers/input/misc/wistron_btns.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
90ab5ee94171b3e28de6bb42ee30b527014e0be7 13-Jan-2012 Rusty Russell <rusty@rustcorp.com.au> module_param: make bool parameters really bool (drivers & misc)

module_param(bool) used to counter-intuitively take an int. In
fddd5201 (mid-2009) we allowed bool or int/unsigned int using a messy
trick.

It's time to remove the int/unsigned int option. For this version
it'll simply give a warning, but it'll break next kernel version.

Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
/drivers/input/misc/wistron_btns.c
25985edcedea6396277003854657b5f3cb31a628 31-Mar-2011 Lucas De Marchi <lucas.demarchi@profusion.mobi> Fix common misspellings

Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
/drivers/input/misc/wistron_btns.c
1fcb8bb631831c9018a1f7f77b93f9f02e122fc5 28-Jun-2010 Axel Lin <axel.lin@gmail.com> Input: wistron_btns - fix a memory leak in wb_module_init error path

select_keymap() calls copy_keymap() to allocate a memory for keymap.
This patch adds a missing kfree(keymap) in wb_module_init error path.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
f8300ab8c3e0bea42c82bbdcdff7b791b795d58f 19-May-2010 Julia Lawall <julia@diku.dk> Input: wistron_btns - switch to using kmemdup()

Use kmemdup when some other buffer is immediately copied into the
allocated region.

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
5a0e3ad6af8660be21ca98a971cd00f331318c05 24-Mar-2010 Tejun Heo <tj@kernel.org> include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h

percpu.h is included by sched.h and module.h and thus ends up being
included when building most .c files. percpu.h includes slab.h which
in turn includes gfp.h making everything defined by the two files
universally available and complicating inclusion dependencies.

percpu.h -> slab.h dependency is about to be removed. Prepare for
this change by updating users of gfp and slab facilities include those
headers directly instead of assuming availability. As this conversion
needs to touch large number of source files, the following script is
used as the basis of conversion.

http://userweb.kernel.org/~tj/misc/slabh-sweep.py

The script does the followings.

* Scan files for gfp and slab usages and update includes such that
only the necessary includes are there. ie. if only gfp is used,
gfp.h, if slab is used, slab.h.

* When the script inserts a new include, it looks at the include
blocks and try to put the new include such that its order conforms
to its surrounding. It's put in the include block which contains
core kernel includes, in the same order that the rest are ordered -
alphabetical, Christmas tree, rev-Xmas-tree or at the end if there
doesn't seem to be any matching order.

* If the script can't find a place to put a new include (mostly
because the file doesn't have fitting include block), it prints out
an error message indicating which .h file needs to be added to the
file.

The conversion was done in the following steps.

1. The initial automatic conversion of all .c files updated slightly
over 4000 files, deleting around 700 includes and adding ~480 gfp.h
and ~3000 slab.h inclusions. The script emitted errors for ~400
files.

2. Each error was manually checked. Some didn't need the inclusion,
some needed manual addition while adding it to implementation .h or
embedding .c file was more appropriate for others. This step added
inclusions to around 150 files.

3. The script was run again and the output was compared to the edits
from #2 to make sure no file was left behind.

4. Several build tests were done and a couple of problems were fixed.
e.g. lib/decompress_*.c used malloc/free() wrappers around slab
APIs requiring slab.h to be added manually.

5. The script was run on all .h files but without automatically
editing them as sprinkling gfp.h and slab.h inclusions around .h
files could easily lead to inclusion dependency hell. Most gfp.h
inclusion directives were ignored as stuff from gfp.h was usually
wildly available and often used in preprocessor macros. Each
slab.h inclusion directive was examined and added manually as
necessary.

6. percpu.h was updated not to include slab.h.

7. Build test were done on the following configurations and failures
were fixed. CONFIG_GCOV_KERNEL was turned off for all tests (as my
distributed build env didn't work with gcov compiles) and a few
more options had to be turned off depending on archs to make things
build (like ipr on powerpc/64 which failed due to missing writeq).

* x86 and x86_64 UP and SMP allmodconfig and a custom test config.
* powerpc and powerpc64 SMP allmodconfig
* sparc and sparc64 SMP allmodconfig
* ia64 SMP allmodconfig
* s390 SMP allmodconfig
* alpha SMP allmodconfig
* um on x86_64 SMP allmodconfig

8. percpu.h modifications were reverted so that it could be applied as
a separate patch and serve as bisection point.

Given the fact that I had only a couple of failures from tests on step
6, I'm fairly confident about the coverage of this conversion patch.
If there is a breakage, it's likely to be something in one of the arch
headers which should be easily discoverable easily on most builds of
the specific arch.

Signed-off-by: Tejun Heo <tj@kernel.org>
Guess-its-ok-by: Christoph Lameter <cl@linux-foundation.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
/drivers/input/misc/wistron_btns.c
e97006ae1c87f9630b6f5c4d4384921059d881a8 30-Dec-2009 Rakib Mullick <rakib.mullick@gmail.com> Input: wistron - fix test for CONFIG_PM

This should fix the following compile warning:

drivers/input/misc/wistron_btns.c:1331:5: warning: "CONFIG_PM" is not defined

Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
e97af4cbbe500e6a3f4e189fe9324c5b99192dd6 04-Dec-2009 Dmitry Torokhov <dmitry.torokhov@gmail.com> Input: wistron_btns - switch to using sparse keymap library

The keymap manipulation code was split into a library module,
so let's make us of it.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
a9b0d0e57de88030527a95edea2722851897b7dd 04-Dec-2009 Dmitry Torokhov <dmitry.torokhov@gmail.com> Input: wistron - remove identification strings from DMI table

The driver does not reference identification strings in DMI table and
since these strings are no longer required by DMI core we can safely
remove them and save some memory.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
b0aba1e66c38d64be2c7dbf4b08c71857031ab67 18-Oct-2009 Samu Onkalo <samu.p.onkalo@nokia.com> Input: add open and close methods for polled devices

Optional open and close methods for preparing and closing
the device.

Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
3bfb0a7e18d7c24aa0f27b323946dc68b18f2721 06-Oct-2009 Sebastian Frei <dr.nop@gmx.net> Input: wistron_btns - add DMI entry for Medion WIM2030 laptop

Signed-off-by: Sebastian Frei <dr.nop@gmx.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
85927b0d5240dd2f48f1debf2797bd28ed4d112b 10-Sep-2009 Dmitry Torokhov <dmitry.torokhov@gmail.com> Input: wistron_btns - add keymap for AOpen 1557

This one does not have anything useful in DMI either so again
we need to use:

force=1 keymap=aopen1557

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
4b61bb575b1fb42ab1df228ae7812e5135f656da 28-Aug-2009 Dmitry Torokhov <dmitry.torokhov@gmail.com> Merge commit 'v2.6.31-rc8' into next
67dbe83adca4415e210e436bf961e8a833030d1e 08-Aug-2009 Dmitry Torokhov <dmitry.torokhov@gmail.com> Input: wistron_btns - switch to using dev_pm_ops

Also start using 'bool' where it makes sense.

Tested-by: Giuseppe Mazzotta <g.mazzotta@iragan.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
194934785a846e0a7b1b674b7b475a9d0125d2f8 03-Aug-2009 TJ <linux@tjworld.net> Input: wistron_btns - support Prestigio Wifi RF kill button

The Prestigio 157, an old no-name clone laptop uses input keys very
similar to the Wistron 1557/MS2141 with the addition of BIOS-controlled
wireless radio frequency kill switch.

This patch adds support for the RF kill switch control and adds manual
identification of the model.

The Prestigio does not expose any recognisable identity via dmidecode
and so requires manual selection at module init using

force=1 keymap=prestigio

Signed-off-by: TJ <ubuntu@tjworld.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
e705cee427e319665969ef7ac664f3612dec8899 13-Jul-2009 Giuseppe Mazzotta <g.mazzotta@iragan.com> Input: wistron_btns - recognize Maxdata Pro 7000 notebooks

This patch adds DMI information to automatically load the correct
layout for the Maxdata Pro 7000X/DX notebook models. Such notebooks
are clones of Fujitsu Amilo V2000, the hook for the v2000 is being
used and I have tested that perfectly works.

The immediate result of integrating this patch is that the five
special buttons will work on these specific notebook models and that
the RF killswitch will not be activated after suspend. This patch
definitively obsoletes the fsam7400 module which I was still needing
to enable wifi and to fix the RF killswitch suspend problem; in the
current 2.6.30 kernel it is necessary to load the wistron_btns module
with options 'force=1 keymap=1557/MS2141', which was not anyway a
complete workaround.

Signed-off-by: Giuseppe Mazzotta <g.mazzotta@iragan.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
34a7c48c221676ff8322ca4b8ded84eada34cf12 08-Aug-2008 Remi Herilier <rherilier@yahoo.fr> Input: wistron - add support for Fujitsu-Siemens Amilo Pro v3505

Wistron button support for Fujitsu-Siemens Amilo Pro Edition V3505.

Signed-off-by: Remi Herilier <rherilier@yahoo.fr>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
a894403766c93a8fae6de15684aa559fc78d5530 26-Jun-2008 Éric Piel <Eric.Piel@tremplin-utc.net> Input: wistron - generate normal key event if bluetooth or wifi not present

If the subsystem is not present, instead of not doing anything, report
the key press as a normal key. This is done by modifying at
initialization the copied key entry table.

Signed-off-by: Eric Piel <Eric.Piel@tremplin-utc.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
6c152beefbf90579d21afc4f7e075b1f801f9a75 31-Oct-2007 Richard Purdie <rpurdie@rpsys.net> leds: Standardise LED naming scheme

As discussed on LKML some notion of 'function' is needed in
LED naming. This patch adds this to the documentation and
standardises existing LED drivers.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
/drivers/input/misc/wistron_btns.c
1855256c497ecfefc730df6032243f26855ce52c 03-Oct-2007 Jeff Garzik <jeff@garzik.org> drivers/firmware: const-ify DMI API and internals

Three main sets of changes:

1) dmi_get_system_info() return value should have been marked const,
since callers should not be changing that data.

2) const-ify DMI internals, since DMI firmware tables should,
whenever possible, be marked const to ensure we never ever write to
that data area.

3) const-ify DMI API, to enable marking tables const where possible
in low-level drivers.

And if we're really lucky, this might enable some additional
optimizations on the part of the compiler.

The bulk of the changes are #2 and #3, which are interrelated. #1 could
have been a separate patch, but it was so small compared to the others,
it was easier to roll it into this changeset.

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
/drivers/input/misc/wistron_btns.c
d63219a10126b878abbbffdf4c5bcf29ef756b7f 15-Jun-2007 Dmitry Torokhov <dtor@insightbb.com> Input: wistron - add support for querying/changing keymap

Implement getkeycode and setkeycode methods for the device so
EVIOCGKEYCODE and EVIOCSKEYCODE ioctls will work.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
c2554c91425a86e5d0409a76b7ddcb328362f08b 23-May-2007 Dmitry Torokhov <dtor@insightbb.com> Input: wistron - convert to use input-polldev

Switch to using input-polldev skeleton instead of implementing
polling loop by itself.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
389679d8faa38bb6d069d9e1805f15e3cb9a6d7f 21-May-2007 Eric Piel <eric.piel@tremplin-utc.net> Input: wistron - add LED support

Add support to wistron_btns for leds that come with the multimedia keys.
Mail and wifi leds are supported, on laptops which have them.

Depending on the laptop, wifi subsystem may control just the led, or both
the led and the wifi card. Wifi led interface is activated only for the
former type of laptops, as the latter type is already managed. Leds are
controled by the interface in /sys/class/leds.

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>
/drivers/input/misc/wistron_btns.c
a4da16d3838669d7fb096ea5d1e4917e5ca4dc16 21-May-2007 Eric Piel <eric.piel@tremplin-utc.net> Input: wriston - reduce polling frequency

Reduces the polling frequency from 10 Hz to 2 Hz, which should be less a burden
for laptops wrt energy saving. As it is multimedia keys, 500ms (maximum) of
latency should be still fine for the user. In order to keep fluent the feeling
when the user is pressing several keys in a raw (such as changing the volume),
the frequency is increased for a short duration after a key is pressed.

Signed-off-by: Eric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
fd013ce8d42a6667bea2a3c6dca37da8842ab2bf 30-Apr-2007 Eric Piel <eric.piel@tremplin-utc.net> Input: wistron - fix typo in keymap for Acer TM610

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>
/drivers/input/misc/wistron_btns.c
55d29c98418df737e87dbdfc36c78d3ed99a6698 12-Apr-2007 Eric Piel <eric.piel@tremplin-utc.net> Input: wistron - declare keymaps as initdata

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>
/drivers/input/misc/wistron_btns.c
7b0a4cd7601774d1312f477a879f86b0968880fd 12-Apr-2007 Eric Piel <eric.piel@tremplin-utc.net> Input: wistron - introduce generic keymap

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>
/drivers/input/misc/wistron_btns.c
6480e2a275ff8ff48ae23a011616fcf819ed7a4e 12-Apr-2007 Eric Piel <eric.piel@tremplin-utc.net> Input: wistron - add acerhk laptop database

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>
/drivers/input/misc/wistron_btns.c
bc413c9563db6d596e841b2756ed3fccc48de5c0 07-Mar-2007 Eric Piel <eric.piel@tremplin-utc.net> Input: wistron - add support for TravelMate 610

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>
/drivers/input/misc/wistron_btns.c
5809d537c1bc7628cee1e580da35f6b4d254e23b 10-Feb-2007 Michael Leun <ml@newton.leun.net> Input: wistron - add support for Fujitsu-Siemens Amilo D88x0

Tested on a Amilo D8820.

Signed-off-by: Michael Leun <ml@newton.leun.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
53d5ed627df852ba8bab7f70df25290bd733792c 11-Oct-2006 Matthew Wilcox <matthew@wil.cx> [PATCH] Use linux/io.h instead of asm/io.h

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>
/drivers/input/misc/wistron_btns.c
bb0885900de49b5822d7e8c91c1adf9a0fcc228b 02-Oct-2006 Ashutosh Naik <ashutosh.naik@gmail.com> Input: wistron - add support for Acer TravelMate 2424NWXCi

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>
/drivers/input/misc/wistron_btns.c
cde45f19ca0d2ff1ede01528a7629388d4139309 02-Oct-2006 Reiner Herrmann <reiner@reiner-h.de> Input: wistron - fix setting up special buttons

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>
/drivers/input/misc/wistron_btns.c
72a623be00fa3d77724c1b0cac07c1bac60e70a5 23-Aug-2006 Dmitry Torokhov <dtor@insightbb.com> Input: wistron - fix crash due to referencing __initdata

Remove __initdata markings from keymaps as they are used during
normal driver operations.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
c7948989f84ee6e9c68cc643f8c6a635eb7a904b 06-Jul-2006 Andrew Morton <akpm@osdl.org> Input: wistron - fix section reference mismatches

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
9000195bb7ea959939b1e5fdad336e5bac59c9e9 27-Jun-2006 Frank de Lange <frank@unternet.org> Input: wistron - add mapping for Wistron MS 2111

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>
/drivers/input/misc/wistron_btns.c
e107b8ee7e97fc20695ca3d5ef862511eca28df0 30-May-2006 masc@theaterzentrum.at <masc@theaterzentrum.at> Input: wistron - add support for AOpen Barebook 1559as

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
e2aa507a837cbaa376faa3d9f8448ff569d34ccf 05-Apr-2006 John Reed Riley <john.reed.riley@gmail.com> Input: wistron - add support for Fujitsu N3510

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
8a1b170898cd827b24cbf02c43c57f8489e9ccce 05-Apr-2006 Stefan Rompf <stefan@loplof.de> Input: wistron - add signature for Amilo M7400

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
c28c3583679c181a03910b6356228e99fcc27167 10-Jan-2006 Miloslav Trmac <mitr@volny.cz> Input: wistron - do not crash if BIOS does not support interface

offset can never be < 0 because it has type size_t. The driver
currently oopses on insmod if BIOS does not support the interface,
instead of refusing to load.

Signed-off-by: Miloslav Trmac <mitr@volny.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
e7c3aad53dba54d375b632f2a21b680546828dec 28-Dec-2005 Dmitry Torokhov <dtor_core@ameritech.net> Input: wistron - convert to the new platform device interface

Do not use platform_device_register_simple() as it is going away,
implement ->probe() and ->remove() functions so manual binding and
unbinding would work.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
041387d98460b3947587929ef3a4773b8c48538f 21-Dec-2005 Dmitry Torokhov <dtor_core@ameritech.net> Manual merge with Linus (conflict in drivers/input/misc/wistron_bnts.c)
81f0a91e8f58a7784afe39cda9ac47e9231412a4 15-Dec-2005 Al Viro <viro@ftp.linux.org.uk> [PATCH] drivers/input/misc/wistron_btns.c NULL noise removal

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
/drivers/input/misc/wistron_btns.c
74a89c966ebc4ec4b80fa93eee0b37ff7de7f4e6 11-Dec-2005 Ashutosh Naik <ashutosh.naik@gmail.com> Input: wistron - add Acer TravelMate 240 to DMI table

Signed-off-by: Ashutosh Naik <ashutosh.naik@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
e753b650e10af8a040b1081e72088b826bdef72f 20-Nov-2005 Miloslav Trmac <mitr@volny.cz> Input: wistron - disable wifi/bluetooth on suspend

Try to save battery power by disabling wifi and bluetooth on suspend.

Signed-off-by: Miloslav Trmac <mitr@volny.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
a5b0cc80bc3cc98809c7674bda9928db497f0ebb 20-Nov-2005 Dmitry Torokhov <dtor_core@ameritech.net> Input: wistron - add PM support

Register wistron-bios as a platform device, restore WIFI and
Bluetooth state upon resume.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
22a397e2c189dedf857836f2a49542b8aedfeb65 20-Nov-2005 Dmitry Torokhov <dtor_core@ameritech.net> Input: wistron - convert to dynamic input_dev allocation

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
84b256a66360cedc25eb6e2ac6f167ca9778307b 20-Nov-2005 Bernhard Rosenkraenzer <bero@arklinux.org> Input: wistron - add support for Acer Aspire 1500 notebooks

Also fix a potential issue with some notebooks:

The current code assumes the response to bios_wifi_get_default_setting is
either 1 (disabled) or 3 (enabled), or wifi isn't supported. The BIOS
response appears to be a bit field w/ 0x1 indicating hardware presence, 0x2
indicating actiation status, and the other 6 bits being unknown/reserved --
with the patch, these 6 bits are ignored.

Signed-off-by: Bernhard Rosenkraenzer <bero@arklinux.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c
5fc1468029e2a4da90ded1e0e2cdd94fbdf83bac 20-Nov-2005 Dmitry Torokhov <dtor_core@ameritech.net> Input: add Wistron driver

A driver for laptop buttons using an x86 BIOS interface that is
apparently used on quite a few laptops and seems to be originating
from Wistron.

This driver currently "knows" only about Fujitsu-Siemens Amilo Pro V2000
(i.e. it can detect the laptop using DMI and it contains the
keycode->key meaning mapping for this laptop) and Xeron SonicPro X 155G
(probably can't be reliably autodetected, requires a module parameter),
adding other laptops should be easy.

In addition to reporting button presses to the input layer the driver
also allows enabling/disabling the embedded wireless NIC (using the
"Wifi" button); this is done using the same BIOS interface, so it seems
only logical to keep the implementation together. Any flexibility
possibly gained by allowing users to remap the function of the "Wifi"
button is IMHO not worth it when weighted against the necessity to run
an user-space daemon to convert button presses to wifi state changes.

Signed-off-by: Miloslav Trmac <mitr@volny.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
/drivers/input/misc/wistron_btns.c