Thatbytes

Mostly Interesting

Iwlagn Unsupported (Too Old) EEPROM

After purchasing a new wireless card of ebay. I found out that it was a preproduction knock off. You can see Intels view on this . In order to get it working on linux you need to hack the driver. This is a hack and i mean a hack, it took me 2 seconds but now my wireless card is working.

iwl-eeprom.c.patch

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- linux-2.6.34-gentoo-r1-orig/drivers/net/wireless/iwlwifi/iwl-eeprom.c   2010-05-16 23:17:36.000000000 +0200
+++ linux-2.6.34-gentoo-r1/drivers/net/wireless/iwlwifi/iwl-eeprom.c 2010-09-02 19:04:12.672222822 +0200
@@ -618,10 +618,10 @@
  eeprom_ver = iwl_eeprom_query16(priv, EEPROM_VERSION);
  calib_ver = priv->cfg->ops->lib->eeprom_ops.calib_version(priv);

-    if (eeprom_ver < priv->cfg->eeprom_ver ||
+/*  if (eeprom_ver < priv->cfg->eeprom_ver ||
      calib_ver < priv->cfg->eeprom_calib_ver)
      goto err;
-
+*/
  return 0;
 err:
  IWL_ERR(priv, "Unsupported (too old) EEPROM VER=0x%x < 0x%x CALIB=0x%x < 0x%x\n",

Comments