You are not logged in.

#1 2013-08-05 12:39:50

swaraj
Member
Registered: 2013-08-05
Posts: 35

[Solved] Broadcom wireless-bcm43142 driver

I'm having problems installing the driver for Broadcom wireless-bcm43142. I've referred to http://jas.gemnetworks.com/wireless-bcm43142/, but the files there are deb files. I've deb2targz'd the file, but there isn't anything to 'make' over there. All that happens is that the folders 'usr' and 'etc' are created, with a bunch of files inside them. Am I supposed to just copy them over or something? I fear it may break my system, so I'm asking you all first.

Last edited by swaraj (2013-08-06 16:42:17)

Offline

#2 2013-08-05 13:28:06

opt1mus
Member
From: UK
Registered: 2011-12-31
Posts: 202
Website

Re: [Solved] Broadcom wireless-bcm43142 driver

Have you tried installing: https://aur.archlinux.org/packages/broadcom-wl-dkms/ instead?

https://wiki.archlinux.org/index.php/AU … g_packages

-- edit below --

What is the actual problem with your install - because I noticed your previous thread that's marked 'solved', did the driver work with your wireless card or not? Rather than blindly running off and trying to install debian packages on an Arch system post errors/elaborate on the problem.

Last edited by opt1mus (2013-08-05 13:43:56)

Offline

#3 2013-08-05 14:51:26

swaraj
Member
Registered: 2013-08-05
Posts: 35

Re: [Solved] Broadcom wireless-bcm43142 driver

The previous driver did not solve my problem. I was just trying to fix its installation in my previous thread, not fix my wifi problem (which I have as the installation of the driver didn't do anything).

Offline

#4 2013-08-05 15:05:10

swaraj
Member
Registered: 2013-08-05
Posts: 35

Re: [Solved] Broadcom wireless-bcm43142 driver

So I could successfully install the package you provided the link for (thanks!), but my chipset is still not recognised. Here's (part of) my lspci -k:

03:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01)
	Subsystem: Lenovo Device 0611
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 07)
	Subsystem: Lenovo Device 5002
	Kernel driver in use: r8169
	Kernel modules: r8169

Here's ip link:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
    link/ether 3c:97:0e:84:d2:f8 brd ff:ff:ff:ff:ff:ff

Here's iw dev:

[swaraj@swaraj ~]$ iw dev
nl80211 not found.

Suggestions?

Edit: I noticed my lsmod didn't have wl, so I did 'modprobe wl'. Now, iw dev doesn't display anything at all.

Edit 2: And here's my iwconfig:

[swaraj@swaraj ~]$ iwconfig
lo        no wireless extensions.

enp4s0    no wireless extensions.

Last edited by swaraj (2013-08-05 15:11:42)

Offline

#5 2013-08-05 15:14:52

serdotlinecho
Member
Registered: 2013-01-26
Posts: 100

Re: [Solved] Broadcom wireless-bcm43142 driver

Could you please share your full lsmod output?

https://wiki.archlinux.org/index.php/Broadcom_wireless

Last edited by serdotlinecho (2013-08-05 15:17:15)

Offline

#6 2013-08-05 15:16:08

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,413

Re: [Solved] Broadcom wireless-bcm43142 driver

Are you aware of how to use a dkms pacakge?  Or how dkms works in general?  That is, you may have installed the package, but did you actually build the module?

Offline

#7 2013-08-05 15:21:27

serdotlinecho
Member
Registered: 2013-01-26
Posts: 100

Re: [Solved] Broadcom wireless-bcm43142 driver

Or you could try repo-ck, they have broadcom-wl binary for you to install.

https://wiki.archlinux.org/index.php/Repo-ck

Offline

#8 2013-08-05 15:54:28

swaraj
Member
Registered: 2013-08-05
Posts: 35

Re: [Solved] Broadcom wireless-bcm43142 driver

Here's my entire lsmod (without modprobing wl):

