How I found my missing network WIFI drivers.

My PC: HP Pavilion dv6 7007tx, is rather new, and so, after installing the latest Ubuntu 10.04-4 LTS, and then followed by a kernel update to the latest kernel – 3.3.0-030300-generic, the WIFI card is still not working.

lspci:

0a:00.0 Network controller: Intel Corporation Device 0887 (rev c4)

The above is the suspected hardware not properly detected.

Doing a general “lshal” and followed by searching for “887”:

udi = '/org/freedesktop/Hal/devices/pci_8086_887'
info.parent = '/org/freedesktop/Hal/devices/pci_8086_1e16' (string)
info.product = 'Unknown (0x0887)' (string)
info.subsystem = 'pci' (string)
info.udi = '/org/freedesktop/Hal/devices/pci_8086_887' (string)
info.vendor = 'Intel Corporation' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'pci' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1c.3/0000:0a:00.0' (string)
pci.device_class = 2 (0x2) (int)
pci.device_protocol = 0 (0x0) (int)
pci.device_subclass = 128 (0x80) (int)
pci.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1c.3/0000:0a:00.0' (string)
pci.product_id = 2183 (0x887) (int)
pci.subsys_product_id = 16482 (0x4062) (int)
pci.subsys_vendor = 'Intel Corporation' (string)
pci.subsys_vendor_id = 32902 (0x8086) (int)
pci.vendor = 'Intel Corporation' (string)
pci.vendor_id = 32902 (0x8086) (int)

From above there is not “linux.driver” which will indicate which driver has acquired the hardware. Not sure which drivers it is, but highly likely to be from Intel. So doing a generic search “modprobe -l | grep intel” to search for all possible intel related drivers.

kernel/arch/x86/crypto/aesni-intel.ko
kernel/arch/x86/kvm/kvm-intel.ko
kernel/drivers/dma/intel_mid_dma.ko
kernel/drivers/char/hw_random/intel-rng.ko
kernel/drivers/net/ethernet/intel/e100.ko
kernel/drivers/net/ethernet/intel/e1000/e1000.ko
kernel/drivers/net/ethernet/intel/e1000e/e1000e.ko
kernel/drivers/net/ethernet/intel/igb/igb.ko
kernel/drivers/net/ethernet/intel/igbvf/igbvf.ko
kernel/drivers/net/ethernet/intel/ixgbe/ixgbe.ko
kernel/drivers/net/ethernet/intel/ixgbevf/ixgbevf.ko
kernel/drivers/net/ethernet/intel/ixgb/ixgb.ko
kernel/drivers/i2c/busses/i2c-intel-mid.ko
kernel/drivers/platform/x86/intel_menlow.ko
kernel/drivers/platform/x86/intel_ips.ko
kernel/drivers/platform/x86/intel_oaktrail.ko
kernel/drivers/video/intelfb/intelfb.ko
kernel/drivers/mtd/maps/intel_vr_nor.ko
kernel/sound/pci/snd-intel8x0.ko
kernel/sound/pci/snd-intel8x0m.ko
kernel/sound/pci/hda/snd-hda-intel.ko

Manually tried to “modprobe” a few but still not working: “wlan” is not coming up.

Finally, when I “modprobe iwlwifi” I saw this in “dmesg” output:

