- 27 2月, 2013 21 次提交
-
-
由 Benson Leung 提交于
The Chromebook Pixel uses an isl29023 ambient light sensor on the PANEL GMBus. Signed-off-by: NBenson Leung <bleung@chromium.org> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Benson Leung 提交于
This will allow us to assign devices to buses by the type enum. Signed-off-by: NBenson Leung <bleung@chromium.org> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Yufeng Shen 提交于
Instantiate the atmel mxt1664s touchscreen on this system. The touchscreen may appear at two possible addresses: 0x4a in operational mode. 0x26 in bootloader mode. Signed-off-by: NYufeng Shen <miletus@chromium.org> Signed-off-by: NBenson Leung <bleung@chromium.org> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Benson Leung 提交于
This will allow support for devices that may appear at more than one i2c address at boot time. The specific example is the atmel_mxt touch devices, which may appear at a different address if it comes up in bootloader mode. Signed-off-by: NBenson Leung <bleung@chromium.org> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Benson Leung 提交于
Instantiate the atmel mxt224s trackpad on this system. The trackpad may appear at two possible addresses: 0x4b in operational mode. 0x25 in bootloader mode. Signed-off-by: NBenson Leung <bleung@chromium.org> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Dmitry Torokhov 提交于
The driver will not quite work if someone unbinds the platform device from the platform driver via sysfs (moreover it will bomb is the driver built into the kernel as hp_wmi_bios_remove is marked as __exit and will not be present in the kernel). To fix it let's use platform_driver_probe() instead of platform_driver_register(), which disables binding/unbinding via sysfs. This also allows us to mark hp_wmi_bios_setup as __init and discard it once module is initialized. Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Dan Carpenter 提交于
We need to decrement "i" first because the current "i" was not allocated succesfully. Also we should go free the way down to zero to avoid a leak. Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Kyle Evans 提交于
Several models of HP laptops using the same DSDT have hotkey buttons that do not work until the EC is configured to enable them. Signed-off-by: NKyle Evans <kvans32@gmail.com> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Shuah Khan 提交于
Fix the following build warning CC [M] drivers/platform/x86/asus-wmi.o drivers/platform/x86/asus-wmi.c:1356:13: warning: ‘do_nothing’ defined but not used [-Wunused-function] Signed-off-by: NShuah Khan <shuah.khan@hp.com> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Lee, Chun-Yi 提交于
Fengguang Wu run kernel build test to platform-drivers-x86/linux-next git tree on x86_64 architecture and found a warning that was introduced by 727651bf738b6b917335025d09323d0962eda114 commit: drivers/platform/x86/acer-wmi.c: In function âWMID_set_capabilitiesâ: drivers/platform/x86/acer-wmi.c:1211: warning: âdevicesâ may be used uninitialized in this function This patch fixes the above warning message. Cc: Carlos Corbacho <carlos@strangeworlds.co.uk> Cc: Matthew Garrett <mjg@redhat.com> Cc: Dmitry Torokhov <dtor@mail.ru> Cc: Corentin Chary <corentincj@iksaif.net> Cc: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: NLee, Chun-Yi <jlee@suse.com> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Richard Hartmann 提交于
Handle HKEY event generated on AC power change. The current message asks users to submit data related to this event which leads to a lot of confusion and noise on the mailing list. The following is a list affected models and 'Message-Id' from ibm-acpi-devel@lists.sourceforge.net of people who saw this event when either plugging or unplugging the AC adapter or docking or undocking their laptop. X120e - CAAAujb5v9dHdbdxDVvhNJoG4UrZC1TgKqeB_zGpAy7q8kZHMEQ@mail.gmail.com X121e - 20120817143459.GB3462@x1.osrc.amd.com X220 - Confirmed by Richard Hartmann X220i - 4F406274.7070807@gmail.com X220t - 4F489F5B.9040705@cs.tu-berlin.de X230 - CAKx4u7kqvVH0-gstomsiVYdGC0i6=bGxzaQ8sq9gbg76TGme3w@mail.gmail.com T420 - 9c848ee30b006737d0534d906bab0cf6@niklaas-baudet.net T420s - 20120608080824.GS25324@hexapodia.org W520 - 20121008181050.GF2549@ericlaptop.home.christensenplace.us Signed-off-by: NRichard Hartmann <richih.mailinglist@gmail.com> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Benson Leung 提交于
Add support for the HP Pavilion 14 Chromebook's trackpad, which is a reuse of the Samsung Series 5 550 trackpad. Signed-off-by: NBenson Leung <bleung@chromium.org> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Benson Leung 提交于
The Samsung Series 5 Chromebook is equipped with a Taos tsl2583 light sensor. Instatiate it here. Signed-off-by: NBenson Leung <bleung@chromium.org> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Benson Leung 提交于
Two legacy Chromebooks, the Cr-48, and the Acer AC700, are equipped with a Taos tsl2563 light sensor. This will instantiate the sensor on those laptops. Signed-off-by: NBenson Leung <bleung@chromium.org> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Benson Leung 提交于
Add support for the Acer C7's trackpad, which is a reuse of the Samsung Series 5 550 trackpad. Signed-off-by: NBenson Leung <bleung@chromium.org> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Benson Leung 提交于
The Cypress trackpad on smbus is used on other systems as well. Lets make the name more generic. Signed-off-by: NBenson Leung <bleung@chromium.org> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Corentin Chary 提交于
Signed-off-by: NCorentin Chary <corentin.chary@gmail.com> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Corentin Chary 提交于
Signed-off-by: NCorentin Chary <corentin.chary@gmail.com> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Mattia Dongili 提交于
Z series and other recent models have 0x14? for lid and keyboard backlight. Signed-off-by: NMattia Dongili <malattia@linux.it> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Mattia Dongili 提交于
Signed-off-by: NMattia Dongili <malattia@linux.it> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Mattia Dongili 提交于
The call to handlers 0x124 and 0x135 (rfkill control) seems to take a bitmask to control various states of the device. For our rfkill we need a fully on/off. SVZ1311Z9R/X's LTE modem needs more bits up. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=47751Signed-off-by: NMattia Dongili <malattia@linux.it> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com> Cc: stable@kernel.org
-
- 25 2月, 2013 19 次提交
-
-
由 Benson Leung 提交于
This adds the chromeos_laptop driver. It supports the Cypress APA SMBUS touchpad as well as the isl29018 i2c ambient light sensor on the Samsung Series 5 550 Chromebook. Signed-off-by: NBenson Leung <bleung@chromium.org> Reviewed-by: NOlof Johansson <olof@lixom.net> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Manoj Iyer 提交于
The new B series BIOS has version string 43CN46WW. The driver requires that 2nd and 3rd characters be 'E' and 'T' respectively, where as the newer BIOS has 'C' and 'N' respectively. Failing to load the module causes some of the hotkeys to not work. Before the patch ================ sudo modprobe thinkpad_acpi FATAL: Error inserting thinkpad_acpi (/lib/modules/3.5.0-15-generic/kernel/drivers/platform/x86/thinkpad_acpi.ko): No such device After the patch =============== [44937.265438] thinkpad_acpi: ThinkPad ACPI Extras v0.24 [44937.265445] thinkpad_acpi: http://ibm-acpi.sf.net/ [44937.265449] thinkpad_acpi: ThinkPad BIOS 43CN46WW, EC unknown [44937.265453] thinkpad_acpi: Lenovo Lenovo B470e, model HuronRiver Platform [44937.266479] thinkpad_acpi: detected a 8-level brightness capable ThinkPad [44937.266557] thinkpad_acpi: Standard ACPI backlight interface available, not loading native one [44937.267846] thinkpad_acpi: Console audio control enabled, mode: monitor (read only) [44937.268131] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input17 Signed-off-by: NManoj Iyer <manoj.iyer@canonical.com> Tested-by: NJames Ferguson <james.ferguson@canonical.com> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Trepák Vilmos 提交于
Add rfkill support for the GPS radio found in HP laptops (HP Elitebook 2170p and the like) using the Ericsson F5321/H5321 Mobile Broadband Module. Signed-off-by: NViliam Trepák <trepo@netcomga.sk> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Lee, Chun-Yi 提交于
Found another Lenovo ideapad S205 the product name is 1038DPG, it has a 0x78 EC register exposes the state of wifi hardware switch on the machine. So, add this patch to support Lenovo ideapad S205-1038DPG wifi hardware switch in acer-wmi driver. Evidently the Ideapad S205 is just a model name on the market, but they have totally different product name in DMI table. Reference: bko#43007 https://bugzilla.kernel.org/show_bug.cgi?id=43007Tested-by: NColin <colin.newell@gmail.com> Cc: Carlos Corbacho <carlos@strangeworlds.co.uk> Cc: Matthew Garrett <mjg@redhat.com> Cc: Dmitry Torokhov <dtor@mail.ru> Cc: Corentin Chary <corentincj@iksaif.net> Cc: Thomas Renninger <trenn@suse.de> Signed-off-by: NLee, Chun-Yi <jlee@suse.com> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Lee, Chun-Yi 提交于
Found another Lenovo ideapad S205 the product name is 10382JG, it has a 0x78 EC register exposes the state of wifi hardware switch on the machine. So, add this patch to support Lenovo ideapad S205-10382JG wifi hardware switch in acer-wmi driver. Evidently the Ideapad S205 is just a model name on the market, but they have totally different product name in DMI table. Reference: bko#43007 https://bugzilla.kernel.org/show_bug.cgi?id=43007Tested-by: NIvo Anjo <knuckles@gmail.com> Cc: Carlos Corbacho <carlos@strangeworlds.co.uk> Cc: Matthew Garrett <mjg@redhat.com> Cc: Dmitry Torokhov <dtor@mail.ru> Cc: Corentin Chary <corentincj@iksaif.net> Cc: Thomas Renninger <trenn@suse.de> Signed-off-by: NLee, Chun-Yi <jlee@suse.com> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 AceLan Kao 提交于
Fill up all the video switch keys in the map. Signed-off-by: NAceLan Kao <acelan.kao@canonical.com> Signed-off-by: NCorentin Chary <corentin.chary@gmail.com> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 AceLan Kao 提交于
For machines with AMD graphic chips, it will send out WMI event and ACPI interrupt at the same time while hitting the hotkey. BIOS will notify the system the next display output mode throught WMI event code, so that windows' application can show an OSD to tell the user which mode will be taken effect. User can hit the display toggle key many times within 2 seconds to choose the mode they want. After 2 seconds, WMI dirver should send a WMIMethod(SDSP) command to tell the BIOS which mode the user chose. And then BIOS will raise another ACPI interrupt to tell the system to really switch the display mode. In Linux desktop, we don't have this kind of OSD to let users to choose the mode they want, so we don't need to call WMIMethod(SDSP) to have another ACPI interrupt. To simplify the problem, we just have to ignore the WMI event, and let the first ACPI interrupt to send out the key event. For the need, here comes another quirk to add machines with this kind of behavior. When the WMI driver receives the display toggle WMI event, and found the machin is in the list, it will do nothing and let ACPI video driver to report the key event. Signed-off-by: NAceLan Kao <acelan.kao@canonical.com> Signed-off-by: NCorentin Chary <corentincj@iksaif.net> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 AceLan Kao 提交于
Fill up all the video switch keys in the map. Signed-off-by: NAceLan Kao <acelan.kao@canonical.com> Signed-off-by: NCorentin Chary <corentin.chary@gmail.com> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 AceLan Kao 提交于
0x60 is touchpad enable key, but is misdefined in the keymap. Signed-off-by: NAceLan Kao <acelan.kao@canonical.com> Signed-off-by: NCorentin Chary <corentin.chary@gmail.com> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 AceLan Kao 提交于
0x60 is touchpad enable key, but is misdefined in the keymap. Signed-off-by: NAceLan Kao <acelan.kao@canonical.com> Signed-off-by: NCorentin Chary <corentin.chary@gmail.com> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Corentin Chary 提交于
Maybe this should be shared in another module... Signed-off-by: NCorentin Chary <corentin.chary@gmail.com> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Corentin Chary 提交于
Signed-off-by: NCorentin Chary <corentin.chary@gmail.com> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Maxim Mikityanskiy 提交于
Add MSI Wind support to msi-wmi driver. MSI Wind has different GUID for key events, different WMI key scan codes, it does not need filtering consecutive identical events and it does not support backlight control via MSIWMI_BIOS_GUID WMI. Tested on MSI Wind U100. Signed-off-by: NMaxim Mikityanskiy <maxtram95@gmail.com> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Maxim Mikityanskiy 提交于
Introduced quirk_last_pressed variable that would indicate if last_pressed is used or not. Also converted last_pressed to simple variable in order to allow keymap to be non-contiguous. Signed-off-by: NMaxim Mikityanskiy <maxtram95@gmail.com> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Maxim Mikityanskiy 提交于
Introduced function msi_wmi_backlight_setup() that initializes backlight device. Made driver load and work if only one WMI (only for hotkeys or only for backlight) is present. Signed-off-by: NMaxim Mikityanskiy <maxtram95@gmail.com> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Maxim Mikityanskiy 提交于
Use enums for consecutive scancodes, rename key names from MSI_WMI_* to MSI_KEY_* and use tabs for whitespace in msi_wmi_keymap. Signed-off-by: NMaxim Mikityanskiy <maxtram95@gmail.com> Acked-by: NLee, Chun-Yi <jlee@suse.com> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Maxim Mikityanskiy 提交于
Use UUID defines in MODULE_ALIAS strings to avoid repeating strings. Signed-off-by: NMaxim Mikityanskiy <maxtram95@gmail.com> Acked-by: NLee, Chun-Yi <jlee@suse.com> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Maxim Mikityanskiy 提交于
Fix memory leak - don't forget to kfree ACPI object when returning from msi_wmi_notify() after suppressing key event. Signed-off-by: NMaxim Mikityanskiy <maxtram95@gmail.com> Acked-by: NAnisse Astier <anisse@astier.eu> Signed-off-by: NLee, Chun-Yi <jlee@suse.com> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-
由 Maxim Mikityanskiy 提交于
It seems that existing brightness control works only for old EC models. On newer ones auto_brightness access always timeouts and lcd_level always shows 0. So disable brightness control for new EC models. It works fine with ACPI video driver anyway. Signed-off-by: NMaxim Mikityanskiy <maxtram95@gmail.com> Signed-off-by: NLee, Chun-Yi <jlee@suse.com> Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
-