<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/platform, branch v2.6.30</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.30</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.30'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2009-05-14T15:28:27Z</updated>
<entry>
<title>eeepc-laptop: unregister_rfkill_notifier on failure</title>
<updated>2009-05-14T15:28:27Z</updated>
<author>
<name>Corentin Chary</name>
<email>corentincj@iksaif.net</email>
</author>
<published>2009-04-27T07:23:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=bd32005e126a465deda5d046a62f6bb842f4d9cf'/>
<id>urn:sha1:bd32005e126a465deda5d046a62f6bb842f4d9cf</id>
<content type='text'>
If there is a failure during eeepc_hotk_add() we need
to remove the acpi_notify_handler.

Signed-off-by: Corentin Chary &lt;corentincj@iksaif.net&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>asus-laptop: fix input keycode</title>
<updated>2009-05-14T15:27:46Z</updated>
<author>
<name>Corentin Chary</name>
<email>corentincj@iksaif.net</email>
</author>
<published>2009-04-27T07:23:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=309f5fbda37d5e8f1233e8b80b8e9de77262e864'/>
<id>urn:sha1:309f5fbda37d5e8f1233e8b80b8e9de77262e864</id>
<content type='text'>
KEY_STOP is now KEY_STOPCD
 It's the correct key to stop a media
BTN_EXTRA is now KEY_SCREENLOCK:
 The laptop manual tells us that this key is for screenlock
KEY_TV is now KEY_PROG1
 So it can be reported to X server

Ref: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/361505

Signed-off-by: Corentin Chary &lt;corentincj@iksaif.net&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>eeepc-laptop: support for super hybrid engine (SHE)</title>
<updated>2009-05-14T15:23:40Z</updated>
<author>
<name>Grigori Goronzy</name>
<email>greg@chown.ath.cx</email>
</author>
<published>2009-04-27T07:23:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=158ca1d75dd0d6223f3b1dd741d30777da62ab80'/>
<id>urn:sha1:158ca1d75dd0d6223f3b1dd741d30777da62ab80</id>
<content type='text'>
The older eeepc-acpi driver allowed to control the SHE performance
preset through a ACPI function for just this purpose. SHE underclocks
and undervolts the FSB and undervolts the CPU (at preset 2,
"powersave"), or slightly overclocks the CPU (at preset 0,
"performance"). Preset 1 is the default setting with default clocks and
voltage.

The new eeepc-laptop driver doesn't support it anymore.
The attached patch adds support for it to eeepc-laptop. It's very
straight-forward and almost trivial.

Signed-off-by: Grigori Goronzy &lt;greg@chown.ath.cx&gt;
Signed-off-by: Corentin Chary &lt;corentincj@iksaif.net&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>eeepc-laptop: Work around rfkill firmware bug</title>
<updated>2009-05-14T15:21:36Z</updated>
<author>
<name>Alan Jenkins</name>
<email>alan-jenkins@tuffmail.co.uk</email>
</author>
<published>2009-04-27T07:23:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=978605c4fd8e7470f225eec7b5aab69d8796afcc'/>
<id>urn:sha1:978605c4fd8e7470f225eec7b5aab69d8796afcc</id>
<content type='text'>
1) Buggy firmware can change the RFKILL state by itself. This is easily
   detected.  The RFKILL API states that in such cases, we should call
   rfkill_force_state() to notify the core.

   I have reported the bug to Asus. I believe this is the right thing
   to do for robustness, even if this particular firmware bug is fixed.

2) The same bug causes the wireless toggle key to be reported as 0x11
   instead of 0x10.  0x11 is otherwise unused, so it should be safe to
   add this as a new keycode.

The bug is triggered by removing the laptop battery while hibernated.

On resume, the wireless toggle key causes the firmware to toggle the
wireless state itself.  (Also, the key is reported as 0x11 when the
current wireless state is OFF).

This is very poor behaviour because the OS can't predict whether the
firmware is controlling the RFKILL state.

Without this workaround, the bug means users have to press the wireless
toggle key twice to enable, due to the OS/firmware conflict.  (Assuming
rfkill-input or equivalent is being used).  The workaround avoids this.

I believe that acpid scripts which toggle the value of the sysfs state file
when the toggle key is pressed will be rendered ineffective by the bug,
regardless of this workaround.  If they simply toggle the state, when the
firmware has already toggled it, then you will never see a state change.

Tested on "EEEPC 4G" only.

Signed-off-by: Alan Jenkins &lt;alan-jenkins@tuffmail.co.uk&gt;
Signed-off-by: Corentin Chary &lt;corentincj@iksaif.net&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>eeepc-laptop: report brightness control events via the input layer</title>
<updated>2009-05-14T15:19:32Z</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2009-04-27T07:23:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=64b86b6583db832b28bb54575e32b9e2a1a7d84f'/>
<id>urn:sha1:64b86b6583db832b28bb54575e32b9e2a1a7d84f</id>
<content type='text'>
This maps the brightness control events to one of two keys, either
KEY_BRIGHTNESSDOWN or KEY_BRIGHTNESSUP, as needed.

Some mapping has to be done due to the fact that the BIOS reports them as
&lt;base value&gt; + &lt;current brightness index&gt;; the selection is done according to
the sign of the change in brightness (if this is 0, no keypress is reported).

(Ref. http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/2009-April/002001.html)

Signed-off-by: Darren Salt &lt;linux@youmustbejoking.demon.co.uk&gt;
Signed-off-by: Corentin Chary &lt;corentincj@iksaif.net&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>eeepc-laptop: fix wlan rfkill state change during init</title>
<updated>2009-05-14T15:14:42Z</updated>
<author>
<name>Alan Jenkins</name>
<email>alan-jenkins@tuffmail.co.uk</email>
</author>
<published>2009-04-27T07:23:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fbc97e4c5c31ea198f912196b1379d7493362800'/>
<id>urn:sha1:fbc97e4c5c31ea198f912196b1379d7493362800</id>
<content type='text'>
When an rfkill device is registered, the rfkill core will change its
state to the system default. So we need to prepare for state changes
*before* we register it. That means installing the eeepc-specific ACPI
callback which handles the hotplug of the wireless network adaptor.

This problem doesn't occur during normal operation.  You have to

1) Boot with wireless enabled. eeepc-laptop should load automatically.
2) modprobe -r eeepc-laptop
3) modprobe eeepc-laptop

On boot, the default rfkill state will be set to enabled.
With the current core code, step 2) will disable the wireless.
Therefore in step 3), the wireless will change state during registration,
from disabled to enabled.  But without this fix, the PCI device for the
wireless adaptor will not appear.

Signed-off-by: Alan Jenkins &lt;alan-jenkins@tuffmail.co.uk&gt;
Acked-by: Matthew Garrett &lt;mjg@redhat.com&gt;
Signed-off-by: Corentin Chary &lt;corentincj@iksaif.net&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'sony-laptop' into release</title>
<updated>2009-04-24T05:34:52Z</updated>
<author>
<name>Len Brown</name>
<email>len.brown@intel.com</email>
</author>
<published>2009-04-24T05:34:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7f3745ad7aca48b946136e3173861821fa8b24c5'/>
<id>urn:sha1:7f3745ad7aca48b946136e3173861821fa8b24c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sony-laptop: always try to unblock rfkill on load</title>
<updated>2009-04-24T03:57:34Z</updated>
<author>
<name>Mattia Dongili</name>
<email>malattia@linux.it</email>
</author>
<published>2009-04-12T11:26:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=53005a0a1b53bda5810c45efe3025d1884aa6bb3'/>
<id>urn:sha1:53005a0a1b53bda5810c45efe3025d1884aa6bb3</id>
<content type='text'>
This fixes an inconsistent behaviour when loading the driver with the
switch on or off. In the former case you would also need to soft unblock
the switch via the sysfs file entries to really disable rfkill, in the
latter you wouldn't.

Signed-off-by: Mattia Dongili &lt;malattia@linux.it&gt;
Cc: Matthias Welwarsky &lt;matze@welwarsky.de&gt;
Acked-by: Matthew Garrett &lt;mjg@redhat.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>sony-laptop: fix bogus error message display on resume</title>
<updated>2009-04-24T03:57:34Z</updated>
<author>
<name>Mattia Dongili</name>
<email>malattia@linux.it</email>
</author>
<published>2009-04-12T11:26:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c35d4b3532ed3e2076fb14c25385cf6cef41cc69'/>
<id>urn:sha1:c35d4b3532ed3e2076fb14c25385cf6cef41cc69</id>
<content type='text'>
sony_backlight_update_status returns 0 on success -1 on failure (i.e.: the
return value from acpi_callsetfunc. The return value in the resume path
was broken and thus always displaying a bogus warning about not being able
to restore the brightness level.

Signed-off-by: Mattia Dongili &lt;malattia@linux.it&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>sony-laptop: SNC input event 38 fix</title>
<updated>2009-04-24T03:56:53Z</updated>
<author>
<name>Almer S. Tigelaar</name>
<email>almer@gnome.org</email>
</author>
<published>2009-04-12T11:26:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a83021a229016f93b4e532d9cef21b01be5a8bb7'/>
<id>urn:sha1:a83021a229016f93b4e532d9cef21b01be5a8bb7</id>
<content type='text'>
Fixes the "unknown input event 38" messages. ANYBUTTON_RELEASED is now
treated the same way as FN_KEY_RELEASED.

Signed-off-by: Almer S. Tigelaar &lt;almer@gnome.org&gt;
Signed-off-by: Mattia Dongili &lt;malattia@linux.it&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
</feed>
