Skip to content

sony-laptop: code improvements and support extension for newer Vaios

Marco Chiappero linux-input linux-wireless platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest25 patches 99 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/25sony-laptop: use usigned data type when calling ACPI methodsdrivers/platform/x86/sony-laptop.c+9 -60 replies
2/25sony-laptop: simple_strtoul replaced by strict_strtouldrivers/platform/x86/sony-laptop.c+11 -41 reply
3/25sony-laptop: new ACPI SN06 method helper functionsdrivers/platform/x86/sony-laptop.c+94 -340 replies
4/25sony-laptop: new SNC setup and cleanup functionsdrivers/platform/x86/sony-laptop.c+65 -1616 replies
5/25sony-laptop: new handles setup and cleanup functionsdrivers/platform/x86/sony-laptop.c+65 -40 replies
6/25sony-laptop: new notebook controller resume functiondrivers/platform/x86/sony-laptop.c+73 -390 replies
7/25sony-laptop: sony_nc_function_setup modificationsdrivers/platform/x86/sony-laptop.c+18 -110 replies
8/25sony-laptop: sony_nc_notify rewritten and improveddrivers/platform/x86/sony-laptop.c+82 -5621 replies
9/25sony-laptop: sony_walk_callback moved for better readabilitydrivers/platform/x86/sony-laptop.c+18 -180 replies
10/25sony-laptop: keyboard backlight support extended to newer Vaiosdrivers/platform/x86/sony-laptop.c+55 -3910 replies
11/25sony-laptop: rfkill improvementsdrivers/platform/x86/sony-laptop.c+82 -261 reply
12/25sony-laptop: input core improvements improvementsdrivers/platform/x86/sony-laptop.c include/linux/sonypi.h+13 -125 replies
13/25sony-laptop: code style fixesdrivers/platform/x86/sony-laptop.c+11 -80 replies
14/25sony-laptop: battery care functionality addeddrivers/platform/x86/sony-laptop.c+148 -00 replies
15/25sony-laptop: add thermal control featuredrivers/platform/x86/sony-laptop.c+169 -00 replies
16/25sony-laptop: add HDD shock protectiondrivers/platform/x86/sony-laptop.c+379 -00 replies
17/25sony-laptop: add resume from S4/S3 when opening the liddrivers/platform/x86/sony-laptop.c+78 -00 replies
18/25sony-laptop: add control file for the HighSpeed Charging featuredrivers/platform/x86/sony-laptop.c+79 -00 replies
19/25sony-laptop: add touchpad enable/disable control filedrivers/platform/x86/sony-laptop.c+78 -010 replies
20/25sony-laptop: add fan related controlsdrivers/platform/x86/sony-laptop.c+149 -00 replies
21/25sony-laptop: add optical device power controldrivers/platform/x86/sony-laptop.c+118 -00 replies
22/25sony-laptop: forward Hybrid GFX notifications to userspacedrivers/platform/x86/sony-laptop.c+25 -03 replies
23/25sony-laptop: add ALS supportdrivers/platform/x86/sony-laptop.c+1035 -011 replies
24/25sony-laptop: backlight device changesdrivers/platform/x86/sony-laptop.c+85 -1540 replies
25/25sony-laptop: update copyright ownersdrivers/platform/x86/sony-laptop.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/25] sony-laptop: code improvements and support extension for newer Vaios

Hello,

this set of patches aims to reorganize and clean the driver code where necessary [patches 1-9, 13], improve some functionalities [patches 10-12] and add some others present on recent Vaios (TT, Y1, Z1, F1, S1, SA/SB/SC, CA/SB and possibly others), such as ALS driven backlight control, HDD shock protection control and Battery charge control.

During the development of these patches a long list of new handles has been found and analyzed (the list can be read here: http://absence.it/vaio-acpi/handles_list.txt), many of them are now well known and mostly implemented by patches from 14 to 24.

During the development, this code has been made publicly available for a few months at http://code.google.com/p/vaio-f11-linux/issues/detail?id=6 and http://www.absence.it/vaio-acpi/source/ where many people contributed with feedback and testing. The coded is now stable and well tested, even though improvements are still possible (and can be introduced later).

Some functionalities may require a userspace Vaio specific daemon (for ALS based backlight control, visual notifications, etc.), which is under development at http://git.zx2c4.com/sony-acpid/

All the code is written by me, with the exception of patch #23, written by me and Javier Achirica. Javier Achirica has been also a major contributor in the analysis of the ALS part (patch #23) and the "HighSpeed Charging" functionality (patch #18).

The patches are also available here: http://www.absence.it/vaio-acpi/source/patches/patchset/