[ 12.121144] iwlwifi 0000:0a:00.0: pci_resource_len = 0x00002000
[ 12.121146] iwlwifi 0000:0a:00.0: pci_resource_base = f8794000
[ 12.121147] iwlwifi 0000:0a:00.0: HW Revision ID = 0xC4
[ 12.121294] iwlwifi 0000:0a:00.0: irq 46 for MSI/MSI-X
[ 12.121341] iwlwifi 0000:0a:00.0: CONFIG_IWLWIFI_DEBUG disabled
[ 12.121343] iwlwifi 0000:0a:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
[ 12.121344] iwlwifi 0000:0a:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[ 12.121345] iwlwifi 0000:0a:00.0: CONFIG_IWLWIFI_DEVICE_TESTMODE enabled
[ 12.121346] iwlwifi 0000:0a:00.0: CONFIG_IWLWIFI_P2P disabled
[ 12.121374] iwlwifi 0000:0a:00.0: Detected Intel(R) Centrino(R) Wireless-N 2230 BGN, REV=0xC8
[ 12.121452] iwlwifi 0000:0a:00.0: L1 Enabled; Disabling L0S
[ 12.137817] iwlwifi 0000:0a:00.0: device EEPROM VER=0x81c, CALIB=0x6
[ 12.137819] iwlwifi 0000:0a:00.0: Device SKU: 0x150
[ 12.137821] iwlwifi 0000:0a:00.0: Valid Tx ant: 0x3, Valid Rx ant: 0x3
[ 12.137836] iwlwifi 0000:0a:00.0: Tunable channels: 13 802.11bg, 0 802.11a channels
[ 12.256360] iwlwifi 0000:0a:00.0: request for firmware file 'iwlwifi-2030-5.ucode' failed.
[ 12.256389] iwlwifi 0000:0a:00.0: no suitable firmware found!

Finally, it is complaining that it cannot find wilwifi-2030-5.ucode. Downloaded the latest kernel source code from kernel.org, but still it is not there. So finally I have to download it from http://intellinuxwireless.org/?n=downloads and voila, the 2030 ucode is there.

Copying the firmware into my existing /lib/firmware directory, and finally reloading the iwlwifi kernel module:

1721.114148] iwlwifi 0000:0a:00.0: pci_resource_len = 0x00002000
[11721.114150] iwlwifi 0000:0a:00.0: pci_resource_base = f86f0000
[11721.114153] iwlwifi 0000:0a:00.0: HW Revision ID = 0xC4
[11721.114281] iwlwifi 0000:0a:00.0: irq 47 for MSI/MSI-X
[11721.114339] iwlwifi 0000:0a:00.0: CONFIG_IWLWIFI_DEBUG disabled
[11721.114341] iwlwifi 0000:0a:00.0: CONFIG_IWLWIFI_DEBUGFS enabled
[11721.114343] iwlwifi 0000:0a:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled
[11721.114345] iwlwifi 0000:0a:00.0: CONFIG_IWLWIFI_DEVICE_TESTMODE enabled
[11721.114347] iwlwifi 0000:0a:00.0: CONFIG_IWLWIFI_P2P disabled
[11721.114377] iwlwifi 0000:0a:00.0: Detected Intel(R) Centrino(R) Wireless-N 2230 BGN, REV=0xC8
[11721.114481] iwlwifi 0000:0a:00.0: L1 Enabled; Disabling L0S
[11721.130803] iwlwifi 0000:0a:00.0: device EEPROM VER=0x81c, CALIB=0x6
[11721.130806] iwlwifi 0000:0a:00.0: Device SKU: 0x150
[11721.130808] iwlwifi 0000:0a:00.0: Valid Tx ant: 0x3, Valid Rx ant: 0x3
[11721.130832] iwlwifi 0000:0a:00.0: Tunable channels: 13 802.11bg, 0 802.11a channels
[11721.178443] iwlwifi 0000:0a:00.0: loaded firmware version 18.168.6.1
[11721.178723] Registered led device: phy1-led

and doing a “ifconfig” wlan got detected by the router and setup hence:

wlan0 Link encap:Ethernet HWaddr 68:5d:43:02:11:bf
inet addr:10.10.1.160 Bcast:10.10.1.255 Mask:255.255.255.0
inet6 addr: fe80::6a5d:43ff:fe02:11bf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3041 errors:0 dropped:0 overruns:0 frame:0
TX packets:1932 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2525361 (2.5 MB) TX bytes:391475 (391.4 KB)

Advertisements

2 responses to this post.

  1. I’ve downloaded the 2030 code from the site you mention but there was only the iwlwifi-2030-6.ucode firmware and not the iwlwifi-2030-5.ucode firmware. Was it the -6 one that worked for you?

    Reply

  2. It is just a version upgrade from previous version. Gues that would be fine as well.

    Reply

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: