New name for compat-wireless

The compat-drivers project, also known as compat-wireless now has the new name
of backports. This project takes the files from the linux-next repository and
applies all the corrections needed to allow these drivers to build on any kernel
from 2.6.24 to present. If you are having trouble with a standard driver, the
repository maintained by this project is a good best way to discover if the
problem is fixed in newer code:

To use this project’s repo, you will need the required packages necessary for
building kernel modules. In addition, you will need the git and ncurses
packages. Install them with


sudo zypper install git ncurses*

The above steps are needed only once.

To install and configure the backports source code, run


git  clone  git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/backports.git
cd backports
make menuconfig

In the resulting set of menus, you can select the drivers you want.

Once you have selected them and saved the configuration, build and install them with


make
sudo make install

After rebooting the system, the new drivers will be in use.

Thanks for that useful info

Thanks a lot, Larry.

But…


backport> make menuconfig
Generating local configuration database from kernel ...grep: .local-symbols: Bestand of map bestaat niet
 done.
Makefile.real:1: versions: Bestand of map bestaat niet
make[1]: *** Er is geen regel om doel 'versions' te maken.  Gestopt.
make: *** [menuconfig] Fout 2

any clues?

here’s more:


glosscomputer@laptop:/usr/src/linux> make menuconfig
 *** Unable to find the ncurses libraries or the
 *** required header files.
 *** 'make menuconfig' requires the ncurses libraries.
 *** 
 *** Install ncurses (ncurses-devel) and try again.
 *** 
make[1]: *** [scripts/kconfig/dochecklxdialog] Fout 1
make: *** [menuconfig] Fout 2
glosscomputer@laptop:/usr/src/linux> rpm -qa | grep ncurses
libncurses6-32bit-5.9-26.1.1.x86_64
libncurses6-5.9-26.1.1.x86_64
ncurses-devel-32bit-5.9-26.1.1.x86_64
libyui-ncurses-pkg4-2.43.4-1.1.1.x86_64
ncurses-utils-5.9-26.1.1.x86_64
ncurses-devel-5.9-26.1.1.x86_64
libyui-ncurses-pkg-devel-2.43.4-1.1.1.x86_64
libncurses5-32bit-5.9-26.1.1.x86_64
libyui-ncurses4-2.43.3-1.1.1.x86_64
libncurses5-5.9-26.1.1.x86_64
libyui-ncurses-devel-2.43.3-1.1.1.x86_64
glosscomputer@laptop:/usr/src/linux> 



On 05/20/2013 04:16 PM, Knurpht wrote:
>
> here’s more:
>
> Code:
> --------------------
>
> glosscomputer@laptop:/usr/src/linux> make menuconfig
> *** Unable to find the ncurses libraries or the
> *** required header files.
> *** ‘make menuconfig’ requires the ncurses libraries.
> ***
> *** Install ncurses (ncurses-devel) and try again.
> ***
> make[1]: *** [scripts/kconfig/dochecklxdialog] Fout 1
> make: *** [menuconfig] Fout 2
> glosscomputer@laptop:/usr/src/linux> rpm -qa | grep ncurses
> libncurses6-32bit-5.9-26.1.1.x86_64
> libncurses6-5.9-26.1.1.x86_64
> ncurses-devel-32bit-5.9-26.1.1.x86_64
> libyui-ncurses-pkg4-2.43.4-1.1.1.x86_64
> ncurses-utils-5.9-26.1.1.x86_64
> ncurses-devel-5.9-26.1.1.x86_64
> libyui-ncurses-pkg-devel-2.43.4-1.1.1.x86_64
> libncurses5-32bit-5.9-26.1.1.x86_64
> libyui-ncurses4-2.43.3-1.1.1.x86_64
> libncurses5-5.9-26.1.1.x86_64
> libyui-ncurses-devel-2.43.3-1.1.1.x86_64
> glosscomputer@laptop:/usr/src/linux>

Although ‘make menuconfig’ worked for me yesterday, it fails today with


finger@larrylap:~/backports/backport> make menuconfig
Makefile.real:1: versions: No such file or directory
make[1]: *** No rule to make target `versions'.  Stop.
make: *** [menuconfig] Error 2
finger@larrylap:~/backports/backport>

I think you also got this error, at least if Google translated it correctly for me.

The problem is that the first line of Makefile.real says ‘include versions’, but
there is no file by that name. I will report the problem upstream.

Thanks, Larry, you (and Google Translate) are right it’s the same. I’ll wait and see.

On 05/21/2013 01:56 PM, Knurpht wrote:
>
> lwfinger;2558725 Wrote:
>>>
> Code:
> --------------------
> > >
> > finger@larrylap:~/backports/backport> make menuconfig
> > Makefile.real:1: versions: No such file or directory
> > make[1]: *** No rule to make target `versions’. Stop.
> > make: *** [menuconfig] Error 2
> > finger@larrylap:~/backports/backport>
> >
> --------------------
>>>
>>
>> I think you also got this error, at least if Google translated it
>> correctly for me.
>>
> Thanks, Larry, you (and Google Translate) are right it’s the same. I’ll
> wait and see.

I now have the answer for this problem. It turns out that the git repo is not
for the general user as much as it is for the backports developers. The main
problem is that you need the latest source tree to generate the backported
drivers, but if you had that, you wouldn’t need backports! This is a classic
chicken-egg problem.

The thing to do is navigate to

http://www.kernel.org/pub/linux/kernel/projects/backports/stable/

and select the directory with the latest version. At the moment, that is
v3.10-rc1. Download the .bz2 file from that directory, unpack it with a “tar
jxvf” command, change to the resulting directory, and “make menuconfig”. After
selecting the driver(s) you want, do “make” and “sudo make install”.