mac80211 and iwlwifi (was Re: d80211 and iwlwifi)

Ola Thoresen redhat at olen.net
Sat Mar 3 18:28:53 UTC 2007


John W. Linville wrote:
> On Sat, Feb 24, 2007 at 09:56:25PM +0000, Mike Cohler wrote:
>> I hope this is not a repeat question but is it planned to have d80211
>> and iwlwifi in the F7 release?
> 
> I have test kernels w/ iwlwifi here:
> 
> 	http://people.redhat.com/linville/kernels/fc7/

Well. The kernel boots, and the modules seems to load fine. There is a 
problem however - that I am unsure how to resolve.

No matter what I do, the driver reports that the Kill Switch is on.

iwlwifi: Intel(R) Wirless Link driver for Linux, 0.0.10k
iwlwifi: Copyright(c) 2003-2006 Intel Corporation
ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:02:00.0 to 64
iwlwifi: Detected Intel PRO/Wireless 3945ABG Network Connection
PM: Adding info for No Bus:0000:02:00.0
PM: Removing info for No Bus:0000:02:00.0
iwlwifi: Radio Frequency Kill Switch is On:
Kill switch must be turned off for wireless networking to work.
iwlwifi: MAC is in deep sleep!
iwlwifi: MAC is in deep sleep!
iwlwifi: MAC is in deep sleep!
iwlwifi: MAC is in deep sleep!


There is a hardware-switch that is supposed to turn the radio on and 
off, but it does not matter if it is set to on or off - even if I reboot 
the laptop witih the switch in either position.

When I turn this switch, nothing happens, but tho feollowing is logged 
to syslog:

atkbd.c: Unknown key pressed (translated set 2, code 0xf1 on 
isa0060/serio0).
atkbd.c: Use 'setkeycodes e071 <keycode>' to make it known.
atkbd.c: Unknown key released (translated set 2, code 0xf1 on 
isa0060/serio0).
atkbd.c: Use 'setkeycodes e071 <keycode>' to make it known.

If I try with Fn-F2 which is also supposed to turn the radio on, the 
following is logged:

atkbd.c: Unknown key pressed (translated set 2, code 0x84 on 
isa0060/serio0).
atkbd.c: Use 'setkeycodes e004 <keycode>' to make it known.
atkbd.c: Unknown key released (translated set 2, code 0x84 on 
isa0060/serio0).
atkbd.c: Use 'setkeycodes e004 <keycode>' to make it known.


Not sure what I should set these keycodes to to actually enable the radio.

Also, I am not able to read the value of rf_kill:

# cat /sys/devices/pci0000\:00/0000\:00\:1c.0/0000\:02\:00.0/rf_kill
cat: /sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/rf_kill: Resource 
temporarily unavailable


The output of lspci:

02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG 
Network Connection (rev 02)
         Subsystem: Intel Corporation Unknown device 1001
         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
ParErr- Stepping- SERR- FastB2B-
         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
         Latency: 0, Cache Line Size: 64 bytes
         Interrupt: pin A routed to IRQ 19
         Region 0: Memory at d0100000 (32-bit, non-prefetchable) [size=4K]
         Capabilities: [c8] Power Management version 2
                 Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA 
PME(D0+,D1-,D2-,D3hot+,D3cold+)
                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
         Capabilities: [d0] Message Signalled Interrupts: 64bit+ 
Queue=0/0 Enable-
                 Address: 0000000000000000  Data: 0000
         Capabilities: [e0] Express Legacy Endpoint IRQ 0
                 Device: Supported: MaxPayload 128 bytes, PhantFunc 0, 
ExtTag-
                 Device: Latency L0s <512ns, L1 unlimited
                 Device: AtnBtn- AtnInd- PwrInd-
                 Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
                 Device: RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
                 Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
                 Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s L1, 
Port 0
                 Link: Latency L0s <128ns, L1 <64us
                 Link: ASPM Disabled RCB 64 bytes CommClk+ ExtSynch-
                 Link: Speed 2.5Gb/s, Width x1
         Capabilities: [100] Advanced Error Reporting
         Capabilities: [140] Device Serial Number a5-12-31-ff-ff-de-18-00



Should this be reported to bugzilla - and if so, under which component - 
or is it more probably a hardware-problem.

(There are no options to enable/disable the radio in the bios btw.)




-- 
          _,--',   _._.--._____
   .--.--';_'-.', ";_      _.,-'   Ola Thoresen
  .'--'.  _.'    {`'-;_ .-.>.'
        '-:_      )  / `' '=.      It is easier to fix Unix
          ) >     {_/,     /~)     than to live with Windows
          |/               `^ .'




More information about the fedora-devel-list mailing list