Ubuntu

wireless not working in 9.04 RC on HP EliteBook 6930p

Reported by ubacc2009 on 2009-04-20
4
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Undecided
Unassigned

Bug Description

I did a clean install of 9.04 RC on a HP EliteBook 6930p. I can't get wireless to work and I suspect that the problem is with the HW RF Kill switch, whose state doesn't change when I press the wifi button. Since the wifi worked perfectly under Vista, I don't think it's a hardware problem.

Here is the output of some relevant commands:

~$ uname -a
Linux mali-astro 2.6.28-11-generic #41-Ubuntu SMP Wed Apr 8 04:39:23 UTC 2009 x86_64 GNU/Linux

~$ lshw -C network
*-network
       description: Ethernet interface
       product: 82567LM Gigabit Network Connection
       vendor: Intel Corporation
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: eth0
       version: 03
       serial: 00:24:81:b4:09:67
       size: 100MB/s
       capacity: 1GB/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=0.3.3.3-k6 duplex=full firmware=1.8-3 ip=193.2.67.200 latency=0 link=yes module=e1000e multicast=yes port=twisted pair speed=100MB/s
  *-network
       description: Wireless interface
       product: Wireless WiFi Link 5300
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wmaster0
       version: 00
       serial: 00:21:6a:38:df:22
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list logical ethernet physical wireless
       configuration: broadcast=yes driver=iwlagn latency=0 module=iwlagn multicast=yes wireless=IEEE 802.11abgn
  *-network DISABLED
       description: Ethernet interface
       physical id: 2
       logical name: pan0
       serial: 6a:72:2b:cf:82:81
       capabilities: ethernet physical
       configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A link=yes multicast=yes

~$ lsmod | grep iwl
iwlagn 114820 0
iwlcore 106496 1 iwlagn
mac80211 251144 2 iwlagn,iwlcore
led_class 13064 2 iwlcore,leds_hp_disk
cfg80211 43168 3 iwlagn,iwlcore,mac80211

~$ dmesg | grep iwlagn
[ 8.268433] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks
[ 8.268436] iwlagn: Copyright(c) 2003-2008 Intel Corporation
[ 8.268552] iwlagn 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 8.268578] iwlagn 0000:03:00.0: setting latency timer to 64
[ 8.268669] iwlagn: Detected Intel Wireless WiFi Link 5300AGN REV=0x24
[ 8.287493] iwlagn: Tunable channels: 13 802.11bg, 24 802.11a channels
[ 8.287547] iwlagn 0000:03:00.0: irq 2296 for MSI/MSI-X
[ 14.727788] iwlagn 0000:03:00.0: firmware: requesting iwlwifi-5000-1.ucode
[ 14.789011] iwlagn: Radio disabled by HW RF Kill switch

~$ cat /sys/bus/pci/drivers/iwlagn/0000\:03\:00.0/rfkill/rfkill0/state
2

~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M-E LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3400 Series
03:00.0 Network controller: Intel Corporation Wireless WiFi Link 5300
86:09.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 06)
86:09.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 25)
86:09.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev bb)
86:09.3 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ff)

~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:24:81:b4:09:67
          inet addr:193.2.67.200 Bcast:193.2.67.255 Mask:255.255.255.0
          inet6 addr: fe80::224:81ff:feb4:967/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:768 errors:0 dropped:0 overruns:0 frame:0
          TX packets:528 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:405089 (405.0 KB) TX bytes:97858 (97.8 KB)
          Memory:d0400000-d0420000

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:240 (240.0 B) TX bytes:240 (240.0 B)

wlan0 Link encap:Ethernet HWaddr 00:21:6a:38:df:22
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wmaster0 Link encap:UNSPEC HWaddr 00-21-6A-38-DF-22-00-00-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11abgn ESSID:""
          Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
          Tx-Power=14 dBm
          Retry min limit:7 RTS thr:off Fragment thr=2352 B
          Power Management:off
          Link Quality:0 Signal level:0 Noise level:0
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

