← Back to team overview

ubuntu-eeepc team mailing list archive

[Bug 182490] Re: Wireless switch on Eee PC needs pciehp to work correctly

 

It does look like the patch mentioned here is in the upstream kernel,
but not available in the Jaunty kernel.  This may be something that will
have to wait for the Karmic release but that's something for the kernel
team to decide.  Below is the usptream git commit id for them to
reference:

ogasawara@yoji:~/linux-2.6$ git log -p
5740294ca3a9b113fe146f2826effb69ca50008d

commit 5740294ca3a9b113fe146f2826effb69ca50008d

Author: Matthew Garrett <mjg@xxxxxxxxxx>

Date:   Tue Jan 20 16:17:48 2009 +0100


    eeepc-laptop: Implement rfkill hotplugging in eeepc-laptop


    The Eee implements rfkill by logically unplugging the wireless card
from the

    PCI bus. Despite sending ACPI notifications, this does not appear to
be

    implemented using standard ACPI hotplug - nor does the firmware
provide the

    _OSC method required to support native PCIe hotplug. The only
sensible choic

    appears to be to handle the hotplugging directly in the eeepc-laptop
driver.

    Tested successfully on a 700, 900 and 901.


    Signed-off-by: Matthew Garrett <mjg@xxxxxxxxxx>

    Signed-off-by: Corentin Chary <corentincj@xxxxxxxxxx>

    Signed-off-by: Len Brown <len.brown@xxxxxxxxx>

-- 
Wireless switch on Eee PC needs pciehp to work correctly
https://bugs.launchpad.net/bugs/182490
You received this bug notification because you are a member of Ubuntu
EEEPC, which is a direct subscriber.

Status in “linux” source package in Ubuntu: Triaged

Bug description:
I've compiled my own new version of the ath-pci module, so I can use the wireless on my Eee PC, but there is still one issue. If you disable the wireless using the hotkey, the atheros driver goes nuts because it can't talk to the hardware anymore.

This is fixed if I load the 'pciehp' module, with the 'pciehp_force=1' option. This might not be the cleanest way of loading, but it works.

I think this should be done automatically on the Eee PC.