Re: Wifi switch not working, linux on IdeaPad S205
On 06/30/2011 11:03 PM, Florian Heyer wrote: > On 30.06.2011 16:26, Ike Panhc wrote: >> Hi Florian, >> >> Thanks for your testing, looks like ideapad-laptop reports correct rfkill >> state. >> >> Just two questions to be clarified, >> >> 1. Which wifi driver you are using? wl or others? > > Hello Joey, > > i'm not really sure what you mean. What's "wl"? I'm using the modules > rt2800pci and rt2x00pci for wifi support (hardware is Ralink corp. RT3090 > Wireless 802.11n 1T/1R PCIe). > Thanks for your answer. I assumed the wifi chips are from Broadcom, >> 2. When system fails to connect AP, is the wifi scanning result correct? >> >> Just wonder if there are any chance that ideapad-laptop block your wifi >> connection even it shows unblocked. > > I'll have to check again. Wifi runs stable since a few days. I'm running > kernel 2.6.39 now. Thanks a lot, This is what I need to know. > > > regards -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
On 30.06.2011 16:26, Ike Panhc wrote: Hi Florian, Thanks for your testing, looks like ideapad-laptop reports correct rfkill state. Just two questions to be clarified, 1. Which wifi driver you are using? wl or others? Hello Joey, i'm not really sure what you mean. What's "wl"? I'm using the modules rt2800pci and rt2x00pci for wifi support (hardware is Ralink corp. RT3090 Wireless 802.11n 1T/1R PCIe). > 2. When system fails to connect AP, is the wifi scanning result correct? > > Just wonder if there are any chance that ideapad-laptop block your wifi > connection even it shows unblocked. I'll have to check again. Wifi runs stable since a few days. I'm running kernel 2.6.39 now. regards -- Florian Heyer - [email protected] -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
Hi Florian, Thanks for your testing, looks like ideapad-laptop reports correct rfkill state. Just two questions to be clarified, 1. Which wifi driver you are using? wl or others? 2. When system fails to connect AP, is the wifi scanning result correct? Just wonder if there are any chance that ideapad-laptop block your wifi connection even it shows unblocked. On 06/25/2011 05:28 AM, Florian Heyer wrote: > On 22.06.2011 11:28, Ike Panhc wrote: >> Hi Florian, >> >> Could you have the same test with ideapad-laptop loaded? I need to make >> sure ideapad-laptop have the correct rfkill information. >> > > Hello Ike, > > no problem: > > After booting, wifi switch is on: > > after loading acer-wmi and idepad-laptop "rfkill list" shows > 0: hci0: Bluetooth > Soft blocked: no > Hard blocked: no > 1: phy0: Wireless LAN > Soft blocked: no > Hard blocked: no > 2: acer-wireless: Wireless LAN > Soft blocked: no > Hard blocked: no > 3: ideapad_bluetooth: Bluetooth > Soft blocked: no > Hard blocked: no > > wifi doesn't work this time (this seems to vary, sometimes wifi works > directly after loading acer-wmi). > > after switching to off: > 1: phy0: Wireless LAN > Soft blocked: no > Hard blocked: no > 2: acer-wireless: Wireless LAN > Soft blocked: no > Hard blocked: yes > 3: ideapad_bluetooth: Bluetooth > Soft blocked: no > Hard blocked: yes > > after switching back to on: > 1: phy0: Wireless LAN > Soft blocked: no > Hard blocked: no > 2: acer-wireless: Wireless LAN > Soft blocked: no > Hard blocked: no > 3: ideapad_bluetooth: Bluetooth > Soft blocked: no > Hard blocked: no > 4: hci0: Bluetooth > Soft blocked: no > Hard blocked: no > > wifi runs and is trying to connect...but no connection. I toggled wifi on/off > again and it gets enabled/disabled correctly every time but i don't get a > stable wifi connection this time. This might be a different issue with the > wifi driver as this one is under development too. I've had this behaviour > some times (i have used the ideapad about 20 hours this week). > > > regards -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
於 五,2011-06-24 於 23:28 +0200,Florian Heyer 提到: > On 22.06.2011 11:28, Ike Panhc wrote: > > Hi Florian, > > > > Could you have the same test with ideapad-laptop loaded? I need to make > > sure ideapad-laptop have the correct rfkill information. > > > > Hello Ike, > > no problem: > > After booting, wifi switch is on: > > after loading acer-wmi and idepad-laptop "rfkill list" shows > 0: hci0: Bluetooth > Soft blocked: no > Hard blocked: no > 1: phy0: Wireless LAN > Soft blocked: no > Hard blocked: no > 2: acer-wireless: Wireless LAN > Soft blocked: no > Hard blocked: no > 3: ideapad_bluetooth: Bluetooth > Soft blocked: no > Hard blocked: no > > wifi doesn't work this time (this seems to vary, sometimes wifi works > directly after loading acer-wmi). > If only loading acer-wmi, did it have the same problem? Wifi doesn't work but killswitch is unblock? Sound like SOMETIMES it fail? Thank's Joey Lee > after switching to off: > 1: phy0: Wireless LAN > Soft blocked: no > Hard blocked: no > 2: acer-wireless: Wireless LAN > Soft blocked: no > Hard blocked: yes > 3: ideapad_bluetooth: Bluetooth > Soft blocked: no > Hard blocked: yes > > after switching back to on: > 1: phy0: Wireless LAN > Soft blocked: no > Hard blocked: no > 2: acer-wireless: Wireless LAN > Soft blocked: no > Hard blocked: no > 3: ideapad_bluetooth: Bluetooth > Soft blocked: no > Hard blocked: no > 4: hci0: Bluetooth > Soft blocked: no > Hard blocked: no > > wifi runs and is trying to connect...but no connection. I toggled wifi > on/off again and it gets enabled/disabled correctly every time but i > don't get a stable wifi connection this time. This might be a different > issue with the wifi driver as this one is under development too. I've > had this behaviour some times (i have used the ideapad about 20 hours > this week). > > > regards -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
於 五,2011-06-24 於 23:03 +0200,Florian Heyer 提到: > Hello Joey, > > > For a normal user, he will not un-probe acer-wmi driver after system. > > Could you please help to confirm? I mean please switch your hardware > > wifi switch a couple of cycles with acer-wmi loaded. > > > > Just want to 100% make sure acer-wmi will not crash after switch > > wireless state by hardware a lot of times. > > Ok, with only acer-wmi loaded (wifi is connected) i toggled the wifi > switch a couple of times. Trying as fast as possible...no problem, > system didn't crash. After finally switching to "on" wifi connected again. > > > It's the same, if you wan to use ideapad-laptop at the same time. Please > > load ideapad-laptop and acer-wmi then switch wireless button many times, > > make sure there have not thing crash. > > > > With acer-wmi AND idepad-laptop loaded i tried the same as above. Again, > no crash. After switching finally to "on" wifi connected again. > Thank's for your confirm and good news! > I noticed a message from acer-wmi (has nothing to do with the tests > above): acer-wmi prints a message to kernel message log about every second: > > [28907.045046] acer_wmi: acer_rfkill_update state: 1 > > Is this debugging output? For the final version it should be disabled. > Yes, this is a debug message to make sure the EC register value mapping to rfkill hardware switch status: 0 means wireless disabled (hard-blocked) 1 means wireless enabled (unblocked) I will remove this message when send out support patch to acer-wmi. Thank's a lot! Joey Lee -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
On 22.06.2011 11:28, Ike Panhc wrote: Hi Florian, Could you have the same test with ideapad-laptop loaded? I need to make sure ideapad-laptop have the correct rfkill information. Hello Ike, no problem: After booting, wifi switch is on: after loading acer-wmi and idepad-laptop "rfkill list" shows 0: hci0: Bluetooth Soft blocked: no Hard blocked: no 1: phy0: Wireless LAN Soft blocked: no Hard blocked: no 2: acer-wireless: Wireless LAN Soft blocked: no Hard blocked: no 3: ideapad_bluetooth: Bluetooth Soft blocked: no Hard blocked: no wifi doesn't work this time (this seems to vary, sometimes wifi works directly after loading acer-wmi). after switching to off: 1: phy0: Wireless LAN Soft blocked: no Hard blocked: no 2: acer-wireless: Wireless LAN Soft blocked: no Hard blocked: yes 3: ideapad_bluetooth: Bluetooth Soft blocked: no Hard blocked: yes after switching back to on: 1: phy0: Wireless LAN Soft blocked: no Hard blocked: no 2: acer-wireless: Wireless LAN Soft blocked: no Hard blocked: no 3: ideapad_bluetooth: Bluetooth Soft blocked: no Hard blocked: no 4: hci0: Bluetooth Soft blocked: no Hard blocked: no wifi runs and is trying to connect...but no connection. I toggled wifi on/off again and it gets enabled/disabled correctly every time but i don't get a stable wifi connection this time. This might be a different issue with the wifi driver as this one is under development too. I've had this behaviour some times (i have used the ideapad about 20 hours this week). regards -- Florian Heyer - [email protected] -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
Hello Joey, For a normal user, he will not un-probe acer-wmi driver after system. Could you please help to confirm? I mean please switch your hardware wifi switch a couple of cycles with acer-wmi loaded. Just want to 100% make sure acer-wmi will not crash after switch wireless state by hardware a lot of times. Ok, with only acer-wmi loaded (wifi is connected) i toggled the wifi switch a couple of times. Trying as fast as possible...no problem, system didn't crash. After finally switching to "on" wifi connected again. It's the same, if you wan to use ideapad-laptop at the same time. Please load ideapad-laptop and acer-wmi then switch wireless button many times, make sure there have not thing crash. With acer-wmi AND idepad-laptop loaded i tried the same as above. Again, no crash. After switching finally to "on" wifi connected again. I noticed a message from acer-wmi (has nothing to do with the tests above): acer-wmi prints a message to kernel message log about every second: [28907.045046] acer_wmi: acer_rfkill_update state: 1 Is this debugging output? For the final version it should be disabled. regards -- Florian Heyer - [email protected] -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
Hi Florian, Could you have the same test with ideapad-laptop loaded? I need to make sure ideapad-laptop have the correct rfkill information. Thanks a lot. On 06/19/2011 11:23 PM, Florian Heyer wrote: > On 06/18/2011 02:38 AM, Joey Lee wrote: >> >> Could you please help to test this patch? This is just a test patch, and >> I didn't evaluation AWM0 in update rfkill state polling because I didn't >> think evaluate AWM0 per second is a good idea. >> >> Please probe acer-wmi driver then report rfkill state. That's see what >> the situation, then we add AWM0 part in next patch. > > Hello Joey, > > just tested your patch. It works, after inserting the patched module i can > use wifi! > > After booting with hardware switch = on i inserted patched acer-wmi. This is > "rfkill list" state after inserting: > > 0: hci0: Bluetooth > Soft blocked: no > Hard blocked: no > 1: phy0: Wireless LAN > Soft blocked: no > Hard blocked: no > 2: acer-wireless: Wireless LAN > Soft blocked: no > Hard blocked: no > > After switching to off: > 1: phy0: Wireless LAN > Soft blocked: no > Hard blocked: no > 2: acer-wireless: Wireless LAN > Soft blocked: no > Hard blocked: yes > > Switching back to on: > 1: phy0: Wireless LAN > Soft blocked: no > Hard blocked: no > 2: acer-wireless: Wireless LAN > Soft blocked: no > Hard blocked: no > 3: hci0: Bluetooth > Soft blocked: no > Hard blocked: no > > > regards -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
於 一,2011-06-20 於 12:58 +0200,Florian Heyer 提到: > On 06/20/2011 12:10 PM, Joey Lee wrote: > > But, > > here have a question: > > > > The phy0 killswitch didn't set to hard blocked, did wireless LAN still > > can be used at this moment? even hardware switch is off? > > Hello Joey, > > i tested again: > > First with acer-wmi inserted (as always boot-state of wifi button is on): > > switching to off "rfkill list" is: > > 1: phy0: Wireless LAN > Soft blocked: no > Hard blocked: yes > 6: acer-wireless: Wireless LAN > Soft blocked: no > Hard blocked: yes > > (phy0-hard blocked goes to "yes" after 1 or 2 seconds, maybe yesterday i > didn't wait long enough). Wifi doesn't work in this state, i checked. > > Switching to on "rfkill list" is: > > 1: phy0: Wireless LAN > Soft blocked: no > Hard blocked: no > 6: acer-wireless: Wireless LAN > Soft blocked: no > Hard blocked: no > 7: hci0: Bluetooth > Soft blocked: no > Hard blocked: no > > Wifi now works! > Looks good! We need 100% make sure acer-wireless's block state mapping to REAL wireless RF state. > After removing acer-wmi (so i loaded it only for initialisation), > switching to off "rfkill list" is: > > 1: phy0: Wireless LAN > Soft blocked: no > Hard blocked: yes > > Back to on: > > 1: phy0: Wireless LAN > Soft blocked: no > Hard blocked: no > 5: hci0: Bluetooth > Soft blocked: no > Hard blocked: no > > > wifi works in state "on"- so acer-wmi is really needed only for > initialisation. For a normal user, he will not un-probe acer-wmi driver after system. Could you please help to confirm? I mean please switch your hardware wifi switch a couple of cycles with acer-wmi loaded. Just want to 100% make sure acer-wmi will not crash after switch wireless state by hardware a lot of times. > ideapad-laptop is _not_ loaded, the wifi switch works correctly nonetheless. > It's the same, if you wan to use ideapad-laptop at the same time. Please load ideapad-laptop and acer-wmi then switch wireless button many times, make sure there have not thing crash. > > I thought the real situation back to BT on, Wireless on, right? > > yes, after switching to on everything is back to state after > initialisation (wifi works). Currently, looks like we don't need evaluate AMW0 method every time we press hardware wireless switch. It's similar with other AMW0 machines just change to maintain hard-block. Please help to confirm acer-wmi strong enough works with hardware switch, then we can support it in acer-wmi or ideapad-laptop. Thank's a lot! Joey Lee -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
On 06/20/2011 12:10 PM, Joey Lee wrote: But, here have a question: The phy0 killswitch didn't set to hard blocked, did wireless LAN still can be used at this moment? even hardware switch is off? Hello Joey, i tested again: First with acer-wmi inserted (as always boot-state of wifi button is on): switching to off "rfkill list" is: 1: phy0: Wireless LAN Soft blocked: no Hard blocked: yes 6: acer-wireless: Wireless LAN Soft blocked: no Hard blocked: yes (phy0-hard blocked goes to "yes" after 1 or 2 seconds, maybe yesterday i didn't wait long enough). Wifi doesn't work in this state, i checked. Switching to on "rfkill list" is: 1: phy0: Wireless LAN Soft blocked: no Hard blocked: no 6: acer-wireless: Wireless LAN Soft blocked: no Hard blocked: no 7: hci0: Bluetooth Soft blocked: no Hard blocked: no Wifi now works! After removing acer-wmi (so i loaded it only for initialisation), switching to off "rfkill list" is: 1: phy0: Wireless LAN Soft blocked: no Hard blocked: yes Back to on: 1: phy0: Wireless LAN Soft blocked: no Hard blocked: no 5: hci0: Bluetooth Soft blocked: no Hard blocked: no wifi works in state "on"- so acer-wmi is really needed only for initialisation. ideapad-laptop is _not_ loaded, the wifi switch works correctly nonetheless. I thought the real situation back to BT on, Wireless on, right? yes, after switching to on everything is back to state after initialisation (wifi works). regards -- Florian Heyer - [email protected] -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
於 日,2011-06-19 於 17:23 +0200,Florian Heyer 提到: > On 06/18/2011 02:38 AM, Joey Lee wrote: > > > > Could you please help to test this patch? This is just a test patch, and > > I didn't evaluation AWM0 in update rfkill state polling because I didn't > > think evaluate AWM0 per second is a good idea. > > > > Please probe acer-wmi driver then report rfkill state. That's see what > > the situation, then we add AWM0 part in next patch. > > Hello Joey, > > just tested your patch. It works, after inserting the patched module i > can use wifi! > It's a good news, looks the REAL situation is not complex like us thought. > After booting with hardware switch = on i inserted patched acer-wmi. > This is "rfkill list" state after inserting: > > 0: hci0: Bluetooth > Soft blocked: no > Hard blocked: no > 1: phy0: Wireless LAN > Soft blocked: no > Hard blocked: no > 2: acer-wireless: Wireless LAN > Soft blocked: no > Hard blocked: no > initial: BT on, Wireless on Yes, acer-wmi enabled wireless by evaluate AMW0 method when initial. > After switching to off: > 1: phy0: Wireless LAN > Soft blocked: no > Hard blocked: no > 2: acer-wireless: Wireless LAN > Soft blocked: no > Hard blocked: yes > BT off, Wireless off? Good, acer-wireless updated state to hard blocked, it's right! But, here have a question: The phy0 killswitch didn't set to hard blocked, did wireless LAN still can be used at this moment? even hardware switch is off? > Switching back to on: > 1: phy0: Wireless LAN > Soft blocked: no > Hard blocked: no > 2: acer-wireless: Wireless LAN > Soft blocked: no > Hard blocked: no > 3: hci0: Bluetooth > Soft blocked: no > Hard blocked: no > I thought the real situation back to BT on, Wireless on, right? Thank's a lot! Joey Lee -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
On 18.06.2011 00:50, Joey Lee wrote: > Could you please help to file a bug on kernel bugzilla for this issue? > https://bugzilla.kernel.org/ Ok, i filed a bug: https://bugzilla.kernel.org/show_bug.cgi?id=37892 -- Florian Heyer - [email protected] -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
On 06/18/2011 02:38 AM, Joey Lee wrote: Could you please help to test this patch? This is just a test patch, and I didn't evaluation AWM0 in update rfkill state polling because I didn't think evaluate AWM0 per second is a good idea. Please probe acer-wmi driver then report rfkill state. That's see what the situation, then we add AWM0 part in next patch. Hello Joey, just tested your patch. It works, after inserting the patched module i can use wifi! After booting with hardware switch = on i inserted patched acer-wmi. This is "rfkill list" state after inserting: 0: hci0: Bluetooth Soft blocked: no Hard blocked: no 1: phy0: Wireless LAN Soft blocked: no Hard blocked: no 2: acer-wireless: Wireless LAN Soft blocked: no Hard blocked: no After switching to off: 1: phy0: Wireless LAN Soft blocked: no Hard blocked: no 2: acer-wireless: Wireless LAN Soft blocked: no Hard blocked: yes Switching back to on: 1: phy0: Wireless LAN Soft blocked: no Hard blocked: no 2: acer-wireless: Wireless LAN Soft blocked: no Hard blocked: no 3: hci0: Bluetooth Soft blocked: no Hard blocked: no regards -- Florian Heyer - [email protected] -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
於 五,2011-06-17 於 17:03 +0200,Florian Heyer 提到:
> On 17.06.2011 15:09, Joey Lee wrote:
> > Could you pleas share the dmidecode information to me? just need:
> > dmidecode > dmidecode.log
> >
>
> No problem, see attachment.
>
> > I want to generate a acer-wmi patch to test AMW0 method on your machine.
> >
> > For IdeaPad S205, this case is too special for acer machines, I still
> > thought that will be better support it in ideapad-laptop. But, we can
> > test on acer-wmi first.
>
> To me it seems logical to solve the problem in ideapad-laptop and not in
> acer-wmi as the laptop is obviously of ideapad type :)
> I will be happily testing patches to solve the issue.
>
Could you please help to test this patch? This is just a test patch, and
I didn't evaluation AWM0 in update rfkill state polling because I didn't
think evaluate AWM0 per second is a good idea.
Please probe acer-wmi driver then report rfkill state. That's see what
the situation, then we add AWM0 part in next patch.
PS:
Sorry for I didn't compiler and test this patch because I didn't take
acer netbook back to home.
Thank's
Joey Lee
>From 0e0602a099775fafa21b3428d50bcca2be58c3fb Mon Sep 17 00:00:00 2001
From: Lee, Chun-Yi
Date: Sat, 18 Jun 2011 08:32:03 +0800
Subject: [PATCH] acer-wmi: support Lenovo S205
Just for testing. I didn't evaluate AMW0 in polling.
Signed-off-by: Lee, Chun-Yi
---
drivers/platform/x86/acer-wmi.c | 30 --
1 files changed, 28 insertions(+), 2 deletions(-)
diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
index 005417b..424b83e 100644
--- a/drivers/platform/x86/acer-wmi.c
+++ b/drivers/platform/x86/acer-wmi.c
@@ -304,6 +304,10 @@ static struct quirk_entry quirk_fujitsu_amilo_li_1718 = {
.wireless = 2,
};
+static struct quirk_entry quirk_lenovo_ideapad_s205 = {
+ .wireless = 3,
+};
+
/* The Aspire One has a dummy ACPI-WMI interface - disable it */
static struct dmi_system_id __devinitdata acer_blacklist[] = {
{
@@ -450,6 +454,15 @@ static struct dmi_system_id acer_quirks[] = {
},
.driver_data = &quirk_medion_md_98300,
},
+ {
+ .callback = dmi_matched,
+ .ident = "Lenovo Ideapad S205",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "10382LG"),
+ },
+ .driver_data = &quirk_lenovo_ideapad_s205,
+ },
{}
};
@@ -542,6 +555,12 @@ struct wmi_interface *iface)
return AE_ERROR;
*value = result & 0x1;
return AE_OK;
+ case 3:
+ err = ec_read(0x78, &result);
+ if (err)
+ return AE_ERROR;
+ *value = result & 0x1;
+ return AE_OK;
default:
err = ec_read(0xA, &result);
if (err)
@@ -1266,8 +1285,15 @@ static void acer_rfkill_update(struct work_struct
*ignored)
acpi_status status;
status = get_u32(&state, ACER_CAP_WIRELESS);
- if (ACPI_SUCCESS(status))
- rfkill_set_sw_state(wireless_rfkill, !state);
+ if (ACPI_SUCCESS(status)) {
+ if (quirks->wireless == 3) {
+ pr_info("acer_rfkill_update state: %d", state);
+ rfkill_set_hw_state(wireless_rfkill, !state);
+ /* TODO: set AWM0? */
+ } else {
+ rfkill_set_sw_state(wireless_rfkill, !state);
+ }
+ }
if (has_cap(ACER_CAP_BLUETOOTH)) {
status = get_u32(&state, ACER_CAP_BLUETOOTH);
--
1.6.0.2
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86"
in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
Hi Florian, 於 五,2011-06-17 於 17:03 +0200,Florian Heyer 提到: > On 17.06.2011 15:09, Joey Lee wrote: > > Could you pleas share the dmidecode information to me? just need: > > dmidecode > dmidecode.log > > > > No problem, see attachment. > > > I want to generate a acer-wmi patch to test AMW0 method on your machine. > > > > For IdeaPad S205, this case is too special for acer machines, I still > > thought that will be better support it in ideapad-laptop. But, we can > > test on acer-wmi first. > > To me it seems logical to solve the problem in ideapad-laptop and not in > acer-wmi as the laptop is obviously of ideapad type :) > I will be happily testing patches to solve the issue. > > > regards Could you please help to file a bug on kernel bugzilla for this issue? https://bugzilla.kernel.org/ That will be good for collect all information and attached dmi, dsdt on the bug, and don't need dig mail loop. Thank's Joey Lee -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
On 17.06.2011 15:09, Joey Lee wrote: > Could you pleas share the dmidecode information to me? just need: > dmidecode > dmidecode.log > No problem, see attachment. > I want to generate a acer-wmi patch to test AMW0 method on your machine. > > For IdeaPad S205, this case is too special for acer machines, I still > thought that will be better support it in ideapad-laptop. But, we can > test on acer-wmi first. To me it seems logical to solve the problem in ideapad-laptop and not in acer-wmi as the laptop is obviously of ideapad type :) I will be happily testing patches to solve the issue. regards -- Florian Heyer - [email protected] # dmidecode 2.9 # SMBIOS entry point at 0xc732c000 SMBIOS 2.6 present. 49 structures occupying 1720 bytes. Table at 0x000EA830. Handle 0x, DMI type 0, 24 bytes BIOS Information Vendor: LENOVO Version: 4BCN19WW Release Date: 03/23/2011 Address: 0xE Runtime Size: 128 kB ROM Size: 2048 kB Characteristics: PCI is supported BIOS is upgradeable BIOS shadowing is allowed Boot from CD is supported Selectable boot is supported EDD is supported Print screen service is supported (int 5h) 8042 keyboard services are supported (int 9h) Serial services are supported (int 14h) Printer services are supported (int 17h) CGA/mono video services are supported (int 10h) NEC PC-98 ACPI is supported USB legacy is supported BIOS boot specification is supported Function key-initiated network boot is supported Targeted content distribution is supported BIOS Revision: 1.0 Handle 0x0001, DMI type 1, 27 bytes System Information Manufacturer: LENOVO Product Name: 10382LG Version: Ideapad S205 Serial Number: WB01703388WB01032805 UUID: 833EEFC0-59F2-11E0-8640-C54E073867D1 Wake-up Type: Power Switch SKU Number: System SKU Number Unknown Family: IDEAPAD Handle 0x0002, DMI type 2, 15 bytes Base Board Information Manufacturer: LENOVO Product Name: Inagua Version: 109-B78210-00A Serial Number: WB01703388 Asset Tag: Base Board Asset Tag Unknown Features: Board is a hosting board Board is replaceable Location In Chassis: Chassis Location Unknown Chassis Handle: 0x Type: Motherboard Contained Object Handles: 0 Handle 0x0003, DMI type 3, 21 bytes Chassis Information Manufacturer: LENOVO Type: Notebook Lock: Not Present Version: Chassis Version Unknown Serial Number: Chassis Serial Number Unknown Asset Tag: Chassis Asset Tag Unknown Boot-up State: Safe Power Supply State: Safe Thermal State: Other Security Status: Other OEM Information: 0x Height: Unspecified Number Of Power Cords: 1 Contained Elements: 0 Handle 0x0004, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J1902 Internal Connector Type: None External Reference Designator: Keyboard External Connector Type: PS/2 Port Type: Keyboard Port Handle 0x0005, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J1900 Internal Connector Type: None External Reference Designator: Touch Pad External Connector Type: PS/2 Port Type: Mouse Port Handle 0x0006, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J1300 Internal Connector Type: None External Reference Designator: External LAN External Connector Type: RJ-45 Port Type: Network Port Handle 0x0007, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J1400 Internal Connector Type: None External Reference Designator: Internal LAN External Connector Type: RJ-45 Port Type: Network Port Handle 0x0008, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J1500 Internal Connector Type: None External Reference Designator: USB 0 External Connector Type: Access Bus (USB) Port Type: USB Handle 0x0009, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J1600 Internal Connector Type: None External Reference Designator: USB 3.0 External Connector Type: Access Bus (USB) Port Type: USB Handle 0x000A, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: J1501 Internal Connector Type: None External Reference Designator: USB 8 E
Re: Wifi switch not working, linux on IdeaPad S205
Hi Florian, 於 三,2011-06-15 於 11:42 +0200,Florian Heyer 提到: > On 06/15/2011 11:32 AM, Joey Lee wrote: > > + Does "hardware switch" on IdeaPad S205 not just control wireless? Does > > it also control bluetooth? > > Hello Joey, > > just a quick answer (i will go through your whole mail in the evening): > > Yes, the hardware switch controls bluetooth and works fine: ubuntu's > bluetooth icon appears/disappears when i toggle the switch on/off. This > works even without acer_wmi. > > I have the hardware switch usually on "on" and with this setting rfkill > shows the following state directly after booting (without loading acer_wmi): > > 0: hci0: Bluetooth > Soft blocked: no > Hard blocked: no > 1: phy0: Wireless LAN > Soft blocked: no > Hard blocked: yes > > > > regards Could you pleas share the dmidecode information to me? just need: dmidecode > dmidecode.log I want to generate a acer-wmi patch to test AMW0 method on your machine. For IdeaPad S205, this case is too special for acer machines, I still thought that will be better support it in ideapad-laptop. But, we can test on acer-wmi first. Thank's Joey Lee -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
於 四,2011-06-16 於 17:58 +0800,Ike Panhc 提到:
> On 06/15/2011 05:32 PM, Joey Lee wrote:
> > 於 四,2011-06-09 於 16:36 +0800,Ike Panhc 提到:
> >
> > But Florian said the Fn+F5 doesn't work to him, as you said, the _Q2B
> > works when GWSS is not zero:
> >
> > Method (_Q2B, 0, NotSerialized) /* wifi key? */
> > {
> > Store (0x2B, P80H)
> > If (LEqual (GWSS, 0x00)) {} /* on issue machine, GWSS
> > is 0 */
> > Else
> > {
> > If (WLPS) /* if have wireless */
> > {
> > Store (WRST, WLEN) /* write wireless RF state
> > to EC */
> > }
> >
>
> I see your point. IMHO this is ok. When the radio switch is off, it shall
> be no different on every soft block modes.
> > 於 二,2011-05-31 於 15:02 +0200,Florian Heyer 提到:
> >> On 05/31/2011 11:42 AM, Joey Lee wrote:
> >>> Just checked your DSDT, it declared the AMW0 methods, I agreed Ike's
> >>> suggestion that will be better you direct test acer-wmi on your machine.
> >>>
> >>> Please modprobe acer-wmi driver, then try to turn on/off bluetooth or
> >>> wireless device by rfkill.
> >>
> >> Hello Joey,
> >>
> >> here are some findings with acer_wmi. I execute the following steps from
> >> top to bottom, and only after the last step my wifi works. After each
> >> step you find the output of "rfkill list":
> >>
> >> after booting (no ideapad_laptop, no acer_wmi):
> >> 0: hci0: Bluetooth
> >>Soft blocked: no
> >>Hard blocked: no
> >> 1: phy0: Wireless LAN
> >>Soft blocked: no
> >>Hard blocked: yes
> >>
> >
> > When system boot, wireless is hard blocked by default.
> >
>
> Read the reply mail from Florian. This is a problem because hard blocked
> shall be no when the radio switch is on. Since phy0 is registered by wifi
> driver, I think this is not generic design.
>
There have some problems not just check the EC register then set
killswitch to hard blocked:
+ Per Florian's report, looks like the hardware key cann't unblock for
wireless and need acer-wmi driver unblock by evaluate AMW0 method. Does
that mean acer-wmi driver need evaluate AMW0 every time when user press
hardware key? This logic is so specially, and only S205 need do that.
+ The hardware key is not just control wireless, it also control
bluetooth. That will be better we also find out which EC register
mapping to bluetooth.
+ In current acer-wmi driver, it only maintain soft block for wireless
killswitch. IdeaPad S205 will be the only one machine that maintain hard
block but no soft block. There have no other acer machine like this.
Simply said, I don't want to put this specially case to acer-wmi (I
believe need use quirk). Does it possible support it in ideapad-laptop?
May I just check if there have VPC2004 device in dsdt, then acer-wmi
will not loading, leave ideapad-laptop take care?
Thank's a lot!
Joey Lee
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86"
in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
On 06/15/2011 05:32 PM, Joey Lee wrote:
> 於 四,2011-06-09 於 16:36 +0800,Ike Panhc 提到:
>
> But Florian said the Fn+F5 doesn't work to him, as you said, the _Q2B
> works when GWSS is not zero:
>
> Method (_Q2B, 0, NotSerialized) /* wifi key? */
> {
> Store (0x2B, P80H)
> If (LEqual (GWSS, 0x00)) {} /* on issue machine, GWSS is
> 0 */
> Else
> {
> If (WLPS) /* if have wireless */
> {
> Store (WRST, WLEN) /* write wireless RF state to
> EC */
> }
>
I see your point. IMHO this is ok. When the radio switch is off, it shall
be no different on every soft block modes.
> 於 二,2011-05-31 於 15:02 +0200,Florian Heyer 提到:
>> On 05/31/2011 11:42 AM, Joey Lee wrote:
>>> Just checked your DSDT, it declared the AMW0 methods, I agreed Ike's
>>> suggestion that will be better you direct test acer-wmi on your machine.
>>>
>>> Please modprobe acer-wmi driver, then try to turn on/off bluetooth or
>>> wireless device by rfkill.
>>
>> Hello Joey,
>>
>> here are some findings with acer_wmi. I execute the following steps from
>> top to bottom, and only after the last step my wifi works. After each
>> step you find the output of "rfkill list":
>>
>> after booting (no ideapad_laptop, no acer_wmi):
>> 0: hci0: Bluetooth
>> Soft blocked: no
>> Hard blocked: no
>> 1: phy0: Wireless LAN
>> Soft blocked: no
>> Hard blocked: yes
>>
>
> When system boot, wireless is hard blocked by default.
>
Read the reply mail from Florian. This is a problem because hard blocked
shall be no when the radio switch is on. Since phy0 is registered by wifi
driver, I think this is not generic design.
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86"
in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
On 06/15/2011 11:32 AM, Joey Lee wrote: + Does "hardware switch" on IdeaPad S205 not just control wireless? Does it also control bluetooth? Hello Joey, just a quick answer (i will go through your whole mail in the evening): Yes, the hardware switch controls bluetooth and works fine: ubuntu's bluetooth icon appears/disappears when i toggle the switch on/off. This works even without acer_wmi. I have the hardware switch usually on "on" and with this setting rfkill shows the following state directly after booting (without loading acer_wmi): 0: hci0: Bluetooth Soft blocked: no Hard blocked: no 1: phy0: Wireless LAN Soft blocked: no Hard blocked: yes regards -- Florian Heyer - [email protected] -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
於 四,2011-06-09 於 16:36 +0800,Ike Panhc 提到:
> On 06/07/2011 09:48 PM, Joey Lee wrote:
> > 於 五,2011-06-03 於 14:49 +0200,Florian Heyer 提到:
> >> fn+f5 doesn't do anything no matter what state the wifi switch is.
> >> Personally i wouldn't mind if only the wifi switch is supported, i mean,
> >> you don't need a key combination if you have a real switch for wifi
> >> (de)activation.
> >>
> >
> > I thought need to check with Ike for more detail why the Fn+F5 key not
> > work on S205.
>
But Florian said the Fn+F5 doesn't work to him, as you said, the _Q2B
works when GWSS is not zero:
Method (_Q2B, 0, NotSerialized) /* wifi key? */
{
Store (0x2B, P80H)
If (LEqual (GWSS, 0x00)) {} /* on issue machine, GWSS is 0
*/
Else
{
If (WLPS) /* if have wireless */
{
Store (WRST, WLEN) /* write wireless RF state to
EC */
}
> I read the DSDT again. Fn+F5 is the soft rfkill key. It looks fine.
> I guess the problem is the hard rfkill status is blocked, wifi will be
> blocked even the soft one is unblocked.
>
> > As I know on Thinkpad machine, the hardware switch causes killswitch set
> > to hard-block, and Fn+F5 causes killswitch set to soft-block.
> >
> > Ike,
> > need your comments for Fn+F5 key and wireless hardware switch on
> > ideapad. How does it implement on ideapad?
> > - press Fn+F5: soft-block wireless killswitch?
> > - wireless hardware switch: hard-block wireless killswitch?
>
> Both of the answers are yes.
>
> The problem is that on ideapad s205 without acer-wmi, when ideapad-laptop
> have the hard switch event, the driver asks the status of switch and DSDT
> replies blocked.
>
> In the DSDT the driver read bit of GWSS as status of hardware switch and
> I can not find out anything to update GWSS in DSDT :(
I also didn't see any other statement in DSDT touch GWSS.
On the other hand,
I reviewed Florian's following mail:
於 二,2011-05-31 於 15:02 +0200,Florian Heyer 提到:
> On 05/31/2011 11:42 AM, Joey Lee wrote:
> > Just checked your DSDT, it declared the AMW0 methods, I agreed Ike's
> > suggestion that will be better you direct test acer-wmi on your machine.
> >
> > Please modprobe acer-wmi driver, then try to turn on/off bluetooth or
> > wireless device by rfkill.
>
> Hello Joey,
>
> here are some findings with acer_wmi. I execute the following steps from
> top to bottom, and only after the last step my wifi works. After each
> step you find the output of "rfkill list":
>
> after booting (no ideapad_laptop, no acer_wmi):
> 0: hci0: Bluetooth
> Soft blocked: no
> Hard blocked: no
> 1: phy0: Wireless LAN
> Soft blocked: no
> Hard blocked: yes
>
When system boot, wireless is hard blocked by default.
> after loading acer_wmi (wifi switch is on):
> 0: hci0: Bluetooth
> Soft blocked: no
> Hard blocked: no
> 1: phy0: Wireless LAN
> Soft blocked: no
> Hard blocked: no
> 2: acer-wireless: Wireless LAN
> Soft blocked: yes
> Hard blocked: no
The acer-wmi will set initial value by call AMW0 wmi method to unblock wireless.
>
> after switching off:
> 1: phy0: Wireless LAN
> Soft blocked: no
> Hard blocked: no
> 2: acer-wireless: Wireless LAN
> Soft blocked: yes
> Hard blocked: no
>
Press hardware switch to off, here have a question:
+ It disabled bluetooth but not wireless?
I thought the wireless works fine when system at this status, even acer-wireless
stay on soft blocked.
> switching on again:
> 1: phy0: Wireless LAN
> Soft blocked: no
> Hard blocked: yes
> 2: acer-wireless: Wireless LAN
> Soft blocked: yes
> Hard blocked: no
> 3: hci0: Bluetooth
> Soft blocked: no
> Hard blocked: no
>
Press hardware switch again, here have a question:
+ looks like it enable bluetooth but hard blocked wireless again?
>
> after removing acer_wmi with modprobe -r:
> 1: phy0: Wireless LAN
> Soft blocked: no
> Hard blocked: no
> 3: hci0: Bluetooth
> Soft blocked: no
> Hard blocked: no
>
Here a bit not make sense:
+ acer-wmi doesn't touch wireless by AMW0 when it un-probe, but wireless state
set to unblock.
Does that mean current "hardware switch" state is "OFF", but wireless state
is unblock?
>
>
> Now wifi networking can be used!
> The optimal solution would be to have ideapad_laptop make all
> initialisations so wifi can be used after booting with no manual steps
> necessary.
>
> Regards
Here have some questions:
+ Does "hardware switch" on IdeaPad S205 not just control wireless? Does it
also control bluetooth?
+ Does "hardware switch" emit any KEY_WIRELESS, KEY_BLUETOOTH or KEY_RFKILL?
And rfkill-input works?
I mean: Does this switch only control by BIOS? or actually rfkill-input also
touch the killswitch?
Thank's a lot!
Joey Lee
--
To unsubscribe from
Re: Wifi switch not working, linux on IdeaPad S205
On 06/07/2011 09:48 PM, Joey Lee wrote: > 於 五,2011-06-03 於 14:49 +0200,Florian Heyer 提到: >> fn+f5 doesn't do anything no matter what state the wifi switch is. >> Personally i wouldn't mind if only the wifi switch is supported, i mean, >> you don't need a key combination if you have a real switch for wifi >> (de)activation. >> > > I thought need to check with Ike for more detail why the Fn+F5 key not > work on S205. I read the DSDT again. Fn+F5 is the soft rfkill key. It looks fine. I guess the problem is the hard rfkill status is blocked, wifi will be blocked even the soft one is unblocked. > As I know on Thinkpad machine, the hardware switch causes killswitch set > to hard-block, and Fn+F5 causes killswitch set to soft-block. > > Ike, > need your comments for Fn+F5 key and wireless hardware switch on > ideapad. How does it implement on ideapad? > - press Fn+F5: soft-block wireless killswitch? > - wireless hardware switch: hard-block wireless killswitch? Both of the answers are yes. The problem is that on ideapad s205 without acer-wmi, when ideapad-laptop have the hard switch event, the driver asks the status of switch and DSDT replies blocked. In the DSDT the driver read bit of GWSS as status of hardware switch and I can not find out anything to update GWSS in DSDT :( -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
於 五,2011-06-03 於 14:49 +0200,Florian Heyer 提到: > On 02.06.2011 21:16, Joey Lee wrote: > > This is a problem on "Fn+F5" and "wireless hardware switch", does "Fn > > +F5" also can control wireless state? If yes, then it's a problem it > > have conflict with "wirelss hardware switch". > > > > I mean, even 0x0C is "64", the Fn+F5 still can turn-off wireless, does > > it right? > > If the answer is yes, then we cann't use 0x0C to be killswitch state. > > fn+f5 doesn't do anything no matter what state the wifi switch is. > Personally i wouldn't mind if only the wifi switch is supported, i mean, > you don't need a key combination if you have a real switch for wifi > (de)activation. > I thought need to check with Ike for more detail why the Fn+F5 key not work on S205. As I know on Thinkpad machine, the hardware switch causes killswitch set to hard-block, and Fn+F5 causes killswitch set to soft-block. Ike, need your comments for Fn+F5 key and wireless hardware switch on ideapad. How does it implement on ideapad? - press Fn+F5: soft-block wireless killswitch? - wireless hardware switch: hard-block wireless killswitch? > > What the value in 0x51 and 0x52? is 0, 1 or? > > It's 0! > > regards 0x52 is zero maybe means the Fn+F5 will not do anything. Could you please help to double check it by the following ways? a. Please make sure CONFIG_ACPI_DEBUG=y then run the following command by root: echo 0x >/sys/module/acpi/parameters/debug_layer; echo 0xF >/sys/module/acpi/parameters/debug_level Then please press Fn+F5 key and attached dmesg on mail, we can know find out which _Q method mapping to this key. b. Please run this command by root: perl acer_ec.pl := 0x52 1 Then press Fn+F5 key, does it have anything changed? Thank's Joey Lee -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
On 02.06.2011 21:16, Joey Lee wrote: > This is a problem on "Fn+F5" and "wireless hardware switch", does "Fn > +F5" also can control wireless state? If yes, then it's a problem it > have conflict with "wirelss hardware switch". > > I mean, even 0x0C is "64", the Fn+F5 still can turn-off wireless, does > it right? > If the answer is yes, then we cann't use 0x0C to be killswitch state. fn+f5 doesn't do anything no matter what state the wifi switch is. Personally i wouldn't mind if only the wifi switch is supported, i mean, you don't need a key combination if you have a real switch for wifi (de)activation. > What the value in 0x51 and 0x52? is 0, 1 or? It's 0! regards -- Florian Heyer - [email protected] -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
於 四,2011-06-02 於 10:42 +0200,Florian Heyer 提到: > On 06/01/2011 04:08 AM, Joey Lee wrote: > > So, does that mean Fn+F5 cann't on/off wireless? or Not? > > Could you please help to check the value on 0x51 and 0x52? > > I tested again on my ideapad s205: > > hardware wifi switch changes the following registers: > 0x0C: 0->64 > 0x78: 0->1 > key combination fn+f5: > i can't see a register which changes stable from 0->1 or similar. > This is a problem on "Fn+F5" and "wireless hardware switch", does "Fn +F5" also can control wireless state? If yes, then it's a problem it have conflict with "wirelss hardware switch". I mean, even 0x0C is "64", the Fn+F5 still can turn-off wireless, does it right? If the answer is yes, then we cann't use 0x0C to be killswitch state. > i tried combination fn+cursor-up (labeled with screen brightness). > Screen brightness changes and so do some registers (in the range 0...255 > according to brightness level). > > 0x51 and 0x52 do not change. > What the value in 0x51 and 0x52? is 0, 1 or? Thank's Joey Lee -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
On 06/01/2011 04:08 AM, Joey Lee wrote: So, does that mean Fn+F5 cann't on/off wireless? or Not? Could you please help to check the value on 0x51 and 0x52? I tested again on my ideapad s205: hardware wifi switch changes the following registers: 0x0C: 0->64 0x78: 0->1 key combination fn+f5: i can't see a register which changes stable from 0->1 or similar. i tried combination fn+cursor-up (labeled with screen brightness). Screen brightness changes and so do some registers (in the range 0...255 according to brightness level). 0x51 and 0x52 do not change. regards -- Florian Heyer - [email protected] ç¶ñ1&zÕË J·p+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårÀ~¾ _¶ 1ÿëA¤p+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp+K4y}Í^ìårp
Re: Wifi switch not working, linux on IdeaPad S205
於 三,2011-06-01 於 01:42 +0200,Florian Heyer 提到: > On 06/01/2011 12:50 AM, Joey Lee wrote: > > > > After traced S205 DSDT, I thought you will got a result is 0x71, please > > help to use acer_ec.pl to confirm this register changed. Please give me > > the value when wireless on/off. > > Hello Joey, > > just short testing: the hardware wifi switch (not the wifi key > combination fn+f5) toggles register 0x0C from 0 (off) to 64 (on). Wifi > goes on/off (after having first loaded/unloaded acer_wmi). > It's also ok for acer-wmi can capture 0x0C then set to wireless killswitch. > The wifi key combination fn+f5 doesn't seem to change anything (i have > to look again to be sure). > So, does that mean Fn+F5 cann't on/off wireless? or Not? Could you please help to check the value on 0x51 and 0x52? Thakn's Joey Lee > > > > And, > > Please attached on dmidecode, just need: > > dmidecode> dmidecode.log > > ok, i'll provide that tomorrow. > > > regards -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
On 06/01/2011 12:50 AM, Joey Lee wrote: After traced S205 DSDT, I thought you will got a result is 0x71, please help to use acer_ec.pl to confirm this register changed. Please give me the value when wireless on/off. Hello Joey, just short testing: the hardware wifi switch (not the wifi key combination fn+f5) toggles register 0x0C from 0 (off) to 64 (on). Wifi goes on/off (after having first loaded/unloaded acer_wmi). The wifi key combination fn+f5 doesn't seem to change anything (i have to look again to be sure). And, Please attached on dmidecode, just need: dmidecode> dmidecode.log ok, i'll provide that tomorrow. regards -- Florian Heyer - [email protected] -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
於 二,2011-05-31 於 13:58 +,joeyli(Joey Lee) 提到: > Hi Florian, > > 於 二,2011-05-31 於 15:02 +0200,Florian Heyer 提到: > > On 05/31/2011 11:42 AM, Joey Lee wrote: > > > Just checked your DSDT, it declared the AMW0 methods, I agreed Ike's > > > suggestion that will be better you direct test acer-wmi on your machine. > > > > > > Please modprobe acer-wmi driver, then try to turn on/off bluetooth or > > > wireless device by rfkill. > > > > Hello Joey, > > > > here are some findings with acer_wmi. I execute the following steps from > > top to bottom, and only after the last step my wifi works. After each > > step you find the output of "rfkill list": > > > > after booting (no ideapad_laptop, no acer_wmi): > > 0: hci0: Bluetooth > > Soft blocked: no > > Hard blocked: no > > 1: phy0: Wireless LAN > > Soft blocked: no > > Hard blocked: yes > > > > after loading acer_wmi (wifi switch is on): > > 0: hci0: Bluetooth > > Soft blocked: no > > Hard blocked: no > > 1: phy0: Wireless LAN > > Soft blocked: no > > Hard blocked: no > > 2: acer-wireless: Wireless LAN > > Soft blocked: yes > > Hard blocked: no > > > > after switching off: > > 1: phy0: Wireless LAN > > Soft blocked: no > > Hard blocked: no > > 2: acer-wireless: Wireless LAN > > Soft blocked: yes > > Hard blocked: no > > > > switching on again: > > 1: phy0: Wireless LAN > > Soft blocked: no > > Hard blocked: yes > > 2: acer-wireless: Wireless LAN > > Soft blocked: yes > > Hard blocked: no > > 3: hci0: Bluetooth > > Soft blocked: no > > Hard blocked: no > > > > after removing acer_wmi with modprobe -r: > > 1: phy0: Wireless LAN > > Soft blocked: no > > Hard blocked: no > > 3: hci0: Bluetooth > > Soft blocked: no > > Hard blocked: no > > > > Now wifi networking can be used! > > The optimal solution would be to have ideapad_laptop make all > > initialisations so wifi can be used after booting with no manual steps > > necessary. > > > > Regards > > Your wmi method type is AMW0 and I thought acer-wmi query wrong EC > register address so your acer-wireless was always soft-blocked. > > Please kindly help me to find out which register on your machine is > mapping to wireless status, please reference to Carlos's acer_ec.pl > tool: > > http://code.google.com/p/aceracpi/wiki/EmbeddedController > > Simple use: > watch -n 1 perl acer_ec.pl regs > > Then press your wireless Fn key to monitor which register changed when > you press Fn key: > > e.g. the register at row B0 and column 0A is register 0xBA (0x is used > to indicate this is a hexadecimal number). > > There maybe have other EC register changing when you press key, please > do a couple of times and make sure you find out the right one. > > If we are lucky, we can find out one EC register mapping to your > wireless state. > > > Thank's > Joey Lee After traced S205 DSDT, I thought you will got a result is 0x71, please help to use acer_ec.pl to confirm this register changed. Please give me the value when wireless on/off. And, Please attached on dmidecode, just need: dmidecode > dmidecode.log I need add your dmi information to quirk table in acer-wmi. Thank's Joey Lee -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
Hi Florian, 於 二,2011-05-31 於 15:02 +0200,Florian Heyer 提到: > On 05/31/2011 11:42 AM, Joey Lee wrote: > > Just checked your DSDT, it declared the AMW0 methods, I agreed Ike's > > suggestion that will be better you direct test acer-wmi on your machine. > > > > Please modprobe acer-wmi driver, then try to turn on/off bluetooth or > > wireless device by rfkill. > > Hello Joey, > > here are some findings with acer_wmi. I execute the following steps from > top to bottom, and only after the last step my wifi works. After each > step you find the output of "rfkill list": > > after booting (no ideapad_laptop, no acer_wmi): > 0: hci0: Bluetooth > Soft blocked: no > Hard blocked: no > 1: phy0: Wireless LAN > Soft blocked: no > Hard blocked: yes > > after loading acer_wmi (wifi switch is on): > 0: hci0: Bluetooth > Soft blocked: no > Hard blocked: no > 1: phy0: Wireless LAN > Soft blocked: no > Hard blocked: no > 2: acer-wireless: Wireless LAN > Soft blocked: yes > Hard blocked: no > > after switching off: > 1: phy0: Wireless LAN > Soft blocked: no > Hard blocked: no > 2: acer-wireless: Wireless LAN > Soft blocked: yes > Hard blocked: no > > switching on again: > 1: phy0: Wireless LAN > Soft blocked: no > Hard blocked: yes > 2: acer-wireless: Wireless LAN > Soft blocked: yes > Hard blocked: no > 3: hci0: Bluetooth > Soft blocked: no > Hard blocked: no > > after removing acer_wmi with modprobe -r: > 1: phy0: Wireless LAN > Soft blocked: no > Hard blocked: no > 3: hci0: Bluetooth > Soft blocked: no > Hard blocked: no > > Now wifi networking can be used! > The optimal solution would be to have ideapad_laptop make all > initialisations so wifi can be used after booting with no manual steps > necessary. > > Regards Your wmi method type is AMW0 and I thought acer-wmi query wrong EC register address so your acer-wireless was always soft-blocked. Please kindly help me to find out which register on your machine is mapping to wireless status, please reference to Carlos's acer_ec.pl tool: http://code.google.com/p/aceracpi/wiki/EmbeddedController Simple use: watch -n 1 perl acer_ec.pl regs Then press your wireless Fn key to monitor which register changed when you press Fn key: e.g. the register at row B0 and column 0A is register 0xBA (0x is used to indicate this is a hexadecimal number). There maybe have other EC register changing when you press key, please do a couple of times and make sure you find out the right one. If we are lucky, we can find out one EC register mapping to your wireless state. Thank's Joey Lee -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
On 05/31/2011 11:42 AM, Joey Lee wrote: Just checked your DSDT, it declared the AMW0 methods, I agreed Ike's suggestion that will be better you direct test acer-wmi on your machine. Please modprobe acer-wmi driver, then try to turn on/off bluetooth or wireless device by rfkill. Hello Joey, here are some findings with acer_wmi. I execute the following steps from top to bottom, and only after the last step my wifi works. After each step you find the output of "rfkill list": after booting (no ideapad_laptop, no acer_wmi): 0: hci0: Bluetooth Soft blocked: no Hard blocked: no 1: phy0: Wireless LAN Soft blocked: no Hard blocked: yes after loading acer_wmi (wifi switch is on): 0: hci0: Bluetooth Soft blocked: no Hard blocked: no 1: phy0: Wireless LAN Soft blocked: no Hard blocked: no 2: acer-wireless: Wireless LAN Soft blocked: yes Hard blocked: no after switching off: 1: phy0: Wireless LAN Soft blocked: no Hard blocked: no 2: acer-wireless: Wireless LAN Soft blocked: yes Hard blocked: no switching on again: 1: phy0: Wireless LAN Soft blocked: no Hard blocked: yes 2: acer-wireless: Wireless LAN Soft blocked: yes Hard blocked: no 3: hci0: Bluetooth Soft blocked: no Hard blocked: no after removing acer_wmi with modprobe -r: 1: phy0: Wireless LAN Soft blocked: no Hard blocked: no 3: hci0: Bluetooth Soft blocked: no Hard blocked: no Now wifi networking can be used! The optimal solution would be to have ideapad_laptop make all initialisations so wifi can be used after booting with no manual steps necessary. Regards -- Florian Heyer - [email protected] -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
Hi Florian, 於 二,2011-05-31 於 09:26 +0200,Florian Heyer 提到: > On 31.05.2011 08:38, Ike Panhc wrote: > > Hi Joey, > > > > I put it at > > http://people.canonical.com/~ikepanhc/DSDTs/acpidump-ideapad-s10-3t.dat > > Hi Ike, > > i think this acpi-dump is for another system (it's for a ideapad s10). > > I put the one for Ideapad s205 at > http://www.heyer-it.de/dl/s205/acpidump-ideapad-s205.txt > > > Regards Just checked your DSDT, it declared the AMW0 methods, I agreed Ike's suggestion that will be better you direct test acer-wmi on your machine. Please modprobe acer-wmi driver, then try to turn on/off bluetooth or wireless device by rfkill. Thank's Joey Lee -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
On 31.05.2011 08:38, Ike Panhc wrote: > Hi Joey, > > I put it at > http://people.canonical.com/~ikepanhc/DSDTs/acpidump-ideapad-s10-3t.dat Hi Ike, i think this acpi-dump is for another system (it's for a ideapad s10). I put the one for Ideapad s205 at http://www.heyer-it.de/dl/s205/acpidump-ideapad-s205.txt Regards -- Florian Heyer - [email protected] -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
Hi Joey,
I put it at
http://people.canonical.com/~ikepanhc/DSDTs/acpidump-ideapad-s10-3t.dat
Thanks a lot.
On 05/31/2011 02:28 PM, Joey Lee wrote:
> Hi Ike,
>
> Does there have any acpidump attached on any bug, then I can download
> it?
> Need my help to look at maybe acer-wmi can support this machine?
>
>
> Thank's a lot!
> Joey Lee
>
> 於 二,2011-05-31 於 14:02 +0800,Ike Panhc 提到:
>> Hi Florian,
>>
>> Sorry its being awhile. Thanks for your reply, the notify looks fine but
>> after
>> reading the DSDT I find no hint how to fix it. :(
>>
>> It looks like we need acer_wmi to unseal the wifi switch. I am thinking of
>> two solutions. The first one is to have a module parameter to avoid reading
>> switch status. The second one is to find out how to unseal the switch
>> function
>> with wmi (maybe a worse idea).
>>
>> First thing I need to ask is there any side effect to load acer-wmi on your
>> ideapad?
>>
>>
>>
>> On 04/28/2011 04:42 PM, Florian Heyer wrote:
>>> On 18.04.2011 03:35, Ike Panhc wrote:
In the mean time. Some test is suggested.
>>> [...]
* Insert a printk in notify function like this
--- a/drivers/platform/x86/ideapad-laptop.c
+++ b/drivers/platform/x86/ideapad-laptop.c
@@ -449,6 +449,7 @@ static void ideapad_acpi_notify(struct acpi_device
*adevice, u32 event)
acpi_handle handle = adevice->handle;
unsigned long vpc1, vpc2, vpc_bit;
+ pr_info("notified. event: 0x%X.\n", event);
if (read_ec_data(handle, 0x10, &vpc1))
return;
if (read_ec_data(handle, 0x1A, &vpc2))
and see if we have the acpi event on switch event.
>>>
>>> Hello Ike,
>>>
>>> i'm back at this problem.
>>> I have loaded module ideapad_laptop with modification as above.
>>>
>>> On triggering the hardware wifi button on->off->on i get the following
>>> messages:
>>>
>>> [ 730.712030] usb 3-5: USB disconnect, device number 4
>>> [ 730.713156] btusb_bulk_complete: hci0 urb 8801178d7b40 failed to
>>> resubmit (19)
>>> [ 730.713183] btusb_intr_complete: hci0 urb 880115e6c780 failed to
>>> resubmit (19)
>>> [ 730.713983] btusb_bulk_complete: hci0 urb 8801178d7000 failed to
>>> resubmit (19)
>>> [ 730.714236] btusb_send_frame: hci0 urb 880114055600 submission failed
>>> [ 730.715438] notified. event: 0x80.
>>> [ 731.710317] hci_cmd_timer: hci0 command tx timeout
>>> [ 732.008870] notified. event: 0x80.
>>> [ 732.650384] usb 3-5: new full speed USB device number 5 using ohci_hcd
>>>
>>>
>>> Other function buttons (e.g. screen brightness adjustment) also produce
>>> messages as above "notified. event: 0x80."
>>>
>>>
>>> Regards
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe
>> platform-driver-x86" in
>> the body of a message to [email protected]
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86"
in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
Hi Ike,
Does there have any acpidump attached on any bug, then I can download
it?
Need my help to look at maybe acer-wmi can support this machine?
Thank's a lot!
Joey Lee
於 二,2011-05-31 於 14:02 +0800,Ike Panhc 提到:
> Hi Florian,
>
> Sorry its being awhile. Thanks for your reply, the notify looks fine but after
> reading the DSDT I find no hint how to fix it. :(
>
> It looks like we need acer_wmi to unseal the wifi switch. I am thinking of
> two solutions. The first one is to have a module parameter to avoid reading
> switch status. The second one is to find out how to unseal the switch function
> with wmi (maybe a worse idea).
>
> First thing I need to ask is there any side effect to load acer-wmi on your
> ideapad?
>
>
>
> On 04/28/2011 04:42 PM, Florian Heyer wrote:
> > On 18.04.2011 03:35, Ike Panhc wrote:
> >> In the mean time. Some test is suggested.
> >>
> > [...]
> >> * Insert a printk in notify function like this
> >>
> >> --- a/drivers/platform/x86/ideapad-laptop.c
> >> +++ b/drivers/platform/x86/ideapad-laptop.c
> >> @@ -449,6 +449,7 @@ static void ideapad_acpi_notify(struct acpi_device
> >> *adevice, u32 event)
> >> acpi_handle handle = adevice->handle;
> >> unsigned long vpc1, vpc2, vpc_bit;
> >>
> >> + pr_info("notified. event: 0x%X.\n", event);
> >> if (read_ec_data(handle, 0x10, &vpc1))
> >> return;
> >> if (read_ec_data(handle, 0x1A, &vpc2))
> >>
> >>and see if we have the acpi event on switch event.
> >
> > Hello Ike,
> >
> > i'm back at this problem.
> > I have loaded module ideapad_laptop with modification as above.
> >
> > On triggering the hardware wifi button on->off->on i get the following
> > messages:
> >
> > [ 730.712030] usb 3-5: USB disconnect, device number 4
> > [ 730.713156] btusb_bulk_complete: hci0 urb 8801178d7b40 failed to
> > resubmit (19)
> > [ 730.713183] btusb_intr_complete: hci0 urb 880115e6c780 failed to
> > resubmit (19)
> > [ 730.713983] btusb_bulk_complete: hci0 urb 8801178d7000 failed to
> > resubmit (19)
> > [ 730.714236] btusb_send_frame: hci0 urb 880114055600 submission failed
> > [ 730.715438] notified. event: 0x80.
> > [ 731.710317] hci_cmd_timer: hci0 command tx timeout
> > [ 732.008870] notified. event: 0x80.
> > [ 732.650384] usb 3-5: new full speed USB device number 5 using ohci_hcd
> >
> >
> > Other function buttons (e.g. screen brightness adjustment) also produce
> > messages as above "notified. event: 0x80."
> >
> >
> > Regards
>
> --
> To unsubscribe from this list: send the line "unsubscribe
> platform-driver-x86" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86"
in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
Hi Florian,
Sorry its being awhile. Thanks for your reply, the notify looks fine but after
reading the DSDT I find no hint how to fix it. :(
It looks like we need acer_wmi to unseal the wifi switch. I am thinking of
two solutions. The first one is to have a module parameter to avoid reading
switch status. The second one is to find out how to unseal the switch function
with wmi (maybe a worse idea).
First thing I need to ask is there any side effect to load acer-wmi on your
ideapad?
On 04/28/2011 04:42 PM, Florian Heyer wrote:
> On 18.04.2011 03:35, Ike Panhc wrote:
>> In the mean time. Some test is suggested.
>>
> [...]
>> * Insert a printk in notify function like this
>>
>> --- a/drivers/platform/x86/ideapad-laptop.c
>> +++ b/drivers/platform/x86/ideapad-laptop.c
>> @@ -449,6 +449,7 @@ static void ideapad_acpi_notify(struct acpi_device
>> *adevice, u32 event)
>> acpi_handle handle = adevice->handle;
>> unsigned long vpc1, vpc2, vpc_bit;
>>
>> + pr_info("notified. event: 0x%X.\n", event);
>> if (read_ec_data(handle, 0x10, &vpc1))
>> return;
>> if (read_ec_data(handle, 0x1A, &vpc2))
>>
>>and see if we have the acpi event on switch event.
>
> Hello Ike,
>
> i'm back at this problem.
> I have loaded module ideapad_laptop with modification as above.
>
> On triggering the hardware wifi button on->off->on i get the following
> messages:
>
> [ 730.712030] usb 3-5: USB disconnect, device number 4
> [ 730.713156] btusb_bulk_complete: hci0 urb 8801178d7b40 failed to
> resubmit (19)
> [ 730.713183] btusb_intr_complete: hci0 urb 880115e6c780 failed to
> resubmit (19)
> [ 730.713983] btusb_bulk_complete: hci0 urb 8801178d7000 failed to
> resubmit (19)
> [ 730.714236] btusb_send_frame: hci0 urb 880114055600 submission failed
> [ 730.715438] notified. event: 0x80.
> [ 731.710317] hci_cmd_timer: hci0 command tx timeout
> [ 732.008870] notified. event: 0x80.
> [ 732.650384] usb 3-5: new full speed USB device number 5 using ohci_hcd
>
>
> Other function buttons (e.g. screen brightness adjustment) also produce
> messages as above "notified. event: 0x80."
>
>
> Regards
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86"
in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Wifi switch not working, linux on IdeaPad S205
On 18.04.2011 03:35, Ike Panhc wrote:
> In the mean time. Some test is suggested.
>
[...]
> * Insert a printk in notify function like this
>
> --- a/drivers/platform/x86/ideapad-laptop.c
> +++ b/drivers/platform/x86/ideapad-laptop.c
> @@ -449,6 +449,7 @@ static void ideapad_acpi_notify(struct acpi_device
> *adevice, u32 event)
> acpi_handle handle = adevice->handle;
> unsigned long vpc1, vpc2, vpc_bit;
>
> + pr_info("notified. event: 0x%X.\n", event);
> if (read_ec_data(handle, 0x10, &vpc1))
> return;
> if (read_ec_data(handle, 0x1A, &vpc2))
>
>and see if we have the acpi event on switch event.
Hello Ike,
i'm back at this problem.
I have loaded module ideapad_laptop with modification as above.
On triggering the hardware wifi button on->off->on i get the following
messages:
[ 730.712030] usb 3-5: USB disconnect, device number 4
[ 730.713156] btusb_bulk_complete: hci0 urb 8801178d7b40 failed to
resubmit (19)
[ 730.713183] btusb_intr_complete: hci0 urb 880115e6c780 failed to
resubmit (19)
[ 730.713983] btusb_bulk_complete: hci0 urb 8801178d7000 failed to
resubmit (19)
[ 730.714236] btusb_send_frame: hci0 urb 880114055600 submission failed
[ 730.715438] notified. event: 0x80.
[ 731.710317] hci_cmd_timer: hci0 command tx timeout
[ 732.008870] notified. event: 0x80.
[ 732.650384] usb 3-5: new full speed USB device number 5 using ohci_hcd
Other function buttons (e.g. screen brightness adjustment) also produce
messages as above "notified. event: 0x80."
Regards
--
Florian Heyer - [email protected]
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86"
in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
