Coder Social home page Coder Social logo

bcmwl-ubuntu's Introduction

Hi

bcmwl-ubuntu's People

Contributors

longsleep avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bcmwl-ubuntu's Issues

Suggestion / Doubt

I'm using this driver on Ubuntu 16.04, not to get better performance nor to bug fixes, but in an attempt to have the bluetooth running and there is no difference from the package of official repository.

I solve the problem by following these instructions.

Now, my doubt is if there is any way to include this or a better solution in your .deb firmware package?!

My device + Your firmware + Converted .hex to .hcd file:

$ usb-devices

T:  Bus=01 Lev=02 Prnt=02 Port=02 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=ff(vend.) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=04ca ProdID=2009 Rev=01.12
S:  Manufacturer=Broadcom Corp
S:  Product=BCM43142A0
S:  SerialNumber=3010B3922488
C:  #Ifs= 4 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=01 Driver=btusb
I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=01 Prot=01 Driver=btusb
I:  If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=btusb
I:  If#= 3 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=01 Driver=(none)
$ lsusb

Bus 001 Device 003: ID 04ca:2009 Lite-On Technology Corp.
$ sudo service bluetooth status

● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: active (running) since Qua 2016-11-02 20:47:31 WET; 20min ago
     Docs: man:bluetoothd(8)
 Main PID: 770 (bluetoothd)
   Status: "Running"
   CGroup: /system.slice/bluetooth.service
           └─770 /usr/lib/bluetooth/bluetoothd

Nov 02 20:47:31 E5-521 bluetoothd[770]: Not enough free handles to register service
Nov 02 20:47:31 E5-521 bluetoothd[770]: Sap driver initialization failed.
Nov 02 20:47:31 E5-521 bluetoothd[770]: sap-server: Operation not permitted (1)
Nov 02 20:47:44 E5-521 bluetoothd[770]: Endpoint registered: sender=:1.59 path=/MediaEndpoint/A2DPSource
Nov 02 20:47:44 E5-521 bluetoothd[770]: Endpoint registered: sender=:1.59 path=/MediaEndpoint/A2DPSink
Nov 02 20:47:56 E5-521 bluetoothd[770]: Endpoint registered: sender=:1.82 path=/MediaEndpoint/A2DPSource
Nov 02 20:47:56 E5-521 bluetoothd[770]: Endpoint registered: sender=:1.82 path=/MediaEndpoint/A2DPSink
Nov 02 20:47:56 E5-521 bluetoothd[770]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use (98)
Nov 02 20:48:07 E5-521 bluetoothd[770]: Endpoint unregistered: sender=:1.59 path=/MediaEndpoint/A2DPSource
Nov 02 20:48:07 E5-521 bluetoothd[770]: Endpoint unregistered: sender=:1.59 path=/MediaEndpoint/A2DPSink

.deb packages don't appear to work with kernel 4.1.rc1

First, thank you for your work on this - it's great to have a resource for hardware this new!

I've installed the mainline 4.1.rc1 kernel - which has the advantage of having all of the audio bugs fixed - but the .deb bcmwl files you so kindly supplied don't appear to work for that version. They work fine for the 3.19.5 kernel on the same system, however. Hoping maybe it's something obvious that you could tweak? Many thanks!

Kernel 4.5 and 4.6 support

Hello,
I am using the driver for kernel 4.4.9 (ubuntu PPA, lowlatency) and it works quite well.
I can build the driver for kernel 4.5.x adn 4.6.x (ubuntu PPA, lowlatency), but with those kernels the Wifi-Connections are not stable (no traffic seen und strange errror message about wrong mac address, which I've never seen before).

This might be the wrong place to report those issues, but are you guys using the driver with 4.5 and 4.6 ? I run a rmbp retina 15", 14e4:43a0 (rev 03)

rgds,
j

make all failed

$ make  
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory '/usr/src/linux-headers-3.19.0-15-generic'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
make[2]: *** No rule to make target '/home/aboettger/tmp/bcmwl-ubuntu/src/shared/linux_osl.o', needed by '/home/aboettger/tmp/bcmwl-ubuntu/wl.o'.  Stop.
Makefile:1394: recipe for target '_module_/home/aboettger/tmp/bcmwl-ubuntu' failed
make[1]: *** [_module_/home/aboettger/tmp/bcmwl-ubuntu] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.19.0-15-generic'
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

completely lost wifi after installing this patch

Hi.

I'm running Ubuntu 15.04 on XPS13 2015. I landed on your page from https://wiki.ubuntu.com/Dell%20XPS%202015

I just installed the patch following your instructions, while running kernel 4.2. No problems whatsoever while building and installing the .deb package. After reboot, still no wifi. The bad thing is that now I'm without wifi even booting kernel 4.1.6.

Any Ideas? How can I give you more details?

Thanks.

4.7 kernel error

/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_update_wiphybands’:
/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:2888:15: error: array subscript is not an integer
   wiphy->bands[IEEE80211_BAND_5GHZ] = &__wl_band_5ghz_n;

Can you help me fix this? @longsleep

modprobe: FATAL: Module wl not found

Linux Mint 17.2. Upgraded kernel to 4.2. Having trouble getting wifi to work. I followed the build instructions and continue to get the following output:

....
Building initial module for 4.2.0-040200-generic
Error! Bad return status for module build on kernel: 4.2.0-040200-generic (x86_64)
Consult /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/make.log for more information.
modprobe: FATAL: Module wl not found.
....

make.log:

DKMS make.log for bcmwl-6.30.223.248+bdcom for kernel 4.2.0-040200-generic (x86_64)
Mon Sep 7 19:55:00 CDT 2015
make: Entering directory /usr/src/linux-headers-4.2.0-040200-generic' CFG80211 API is prefered for this kernel version Using CFG80211 API LD /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/built-in.o CC [M] /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/shared/linux_osl.o CC [M] /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/wl/sys/wl_linux.o CC [M] /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/wl/sys/wl_iw.o CC [M] /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.o LD [M] /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/wl.o Building modules, stage 2. CFG80211 API is prefered for this kernel version Using CFG80211 API MODPOST 1 modules FATAL: modpost: GPL-incompatible module wl.ko uses GPL-only symbol 'flush_workqueue' make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 make: Leaving directory/usr/src/linux-headers-4.2.0-040200-generic'

If I apt-get install from your PPA, I get the same message.

I'm on a Yoga 3 Pro. Any help is appreciated.

Kernel 4.4 error, not supported

I get the following error when following instructions with new kernel 4.4 and ubuntu 14.04

DKMS make.log for bcmwl-6.30.223.271+bdcom for kernel 4.4.0-040400-generic (x86_64)
mar ene 12 22:09:35 CST 2016
make: se ingresa al directorio «/usr/src/linux-headers-4.4.0-040400-generic»
Makefile:660: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
CFG80211 API is prefered for this kernel version
Using CFG80211 API
LD /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/built-in.o
CC [M] /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.o
gcc: error: unrecognized command line option ‘-fstack-protector-strong’
make[1]: *** [/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/src/shared/linux_osl.o] Error 1
make: *** [module/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build] Error 2
make: se sale del directorio «/usr/src/linux-headers-4.4.0-040400-generic»

Issue with kernel 4.2

Hello,
I just installed the kernel 4.2 [4.2.0-040200-generic_4.2.0-040200.201508301530]
and I got this problem:

Get:1 http://ppa.launchpad.net/longsleep/bcmwl/ubuntu/ trusty/main bcmwl-kernel-source amd64 6.30.223.248+bdcom-1longsleep1 [1,514 kB]
Fetched 1,514 kB in 2s (741 kB/s)
(Reading database ... 296970 files and directories currently installed.)
Preparing to unpack .../bcmwl-kernel-source_6.30.223.248+bdcom-1longsleep1_amd64.deb ...
Removing all DKMS Modules
Done.
Unpacking bcmwl-kernel-source (6.30.223.248+bdcom-1longsleep1) over (6.30.223.248+bdcom-0ubuntu0.1) ...
Setting up bcmwl-kernel-source (6.30.223.248+bdcom-1longsleep1) ...
Loading new bcmwl-6.30.223.248+bdcom DKMS files...
Building for 3.19.0-28-generic and 4.2.0-040200-generic
Building for architecture x86_64
Building initial module for 3.19.0-28-generic
Done.

wl:
Running module version sanity check.

  • Original module
    • No original module exists within this kernel
  • Installation
    • Installing to /lib/modules/3.19.0-28-generic/updates/dkms/

depmod....

DKMS: install completed.
Building initial module for 4.2.0-040200-generic
ERROR (dkms apport): kernel package linux-headers-4.2.0-040200-generic is not supported
Error! Bad return status for module build on kernel: 4.2.0-040200-generic (x86_64)
Consult /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/make.log for more information.
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.103ubuntu4.2) ...
update-initramfs: Generating /boot/initrd.img-4.2.0-040200-generic