Module                  Size  Used by
snd_hda_codec_hdmi     29765  1 
intel_powerclamp        8802  0 
coretemp                6038  0 
snd_hda_codec_realtek    35517  1 
joydev                  9663  0 
uvcvideo               72761  0 
videobuf2_vmalloc       3272  1 uvcvideo
videobuf2_memops        2335  1 videobuf2_vmalloc
videobuf2_core         27797  1 uvcvideo
videodev              105373  2 uvcvideo,videobuf2_core
media                  10916  2 uvcvideo,videodev
r8169                  57704  0 
kvm                   376522  0 
crc32_pclmul            3019  0 
snd_hda_intel          35309  1 
keucr                  58250  0 
snd_hda_codec         147474  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep               6332  1 snd_hda_codec
usb_storage            47751  0 
snd_pcm                77765  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
thinkpad_acpi          61629  0 
snd_page_alloc          7234  2 snd_pcm,snd_hda_intel
crc32c_intel           14249  0 
mii                     4059  1 r8169
snd_timer              18718  1 snd_pcm
nvram                   5874  1 thinkpad_acpi
snd                    58950  10 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel,thinkpad_acpi
nouveau               963173  0 
iTCO_wdt                5407  0 
iTCO_vendor_support     1929  1 iTCO_wdt
mxm_wmi                 1467  1 nouveau
ttm                    65388  1 nouveau
i915                  571114  2 
ghash_clmulni_intel     4501  0 
cryptd                  8473  1 ghash_clmulni_intel
intel_agp              10936  1 i915
soundcore               5418  1 snd
microcode              13172  0 
psmouse                85484  0 
pcspkr                  2027  0 
serio_raw               5041  0 
thermal                 8652  0 
mei_me                  9688  0 
mei                    61476  1 mei_me
mperf                   1267  0 
rfkill                 15666  1 thinkpad_acpi
intel_gtt              12664  2 i915,intel_agp
drm_kms_helper         35438  2 i915,nouveau
drm                   231296  5 ttm,i915,drm_kms_helper,nouveau
wmi                     8315  2 mxm_wmi,nouveau
ac                      3324  0 
i2c_algo_bit            5391  2 i915,nouveau
i2c_i801               11237  0 
battery                 6893  0 
i2c_core               23752  7 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,nouveau,videodev
lpc_ich                12849  0 
evdev                   9880  14 
video                  11328  2 i915,nouveau
processor              27755  0 
button                  4669  2 i915,nouveau
ext4                  456027  2 
crc16                   1359  1 ext4
mbcache                 5866  1 ext4
jbd2                   81946  1 ext4
sr_mod                 14898  0 
cdrom                  34880  1 sr_mod
sd_mod                 30826  4 
ahci                   22792  3 
libahci                21201  1 ahci
libata                171112  2 ahci,libahci
ehci_pci                4120  0 
ehci_hcd               47640  1 ehci_pci
xhci_hcd               89455  0 
scsi_mod              127772  5 keucr,usb_storage,libata,sd_mod,sr_mod
usbcore               176991  6 keucr,uvcvideo,usb_storage,ehci_hcd,ehci_pci,xhci_hcd
usb_common              1648  1 usbcore

And with modprobing wl:

Module                  Size  Used by
wl                   2558676  0 
lib80211                3821  1 wl
cfg80211              406176  1 wl
snd_hda_codec_hdmi     29765  1 
intel_powerclamp        8802  0 
coretemp                6038  0 
snd_hda_codec_realtek    35517  1 
joydev                  9663  0 
uvcvideo               72761  0 
videobuf2_vmalloc       3272  1 uvcvideo
videobuf2_memops        2335  1 videobuf2_vmalloc
videobuf2_core         27797  1 uvcvideo
videodev              105373  2 uvcvideo,videobuf2_core
media                  10916  2 uvcvideo,videodev
r8169                  57704  0 
kvm                   376522  0 
crc32_pclmul            3019  0 
snd_hda_intel          35309  1 
keucr                  58250  0 
snd_hda_codec         147474  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep               6332  1 snd_hda_codec
usb_storage            47751  0 
snd_pcm                77765  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
thinkpad_acpi          61629  0 
snd_page_alloc          7234  2 snd_pcm,snd_hda_intel
crc32c_intel           14249  0 
mii                     4059  1 r8169
snd_timer              18718  1 snd_pcm
nvram                   5874  1 thinkpad_acpi
snd                    58950  10 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel,thinkpad_acpi
nouveau               963173  0 
iTCO_wdt                5407  0 
iTCO_vendor_support     1929  1 iTCO_wdt
mxm_wmi                 1467  1 nouveau
ttm                    65388  1 nouveau
i915                  571114  2 
ghash_clmulni_intel     4501  0 
cryptd                  8473  1 ghash_clmulni_intel
intel_agp              10936  1 i915
soundcore               5418  1 snd
microcode              13172  0 
psmouse                85484  0 
pcspkr                  2027  0 
serio_raw               5041  0 
thermal                 8652  0 
mei_me                  9688  0 
mei                    61476  1 mei_me
mperf                   1267  0 
rfkill                 15666  2 cfg80211,thinkpad_acpi
intel_gtt              12664  2 i915,intel_agp
drm_kms_helper         35438  2 i915,nouveau
drm                   231296  5 ttm,i915,drm_kms_helper,nouveau
wmi                     8315  2 mxm_wmi,nouveau
ac                      3324  0 
i2c_algo_bit            5391  2 i915,nouveau
i2c_i801               11237  0 
battery                 6893  0 
i2c_core               23752  7 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,nouveau,videodev
lpc_ich                12849  0 
evdev                   9880  14 
video                  11328  2 i915,nouveau
processor              27755  0 
button                  4669  2 i915,nouveau
ext4                  456027  2 
crc16                   1359  1 ext4
mbcache                 5866  1 ext4
jbd2                   81946  1 ext4
sr_mod                 14898  0 
cdrom                  34880  1 sr_mod
sd_mod                 30826  4 
ahci                   22792  3 
libahci                21201  1 ahci
libata                171112  2 ahci,libahci
ehci_pci                4120  0 
ehci_hcd               47640  1 ehci_pci
xhci_hcd               89455  0 
scsi_mod              127772  5 keucr,usb_storage,libata,sd_mod,sr_mod
usbcore               176991  6 keucr,uvcvideo,usb_storage,ehci_hcd,ehci_pci,xhci_hcd
usb_common              1648  1 usbcore

