Skip to contentSkip to conversation

eeepc-laptop: disable wireless hotplug for 1005PE

PATCH In review Alan Jenkins 2 participants 2 messages Feb 20, 2010 – Feb 22, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 eeepc-laptop: disable wireless hotplug for 1005PE

The wireless hotplug code is not needed on this model, and it disables the wired ethernet card. (Like on the 1005HA and 1201N).

References: <http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/2010-February/003281.html>

---
drivers/platform/x86/eeepc-laptop.c | 3 ++-

1 files changed, 2 insertions(+), 1 deletions(-)
drivers/platform/x86/eeepc-laptop.c +0 -0
index e2be6bb..6a47bb7 100644
@@ -1277,7 +1277,8 @@ static void eeepc_dmi_check(struct eeepc_laptop *eeepc)

* hotplug code. In fact, current hotplug code seems to unplug another
* device...
*/

-	if (strcmp(model, "1005HA") == 0 || strcmp(model, "1201N") == 0) {
+	if (strcmp(model, "1005HA") == 0 || strcmp(model, "1201N") == 0 ||
+	    strcmp(model, "1005PE") == 0) {
		eeepc->hotplug_disabled = true;
		pr_info("wlan hotplug disabled\n");
	}
Signature · 1 line
1.6.3.3
maintainer
#1 lore raw
Quoted 24 lines · Alan Jenkins

The wireless hotplug code is not needed on this model, and it disables the wired ethernet card.  (Like on the 1005HA and 1201N).

References:
<http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/2010-February/003281.html>

---
drivers/platform/x86/eeepc-laptop.c |    3 ++-

1 files changed, 2 insertions(+), 1 deletions(-)
drivers/platform/x86/eeepc-laptop.c +0 -0
index e2be6bb..6a47bb7 100644
@@ -1277,7 +1277,8 @@ static void eeepc_dmi_check(struct eeepc_laptop
 *eeepc)
         * hotplug code. In fact, current hotplug code seems to unplug

another
        * device...
        */

Quoted 9 lines
-       if (strcmp(model, "1005HA") == 0 || strcmp(model, "1201N") == 0) {
+       if (strcmp(model, "1005HA") == 0 || strcmp(model, "1201N") == 0 ||

+           strcmp(model, "1005PE") == 0) { eeepc->hotplug_disabled = true; pr_info("wlan hotplug disabled\n"); }
--
1.6.3.3

Ack,

Len, is it still possible merge this patch in the next rc ? Thanks,

Signature · 6 lines
Corentin Chary
http://xf.iksaif.net
--
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