Am I missing something?
Thanks a lot!

git public access?

git clone [email protected]:longsleep/bcmwl-ubuntu.git bcmwl-ubuntu-master
Klone nach 'bcmwl-ubuntu-master'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

This driver causes soft lockup with 4.9 kernel when trying to connect.

I could not provide any information since when lock up, the machine was practically frozen.
After upgrading to 4.9 kernel, my laptop just died when I was trying to login after boot. After disabled X, I saw a lot of kernel tracks with wl and soft lockup in them.
Then I disabled the module and everything worked quite fine. I enabled the module again but did not let NetworkManger to connect. It seemed fine. Finally I tried to connect to wireless network and my laptop died in like 30 secs.

Kernel 4.2 problem

Building initial module for 4.2.0-040200-generic
Error! Bad return status for module build on kernel: 4.2.0-040200-generic (x86_64)
Consult /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/make.log for more information.

gbp buildpackage -b -uc -us [problem]

$ gbp buildpackage -b -uc -us
gbp:warning: Pristine-tar branch "pristine-tar" not found
pristine-tar: successfully generated /home/dan/bcmwl-ubuntu/bcmwl_6.30.223.248+bdcom.orig.tar.gz
dpkg-buildpackage -rfakeroot -D -us -uc -i -I -b
dpkg-buildpackage: source package bcmwl
dpkg-buildpackage: source version 6.30.223.248+bdcom-1longsleep0
dpkg-buildpackage: source distribution utopic
dpkg-buildpackage: source changed by Simon Eisenmann [email protected]
dpkg-source -i -I --before-build bcmwl-ubuntu-master
dpkg-buildpackage: host architecture amd64
dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>= 7.0.50~) dh-modaliases
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc -i -I -b failed
gbp:error: 'debuild -i -I -b -uc -us' failed: it exited with 29

Can't compile on trusty (mint 17.2) with Kernel 4.2.5 from kernel ppa

Hello,
I use the the pre-build mainline kernels from http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.2.5-wily/ .
Since 4.2.5 they are called -wily, not unstable.

sudo apt-get install bcmwl-kernel-source from the longsleep ppa give a compile error on 4.2.5 (on 4.2.3 it worked):

Building initial module for 4.2.5-040205-generic
Error! Bad return status for module build on kernel: 4.2.5-040205-generic (x86_64)
Consult /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/make.log for more information.
dpkg: Fehler beim Bearbeiten des Paketes bcmwl-kernel-source (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 10 zurück
Fehler traten auf beim Bearbeiten von:
 bcmwl-kernel-source
E: Sub-process /usr/bin/dpkg returned an error code (1)

(Sorry for the German locale ....)

The error is caused by

Makefile:659: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
CFG80211 API is prefered for this kernel version

The reason for this is, that trusty ships gcc 4.8.x which doesn't support fstack-protector-strong.

As a workaround I instlled gcc-4.9.2 on trusty like descrived here: http://askubuntu.com/questions/428198/getting-installing-gcc-g-4-9-on-ubuntu

But I have still no clue, why the compile run worked with 4.2.3 / gcc 4.8.x.

Can that be fixed in the Makefile of bcmwl-ubuntu ?

rgds,
j

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.