mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Darren Salt <linux@youmustbejoking.demon.co.uk>
To: linux-kernel@vger.kernel.org
Cc: Bernd.Spaeth@gmx.net
Subject: [2.6.28-rc7 PATCH] Make Bluetooth rfkill work on EeePC
Date: Wed, 03 Dec 2008 17:52:01 +0000	[thread overview]
Message-ID: <500D6D79D4%linux@youmustbejoking.demon.co.uk> (raw)

"echo 1 >/sys/class/rfkill/rfkill1/state" was failing with "no such device"
on my 901. This fixes it.

Signed-Off-By: Darren Salt <linux@youmustbejoking.demon.co.uk>

This needs Bernd Spaeth's sign-off too (and promptly!) since I took this from
the patch which he posted to debian-eeepc-devel. URL:
http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/2008-October/001299.html

--- ./drivers/misc/eeepc-laptop.c.orig	2008-12-03 17:17:01.000000000 +0000
+++ ./drivers/misc/eeepc-laptop.c	2008-12-03 17:28:36.000000000 +0000
@@ -90,7 +90,7 @@
 };
 
 static const char *cm_getv[] = {
-	"WLDG", NULL, NULL, NULL,
+	"WLDG", "BTHG", NULL, NULL,
 	"CAMG", NULL, NULL, NULL,
 	NULL, "PBLG", NULL, NULL,
 	"CFVG", NULL, NULL, NULL,
@@ -99,7 +99,7 @@
 };
 
 static const char *cm_setv[] = {
-	"WLDS", NULL, NULL, NULL,
+	"WLDS", "BTHS", NULL, NULL,
 	"CAMS", NULL, NULL, NULL,
 	"SDSP", "PBLS", "HDPS", NULL,
 	"CFVS", NULL, NULL, NULL,

-- 
| Darren Salt    | linux or ds at              | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Lobby friends, family, business, government.    WE'RE KILLING THE PLANET.

To have died once is enough.

                 reply	other threads:[~2008-12-03 18:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=500D6D79D4%linux@youmustbejoking.demon.co.uk \
    --to=linux@youmustbejoking.demon.co.uk \
    --cc=Bernd.Spaeth@gmx.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®