You are not logged in.

#1 2011-09-13 09:32:12

momus
Member
Registered: 2011-09-13
Posts: 12

[SOLVED] HP G62-b63 : Problems with Broadcom WIFI BCM4313

Hello,

i cant get WIFI running on my new HPG62-b63 with its Broadcom BVM4313 card.

I installed the ARCH from an actual CORE image, and than downloaded and compiled
Linux kernel 3.0.4.

On the web i read that the card should work with the broadcom-wl driver ( which is not in the arch package repository? )
I found this AUR package using the driver providing from Broadcom directly ( https://aur.archlinux.org/packages.php?ID=19514 ) but fail to compile it because of missing defines ( i dont have the output with me right now, sorry ) .

I complains about a missing definition of WIRELESS_EXT, and some people seem to have fixed this by setting kernel option of the same name. What bothers me is that with the 3.0.4 Kernel i cant find any WIRELESS_EXT option.

Does anyone has this driver running with the 3.X.X kernel?

Thank you.

Last edited by momus (2011-09-16 01:21:58)

Offline

#2 2011-09-13 09:55:09

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

Re: [SOLVED] HP G62-b63 : Problems with Broadcom WIFI BCM4313

Please post the exact output. The package in the AUR is meant to be built against the linux package, which is the name of Arch's kernel package as of kernel 3.0. So it is up to date, and judging from the comments on the AUR page, it works.

I just tested the PKGBUILD for you:

==> Making package: broadcom-wl 5.100.82.38-6 (Tue Sep 13 09:53:03 UTC 2011)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for inter-conflicts...

Targets (1): linux-headers-3.0.4-1

Total Download Size:    4.34 MB
Total Installed Size:   41.98 MB

Proceed with installation? [Y/n] 
:: Retrieving packages from core...
 linux-headers-3.0.4-1-x86_64                                                  4.3M    2.3M/s 00:00:02 [############################################################] 100%
(1/1) checking package integrity                                                                       [############################################################] 100%
(1/1) checking for file conflicts                                                                      [############################################################] 100%
(1/1) installing linux-headers                                                                         [############################################################] 100%
==> Retrieving Sources...
  -> Downloading hybrid-portsrc_x86_64-v5_100_82_38.tar.gz...
--2011-09-13 09:53:07--  http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_x86_64-v5_100_82_38.tar.gz
Resolving www.broadcom.com... 63.251.216.155
Connecting to www.broadcom.com|63.251.216.155|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1150253 (1.1M) [application/x-gzip]
Saving to: `hybrid-portsrc_x86_64-v5_100_82_38.tar.gz.part'

100%[================================================================================================================================>] 1,150,253    431K/s   in 2.6s    

2011-09-13 09:53:10 (431 KB/s) - `hybrid-portsrc_x86_64-v5_100_82_38.tar.gz.part' saved [1150253/1150253]

  -> Found modprobe.d
  -> Found license.patch
  -> Found semaphore.patch
  -> Found mutex-sema.patch
==> Validating source files with sha1sums...
    hybrid-portsrc_x86_64-v5_100_82_38.tar.gz ... Passed
    modprobe.d ... Passed
    license.patch ... Passed
    semaphore.patch ... Passed
    mutex-sema.patch ... Passed
==> Extracting Sources...
  -> Extracting hybrid-portsrc_x86_64-v5_100_82_38.tar.gz with bsdtar
==> Starting build()...
patching file src/wl/sys/wl_linux.c
patching file src/wl/sys/wl_iw.h
patching file src/wl/sys/wl_linux.c
make: Entering directory `/usr/src/linux-3.0-ARCH'
  LD      /build/src/built-in.o
  CC [M]  /build/src/src/shared/linux_osl.o
  CC [M]  /build/src/src/wl/sys/wl_iw.o
  CC [M]  /build/src/src/wl/sys/wl_linux.o
  LD [M]  /build/src/wl.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /build/src/wl.mod.o
  LD [M]  /build/src/wl.ko
make: Leaving directory `/usr/src/linux-3.0-ARCH'
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Purging other files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
  -> Generating .PKGINFO file...
  -> Adding install file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: broadcom-wl 5.100.82.38-6 (Tue Sep 13 09:53:15 UTC 2011)

Built against [testing], but either way - if it builds against [testing], it should build against stable. I think the problem is at your side.

Last edited by .:B:. (2011-09-13 09:57:07)


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

Offline

#3 2011-09-13 09:55:32

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] HP G62-b63 : Problems with Broadcom WIFI BCM4313

Offline

#4 2011-09-13 09:59:36

momus
Member
Registered: 2011-09-13
Posts: 12

Re: [SOLVED] HP G62-b63 : Problems with Broadcom WIFI BCM4313

Hello,

thx for the link, but i already found this page and it only states that i need the broadcom-wl driver.

Offline

#5 2011-09-13 10:01:23

momus
Member
Registered: 2011-09-13
Posts: 12

Re: [SOLVED] HP G62-b63 : Problems with Broadcom WIFI BCM4313

.:B:. wrote:

Please post the exact output. The package in the AUR is meant to be built against the linux package, which is the name of Arch's kernel package as of kernel 3.0. So it is up to date, and judging from the comments on the AUR page, it works.

I just tested the PKGBUILD for you:

==> Making package: broadcom-wl 5.100.82.38-6 (Tue Sep 13 09:53:03 UTC 2011)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for inter-conflicts...

Targets (1): linux-headers-3.0.4-1

Total Download Size:    4.34 MB
Total Installed Size:   41.98 MB

Proceed with installation? [Y/n] 
:: Retrieving packages from core...
 linux-headers-3.0.4-1-x86_64                                                  4.3M    2.3M/s 00:00:02 [############################################################] 100%
(1/1) checking package integrity                                                                       [############################################################] 100%
(1/1) checking for file conflicts                                                                      [############################################################] 100%
(1/1) installing linux-headers                                                                         [############################################################] 100%
==> Retrieving Sources...
  -> Downloading hybrid-portsrc_x86_64-v5_100_82_38.tar.gz...
--2011-09-13 09:53:07--  http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_x86_64-v5_100_82_38.tar.gz
Resolving www.broadcom.com... 63.251.216.155
Connecting to www.broadcom.com|63.251.216.155|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1150253 (1.1M) [application/x-gzip]
Saving to: `hybrid-portsrc_x86_64-v5_100_82_38.tar.gz.part'

100%[================================================================================================================================>] 1,150,253    431K/s   in 2.6s    

2011-09-13 09:53:10 (431 KB/s) - `hybrid-portsrc_x86_64-v5_100_82_38.tar.gz.part' saved [1150253/1150253]

  -> Found modprobe.d
  -> Found license.patch
  -> Found semaphore.patch
  -> Found mutex-sema.patch
==> Validating source files with sha1sums...
    hybrid-portsrc_x86_64-v5_100_82_38.tar.gz ... Passed
    modprobe.d ... Passed
    license.patch ... Passed
    semaphore.patch ... Passed
    mutex-sema.patch ... Passed
==> Extracting Sources...
  -> Extracting hybrid-portsrc_x86_64-v5_100_82_38.tar.gz with bsdtar
==> Starting build()...
patching file src/wl/sys/wl_linux.c
patching file src/wl/sys/wl_iw.h
patching file src/wl/sys/wl_linux.c
make: Entering directory `/usr/src/linux-3.0-ARCH'
  LD      /build/src/built-in.o
  CC [M]  /build/src/src/shared/linux_osl.o
  CC [M]  /build/src/src/wl/sys/wl_iw.o
  CC [M]  /build/src/src/wl/sys/wl_linux.o
  LD [M]  /build/src/wl.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /build/src/wl.mod.o
  LD [M]  /build/src/wl.ko
make: Leaving directory `/usr/src/linux-3.0-ARCH'
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Purging other files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
  -> Generating .PKGINFO file...
  -> Adding install file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: broadcom-wl 5.100.82.38-6 (Tue Sep 13 09:53:15 UTC 2011)

Built against [testing], but either way - if it builds against [testing], it should build against stable. I think the problem is at your side.


Hi,

i will post the output as soon as i can, but could it be that the package has some other dependencies besides the linux kernel?

Offline

#6 2011-09-13 10:13:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] HP G62-b63 : Problems with Broadcom WIFI BCM4313

You need packages from base & base-devel groups.

Offline

#7 2011-09-13 10:16:09

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [SOLVED] HP G62-b63 : Problems with Broadcom WIFI BCM4313

If BCM4313 (pci-id 14e4:4727) is what you have, you don't need wl. You need to blacklist bcma and then you can use brcmsmac.

Offline

#8 2011-09-14 18:38:42

momus
Member
Registered: 2011-09-13
Posts: 12

Re: [SOLVED] HP G62-b63 : Problems with Broadcom WIFI BCM4313

Buenas,

i finaly have time to post the output of what happens when i run makepkg -s on the broadcom-wl AUR package.

so i get ...

==> Making package: broadcom-wl 5.100.82.38-6 (Wed Sep 14 22:17:33 CEST 2011)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
  -> Found hybrid-portsrc_x86_64-v5_100_82_38.tar.gz
  -> Found modprobe.d
  -> Found license.patch
  -> Found semaphore.patch
  -> Found mutex-sema.patch
==> Validating source files with sha1sums...
    hybrid-portsrc_x86_64-v5_100_82_38.tar.gz ... Passed
    modprobe.d ... Passed
    license.patch ... Passed
    semaphore.patch ... Passed
    mutex-sema.patch ... Passed
==> Extracting Sources...
  -> Extracting hybrid-portsrc_x86_64-v5_100_82_38.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
patching file src/wl/sys/wl_linux.c
patching file src/wl/sys/wl_iw.h
patching file src/wl/sys/wl_linux.c
make: Entering directory `/usr/src/linux-3.0.4'
  CC [M]  /work/compile/broadcom-wl/src/src/wl/sys/wl_linux.o
/work/compile/broadcom-wl/src/src/wl/sys/wl_linux.c:276:5: warning: "WIRELESS_EXT" is not defined [-Wundef]
/work/compile/broadcom-wl/src/src/wl/sys/wl_linux.c: In function ‘wl_if_setup’:
/work/compile/broadcom-wl/src/src/wl/sys/wl_linux.c:377:5: warning: "WIRELESS_EXT" is not defined [-Wundef]
/work/compile/broadcom-wl/src/src/wl/sys/wl_linux.c: In function ‘wl_tkip_keyset’:
/work/compile/broadcom-wl/src/src/wl/sys/wl_linux.c:2493:14: error: ‘IW_ENCODE_SEQ_MAX_SIZE’ undeclared (first use in this function)
/work/compile/broadcom-wl/src/src/wl/sys/wl_linux.c:2493:14: note: each undeclared identifier is reported only once for each function it appears in
/work/compile/broadcom-wl/src/src/wl/sys/wl_linux.c:2493:8: warning: unused variable ‘rxseq’ [-Wunused-variable]
make[1]: *** [/work/compile/broadcom-wl/src/src/wl/sys/wl_linux.o] Error 1
make: *** [_module_/work/compile/broadcom-wl/src] Error 2
make: Leaving directory `/usr/src/linux-3.0.4'
==> ERROR: A failure occurred in build().
    Aborting...

Offline

#9 2011-09-14 18:47:05

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] HP G62-b63 : Problems with Broadcom WIFI BCM4313

momus, please edit your post.
When pasting code, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and more convenient to scroll through.


Have you tried brcmsmac?

Offline

#10 2011-09-15 18:56:50

pigiron
Member
From: USA
Registered: 2009-07-14
Posts: 150

Re: [SOLVED] HP G62-b63 : Problems with Broadcom WIFI BCM4313

I guess you've got a real good reason for compiling your own kernel, but problems like this come with that territory wink

What bothers me is that with the 3.0.4 Kernel i cant find any WIRELESS_EXT option.

You must be talking about in menuconfig. If so, then yep, you won't find it. If you search inside the "Kconfig" files in your kernel source tree, you'll find that WIRELESS_EXT is just a "bool" and not a "config". So one option is to turn on something that turns on WIRELESS_EXT.

According to the Gentoo Wiki:

http://en.gentoo-wiki.com/wiki/Broadcom … STA_driver

Note: On newer kernels (tested on 2.6.33) the HOSTAP option (Device Drivers -> Network device support -> Wireless LAN -> IEEE 802.11 for Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP)) has to be set to implicitly get the WIRELESS_EXT and WEXT_PRIV options which are not accessible with menuconfig.

Might give that a try. You should then (hopefully) see CONFIG_WIRELESS_EXT=y in your .config file. Obviously, you should then recompile/install the new kernel.

Offline

#11 2011-09-16 01:25:18

momus
Member
Registered: 2011-09-13
Posts: 12

Re: [SOLVED] HP G62-b63 : Problems with Broadcom WIFI BCM4313

karol wrote:

momus, please edit your post.
When pasting code, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and more convenient to scroll through.


Have you tried brcmsmac?

Hi Karol,

thank you for the hint. I Will make bether use of the bbs codes in the future!

I tried the brcmsmac module, and yes i can use wifi now! ( build as a module, not when build into the kernel directly thoug )

Thank you very mucho for you help!

Offline

#12 2011-09-16 01:27:57

momus
Member
Registered: 2011-09-13
Posts: 12

Re: [SOLVED] HP G62-b63 : Problems with Broadcom WIFI BCM4313

pigiron wrote:

I guess you've got a real good reason for compiling your own kernel, but problems like this come with that territory wink

What bothers me is that with the 3.0.4 Kernel i cant find any WIRELESS_EXT option.

You must be talking about in menuconfig. If so, then yep, you won't find it. If you search inside the "Kconfig" files in your kernel source tree, you'll find that WIRELESS_EXT is just a "bool" and not a "config". So one option is to turn on something that turns on WIRELESS_EXT.

According to the Gentoo Wiki:

http://en.gentoo-wiki.com/wiki/Broadcom … STA_driver

Note: On newer kernels (tested on 2.6.33) the HOSTAP option (Device Drivers -> Network device support -> Wireless LAN -> IEEE 802.11 for Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP)) has to be set to implicitly get the WIRELESS_EXT and WEXT_PRIV options which are not accessible with menuconfig.

Might give that a try. You should then (hopefully) see CONFIG_WIRELESS_EXT=y in your .config file. Obviously, you should then recompile/install the new kernel.

Buenas Pigiron,

thanks for the tip. I will look into it when i get a free moment. I do seem to be able to use the brmsmac driver for now, but i still get hangups with this one, and i think it does not support
monitor mode. Maybe the broadcom-wl driver would be a bether choise.

Offline

#13 2011-09-16 08:47:14

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [SOLVED] HP G62-b63 : Problems with Broadcom WIFI BCM4313

momus wrote:

Maybe the broadcom-wl driver would be a bether choise.

Not really, doesn't support monitor mode either. Support for this card is coming in b43 (with kernel 3.2 probably), that will be the best solution, as b43 does support monitor mode.

Offline

Board footer

Powered by FluxBB