- 10 7月, 2007 3 次提交
-
-
由 Dmitry Torokhov 提交于
Switch to using input-polldev skeleton instead of implementing polling loop by itself. Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Eric Piel 提交于
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: NEric Piel <eric.piel@tremplin-utc.net> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Eric Piel 提交于
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: NEric Piel <eric.piel@tremplin-utc.net> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 30 4月, 2007 1 次提交
-
-
由 Eric Piel 提交于
This patch fixes typo that prevented PROG2 key from working on Acer Travelmate 610. Signed-off-by: NEric Piel <eric.piel@tremplin-utc.net> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 12 4月, 2007 3 次提交
-
-
由 Eric Piel 提交于
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: NEric Piel <eric.piel@tremplin-utc.net> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Eric Piel 提交于
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: NEric Piel <eric.piel@tremplin-utc.net> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Eric Piel 提交于
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: NEric Piel <eric.piel@tremplin-utc.net> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 07 3月, 2007 1 次提交
-
-
由 Eric Piel 提交于
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: NEric Piel <eric.piel@tremplin-utc.net> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 10 2月, 2007 1 次提交
-
-
由 Michael Leun 提交于
Tested on a Amilo D8820. Signed-off-by: NMichael Leun <ml@newton.leun.net> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 12 10月, 2006 1 次提交
-
-
由 Matthew Wilcox 提交于
In preparation for moving check_signature, change these users from asm/io.h to linux/io.h Signed-off-by: NMatthew Wilcox <willy@parisc-linux.org> Signed-off-by: NAndrew Morton <akpm@osdl.org> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
- 02 10月, 2006 2 次提交
-
-
由 Ashutosh Naik 提交于
The key mappings are the same as the older Acer TravelMate 240. Signed-off-by: NAshutosh Naik <ashutosh.naik@gmail.com> Signed-off-by: NAndrew Morton <akpm@osdl.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Reiner Herrmann 提交于
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: NReiner Herrmann <reiner@reiner-h.de> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 23 8月, 2006 1 次提交
-
-
由 Dmitry Torokhov 提交于
Remove __initdata markings from keymaps as they are used during normal driver operations. Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 06 7月, 2006 1 次提交
-
-
由 Andrew Morton 提交于
Signed-off-by: NAndrew Morton <akpm@osdl.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 27 6月, 2006 1 次提交
-
-
由 Frank de Lange 提交于
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: NDmitry Torokhov <dtor@mail.ru>
-
- 30 5月, 2006 1 次提交
-
-
由 masc@theaterzentrum.at 提交于
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 05 4月, 2006 2 次提交
-
-
由 John Reed Riley 提交于
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Stefan Rompf 提交于
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 10 1月, 2006 1 次提交
-
-
由 Miloslav Trmac 提交于
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: NMiloslav Trmac <mitr@volny.cz> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 28 12月, 2005 1 次提交
-
-
由 Dmitry Torokhov 提交于
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: NDmitry Torokhov <dtor@mail.ru>
-
- 16 12月, 2005 1 次提交
-
-
由 Al Viro 提交于
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
- 12 12月, 2005 1 次提交
-
-
由 Ashutosh Naik 提交于
Signed-off-by: NAshutosh Naik <ashutosh.naik@gmail.com> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
- 20 11月, 2005 5 次提交
-
-
由 Miloslav Trmac 提交于
Try to save battery power by disabling wifi and bluetooth on suspend. Signed-off-by: NMiloslav Trmac <mitr@volny.cz> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Register wistron-bios as a platform device, restore WIFI and Bluetooth state upon resume. Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Bernhard Rosenkraenzer 提交于
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: NBernhard Rosenkraenzer <bero@arklinux.org> Signed-off-by: NAndrew Morton <akpm@osdl.org> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-
由 Dmitry Torokhov 提交于
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: NMiloslav Trmac <mitr@volny.cz> Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
-