From: George <george.news@gmx.net>
To: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Cc: linux-wireless@vger.kernel.org
Subject: Re: Compat-wireless N900
Date: Thu, 14 Oct 2010 19:29:17 +0200 [thread overview]
Message-ID: <4CB73DED.40305@gmx.net> (raw)
In-Reply-To: <1287071844.11341.5.camel@gnutoo-laptop>
On 14/10/2010 17:57, Denis 'GNUtoo' Carikli wrote:
> On Thu, 2010-10-14 at 10:24 +0200, George wrote:
>> Hi all,
>>
>> I'm trying to use compat-wireless to upgrade my n900 wireless driver.
>> N900 is using WL1251 wireless driver and the omap1 kernel version used
>> it 2.6.28.
>>
>> The issue is that 2.6.28 does not have implemented many issues for
>> nl80211 netlink family which I wanted to test on my n900.
What I want is to get iw and nl80211 working properly so I can use
netlink sockets to get all the information. Currently I cannot do
anything as every iw command reports operation not supported.
>> I have recompiled the kernel to make cfg80211 and mac80211 modules, so I
>> can use compat-wireless. After that I have compiled compat-wireless by
>> selecting the driver family I need. All done under scratchbox.
>>
>> # scripts/driver-select wl12xx
>> # make KLIB=/lib/modules/2.6.28-myversion \
>> KMODPATH_ARG=/lib/modules/2.6.28-myversion
>> # make KLIB=/lib/modules/2.6.28-myversion \
>> KMODPATH_ARG=/lib/modules/2.6.28-myversion install
>>
>> After that I have installed the new kernel and the drivers in the n900
>> and the system starts. `uname -a` reports I'm using my custom kernel.
>>
>> The problem is that the wireless modules are not working as expected and
>> I cannot get access to my wifi networks. Actually bluetooth is not
>> working as well, as far as I have tested.
>>
>> dmesg reports --> http://pastebin.com/xskKcGnE
> At first sight it seem that you have some mismatch issues,
> Try to compile the maemo 2.6.28 kenrel without the wireless modules or
> replace the wireless modules by the compat-wireless ones.
> (normally the compat-wireless modules should take the precedence but as
> it seem here, it didn't work)
If I compile the kernel withouth the wireless modules then they are not
going to be recognized and compat-wireless will complain that .config
that kernel was compiled without wireless.
On the other hand, what do you mean by replacing the wireless modules?
just cut and paste from compat-wireless.
The issue is that 2.6.28 has nl80211, cfg80211 and mac80211 on their
very stages. I think what will solve my problem is just updating those
modules, but for that I have to change also the driver.
Besides that, the main problemm, as some guys pointed in the IRC
channel, is that wl1251 driver is spi and they need something about the
board interfaces.
> by the way, are you aware of the meego 2.6.35 kernel, it might not be
> complete yet, but may solve some of your problems.
Yes I'm aware of that. I have compiled the kernel and try to load it on
the n900 with maemo rootfs and ... crashes.
Actually I have meego (mmc rootfs) also running on my N900 and wireless
drivers work perfect. The problem is that the gui and develepment SDK
and toolchains are still underdevelopment and I cannot then use
something like the maemo scratchbox.
I have compiled an small application directly on the n900 with meego,
but for larger applications it is not viable.
>
> Denis.
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
prev parent reply other threads:[~2010-10-14 16:45 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-14 8:24 Compat-wireless N900 George
2010-10-14 15:57 ` Denis 'GNUtoo' Carikli
2010-10-14 17:17 ` Luis R. Rodriguez
2010-10-14 18:09 ` George
2010-10-14 18:03 ` Luis R. Rodriguez
2010-10-15 6:42 ` George
2010-10-15 18:01 ` Luis R. Rodriguez
2010-10-17 9:01 ` George
2010-10-18 16:34 ` George
2010-10-18 17:21 ` Luis R. Rodriguez
2010-10-18 19:04 ` George
2010-10-18 18:41 ` Luciano Coelho
2010-10-18 19:02 ` Luciano Coelho
2010-10-19 8:12 ` George
2010-10-19 13:52 ` Grazvydas Ignotas
2010-10-19 15:16 ` George
2010-10-19 14:38 ` Grazvydas Ignotas
2010-10-19 15:52 ` George
2010-10-19 15:18 ` Grazvydas Ignotas
2010-10-20 7:37 ` George
2010-10-20 8:44 ` Grazvydas Ignotas
2010-10-20 12:24 ` George
2010-10-25 2:03 ` Kalle Valo
2010-10-25 8:33 ` George
2010-10-19 15:18 ` George
2010-10-14 17:29 ` George [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CB73DED.40305@gmx.net \
--to=george.news@gmx.net \
--cc=GNUtoo@no-log.org \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).