On Thu, 2012-03-01 at 04:35 -0700, Gary Thomas wrote: > On 2012-02-29 13:53, Gary Thomas wrote: > > I'm trying to bring up a new hardware platform which includes > > the TiWi-r02 (wl1271). Since the kernel for my target device > > (AM3874) is stuck in the dark ages, Luciano suggested that I > > try compat-wireless + iw. I've managed to build these now > > (after encountering many problems that I'll help iron out later) > > and now have the system ready to start using the device. Note: > > I'm using compat-wireless-2012-02-28 and iw-3.2 > > > > The kernel modules load and initialize now, with these messages: [...] > > wl12xx: loaded > > > > When I try to bring up the device, I get this: > > # ifconfig wlan0 hw ether 2a:00:24:01:02:03 > > # ifconfig wlan0 up > > wl12xx: firmware booted (Rev 6.3.5.0.98) > > ADDRCONF(NETDEV_UP): wlan0: link is not ready > > > > If I try to scan for an access point, I get nothing: > > # iw wlan0 scan > > --- Nothing prints > > # > > I also see no additional messages in dmesg. > > > > Further checking of the device: [...] > > I don't know enough about this device to understand why it's not working. > > Perhaps the line > > Available Antennas: TX 0 RX 0 > > is a clue? > > > > Any ideas what's not working & how I need to do to move forward? > > > > Thanks in advance for all the help > > > > Any ideas at all? Is there some debug info I can get to find > out what's going on? > > Note: I compared the output of 'iw list' from my non-functional system > to that of a working one (OMAP4430 PandaBoard) and they are virtually > identical, even the line about the antenna... Yes, all this looks normal. Try to enable some debugging in the driver. You need to enable the dynamic debugging in your kernel config (if you don't have it yet) and do something like this: echo "module wl12xx +p" > /sys/kernel/debug/dynamic_debug/control echo 0x101 > /sys/module/wlcore/parameters/debug_level The 0x101 value enables IRQ and SCAN debug prints. You can see more options in drivers/net/wireless/wl12xx/debug.h. Please try to scan with this debugging level and send me what you get. -- Cheers, Luca. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html