2009-02-11 18:17:36

by Lurkos

[permalink] [raw]
Subject: Re: Merge compat-wireless-old into 2.6.26

*Luis R. Rodriguez* wrote:

>> Is it possibile to patch linux 2.6.26 source (e.g. Debian Lenny sources)
>> to have the new compat-wireless-old?
>> If yes, what could be the correct procedure?
> It is possible, you would just have to replace the directories
> that compat-wireless-old has in the kernel sources.

Ok, thank you. I am going to try.

>> I would prefer to compile only my wireless network card driver
>> statically into the kernel.
> What exactly will that buy you though? Is it worth the effort?

In fact probably no.
I would like only to use the new iwl3945, because the one provided with
2.6.26 gives me lots of problem (*) and then I have to use
compat-wirelss-old version.
At the same time I would prefer not to put files outside my home without
a corresponding deb package, to keep administration of the machine more
simple. It's quite simple to forget these type of customization (like
installing compat-wireless)... a package with the flag installed makes
simpler to keep track on what exactly you have done with the laptop.
Of course it's also a way learn more about Linux...

(*) physical button to switch on/off wifi doesn't work

--
Lurkos



2009-02-12 00:59:16

by Hin-Tak Leung

[permalink] [raw]
Subject: Re: Merge compat-wireless-old into 2.6.26

On Wed, Feb 11, 2009 at 6:17 PM, Lurkos <[email protected]> wrote:

> In fact probably no.
> I would like only to use the new iwl3945, because the one provided with
> 2.6.26 gives me lots of problem (*) and then I have to use
> compat-wirelss-old version.
> At the same time I would prefer not to put files outside my home without
> a corresponding deb package, to keep administration of the machine more
> simple. It's quite simple to forget these type of customization (like
> installing compat-wireless)... a package with the flag installed makes
> simpler to keep track on what exactly you have done with the laptop.
> Of course it's also a way learn more about Linux...

compat-wireless only install files under /lib/modules/<kernel_version>/updates

(and "make install" just copy files to that directory and runs depmod
afterwards, which updates a few dependency files in
/lib/modules/<kernel_version>/ - this change is reversible by just
removing the "updates" directory
and re-run depmod ).

If you want to revert the changes made by compat-wireless, you can
just blow away
the updates directories, and re-run depmod:
rm -rf /lib/modules/*/updates
depmod -a

I do that occasionally when a specific compat-wireless daily snapshot is bad.