pan0 no wireless extensions.

Hi ubacc2009,

Indeed it looks like the kill switch is enabled based on:

[ 14.789011] iwlagn: Radio disabled by HW RF Kill switch

and

~$ cat /sys/bus/pci/drivers/iwlagn/0000\:03\:00.0/rfkill/rfkill0/state
2

Can you try to toggle the state directly to see if it helps? You may have to become the root user first:

echo 1 > /sys/bus/pci/drivers/iwlagn/0000\:03\:00.0/rfkill/rfkill0/state

You may also want to try installing the linux-backports-modules-jaunty package to see if it might help as well. It contains an updated compat-wireless stack. Please let us know if either of these help. Thanks.

Changed in linux (Ubuntu):
status: New → Incomplete
ar (arjenmeijernl) wrote :

Same problem on a Lenovo W700 with a Intel Wireless link 5300.

Basic problem is: how can I activate the wireless software if fn+f5 (toggle wireless) is not working.

The commando given (echo 1 > /sys/bus/pci/drivers/iwlagn/0000\:03\:00.0/rfkill/rfkill0/state) does not work.
(With a different path,) I can not change the state: not allowed even as root.

Runnning with kernel 28.12 general 64 bits

P.S. Without the wireless connection the system is very very stable. Due to a crash I lost the wireless connection and I cannot get it working again. I do not known why Ubuntu crashed hard. Before the crash Ubuntu crashed two time a day. See https://bugs.launchpad.net/bugs/367499, and https://bugs.launchpad.net/bugs/370052 which do not occur anymore.
So it looks like the 5300 driver is buggy.

ubacc2009 (ubacc2009) wrote :

I tried:
sudo echo 1 > /sys/bus/pci/drivers/iwlagn/0000\:03\:00.0/rfkill/rfkill0/state

with the result:
/sys/bus/pci/drivers/iwlagn/0000:03:00.0/rfkill/rfkill0/state: Permission denied

I also tried installing the linux-backports-modules-jaunty package but it doesn't help. After rebooting, wireless still doesn't work, so I tried:

~$ modprobe iwlagn
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.

~$ dmesg | grep iwlagn
[ 8.947476] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks
[ 8.947478] iwlagn: Copyright(c) 2003-2009 Intel Corporation
[ 8.947591] iwlagn 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 8.947621] iwlagn 0000:03:00.0: setting latency timer to 64
[ 8.947687] iwlagn 0000:03:00.0: Detected Intel Wireless WiFi Link 5300AGN REV=0x24
[ 8.966458] iwlagn 0000:03:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels
[ 8.966513] iwlagn 0000:03:00.0: irq 2296 for MSI/MSI-X
[ 16.182149] iwlagn 0000:03:00.0: firmware: requesting lbm-iwlwifi-5000-1.ucode
[ 16.318506] iwlagn 0000:03:00.0: loaded firmware version 5.4.1.16
[ 16.318716] iwlagn 0000:03:00.0: Radio disabled by HW RF Kill switch

ar (arjenmeijernl) wrote :

The message Radio disabled bij Hardware RF Kill switch means that:.........

somewhere on your machine is a switch that overrules all software setting. Inspect the machine,
read the documentation, ask a repair center where the switch is located.

On my machine it is hidden(!) is the frontpanel. Switch it on and wireless will work.
Yes, I know, because I had the same problem as you do (on a different machine.)

ubacc2009 (ubacc2009) wrote :

As I said, the wireless worked under Vista, so I definitely know where the switch is. The switch is on, but wireless is not working.

Rodrigo (rdefrancisco37) wrote :

Hi there!

I'ver read in https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/hp-elitebook-6930p-wireless-switch-not-working-694419/ that reseting BIOS solves the problem (I've not tried yet)

Good luck!

ubacc2009 (ubacc2009) wrote :

Thanks, resetting BIOS solved the problem!

I'm closing this bug as the original bug reporter noted that a BIOS reset resolved this bug. Thanks.

Changed in linux (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers