All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ike Panhc <ike.pan@canonical.com>
To: Florian Heyer <heyho@flanto.de>
Cc: platform-driver-x86@vger.kernel.org
Subject: Re: Wifi switch not working, linux on IdeaPad S205
Date: Tue, 31 May 2011 14:02:46 +0800	[thread overview]
Message-ID: <4DE48486.1050702@canonical.com> (raw)
In-Reply-To: <4DB92866.4000008@flanto.de>

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 ffff8801178d7b40 failed to
> resubmit (19)
> [  730.713183] btusb_intr_complete: hci0 urb ffff880115e6c780 failed to
> resubmit (19)
> [  730.713983] btusb_bulk_complete: hci0 urb ffff8801178d7000 failed to
> resubmit (19)
> [  730.714236] btusb_send_frame: hci0 urb ffff880114055600 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

  reply	other threads:[~2011-05-31  6:02 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4DAB18C3.7010106@flanto.de>
     [not found] ` <4DAB9566.7010601@canonical.com>
2011-04-28  8:42   ` Wifi switch not working, linux on IdeaPad S205 Florian Heyer
2011-05-31  6:02     ` Ike Panhc [this message]
2011-05-31  6:28       ` Joey Lee
2011-05-31  6:38         ` Ike Panhc
2011-05-31  7:26           ` Florian Heyer
2011-05-31  9:42             ` Joey Lee
2011-05-31 13:02               ` Florian Heyer
2011-05-31 13:58                 ` Joey Lee
2011-05-31 22:50 Joey Lee
2011-05-31 23:42 ` Florian Heyer
2011-06-01  2:08   ` Joey Lee
2011-06-02  8:42     ` Florian Heyer
2011-06-02 19:16       ` Joey Lee
2011-06-03 12:49         ` Florian Heyer
2011-06-07 13:48           ` Joey Lee
2011-06-09  8:36             ` Ike Panhc
2011-06-15  9:32               ` Joey Lee
2011-06-15  9:42                 ` Florian Heyer
2011-06-17 13:09                   ` Joey Lee
2011-06-17 15:03                     ` Florian Heyer
2011-06-17 22:50                       ` Joey Lee
2011-06-19 16:15                         ` Florian Heyer
2011-06-18  0:38                       ` Joey Lee
2011-06-19 15:23                         ` Florian Heyer
2011-06-20 10:10                           ` Joey Lee
2011-06-20 10:58                             ` Florian Heyer
2011-06-21 10:16                               ` Joey Lee
2011-06-24 21:03                                 ` Florian Heyer
2011-06-27  8:17                                   ` Joey Lee
2011-06-22  9:28                           ` Ike Panhc
2011-06-24 21:28                             ` Florian Heyer
2011-06-27  8:17                               ` Joey Lee
2011-06-30 14:26                               ` Ike Panhc
2011-06-30 15:03                                 ` Florian Heyer
2011-07-01  8:24                                   ` Ike Panhc
2011-06-16  9:58                 ` Ike Panhc
2011-06-17 10:58                   ` Joey Lee

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=4DE48486.1050702@canonical.com \
    --to=ike.pan@canonical.com \
    --cc=heyho@flanto.de \
    --cc=platform-driver-x86@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 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.