On 18/10/2010 21:02, Luciano Coelho wrote:
On Mon, 2010-10-18 at 20:41 +0200, ext Luciano Coelho wrote:
On Mon, 2010-10-18 at 21:04 +0200, ext George wrote:
On 18/10/2010 19:21, Luis R. Rodriguez wrote:
Any help on that? Sorry but I'm somehow desesperate and don't know what to
do. Actually I'm thinking on not using compat-wireless and nl80211 and get
back to wireless-extensions.
Getting back to wireless-extensions would certainly be a very desperate
measure! :P
I guess it is, evenmore when nl80211 is the present ;) But I'm running
out of time and getting desperate ;)
Does your device use SDIO or SPI?
Luis
I have tried both and none of them have worked.
On the N900 the wl1271 chip is connected via SPI.
The chip is a wl1251, isn't it? wl1271 is n capable and n900 is not.
I'll re-read this thread more carefully to see if I can spot anything
that could help you.
First thing that came to my mind after re-reading the thread... Does the
wl1251 driver work *without* compat-wireless?
I don't now how to test the driver without compat-wireless. If you can
explain it I will try. Do I have just to copy driver code on
compat-wireless directly into my kernel source directory? I don't think
that would work and probably complain, but I can try if this is the way.
Where did you get the
kernel that you have compiled?
The kernel is the official one for n900, kernel-2.6.28 (uname -a returns
2.6.28-omap1). I got it using scratchbox and downloading it with:
sb# apt-get source kernel
Then I have compiled it using:
sb# make EXTRAVERSION=-mine rx51_defconfig
sb# make EXTRAVERSION=-mine menuconfig
sb# make EXTRAVERSION=-mine bzImage modules
sb# make EXTRAVERSION=-mine modules_install
After that I have compiled on scratchbox compat-wireless package:
sb# cd compat-wireless-2010-10-17
sb# scripts/driver-select wl12xx
sb# make KLIB=/lib/modules/2.6.28-mine
KMODPATH_ARG=/lib/modules/2.6.28-mine
sb# make KLIB=/lib/modules/2.6.28-mine
KMODPATH_ARG=/lib/modules/2.6.28-mine install
Then move the new set of modules to my n900
n900# mkdir -p /lib/modules/2.6.28-mine
# cd /lib/modules/2.6.28-mine
# scp -r updates/ kernel/ modules.*
root@xxxxxxxxxxxx:/lib/modules/2.6.28-mine
And then boot with the new kernel image
ubuntu$ sudo flasher-3.5 -l -b -k
PATH_TO_KERNEL/kernel-2.6.28/arch/arm/boot/zImage
My initial guess is that the SPI is not configured correctly so the
probe function is never called in the wl1251_spi module and thus the
interface is never created...
I'm attaching a link to my .config file to check if you consider I have
to activate any other stuff.
http://pastebin.com/sCnHzp3V
I would like to thank you all for the tremendous effort you are doing
helping me out on this issue.
BR
Jorge
--
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