All of lore.kernel.org
 help / color / mirror / Atom feed
* asus-laptop kill wifi when initital
@ 2010-09-09  7:41 ` Ike Panhc
  0 siblings, 0 replies; 4+ messages in thread
From: Ike Panhc @ 2010-09-09  7:41 UTC (permalink / raw)
  To: acpi4asus-user, platform-driver-x86, linux-kernel
  Cc: Corentin Chary, Matthew Garrett

Hi,

I have a report[1] that user has to blacklist the asus-laptop otherwise wifi
can not work. I copied asus-laptop.c from 2.6.32 kernel and remove two
lines[2] that set WLED/BLED on. The modified driver works fine.

User uses 2.6.32 based kernel and when 2.6.34, a module parameter
"wifi_status" is added[3] to let user choose what he want to do on WLED/BLED
when initial. So I guess there are some reports tells the parameter for
WLED/BLED maybe changed. Since the default action is still on because some
machine need to enable WLED/BLED when booting. Any idea for the future
change? For example telling user add an options on /etc/modprobe.d, or try
to have a list of machine that not to set WLED/BLED to 1 when booting?


[1] http://launchpad.net/bugs/612454

[2] Patch is shown below:

@@ -1273,8 +1273,10 @@ static int asus_hotk_add(struct acpi_dev
 	asus_hotk_found = 1;
 
 	/* WLED and BLED are on by default */
+#if 0 /* Remove by Ike Panhc */
 	write_status(bt_switch_handle, 1, BT_ON);
 	write_status(wl_switch_handle, 1, WL_ON);
+#endif
 
 	/* If the h/w switch is off, we need to check the real status */
 	write_status(NULL, read_status(BT_ON), BT_ON);

[3] https://patchwork.kernel.org/patch/76283/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* asus-laptop kill wifi when initital
@ 2010-09-09  7:41 ` Ike Panhc
  0 siblings, 0 replies; 4+ messages in thread
From: Ike Panhc @ 2010-09-09  7:41 UTC (permalink / raw)
  To: acpi4asus-user, platform-driver-x86, linux-kernel
  Cc: Corentin Chary, Matthew Garrett

Hi,

I have a report[1] that user has to blacklist the asus-laptop otherwise wifi
can not work. I copied asus-laptop.c from 2.6.32 kernel and remove two
lines[2] that set WLED/BLED on. The modified driver works fine.

User uses 2.6.32 based kernel and when 2.6.34, a module parameter
"wifi_status" is added[3] to let user choose what he want to do on WLED/BLED
when initial. So I guess there are some reports tells the parameter for
WLED/BLED maybe changed. Since the default action is still on because some
machine need to enable WLED/BLED when booting. Any idea for the future
change? For example telling user add an options on /etc/modprobe.d, or try
to have a list of machine that not to set WLED/BLED to 1 when booting?


[1] http://launchpad.net/bugs/612454

[2] Patch is shown below:

@@ -1273,8 +1273,10 @@ static int asus_hotk_add(struct acpi_dev
 	asus_hotk_found = 1;
 
 	/* WLED and BLED are on by default */
+#if 0 /* Remove by Ike Panhc */
 	write_status(bt_switch_handle, 1, BT_ON);
 	write_status(wl_switch_handle, 1, WL_ON);
+#endif
 
 	/* If the h/w switch is off, we need to check the real status */
 	write_status(NULL, read_status(BT_ON), BT_ON);

[3] https://patchwork.kernel.org/patch/76283/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: asus-laptop kill wifi when initital
  2010-09-09  7:41 ` Ike Panhc
@ 2010-09-09  7:52   ` Corentin Chary
  -1 siblings, 0 replies; 4+ messages in thread
From: Corentin Chary @ 2010-09-09  7:52 UTC (permalink / raw)
  To: Ike Panhc
  Cc: acpi4asus-user, platform-driver-x86, linux-kernel, Matthew Garrett

On Thu, Sep 9, 2010 at 9:41 AM, Ike Panhc <ike.pan@canonical.com> wrote:
> Hi,
>
> I have a report[1] that user has to blacklist the asus-laptop otherwise wifi
> can not work. I copied asus-laptop.c from 2.6.32 kernel and remove two
> lines[2] that set WLED/BLED on. The modified driver works fine.
>
> User uses 2.6.32 based kernel and when 2.6.34, a module parameter
> "wifi_status" is added[3] to let user choose what he want to do on WLED/BLED
> when initial. So I guess there are some reports tells the parameter for
> WLED/BLED maybe changed. Since the default action is still on because some
> machine need to enable WLED/BLED when booting. Any idea for the future
> change? For example telling user add an options on /etc/modprobe.d, or try
> to have a list of machine that not to set WLED/BLED to 1 when booting?

You can help me fill the acpi4asus wiki [1]. If we manage to get a real
list of laptop where we should not write in WLED/BLED, then we can
try to implement a black list.

WLED/BLED/WAPF never worked well, mainly because the behavior
seems to be completly inconsistant between laptops. You may try to
ask Asus about that, but they never answered to me :/. But again, the
wiki could help us, we just need to find out how  HWRS, RSTS, SFUN
and WAPF really work.

[1] http://dev.iksaif.net/projects/acpi4asus/wiki



-- 
Corentin Chary
http://xf.iksaif.net

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: asus-laptop kill wifi when initital
@ 2010-09-09  7:52   ` Corentin Chary
  0 siblings, 0 replies; 4+ messages in thread
From: Corentin Chary @ 2010-09-09  7:52 UTC (permalink / raw)
  To: Ike Panhc
  Cc: acpi4asus-user, platform-driver-x86, linux-kernel, Matthew Garrett

On Thu, Sep 9, 2010 at 9:41 AM, Ike Panhc <ike.pan@canonical.com> wrote:
> Hi,
>
> I have a report[1] that user has to blacklist the asus-laptop otherwise wifi
> can not work. I copied asus-laptop.c from 2.6.32 kernel and remove two
> lines[2] that set WLED/BLED on. The modified driver works fine.
>
> User uses 2.6.32 based kernel and when 2.6.34, a module parameter
> "wifi_status" is added[3] to let user choose what he want to do on WLED/BLED
> when initial. So I guess there are some reports tells the parameter for
> WLED/BLED maybe changed. Since the default action is still on because some
> machine need to enable WLED/BLED when booting. Any idea for the future
> change? For example telling user add an options on /etc/modprobe.d, or try
> to have a list of machine that not to set WLED/BLED to 1 when booting?

You can help me fill the acpi4asus wiki [1]. If we manage to get a real
list of laptop where we should not write in WLED/BLED, then we can
try to implement a black list.

WLED/BLED/WAPF never worked well, mainly because the behavior
seems to be completly inconsistant between laptops. You may try to
ask Asus about that, but they never answered to me :/. But again, the
wiki could help us, we just need to find out how  HWRS, RSTS, SFUN
and WAPF really work.

[1] http://dev.iksaif.net/projects/acpi4asus/wiki



-- 
Corentin Chary
http://xf.iksaif.net

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-09-09  7:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-09  7:41 asus-laptop kill wifi when initital Ike Panhc
2010-09-09  7:41 ` Ike Panhc
2010-09-09  7:52 ` Corentin Chary
2010-09-09  7:52   ` Corentin Chary

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.