[Debian-eeepc-devel] Toggle wifi on 901

Artur R. Czechowski arturcz at hell.pl
Sun Sep 7 22:23:47 UTC 2008


Hello,
With default files I can turn off wifi using Fn+F2, but I cannot turn it on.

Debian version: lenny

Installed software:
linux-image-2.6.26-1-686             2.6.26-4
rt2860-modules-2.6.26-1-686          1.7.0.0-1+2.6.26-4
eeepc-acpi-scripts                   1.0.4

When I try to turn on the wifi there is a lot of messages in dmesg:

Sep  7 20:28:04 jalapeno kernel: [  246.961885] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
Sep  7 20:28:04 jalapeno kernel: [  246.968802] pciehp: HPC vendor_id 8086 device_id 27d0 ss_vid 0 ss_did 0
Sep  7 20:28:04 jalapeno kernel: [  246.970301] pciehp: HPC vendor_id 8086 device_id 27d2 ss_vid 0 ss_did 0
Sep  7 20:28:04 jalapeno kernel: [  246.970642] pciehp: HPC vendor_id 8086 device_id 27d4 ss_vid 0 ss_did 0
Sep  7 20:28:04 jalapeno kernel: [  246.971280] pciehp: HPC vendor_id 8086 device_id 27d6 ss_vid 0 ss_did 0
Sep  7 20:28:04 jalapeno kernel: [  246.972168] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
Sep  7 20:28:05 jalapeno kernel: [  248.190855]
Sep  7 20:28:05 jalapeno kernel: [  248.190855]
Sep  7 20:28:05 jalapeno kernel: [  248.190855] === pAd = f8e61000, size = 580788 ===
Sep  7 20:28:05 jalapeno kernel: [  248.190855]
Sep  7 20:28:05 jalapeno kernel: [  248.190855] <-- RTMPAllocAdapterBlock, Status=0
Sep  7 20:28:06 jalapeno kernel: [  249.205817] RX DESC ef5f3000  size = 2048
Sep  7 20:28:06 jalapeno kernel: [  249.208225] <-- RTMPAllocTxRxRingMemory, Status=0

After some wild guesses and helpful suggestion from eptesicus I got things
working.

1. echo options pciehp pciehp_slot_with_bus=1 pciehp_force=1 > /etc/modprobe.d/for-wireless
2. echo pciehp >> /etc/modules
3. patch -p0 < toggle-wifi.diff

Patch for 3. is attached. It also changes names for module and interface.

It works like a charm on my 901.

Regards
	Artur
-- 
Po co mamy ze sobą rozmawiać, skoro tak łatwo się komunikować?
						/Jean Baudrillard/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: toggle-wifi.diff
Type: text/x-diff
Size: 758 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/attachments/20080908/ff9b674f/attachment.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/attachments/20080908/ff9b674f/attachment.pgp 


More information about the Debian-eeepc-devel mailing list