<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/platform, branch mybooklive</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/platform?h=mybooklive</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/platform?h=mybooklive'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2010-03-15T15:50:04Z</updated>
<entry>
<title>thinkpad-acpi: fix bluetooth/wwan resume</title>
<updated>2010-03-15T15:50:04Z</updated>
<author>
<name>Henrique de Moraes Holschuh</name>
<email>hmh@hmh.eng.br</email>
</author>
<published>2010-02-26T01:22:07Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=81defc45cbae8ec28c4af87bf887a562e38474a4'/>
<id>urn:sha1:81defc45cbae8ec28c4af87bf887a562e38474a4</id>
<content type='text'>
commit 08fedfc903c78e380b0baa7b57c52d367794d0a5 upstream.

Studying the DSDTs of various thinkpads, it looks like bit 3 of the
argument to SBDC and SWAN is not "set radio to last state on resume".
Rather, it seems to be "if this bit is set, enable radio on resume,
otherwise disable it on resume".

So, the proper way to prepare the radios for S3 suspend is: disable
radio and clear bit 3 on the SBDC/SWAN call to to resume with radio
disabled, and enable radio and set bit 3 on the SBDC/SWAN call to
resume with the radio enabled.

Also, for persistent devices, the rfkill core does not restore state,
so we really need to get the firmware to do the right thing.

We don't sync the radio state on suspend, instead we trust the BIOS to
not do anything weird if we never touched the radio state since boot.
Time will tell if that's a wise way of doing things...

Signed-off-by: Henrique de Moraes Holschuh &lt;hmh@hmh.eng.br&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>thinkpad-acpi: make driver events work in NVRAM poll mode</title>
<updated>2010-03-15T15:50:04Z</updated>
<author>
<name>Henrique de Moraes Holschuh</name>
<email>hmh@hmh.eng.br</email>
</author>
<published>2010-02-26T00:29:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=48825c5e641364ed823ba646cf0636d66f777a30'/>
<id>urn:sha1:48825c5e641364ed823ba646cf0636d66f777a30</id>
<content type='text'>
commit 7f0cf712a74fcc3ad21f0bde95bd32c2f2cc3888 upstream.

Thadeu Lima de Souza Cascardo reports this:

Brightness notification does not work until the user writes to
hotkey_mask attribute.  That's because the polling thread will only run
if hotkey_user_mask is set and someone is reading the input device or
if hotkey_driver_mask is set.  In this second case, this condition is
not tested after the mask is changed, because the brightness and
volume drivers are started after the hotkey drivers.

Fix tpacpi_hotkey_driver_mask_set() to call hotkey_poll_setup(), so
that the poller kthread will be started when needed.

Reported-by: Thadeu Lima de Souza Cascardo &lt;cascardo@holoscopio.com&gt;
Tested-by: Thadeu Lima de Souza Cascardo &lt;cascardo@holoscopio.com&gt;
Signed-off-by: Henrique de Moraes Holschuh &lt;hmh@hmh.eng.br&gt;
Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>thinkpad-acpi: document HKEY event 3006</title>
<updated>2010-03-15T15:50:03Z</updated>
<author>
<name>Henrique de Moraes Holschuh</name>
<email>hmh@hmh.eng.br</email>
</author>
<published>2010-02-26T00:28:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6279896e0d676c172f50c046064f889185382eac'/>
<id>urn:sha1:6279896e0d676c172f50c046064f889185382eac</id>
<content type='text'>
commit bf8b29c8f7f8269e99eca8b19048ed5b34b51810 upstream.

Event 0x3006 is used to help power management of the ODD in the
UltraBay.  The EC generates this event when the ODD eject button is
pressed (even if the bay is powered down).

Normally, Linux doesn't need this as we keep the SATA link powered
up (which wastes power).  The EC powers up the bay by itself when the
ODD eject button is pressed, and the SATA PHY reports the hotplug.

However, we could also power that SATA link down (and for that matter,
also power down the Ultrabay) if the ODD is left idle for a while with
no disk inside, and use event 0x3006 to know when we need that SATA link
powered back up.

For now, just stop asking for more information when event 0x3006 is
seen, there is no point in pestering users about it anymore.

Signed-off-by: Henrique de Moraes Holschuh &lt;hmh@hmh.eng.br&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>thinkpad-acpi: R52 brightness_mode has been confirmed</title>
<updated>2010-03-15T15:50:03Z</updated>
<author>
<name>Henrique de Moraes Holschuh</name>
<email>hmh@hmh.eng.br</email>
</author>
<published>2010-02-26T00:28:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ed401e38b235be93b4f34a60cfaf7ec0ded17930'/>
<id>urn:sha1:ed401e38b235be93b4f34a60cfaf7ec0ded17930</id>
<content type='text'>
commit 7d1894d8d1c411d2dad95abfe0f65bacf68c4afa upstream.

We can stop pestering users for confirmation of the brightness_mode
default for firmware TP-76.

While at it, add a few missing comments in that quirk table.

Reported-by: Whoopie &lt;whoopie79@gmx.net&gt;
Signed-off-by: Henrique de Moraes Holschuh &lt;hmh@hmh.eng.br&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>thinkpad-acpi: fix poll thread auto-start</title>
<updated>2010-03-15T15:50:03Z</updated>
<author>
<name>Henrique de Moraes Holschuh</name>
<email>hmh@hmh.eng.br</email>
</author>
<published>2010-02-26T00:28:58Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=88c69e8d13e46c2cab995743a42d195dc8b91882'/>
<id>urn:sha1:88c69e8d13e46c2cab995743a42d195dc8b91882</id>
<content type='text'>
commit b589ea4c44170d3f7a845684e2d1b3b9571663af upstream.

The driver was not starting the NVRAM polling thread if the input
device was bound immediately after registration.

This fixes:
http://bugzilla.kernel.org/show_bug.cgi?id=15118

Reported-by: Florian Zumbiehl &lt;florz@florz.de&gt;
Signed-off-by: Henrique de Moraes Holschuh &lt;hmh@hmh.eng.br&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>thinkpad-acpi: wrong thermal attribute_group removed in thermal_exit()</title>
<updated>2010-03-15T15:49:36Z</updated>
<author>
<name>Roel Kluin</name>
<email>roel.kluin@gmail.com</email>
</author>
<published>2010-02-02T22:37:58Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=baa4c4c30a57e2eb1e2fe7b39105858b82195750'/>
<id>urn:sha1:baa4c4c30a57e2eb1e2fe7b39105858b82195750</id>
<content type='text'>
commit f04d5e012d73ea441bd39804ace39fd6d1ce5611 upstream.

sysfs_remove_group() removed the wrong attribute_group for
thermal_read_mode TPEC_8, ACPI_TMP07 and ACPI_UPDT

Signed-off-by: Roel Kluin &lt;roel.kluin@gmail.com&gt;
Acked-by: Henrique de Moraes Holschuh &lt;ibm-acpi@hmh.eng.br&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>dell-wmi, hp-wmi, msi-wmi: check wmi_get_event_data() return value</title>
<updated>2010-02-23T15:37:54Z</updated>
<author>
<name>Len Brown</name>
<email>len.brown@intel.com</email>
</author>
<published>2010-01-30T23:01:42Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=06eeea406c93680a55dd333971638af7289f8f7b'/>
<id>urn:sha1:06eeea406c93680a55dd333971638af7289f8f7b</id>
<content type='text'>
commit fda11e61ff8a4e3a8ebbd434e46560b67cc0ca9d upstream

[ backport to 2.6.32 ]

When acpi_evaluate_object() is passed ACPI_ALLOCATE_BUFFER,
the caller must kfree the returned buffer if AE_OK is returned.

