[Leaplist] Re: REVISITED: Fedora 9 on Gateway P-7811FX "Centrino 2" notebook

Bryan J. Smith b.j.smith at ieee.org
Sat Sep 6 10:42:39 EDT 2008


On Sat, 2008-09-06 at 10:11 -0400, Bryan J. Smith wrote:
> Anyhoo, here's mine:  
> $ ls -il /sys/bus/pci/drivers/iwl4965/0000:04:00.0/rfkill/rfkill0/
> total 0
> 8816 -rw-r--r-- 1 root root 4096 2008-09-06 10:00 claim
> 8812 lrwxrwxrwx 1 root root    0 2008-09-06 10:00 device -> ../../../0000:04:00.0
> 8813 -r--r--r-- 1 root root 4096 2008-09-06 10:00 name
> 8817 drwxr-xr-x 2 root root    0 2008-09-06 10:00 power
> 8815 -rw-r--r-- 1 root root 4096 2008-09-06 10:00 state
> 8810 lrwxrwxrwx 1 root root    0 2008-09-06 10:00 subsystem -> ../../../../../../class/rfkill
> 8814 -r--r--r-- 1 root root 4096 2008-09-06 10:00 type
> 8809 -rw-r--r-- 1 root root 4096 2008-09-06 10:00 uevent
> Now I've just gotta figure out what some of the less obvious values are
> (like state=2):  
> $ for i in `find . -mount -type f` ; do echo $i ; cat $i ; done
>  ./uevent
> RFKILL_NAME=5100AGN
> RFKILL_TYPE=wlan
> RFKILL_STATE=2
> ./name
> 5100AGN
> ./type
> wlan
> ./state
> 2
> ./claim
> 0
> ./power/wakeup
> (null)

Scratch all that, I can't even modify that directory's contents!

BTW, here's my 802 stack:  

# lsmod | grep -i iwl
iwl4965               155012  0 
iwlcore               122308  1 iwl4965
mac80211              181480  2 iwl4965,iwlcore
cfg80211               24968  3 iwl4965,iwlcore,mac80211
rfkill                 11288  2 iwlcore

I do have the "rfkill" part of the iwl stack, but it only seems to "take
the state" at module load time.  I.e., I can get the rfkill switch to
"reset" if I completely reload the stack as follows ...

# rmmod iwl4965 iwlcore mac80211 cfg80211 rfkill ; modprobe iwl4965

Not exactly my "plug'n play" operation.

Although the good news is that it behaves "just as good/bad" as the
Vista driver, works for open APs, doesn't seem to connect to my WPA one.

I'm currently playing with several options on the iwl4965 driver.  This
is the stock Fedora 9 .14-108.fc9 kernel, as the newer "compat" builds
(for any kernel 2.6.24+) from iwlwifi didn't work at all.

# modinfo iwl4965
filename:       /lib/modules/2.6.25.14-108.fc9.i686/kernel/drivers/net/wireless/iwlwifi/iwl4965.ko
license:        GPL
author:         Copyright(c) 2003-2008 Intel Corporation
version:        1.3.27kds
description:    Intel(R) Wireless WiFi Link 4965AGN driver for Linux
firmware:       iwlwifi-4965-2.ucode
srcversion:     BA8C83762C0733B7BA6F2D9
alias:          pci:v00008086d0000423Asv*sd*bc*sc*i*
alias:          pci:v00008086d00004237sv*sd*bc*sc*i*
alias:          pci:v00008086d00004236sv*sd*bc*sc*i*
alias:          pci:v00008086d00004235sv*sd*bc*sc*i*
alias:          pci:v00008086d00004232sv*sd*bc*sc*i*
alias:          pci:v00008086d00004237sv*sd00001216bc*sc*i*
alias:          pci:v00008086d00004232sv*sd00001326bc*sc*i*
alias:          pci:v00008086d00004232sv*sd00001306bc*sc*i*
alias:          pci:v00008086d00004232sv*sd00001206bc*sc*i*
alias:          pci:v00008086d00004232sv*sd00001305bc*sc*i*
alias:          pci:v00008086d00004232sv*sd00001205bc*sc*i*
alias:          pci:v00008086d00004230sv*sd*bc*sc*i*
alias:          pci:v00008086d00004229sv*sd*bc*sc*i*
depends:        iwlcore,cfg80211,mac80211
vermagic:       2.6.25.14-108.fc9.i686 SMP mod_unload 686 4KSTACKS 
parm:           disable50:manually disable the 50XX radio (default 0 [radio on]) (int)
parm:           swcrypto50:using software crypto engine (default 0 [hardware])
 (bool)
parm:           debug50:50XX debug output mask (int)
parm:           queues_num50:number of hw queues in 50xx series (int)
parm:           qos_enable50:enable all 50XX QoS functionality (int)
parm:           11n_disable50:disable 50XX 11n functionality (int)
parm:           amsdu_size_8K50:enable 8K amsdu size in 50XX series (int)
parm:           fw_restart50:restart firmware in case of error (int)
parm:           antenna:select antenna (1=Main, 2=Aux, default 0 [both]) (int)
parm:           disable:manually disable the radio (default 0 [radio on]) (int)
parm:           swcrypto:using crypto in software (default 0 [hardware])
 (int)
parm:           debug:debug output mask (int)
parm:           disable_hw_scan:disable hardware scanning (default 0) (int)
parm:           queues_num:number of hw queues. (int)
parm:           qos_enable:enable all QoS functionality (int)
parm:           11n_disable:disable 11n functionality (int)
parm:           amsdu_size_8K:enable 8K amsdu size (int)
parm:           fw_restart4965:restart firmware in case of error (int)

I've disabled the 11n support, including for "50" (5000) series.  I'm
thinking about using the "swcrypto50" option too, to see if it'll work
with my WPA2 AP.

Hmmm, nothing is working.  Here are my current options that I'm playing
with (and adding/removing) ...
  options iwl4965 swcrypto50=1 11n_disable50=1 fw_restart50=1 swcrypto=1 11n_disable=1 fw_restart4965=1

BTW, it won't seem to load the 5000 firmware anymore:  
  firmware:       iwlwifi-4965-2.ucode

I even removed those 4965 firmware files.  I'm rebooting to see if it
sees the 5000.  No dice, it still keeps the old firmware.  Sigh.  I had
it loading the 5000 one time, but don't know how to get it to now.


-- 
Bryan J  Smith              Professional, Technical Annoyance
mailto:b.j.smith at ieee.org  http://www.linkedin.com/in/bjsmith
-------------------------------------------------------------
           Fission Power:  An Inconvenient Solution


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Leaplist mailing list