I'm also installing broadcom-wl-ck from that repo. I'll let you know hoe that goes.
(Just curious: did you know about this repo from before, or did you google something to get it?)

Offline

#9 2013-08-05 15:56:16

swaraj
Member
Registered: 2013-08-05
Posts: 35

Re: [Solved] Broadcom wireless-bcm43142 driver

I installed broadcom-wl-ck. What now?
(Sorry for all these retarded questions, this is my first time installing a driver on Linux.)

Last edited by swaraj (2013-08-05 16:04:13)

Offline

#10 2013-08-05 16:23:26

swaraj
Member
Registered: 2013-08-05
Posts: 35

Re: [Solved] Broadcom wireless-bcm43142 driver

WonderWoofy wrote:

Are you aware of how to use a dkms pacakge?  Or how dkms works in general?  That is, you may have installed the package, but did you actually build the module?

I believe the module was built immediately after the installation (but I may be entirely wrong). I only feel so because I think it said something like that on the console.
If it didn't get built automatically, how do I do it?

Offline

#11 2013-08-05 16:26:32

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,413

Re: [Solved] Broadcom wireless-bcm43142 driver

If you want to use the repo-ck provided module, then you also have to use linux-ck.  It is the Linux kernel patched with Con Koliva's patchset, which includes BFS and BFQ amongst other tweaks.  It is really a great kernel, and graysky does an excellent job maintaining it.  I used it for quite some time before I started using "systemd --user", which it is unfortunately not compatible with because of a certain cgroup setting that it turns off.  But the kernels are of excellent quality and graysky even provides a vast number of processor optimized kernels (just about every common processor family is covered), which include the kernel's processor type selection as well as GCC optimizations I believe.

The only issue with the repo-ck module and your card is that I think that your card will actually require the v6 of the wl module, and I think that the version in repo-ck is v5.  The whole state of broadcom wireless drivers is still a bit of a mess.  Although admittedly it is a whole hell of a lot better than a few years ago.  The v5 is the common one, and v6 was released because ubuntu complained about lack of new HW support from the wl module.  So they released an ubuntu specific module.  Fortunately we have a gerat community here and twelveeighty has patched the crap out of the v6 to make it work on Arch Linux.  This is what the broadcom-wl-dkms package is.  But if yuo install any of the other broadcom-wl modules from teh AUR you will be installing the v5.  Like I said... a bit of a mess.

Offline

#12 2013-08-05 16:37:47

swaraj
Member
Registered: 2013-08-05
Posts: 35

Re: [Solved] Broadcom wireless-bcm43142 driver

In that case, could you help me out with building the module for broadcom-wl-dkms? I've installed it already. I'm getting this error on makepkg:

[swaraj@swaraj broadcom-wl-dkms]$ makepkg -sfi
==> Making package: broadcom-wl-dkms 6.30.223.30-1 (Mon Aug  5 22:37:36 UTC 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found bcmwl_6.30.223.30+bdcom.orig.tar.gz
  -> Found bcmwl_6.30.223.30+bdcom-0ubuntu2.diff.gz
  -> Found broadcom-wl-dkms.conf
  -> Found dkms.conf
  -> Found 001-Arch-Makefile.patch
  -> Found 002-Module-License.patch
==> Validating source files with sha1sums...
    bcmwl_6.30.223.30+bdcom.orig.tar.gz ... Passed
    bcmwl_6.30.223.30+bdcom-0ubuntu2.diff.gz ... Passed
    broadcom-wl-dkms.conf ... Passed
    dkms.conf ... Passed
    001-Arch-Makefile.patch ... Passed
    002-Module-License.patch ... Passed
==> Extracting sources...
  -> Extracting bcmwl_6.30.223.30+bdcom.orig.tar.gz with bsdtar
  -> Extracting bcmwl_6.30.223.30+bdcom-0ubuntu2.diff.gz with gzip
==> Removing existing pkg/ directory...
==> Starting build()...
patching file debian/bcmwl-kernel-source.prerm
patching file debian/bcmwl-kernel-source.postrm
patching file debian/rules
patching file debian/bcmwl-kernel-source.modaliases
patching file debian/copyright
patching file debian/compat
patching file debian/control
patching file debian/bcmwl-kernel-source.postinst
patching file debian/bcmwl-kernel-source.install.in
patching file debian/dkms.conf.in
patching file debian/changelog
patching file debian/patches/0007-nl80211-move-scan-API-to-wdev.patch
patching file debian/patches/0004-Add-support-for-Linux-3.2.patch
patching file debian/patches/0005-add-support-for-linux-3.4.0.patch
patching file debian/patches/0001-MODULE_LICENSE.patch
patching file debian/patches/0003-Make-up-for-missing-init_MUTEX.patch
patching file debian/patches/0006-add-support-for-linux-3.8.0.patch
patching file debian/patches/0008-add-support-for-linux-3.9.0.patch
patching file debian/patches/0009-add-support-for-linux-3.10.0.patch
patching file debian/patches/0002-Makefile.patch
patching file src/wl/sys/wl_linux.c
Hunk #1 succeeded at 179 (offset 20 lines).
patching file Makefile
Hunk #1 succeeded at 113 with fuzz 1.
Hunk #2 succeeded at 132 with fuzz 1 (offset 1 line).
patching file src/wl/sys/wl_linux.c
Hunk #1 succeeded at 105 with fuzz 2 (offset 6 lines).
patching file src/include/bcmutils.h
patching file src/wl/sys/wl_cfg80211_hybrid.c
patching file src/wl/sys/wl_linux.c
Hunk #1 succeeded at 916 (offset 6 lines).
patching file src/wl/sys/wl_cfg80211_hybrid.c
Hunk #1 succeeded at 47 (offset 1 line).
Hunk #2 succeeded at 497 (offset 12 lines).
patching file src/wl/sys/wl_cfg80211_hybrid.c
patching file src/wl/sys/wl_linux.c
patching file bcmwl-6.30.223.30+bdcom/Makefile
patching file src/wl/sys/wl_linux.c
mv: cannot move ‘bcmwl-6.30.223.30+bdcom/src/lib’ to ‘./lib’: Directory not empty
mv: cannot move ‘bcmwl-6.30.223.30+bdcom/src/src’ to ‘./src’: Directory not empty
==> ERROR: A failure occurred in build().
    Aborting...

Last edited by swaraj (2013-08-05 18:42:26)

Offline

#13 2013-08-06 09:09:21

swaraj
Member
Registered: 2013-08-05
Posts: 35

Re: [Solved] Broadcom wireless-bcm43142 driver

Anyone know where I went wrong in making the package?

Edit: Everything finally works now!! I installed https://aur.archlinux.org/packages/broadcom-wl-dkms/ and carefully followed the instructions over at https://wiki.archlinux.org/index.php/AU … g_packages
What I learned from this: rtfm for sure. Thank you all, for trying your best to help me out. Especially to twelveeighty for making this!

Last edited by swaraj (2013-08-06 16:43:19)

Offline

#14 2014-08-15 05:54:06

matmaster
Member
Registered: 2014-08-15
Posts: 1

Re: [Solved] Broadcom wireless-bcm43142 driver

Hi everyone i'm new user of Archlinux it's a great distro. I've Sony VAIO SVF15216 it come with the adapter:

07:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01) 

and generates some problems in debian 7 and ubuntu 14.04.

To make it work on Arch x86_64 i installed the package broadcom-wl-dkms  using YAOURT :

 $ yaourt broadcom-wl-dkms 

and work fine smile

Note:  i tried with broadcom-sta-dkms, b43, b43 lts and others  without success.

Last edited by matmaster (2014-08-15 05:57:30)

Offline

Board footer

Powered by FluxBB