The callers of wmi_get_event_data() pass ACPI_ALLOCATE_BUFFER,
and thus must check its return value before accessing
or kfree() on the buffer.

Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
Cc: Chuck Ebbert &lt;cebbert@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>wmi: Free the allocated acpi objects through wmi_get_event_data</title>
<updated>2010-02-23T15:37:54Z</updated>
<author>
<name>Anisse Astier</name>
<email>anisse@astier.eu</email>
</author>
<published>2010-01-30T23:00:17Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9f835c304f14fe5ad4f435c58e9c1e08fda71886'/>
<id>urn:sha1:9f835c304f14fe5ad4f435c58e9c1e08fda71886</id>
<content type='text'>
commit 3e9b988e4edf065d39c1343937f717319b1c1065 upstream

[ backported to 2.6.32 ]

These function allocate an acpi object by calling wmi_get_event_data, which
then calls acpi_evaluate_object, and it is not freed afterwards.

And kernel doc is fixed for parameters of wmi_get_event_data.

Signed-off-by: Anisse Astier &lt;anisse@astier.eu&gt;
Acked-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Acked-by: Carlos Corbacho &lt;carlos@strangeworlds.co.uk&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
Cc: Chuck Ebbert &lt;cebbert@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>asus-laptop: add Lenovo SL hotkey support</title>
<updated>2010-01-22T23:18:29Z</updated>
<author>
<name>Ike Panhc</name>
<email>ike.pan@canonical.com</email>
</author>
<published>2009-12-03T07:45:11Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9fc68ca0778831d6901fc9bcfa65db214770f97f'/>
<id>urn:sha1:9fc68ca0778831d6901fc9bcfa65db214770f97f</id>
<content type='text'>
commit 14f8af311e7d3e4198cbaade84a34f86505dcb37 upstream.

Lenovo SL series laptop has a very similar DSDT with Asus laptops. We can
easily have the extra ACPI function support with little modification in
asus-laptop.c

Here is the hotkey enablement for Lenovo SL series laptop.

This patch will enable the following hotkey:
 - Volumn Up
 - Volumn Down
 - Mute
 - Screen Lock (Fn+F2)
 - Battery Status (Fn+F3)
 - WLAN switch (Fn+F5)
 - Video output switch (Fn+F7)
 - Touchpad switch (Fn+F8)
 - Screen Magnifier (Fn+Space)

The following function of Lenovo SL laptop is still need to be enabled:
 - Hotkey: KEY_SUSPEND (Fn+F4), KEY_SLEEP (Fn+F12), Dock Eject (Fn+F9)
 - Rfkill for bluetooth and wlan
 - LenovoCare LED
 - Hwmon for fan speed
 - Fingerprint scanner
 - Active Protection System

Signed-off-by: Ike Panhc &lt;ike.pan@canonical.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>acerhdf: limit modalias matching to supported</title>
<updated>2010-01-06T23:03:28Z</updated>
<author>
<name>Stefan Bader</name>
<email>stefan.bader@canonical.com</email>
</author>
<published>2009-12-22T00:20:04Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5ab8996c82fdb3fa04ca1d72b1fb388ce9c42378'/>
<id>urn:sha1:5ab8996c82fdb3fa04ca1d72b1fb388ce9c42378</id>
<content type='text'>
commit bdc731bc5fcd1794e9ac8ac80c389d302381c123 upstream.

BugLink: https://bugs.launchpad.net/ubuntu/+bug/435958

The module alias currently matches any Acer computer but when loaded the
BIOS checks will only succeed on Aspire One models.  This causes a invalid
BIOS warning for all other models (seen on Aspire 4810T).  This is not
fatal but worries users that see this message.  Limiting the moule alias
to models starting with AOA or DOA for Packard Bell.

Signed-off-by: Stefan Bader &lt;stefan.bader@canonical.com&gt;
Acked-by: Borislav Petkov &lt;petkovbb@gmail.com&gt;
Acked-by: Peter Feuerer &lt;peter@piie.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
</feed>
