You are not logged in.

#1 2011-01-19 09:43:21

s8dtvt
Member
From: Vietnam
Registered: 2011-01-13
Posts: 15
Website

compile kernel 2.6.37 with wl module from source

Hello,
Recently, I wish compile kernel manually with full driver for my laptop. I build kernel 2.6.37 with the instruction of wiki https://wiki.archlinux.org/index.php/Ke … rom_Source. < I compile and install using "makepkg -c -i">
After building and install, wl module not exist although I sure I selected it from drivers when "make config".
everything else seems ok. Anyway, when I compile on Debian with same option, I have a package broadcom-driver, which contains wl module, that alone with kernel package, so I must install both of them and wireless run well. So what should I do to compile kernel include wl module?
Any help is welcome.
Thanks.

PS:
here is my wireless card:

$ lspci -nn | grep 14e4
03:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)

And the option I selected is:
Device Drivers/ Network device support/Wireless Lan/Broadcom 43xx wireless support (mac80211 stack)/Support for low-power (LP-PHY) devices (EXPERIMENTAL) (B43_PHY_LP)

Last edited by s8dtvt (2011-01-19 09:46:41)

Offline

#2 2011-01-19 09:48:35

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: compile kernel 2.6.37 with wl module from source


ᶘ ᵒᴥᵒᶅ

Offline

#3 2011-01-19 10:16:08

s8dtvt
Member
From: Vietnam
Registered: 2011-01-13
Posts: 15
Website

Re: compile kernel 2.6.37 with wl module from source

Thanks for that information, but in my case, wireless driver even was not install. So I must install it from broadcom-sta but I don't want that way, I just only compile kernel with wl at the same time.
thanks again big_smile

Offline

#4 2011-01-19 11:00:35

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: compile kernel 2.6.37 with wl module from source

Wl is not provided by the kernel devs, and as such not in the source tarball. The only way you can build it if you patch the kernel's Makefiles and configuration files so wl integrates into the tree; at that point, you'll be able to build it together with the kernel.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#5 2011-01-19 12:29:12

eduardo.eae
Member
From: Reconquista - Argentina
Registered: 2010-01-24
Posts: 68

Re: compile kernel 2.6.37 with wl module from source

You can take kernel-netbook from AUR and grab the source info, and in the PKGBUILD is "##Section: Broadcom-wl" which make the module wl. Pay attention to the patches required to work. It's all there.

Offline

#6 2011-01-19 13:45:27

s8dtvt
Member
From: Vietnam
Registered: 2011-01-13
Posts: 15
Website

Re: compile kernel 2.6.37 with wl module from source

.:B:. wrote:

Wl is not provided by the kernel devs, and as such not in the source tarball. The only way you can build it if you patch the kernel's Makefiles and configuration files so wl integrates into the tree; at that point, you'll be able to build it together with the kernel.

I got it. May be I should make a package auto install wl driver, but I wonder why I compile kernel that download from kernel.org without modify anything on debian and it auto make a broadcom-sta.deb package.

eduardo.eae wrote:

You can take kernel-netbook from AUR and grab the source info, and in the PKGBUILD is "##Section: Broadcom-wl" which make the module wl. Pay attention to the patches required to work. It's all there.

I will try it.

Thanks all for help!

Offline

#7 2011-01-19 13:52:06

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: compile kernel 2.6.37 with wl module from source

Did you have a look at Debian's control files, if it builds that package from the kernel sources?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#8 2011-01-19 15:23:52

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: compile kernel 2.6.37 with wl module from source

Your card is fully supported by the B43 driver. If you compile that one and install the firmware, then it should work just fine. You don't need the closed source wl driver for it.

Last edited by Mr.Elendig (2011-01-19 15:24:40)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#9 2011-01-19 15:44:28

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: compile kernel 2.6.37 with wl module from source

B43 is already provided by the kernel26 package, and it doesn't fully support his device, there are problems with it:

http://wireless.kernel.org/en/users/Dri … CI_devices

b43 Linux Wireless wrote:

Known issues

    * LP-PHY devices: DMA errors on some machines. Using PIO (module param) can be used as workaround


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB