Laptop driver documentation changes for 2.6.25
Subsystems (3)
cover Laptop driver documentation changes for 2.6.25
The following series implements the proposed creation of Documentation/laptops, and the movement of all the laptop driver documentation to this directory. I've also taken the opportunity to tack on the acer-wmi documentation in the final patch of this series.
Because all the drivers in question go through the ACPI tree anyway, it's probably easiest if this change goes through the ACPI tree as well.
This should all be 2.6.25 material, since there is no code change here, just rearranging the Documentation files, and updating Kconfig entries where required. I've also tested this series against Linus' latest git tree, with no problems applying it there.
-Carlos
---
Carlos Corbacho (5):
acer-wmi - Add documentation
sonypi - Move sonypi.txt to Documentation/laptops sony-laptop - Move sony-laptop.txt to Documentation/laptops thinkpad-acpi - Move thinkpad-acpi.txt to Documentation/laptops Documentation - Create laptops sub-directory
Documentation/00-INDEX | 8 Documentation/laptops/00-INDEX | 10 Documentation/laptops/acer-wmi.txt | 202 +++++ Documentation/laptops/sony-laptop.txt | 117 +++ Documentation/laptops/sonypi.txt | 152 +++ Documentation/laptops/thinkpad-acpi.txt | 1365 +++++++++++++++++++++++++++++++ Documentation/sony-laptop.txt | 117 --- Documentation/sonypi.txt | 152 --- Documentation/thinkpad-acpi.txt | 1365 ------------------------------- drivers/char/Kconfig | 2 drivers/misc/Kconfig | 10 11 files changed, 1856 insertions(+), 1644 deletions(-) create mode 100644 Documentation/laptops/00-INDEX create mode 100644 Documentation/laptops/acer-wmi.txt create mode 100644 Documentation/laptops/sony-laptop.txt create mode 100644 Documentation/laptops/sonypi.txt create mode 100644 Documentation/laptops/thinkpad-acpi.txt delete mode 100644 Documentation/sony-laptop.txt delete mode 100644 Documentation/sonypi.txt delete mode 100644 Documentation/thinkpad-acpi.txt
PATCH 1/5 Documentation - Create laptops sub-directory
There are currently various laptop drivers floating about with no central place for their documentation, which is currently scattered around the top level Documentation/ directory.
So, as a first step, lets create a Documentation sub-directory, and update the relevant index files. The work of then moving the existing laptop driver related documentation will then be handled later.
---
Documentation/00-INDEX | 2 ++ Documentation/laptops/00-INDEX | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) create mode 100644 Documentation/laptops/00-INDEX
Documentation/00-INDEX +2 -0
@@ -227,6 +227,8 @@ kref.txt - docs on adding reference counters (krefs) to kernel objects. laptop-mode.txt - how to conserve battery power using laptop-mode. +laptops/ + - directory with laptop related info and laptop driver documentation. ldm.txt - a brief description of LDM (Windows Dynamic Disks). leds-class.txt
Documentation/laptops/00-INDEX new file +2 -0
@@ -0,0 +1,2 @@ +00-INDEX + - This file
PATCH 3/5 sony-laptop - Move sony-laptop.txt to Documentation/laptops
In reply to Carlos CorbachoAlso update references to sony-laptop.txt in Kconfig.
---
Documentation/00-INDEX | 2 - Documentation/laptops/00-INDEX | 2 + Documentation/laptops/sony-laptop.txt | 117 +++++++++++++++++++++++++++++++++ Documentation/sony-laptop.txt | 117 --------------------------------- drivers/misc/Kconfig | 2 - 5 files changed, 120 insertions(+), 120 deletions(-) create mode 100644 Documentation/laptops/sony-laptop.txt delete mode 100644 Documentation/sony-laptop.txt
Documentation/00-INDEX +0 -2
@@ -353,8 +353,6 @@ sh/ - directory with info on porting Linux to a new architecture. smart-config.txt - description of the Smart Config makefile feature. -sony-laptop.txt - - Sony Notebook Control Driver (SNC) Readme. sonypi.txt - info on Linux Sony Programmable I/O Device support. sound/
Documentation/laptops/00-INDEX +2 -0
@@ -1,4 +1,6 @@ 00-INDEX - This file +sony-laptop.txt + - Sony Notebook Control Driver (SNC) Readme. thinkpad-acpi.txt - information on the (IBM and Lenovo) ThinkPad ACPI Extras driver.
Documentation/laptops/sony-laptop.txt new file +117 -0
117 lines not on this page · raw message
Documentation/sony-laptop.txt deleted +0 -117
117 lines not on this page · raw message
drivers/misc/Kconfig +1 -1
@@ -183,7 +183,7 @@ config SONY_LAPTOP screen brightness control, Fn keys and allows powering on/off some devices. - Read <file:Documentation/sony-laptop.txt> for more information. + Read <file:Documentation/laptops/sony-laptop.txt> for more information. config SONYPI_COMPAT bool "Sonypi compatibility"
PATCH 4/5 sonypi - Move sonypi.txt to Documentation/laptops
In reply to Carlos CorbachoAlso update references to sonypi.txt in Kconfig.
---
Documentation/00-INDEX | 2 - Documentation/laptops/00-INDEX | 2 + Documentation/laptops/sonypi.txt | 152 ++++++++++++++++++++++++++++++++++++++ Documentation/sonypi.txt | 152 -------------------------------------- drivers/char/Kconfig | 2 - 5 files changed, 155 insertions(+), 155 deletions(-) create mode 100644 Documentation/laptops/sonypi.txt delete mode 100644 Documentation/sonypi.txt
Documentation/00-INDEX +0 -2
@@ -353,8 +353,6 @@ sh/ - directory with info on porting Linux to a new architecture. smart-config.txt - description of the Smart Config makefile feature. -sonypi.txt - - info on Linux Sony Programmable I/O Device support. sound/ - directory with info on sound card support. sparc/
Documentation/laptops/00-INDEX +2 -0
@@ -2,5 +2,7 @@ - This file sony-laptop.txt - Sony Notebook Control Driver (SNC) Readme. +sonypi.txt + - info on Linux Sony Programmable I/O Device support. thinkpad-acpi.txt - information on the (IBM and Lenovo) ThinkPad ACPI Extras driver.
Documentation/laptops/sonypi.txt new file +152 -0
152 lines not on this page · raw message
Documentation/sonypi.txt deleted +0 -152
152 lines not on this page · raw message
drivers/char/Kconfig +1 -1
@@ -875,7 +875,7 @@ config SONYPI Device which can be found in many (all ?) Sony Vaio laptops. If you have one of those laptops, read - <file:Documentation/sonypi.txt>, and say Y or M here. + <file:Documentation/laptops/sonypi.txt>, and say Y or M here. To compile this driver as a module, choose M here: the module will be called sonypi.
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH 5/5 acer-wmi - Add documentation
In reply to Carlos CorbachoAdd some initial documentation detailing what acer-wmi is, and how to use it. Update the Kconfig entry with a reference to the documentation.
---
Documentation/laptops/00-INDEX | 2 Documentation/laptops/acer-wmi.txt | 202 ++++++++++++++++++++++++++++++++++++ drivers/misc/Kconfig | 3 + 3 files changed, 207 insertions(+), 0 deletions(-) create mode 100644 Documentation/laptops/acer-wmi.txt
Documentation/laptops/00-INDEX +2 -0
@@ -1,5 +1,7 @@ 00-INDEX - This file +acer-wmi.txt + - information on the Acer Laptop WMI Extras driver. sony-laptop.txt - Sony Notebook Control Driver (SNC) Readme. sonypi.txt
Documentation/laptops/acer-wmi.txt new file +202 -0
202 lines not on this page · raw message
drivers/misc/Kconfig +3 -0
@@ -105,6 +105,9 @@ config ACER_WMI wireless radio and bluetooth control, and on some laptops, exposes the mail LED and LCD backlight. + For more information about this driver see + <file:Documentation/laptops/acer-wmi.txt> + If you have an ACPI-WMI compatible Acer/ Wistron laptop, say Y or M here.
Quoted 1 line · On Saturday 09 February 2008 01:31:57 Carlos Corbacho wrote:
thinkpad-acpi - Move thinkpad-acpi.txt to
Documentation/laptops
This patch [2/5] doesn't seem to have made it to the list. If it doesn't appear by the end of Saturday, I'll try resending it.
-Carlos
Signature · 3 lines
E-Mail: [email protected] Web: strangeworlds.co.uk GPG Key ID: 0x23EE722D
Len Brown
reviewerQuoted 5 lines · Carlos Corbacho
Quoted 1 line · On Saturday 09 February 2008 01:31:57 Carlos Corbacho wrote:
thinkpad-acpi - Move thinkpad-acpi.txt to
Documentation/laptopsThis patch [2/5] doesn't seem to have made it to the list. If it doesn't appear by the end of Saturday, I'll try resending it.
it was 110K, which exceeded the 100K message size of the list.
i'm fine with these changes if everybody else is.
thanks,
-len
Quoted 10 lines · Len Brown
Quoted 5 lines · Carlos Corbacho
Quoted 1 line · On Saturday 09 February 2008 01:31:57 Carlos Corbacho wrote:
thinkpad-acpi - Move thinkpad-acpi.txt to
Documentation/laptopsThis patch [2/5] doesn't seem to have made it to the list. If it doesn't appear by the end of Saturday, I'll try resending it.
it was 110K, which exceeded the 100K message size of the list.
i'm fine with these changes if everybody else is.
As I said before, I am OK with them.
BTW Carlos, sending a git diff would have resulted in much smaller diffs (since git diff can do renames instead of add/delete) :) I believe all of us can deal just fine with git diffs, so it makes sense to use them in these cases.
Signature · 4 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh
Quoted 4 lines · On Saturday 09 February 2008 18:22:17 Henrique de Moraes Holschuh wrote:
BTW Carlos, sending a git diff would have resulted in much smaller diffs (since git diff can do renames instead of add/delete) :) I believe all of us can deal just fine with git diffs, so it makes sense to use them in these cases.
I don't quite know what you mean here - experimenting in a tree here, git-diff doesn't produce any noticeable difference after using git-mv - unless this is a bug with StackedGit being unable to handle renames/ moves properly?
-Carlos
Signature · 3 lines
E-Mail: [email protected] Web: strangeworlds.co.uk GPG Key ID: 0x23EE722D
Quoted 9 lines · Carlos Corbacho
Quoted 4 lines · On Saturday 09 February 2008 18:22:17 Henrique de Moraes Holschuh wrote:
BTW Carlos, sending a git diff would have resulted in much smaller diffs (since git diff can do renames instead of add/delete) :) I believe all of us can deal just fine with git diffs, so it makes sense to use them in these cases.
I don't quite know what you mean here - experimenting in a tree here, git-diff doesn't produce any noticeable difference after using git-mv - unless this is a bug with StackedGit being unable to handle renames/ moves properly?
Randy sent you a much better email than mine about it, but here it goes:
hmh@thorin:/tmp/f$ git init Initialized empty Git repository in .git/ hmh@thorin:/tmp/f$ cp /var/log/Xorg.0.log . hmh@thorin:/tmp/f$ git add . hmh@thorin:/tmp/f$ git commit -m "initial commit" Created initial commit 4e5f9c4: initial commit 1 files changed, 1260 insertions(+), 0 deletions(-) create mode 100644 Xorg.0.log hmh@thorin:/tmp/f$ git mv Xorg.0.log Xorg.1.log hmh@thorin:/tmp/f$ git commit -m "move commit" Created commit ed5f8d0: move commit 2 files changed, 1260 insertions(+), 1260 deletions(-) delete mode 100644 Xorg.0.log create mode 100644 Xorg.1.log hmh@thorin:/tmp/f$ git diff HEAD^.. -M
Xorg.1.log renamed from Xorg.0.log +0 -0
The key is that -M (or -C for that matter). To be even more clear:
hmh@thorin:/tmp/f$ git diff HEAD^.. | wc 2532 20098 134766 hmh@thorin:/tmp/f$ git diff HEAD^.. -M | wc 4 13 103
So I really should have mentioned -M when I talked about git diffs :-(
Signature · 4 lines
"One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh
Quoted 10 lines · Len Brown
Quoted 5 lines · Carlos Corbacho
Quoted 1 line · On Saturday 09 February 2008 01:31:57 Carlos Corbacho wrote:
thinkpad-acpi - Move thinkpad-acpi.txt to
Documentation/laptopsThis patch [2/5] doesn't seem to have made it to the list. If it doesn't appear by the end of Saturday, I'll try resending it.
it was 110K, which exceeded the 100K message size of the list.
i'm fine with these changes if everybody else is.
Ok for me for sonypi.txt and sony-laptop.txt
Cheers
Signature · 2 lines
mattia :wq!
Quoted 16 lines · On Sat, 09 Feb 2008 01:31:57 +0000 Carlos Corbacho wrote:
The following series implements the proposed creation of
Documentation/laptops, and the movement of all the laptop driver documentation to this directory. I've also taken the opportunity to tack on the acer-wmi documentation in the final patch of this series.Because all the drivers in question go through the ACPI tree anyway, it's probably easiest if this change goes through the ACPI tree as well.
This should all be 2.6.25 material, since there is no code change here, just rearranging the Documentation files, and updating
Kconfigentries where required. I've also tested this series against Linus' latest git tree, with no problems applying it there.-Carlos
---
Quoted 6 lines
Carlos Corbacho (5):
acer-wmi - Add documentation
sonypi - Move sonypi.txt toDocumentation/laptopssony-laptop - Move sony-laptop.txt toDocumentation/laptopsthinkpad-acpi - Move thinkpad-acpi.txt toDocumentation/laptopsDocumentation - Create laptops sub-directory
for_each:
Oh. If any of these are purely moved files (from one location to another), then that should show up in the git-diff diffstat. (I'm sure that Len knows about this.)
Ah, I finally found Linus's email on this. He says:
Please use "git diff -M --stat --summary" to generate the diffstat: the -M enables rename detection, and the summary enables a summary of new/deleted or renamed files.
Thanks.
Quoted 12 lines
Documentation/00-INDEX | 8 Documentation/laptops/00-INDEX | 10 Documentation/laptops/acer-wmi.txt | 202 +++++ Documentation/laptops/sony-laptop.txt | 117 +++ Documentation/laptops/sonypi.txt | 152 +++ Documentation/laptops/thinkpad-acpi.txt | 1365 +++++++++++++++++++++++++++++++ Documentation/sony-laptop.txt | 117 --- Documentation/sonypi.txt | 152 --- Documentation/thinkpad-acpi.txt | 1365 ------------------------------- drivers/char/Kconfig | 2 drivers/misc/Kconfig | 10 11 files changed, 1856 insertions(+), 1644 deletions(-)
Quoted 8 lines
create mode 100644 Documentation/laptops/00-INDEX create mode 100644 Documentation/laptops/acer-wmi.txt create mode 100644 Documentation/laptops/sony-laptop.txt create mode 100644 Documentation/laptops/sonypi.txt create mode 100644 Documentation/laptops/thinkpad-acpi.txt delete mode 100644 Documentation/sony-laptop.txt delete mode 100644 Documentation/sonypi.txt delete mode 100644 Documentation/thinkpad-acpi.txt
---
~Randy
Quoted 5 lines · On Sat, 09 Feb 2008 01:31:57 +0000 Carlos Corbacho wrote:
The following series implements the proposed creation of
Documentation/laptops, and the movement of all the laptop driver documentation to this directory. I've also taken the opportunity to tack on the acer-wmi documentation in the final patch of this series.
Quoted 8 lines
Because all the drivers in question go through the ACPI tree anyway, it's probably easiest if this change goes through the ACPI tree as well.
This should all be 2.6.25 material, since there is no code change here, just rearranging the Documentation files, and updating
Kconfigentries where required. I've also tested this series against Linus' latest git tree, with no problems applying it there.
Hi,
so should we also move Documentation/laptop-mode.txt to laptops/ dir?
Quoted 21 lines
Carlos Corbacho (5):
acer-wmi - Add documentation
sonypi - Move sonypi.txt toDocumentation/laptopssony-laptop - Move sony-laptop.txt toDocumentation/laptopsthinkpad-acpi - Move thinkpad-acpi.txt toDocumentation/laptopsDocumentation - Create laptops sub-directoryDocumentation/00-INDEX | 8 Documentation/laptops/00-INDEX | 10 Documentation/laptops/acer-wmi.txt | 202 +++++ Documentation/laptops/sony-laptop.txt | 117 +++ Documentation/laptops/sonypi.txt | 152 +++ Documentation/laptops/thinkpad-acpi.txt | 1365 +++++++++++++++++++++++++++++++ Documentation/sony-laptop.txt | 117 --- Documentation/sonypi.txt | 152 --- Documentation/thinkpad-acpi.txt | 1365 ------------------------------- drivers/char/Kconfig | 2 drivers/misc/Kconfig | 10 11 files changed, 1856 insertions(+), 1644 deletions(-)
Quoted 8 lines
create mode 100644 Documentation/laptops/00-INDEX create mode 100644 Documentation/laptops/acer-wmi.txt create mode 100644 Documentation/laptops/sony-laptop.txt create mode 100644 Documentation/laptops/sonypi.txt create mode 100644 Documentation/laptops/thinkpad-acpi.txt delete mode 100644 Documentation/sony-laptop.txt delete mode 100644 Documentation/sonypi.txt delete mode 100644 Documentation/thinkpad-acpi.txt
---
~Randy
Quoted 9 lines · On Monday 11 February 2008 19:23:39 Randy Dunlap wrote:
Quoted 8 lines · On Sat, 09 Feb 2008 01:31:57 +0000 Carlos Corbacho wrote:
The following series implements the proposed creation of
Documentation/laptops, and the movement of all the laptop driver documentation to this directory. I've also taken the opportunity to tack on the acer-wmi documentation in the final patch of this series.Because all the drivers in question go through the ACPI tree anyway, it's probably easiest if this change goes through the ACPI tree as well.
Quoted 7 lines
Quoted 4 lines
This should all be 2.6.25 material, since there is no code change here, just rearranging the Documentation files, and updating
Kconfigentries where required. I've also tested this series against Linus' latest git tree, with no problems applying it there.Hi,
so should we also moveDocumentation/laptop-mode.txtto laptops/ dir?
[CC'ing Bart Samwel on this, as he wrote Documentation/laptop-mode.txt]
Yes, we probably should.
-Carlos
Signature · 3 lines
E-Mail: [email protected] Web: strangeworlds.co.uk GPG Key ID: 0x23EE722D
Quoted 15 lines · On Mon, 11 Feb 2008 19:29:29 +0000 Carlos Corbacho wrote:
Quoted 14 lines · On Monday 11 February 2008 19:23:39 Randy Dunlap wrote:
Quoted 12 lines · On Sat, 09 Feb 2008 01:31:57 +0000 Carlos Corbacho wrote:
The following series implements the proposed creation of
Documentation/laptops, and the movement of all the laptop driver documentation to this directory. I've also taken the opportunity to tack on the acer-wmi documentation in the final patch of this series.Because all the drivers in question go through the ACPI tree anyway, it's probably easiest if this change goes through the ACPI tree as well.
This should all be 2.6.25 material, since there is no code change here, just rearranging the Documentation files, and updating
Kconfigentries where required. I've also tested this series against Linus' latest git tree, with no problems applying it there.
Quoted 6 lines
Quoted 2 lines
Hi,
so should we also moveDocumentation/laptop-mode.txtto laptops/ dir?[CC'ing Bart Samwel on this, as he wrote
Documentation/laptop-mode.txt]Yes, we probably should.
Hi Bart,
Is that OK with you?
if we move laptop-mode.txt to the Documenation/laptops/ sub-directory?
---
~Randy
Quoted 18 lines · Randy Dunlap
Quoted 16 lines · On Mon, 11 Feb 2008 19:29:29 +0000 Carlos Corbacho wrote:
Quoted 15 lines · On Monday 11 February 2008 19:23:39 Randy Dunlap wrote:
Quoted 5 lines · On Sat, 09 Feb 2008 01:31:57 +0000 Carlos Corbacho wrote:
The following series implements the proposed creation of
Documentation/laptops, and the movement of all the laptop driver documentation to this directory. I've also taken the opportunity to tack on the acer-wmi documentation in the final patch of this series.Quoted 7 lines
Because all the drivers in question go through the ACPI tree anyway, it's probably easiest if this change goes through the ACPI tree as well.
This should all be 2.6.25 material, since there is no code change here, just rearranging the Documentation files, and updating
Kconfigentries where required. I've also tested this series against Linus' latest git tree, with no problems applying it there.Hi,
so should we also moveDocumentation/laptop-mode.txtto laptops/ dir?
Quoted 7 lines
Quoted 3 lines
[CC'ing Bart Samwel on this, as he wrote
Documentation/laptop-mode.txt]Yes, we probably should.
Hi Bart,
Is that OK with you?
if we move laptop-mode.txt to the Documenation/laptops/ sub-directory?
Sounds fine by me!
Cheers,
Bart