Edward O'Callaghan ??: > G'Day, > > If one turns off the "antenna power switch" off *then* boots the > machine, suspends it, *then* turns on the antenna power switch, iwh > will fail to configure the hardware. > Unplumbing the driver and restarting nwam will not get the hardware > back into a working state with dmesg filling up with the following: > > Oct 18 01:22:04 AuroraUX iwh: [ID 450215 kern.warning] WARNING: > iwh_config(): failed to set power mode > Oct 18 01:22:04 AuroraUX iwh: [ID 808906 kern.warning] WARNING: > iwh_init(): failed to configure device > Oct 18 01:22:12 AuroraUX iwh: [ID 450215 kern.warning] WARNING: > iwh_config(): failed to set power mode > Oct 18 01:22:12 AuroraUX iwh: [ID 808906 kern.warning] WARNING: > iwh_init(): failed to configure device > Oct 18 01:22:20 AuroraUX nwamd[3181]: [ID 903261 daemon.error] > get_ifflags: icfg_get_flags vboxnet0 af 2: No such device or address > Oct 18 01:22:21 AuroraUX iwh: [ID 277788 kern.warning] WARNING: > iwh_init(): failed to process init alive. > > The machine in question is a Lenovo X301 with the lastest BIOS rev > running SXCE 124. > HW is as follows: > > pci bus 0x0003 cardnum 0x00 function 0x00: vendor 0x8086 device 0x4236 > Intel Corporation Wireless WiFi Link 5100 > CardVendor 0x8086 card 0x1011 (Intel Corporation, Card unknown) > STATUS 0x0010 COMMAND 0x0046 > CLASS 0x02 0x80 0x00 REVISION 0x00 > BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x10 > BASE0 0xf0500000 SIZE 8192 MEM > BASEROM 0x00000000 addr 0x00000000 > MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x0b > > Anyone know how to debug this? > It seems if you turn off the radio, driver can not resume normally. You can add line 'set iwh:iwh_dbg_flags=0x2000' to file /etc/system, if your system is a DEBUG version. Then, after reboot, from dmesg you can check whether the driver can receive radio switch interrupt when you turn on or off the antenna power switch.
------ Thanks, Felix > Cheers, > Edward. > >