run/wifi on intel 5100
Tim Newsham
tim.newsham at ...9...
Thu Jan 8 23:37:20 CET 2015
The wifi driver seems to work just fine on intel 5100 cards with the
tweak suggested in the latest release notes. I just had to
add an entry to drv.c for the card, and then make some tweaks
to the wifi.run script. I also added the firmware for my card (not sure
if it used it). Note: I couldnt find the required "bin/iwlwifi-6000-6.ucode"
file and just copied "bin/iwlwifi-6000-4.ucode" instead. The resulting
image ran fine, obtained a dhcp lease, and served up a page
over HTTP, as expected.
--- orig-drv.c 2015-01-08 12:32:05.274635841 -1000
+++ ./contrib/dde_linux-7f4e92802b6293f4816c0f366111b554109eec99/src/lib/wifi/drivers/net/wireless/iwlwifi/pcie/drv.c
2015-01-08 11:45:11.582662676 -1000
@@ -81,6 +81,7 @@
{IWL_PCI_DEVICE(0x4238, 0x1111, iwl6000_3agn_cfg)}, /* x201 */
{IWL_PCI_DEVICE(0x0085, 0x1311, iwl6005_2agn_cfg)}, /* x220 */
{IWL_PCI_DEVICE(0x088E, 0x4060, iwl6035_2agn_cfg)}, /* plumbum */
+ {IWL_PCI_DEVICE(0x4237, 0x1211, iwl5100_agn_cfg)}, /* 5100 agn */
//#if IS_ENABLED(CONFIG_IWLDVM)
// {IWL_PCI_DEVICE(0x4232, 0x1201, iwl5100_agn_cfg)}, /* Mini Card */
--- orig-wifi.run 2015-01-08 12:33:59.290634755 -1000
+++ ./repos/dde_linux/run/wifi.run 2015-01-08 12:27:53.666638242 -1000
@@ -70,9 +70,10 @@
</dir>
<inline name="wpa_supplicant.conf">
network={
- id_str="foo"
- ssid="foo"
+ id_str="SSSSSSSSS"
+ ssid="SSSSSSSSS"
key_mgmt=NONE
+ wep_key0="XXXXXXXXXXXXX"
#key_mgmt=WPA-PSK
#psk="foobarfoobar"
}
@@ -126,6 +127,7 @@
install_config $config
if {![file exists bin/iwlwifi-6000-6.ucode] ||
+ ![file exists bin/iwlwifi-5000-5.ucode] ||
![file exists bin/iwlwifi-6000g2a-6.ucode] ||
![file exists bin/iwlwifi-6000g2b-6.ucode]} {
puts ""
@@ -154,6 +156,7 @@
iwlwifi-6000-6.ucode
iwlwifi-6000g2a-6.ucode
iwlwifi-6000g2b-6.ucode
+ iwlwifi-5000-5.ucode
}
lappend_if [have_spec acpi] boot_modules acpi_drv
--
Tim Newsham | www.thenewsh.com/~newsham | @newshtwit | thenewsh.blogspot.com
More information about the users
mailing list