[ltp] X60s/X200s kernel 3.7.0 compiled no wifi. (Old 2.6.32, ubuntu wifi works)

Uwe Brauer linux-thinkpad@linux-thinkpad.org
Thu, 06 Nov 2014 15:20:14 +0100

>> "Ivan" == Ivan T Ivanov <iivanov@mm-sol.com> writes:

   > On Thu, 2014-11-06 at 14:29 +0100, Uwe Brauer wrote:

   >> In any case wicd nor knetworkmanager find the card so I cannot connect
   >> comfortably to a wifi red.

   > I am also using wicd. You have properly filled "Wireless Interface: wlan0"
   > in wicd, right? 

No: if I use the older kernel wicd show me the net around me, with teh
3.7 he simply tells me no wireless networks found. I could attach
screenshots of both 

   > "wifi red" or wifi led? Check dmesg output, ensure that firmware file is 
   > properly loaded (no errors like "*firmware file no found*")

Aha, there is indeed a huge difference:

Dmes (2.6)
[    7.096380] iwlagn 0000:03:00.0: firmware: requesting iwlwifi-5000-2.ucode
[    7.133424] iwlagn 0000:03:00.0: loaded firmware version
[    6.025870] iwlagn 0000:03:00.0: Detected Intel Wireless WiFi Link
5100AGN REV=0x54

The module iwlagn is present for the older kernels but not for 3.7
kernel. Indeed in the .config file for the older kernels I have

While there is no such line in the .config file for the 3.7 kernel
however this might be caused by the split you mentioned.

Indeed dmesg for 3.7 does not show the line concerning the request for
firmware. I have 
[    4.902443] iwldvm: Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:
[    4.902450] iwldvm: Copyright(c) 2003-2012 Intel Corporation
[    4.902484] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUG disabled
[    4.902488] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
[    4.902491] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled
[    4.902495] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_DEVICE_TESTMODE enabled
[    4.902498] iwlwifi 0000:03:00.0: CONFIG_IWLWIFI_P2P enabled
[    4.902502] iwlwifi 0000:03:00.0: Detected Intel(R) WiFi Link 5100 AGN, REV=0x54
[    4.902588] iwlwifi 0000:03:00.0: L1 Disabled; Enabling L0S
[    4.934003] iwlwifi 0000:03:00.0: device EEPROM VER=0x11f, CALIB=0x4
[    4.934010] iwlwifi 0000:03:00.0: Device SKU: 0xF0
[    4.934015] iwlwifi 0000:03:00.0: Valid Tx ant: 0x2, Valid Rx ant: 0x3

But this is maybe not enough since he does not load 
[    7.096380] iwlagn 0000:03:00.0: firmware: requesting iwlwifi-5000-2.ucode

So the question is how to activate the firmware and how to do
it automatically during booting.

Thanks again