Page 3 of 18 FirstFirst 1234513 ... LastLast
Results 21 to 30 of 173

Thread: New brcm80211 driver guide for Broadcom wireless cards

  1. #21

    Re: New brcm80211 driver guide for Broadcom wireless cards

    Hmmmm...back to the wl (Broadcom STA) driver, which now seems faster as long as I am on ac and not battery power. Kubutu's network manager reports very slow speeds, which are directly contradicted by online bandwidth tests, at least when I am on ac power.

  2. #22
    Join Date
    Oct 2010
    Beans
    17

    Re: New brcm80211 driver guide for Broadcom wireless cards

    Can anyone point me to a git tutorial that will teach me how to get only the driver files I need and see when they were last updated? It really doesn't make sense that we have to clone the entire git repository every single time for just a few files.

  3. #23
    Join Date
    Oct 2009
    Beans
    34

    Re: New brcm80211 driver guide for Broadcom wireless cards

    Having some trouble never compiled a driver/kernel before and im getting some errors any help would be appriciated.


    Code:
    alan@amg-laptop:~/linux-next/drivers/staging/brcm80211$ sudo make
    echo 
    
    make -C /lib/modules/2.6.32-26-generic/build SUBDIRS=/home/alan/linux-next/drivers/staging/brcm80211 CONFIG_BRCM80211_PCI=y V=1 modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.32-26-generic'
    test -e include/linux/autoconf.h -a -e include/config/auto.conf || (		\
    	echo;								\
    	echo "  ERROR: Kernel configuration is invalid.";		\
    	echo "         include/linux/autoconf.h or include/config/auto.conf are missing.";	\
    	echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";	\
    	echo;								\
    	/bin/false)
    mkdir -p /home/alan/linux-next/drivers/staging/brcm80211/.tmp_versions ; rm -f /home/alan/linux-next/drivers/staging/brcm80211/.tmp_versions/*
    make -f scripts/Makefile.build obj=/home/alan/linux-next/drivers/staging/brcm80211
      gcc -Wp,-MD,/home/alan/linux-next/drivers/staging/brcm80211/sys/.wl_mac80211.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.4.3/include  -Iinclude  -I/usr/src/linux-headers-2.6.32-26-generic/arch/x86/include -include include/linux/autoconf.h -Iubuntu/include  -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -DBCMDBG -DWLC_HIGH -DSTA -DWME -DWL11N -DDBAND -DBCMDMA32 -DBCMNVRAMR -Idrivers/staging/brcm80211/sys -Idrivers/staging/brcm80211/phy -Idrivers/staging/brcm80211/util -Idrivers/staging/brcm80211/include -DWLC_LOW -I/home/alan/linux-next/drivers/staging/brcm80211/include -I/home/alan/linux-next/drivers/staging/brcm80211/sys -I/home/alan/linux-next/drivers/staging/brcm80211/phy  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(wl_mac80211)"  -D"KBUILD_MODNAME=KBUILD_STR(brcm80211)"  -c -o /home/alan/linux-next/drivers/staging/brcm80211/sys/.tmp_wl_mac80211.o /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c: In function ‘wl_ops_config’:
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c:296: error: ‘IEEE80211_CONF_CHANGE_MONITOR’ undeclared (first use in this function)
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c:296: error: (Each undeclared identifier is reported only once
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c:296: error: for each function it appears in.)
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c: In function ‘wl_ampdu_action’:
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c:591: warning: passing argument 1 of ‘ieee80211_start_tx_ba_cb_irqsafe’ from incompatible pointer type
    include/net/mac80211.h:2027: note: expected ‘struct ieee80211_hw *’ but argument is of type ‘struct ieee80211_vif *’
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c:595: warning: passing argument 1 of ‘ieee80211_stop_tx_ba_cb_irqsafe’ from incompatible pointer type
    include/net/mac80211.h:2068: note: expected ‘struct ieee80211_hw *’ but argument is of type ‘struct ieee80211_vif *’
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c: At top level:
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c:614: warning: initialization from incompatible pointer type
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c:615: warning: initialization from incompatible pointer type
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c:628: error: unknown field ‘sta_add’ specified in initializer
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c:628: warning: initialization from incompatible pointer type
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c:629: error: unknown field ‘sta_remove’ specified in initializer
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c:629: warning: initialization from incompatible pointer type
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c:630: warning: initialization from incompatible pointer type
    make[2]: *** [/home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.o] Error 1
    make[1]: *** [_module_/home/alan/linux-next/drivers/staging/brcm80211] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-26-generic'
    make: *** [default] Error 2
    Last edited by alan2796; December 3rd, 2010 at 12:53 AM.

  4. #24
    Join Date
    Nov 2008
    Beans
    3

    Talking Re: New brcm80211 driver guide for Broadcom wireless cards

    Thank you for this. You have saved my brand new ASUS eeePC 1013PED, running Ubuntu 10.10 (BCM4313 chipset) from a watery death in the toilet.

    A question from a noob, if you don't mind: Will these mods survive an automatic Ubuntu update? If not, any shortcuts to restoring them after an update?

    Thanks again. I am enjoying bonding with the new toy on a Real Operating System, as distinct from Windoze 7 for Dummies (Starter Ed.).

  5. #25
    Join Date
    Nov 2006
    Location
    Germany
    Beans
    244
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: New brcm80211 driver guide for Broadcom wireless cards

    UNfortunately the modules are lost every time there is a KERNEL update to a higher kernel version, the kernel is the underlying operative system.

    Just check the updates, don't make it automatic, and if there's a linux kernel new update just know that you'll have to redo the module procedure.

    That's until the new ubuntu comes out which will have the driver from the start!!!

  6. #26
    Join Date
    Nov 2008
    Beans
    3

    Re: New brcm80211 driver guide for Broadcom wireless cards

    Thought as much, but ever-hopeful.

    I really appreciate your work, as I've been struggling with this wireless problem for a couple of days, and following your procedure everything worked perfectly the first time (with both the Flash Drive try-me version and the installed version).

    I did test speeds both on battery and plugged in, and also ran on my desktop, which is hard-wired through the wireless router. All were comparable.

    Thanks again.

    Jim

  7. #27
    Join Date
    Oct 2009
    Beans
    34

    Re: New brcm80211 driver guide for Broadcom wireless cards

    I have managed to get it compiled and installed properly I think,

    it's in additional drivers it is selected instead of the proprietary one, however it does not seem to work on my machine

    lshw
    *-network UNCLAIMED
    description: Network controller
    product: BCM43225 802.11b/g/n
    vendor: Broadcom Corporation
    physical id: 0
    bus info: pci@0000:04:00.0
    version: 01
    width: 64 bits
    clock: 33MHz
    capabilities: cap_list
    configuration: latency=0
    resources: memory:d4600000-d4603fff

  8. #28
    Join Date
    Nov 2006
    Location
    Germany
    Beans
    244
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: New brcm80211 driver guide for Broadcom wireless cards

    weird, are you sure the binary drivers are not being loaded?

  9. #29
    Join Date
    May 2006
    Location
    Saranac Lake, NY, USA
    Beans
    241
    Distro
    Ubuntu Development Release

    Re: New brcm80211 driver guide for Broadcom wireless cards

    Just used it in a new HP g72t 4171us using a broadcom 4313 that the extra drivers didn't always work. Connection was a hit and miss affair. Now it connects immediately and solidly.

    Question about updating when we get a new kernal. Would we be able to make the process work if we started from the "sudo cp brcm80211.ko /lib/modules/`uname -r`/" step and then follow it to the end?
    HP g72t icore3 with intel graphics and broadcom 4313 wireless running 13.04unity, Ubuntu GNOME updated to 13.10 and a 13.10 unity. Plus using older desktop machine running 12.04 Lubuntu with nvidia geforce mx400.

  10. #30
    Join Date
    Dec 2010
    Beans
    2

    Re: New brcm80211 driver guide for Broadcom wireless cards

    Quote Originally Posted by alan2796 View Post
    Having some trouble never compiled a driver/kernel before and im getting some errors any help would be appriciated.


    Code:
    alan@amg-laptop:~/linux-next/drivers/staging/brcm80211$ sudo make
    echo 
    
    make -C /lib/modules/2.6.32-26-generic/build SUBDIRS=/home/alan/linux-next/drivers/staging/brcm80211 CONFIG_BRCM80211_PCI=y V=1 modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.32-26-generic'
    test -e include/linux/autoconf.h -a -e include/config/auto.conf || (        \
        echo;                                \
        echo "  ERROR: Kernel configuration is invalid.";        \
        echo "         include/linux/autoconf.h or include/config/auto.conf are missing.";    \
        echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";    \
        echo;                                \
        /bin/false)
    mkdir -p /home/alan/linux-next/drivers/staging/brcm80211/.tmp_versions ; rm -f /home/alan/linux-next/drivers/staging/brcm80211/.tmp_versions/*
    make -f scripts/Makefile.build obj=/home/alan/linux-next/drivers/staging/brcm80211
      gcc -Wp,-MD,/home/alan/linux-next/drivers/staging/brcm80211/sys/.wl_mac80211.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.4.3/include  -Iinclude  -I/usr/src/linux-headers-2.6.32-26-generic/arch/x86/include -include include/linux/autoconf.h -Iubuntu/include  -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -DBCMDBG -DWLC_HIGH -DSTA -DWME -DWL11N -DDBAND -DBCMDMA32 -DBCMNVRAMR -Idrivers/staging/brcm80211/sys -Idrivers/staging/brcm80211/phy -Idrivers/staging/brcm80211/util -Idrivers/staging/brcm80211/include -DWLC_LOW -I/home/alan/linux-next/drivers/staging/brcm80211/include -I/home/alan/linux-next/drivers/staging/brcm80211/sys -I/home/alan/linux-next/drivers/staging/brcm80211/phy  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(wl_mac80211)"  -D"KBUILD_MODNAME=KBUILD_STR(brcm80211)"  -c -o /home/alan/linux-next/drivers/staging/brcm80211/sys/.tmp_wl_mac80211.o /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c: In function ‘wl_ops_config’:
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c:296: error: ‘IEEE80211_CONF_CHANGE_MONITOR’ undeclared (first use in this function)
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c:296: error: (Each undeclared identifier is reported only once
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c:296: error: for each function it appears in.)
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c: In function ‘wl_ampdu_action’:
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c:591: warning: passing argument 1 of ‘ieee80211_start_tx_ba_cb_irqsafe’ from incompatible pointer type
    include/net/mac80211.h:2027: note: expected ‘struct ieee80211_hw *’ but argument is of type ‘struct ieee80211_vif *’
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c:595: warning: passing argument 1 of ‘ieee80211_stop_tx_ba_cb_irqsafe’ from incompatible pointer type
    include/net/mac80211.h:2068: note: expected ‘struct ieee80211_hw *’ but argument is of type ‘struct ieee80211_vif *’
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c: At top level:
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c:614: warning: initialization from incompatible pointer type
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c:615: warning: initialization from incompatible pointer type
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c:628: error: unknown field ‘sta_add’ specified in initializer
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c:628: warning: initialization from incompatible pointer type
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c:629: error: unknown field ‘sta_remove’ specified in initializer
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c:629: warning: initialization from incompatible pointer type
    /home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.c:630: warning: initialization from incompatible pointer type
    make[2]: *** [/home/alan/linux-next/drivers/staging/brcm80211/sys/wl_mac80211.o] Error 1
    make[1]: *** [_module_/home/alan/linux-next/drivers/staging/brcm80211] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-26-generic'
    make: *** [default] Error 2
    Having the exact same problem as alan2796.

    Running bcm4313 on an eeepc 1015pem

    I have a feeling I'm missing some includes but am not too sure. Anyone has ideas?

Page 3 of 18 FirstFirst 1234513 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •