Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: BCM4313 - 2 drivers installed, how to choose which is used?

  1. #11
    Join Date
    Mar 2007
    Location
    Cornwall, UK
    Beans
    28

    Re: BCM4313 - 2 drivers installed, how to choose which is used?

    Code:
    Module                  Size  Used by
    michael_mic            12612  4 
    arc4                   12529  2 
    parport_pc             32688  0 
    bnep                   18140  2 
    ppdev                  17073  0 
    rfcomm                 46619  12 
    nls_iso8859_1          12713  1 
    snd_hda_codec_hdmi     32007  1 
    snd_hda_codec_realtek    77876  1 
    joydev                 17457  0 
    coretemp               13400  0 
    kvm                   414070  0 
    ghash_clmulni_intel    13180  0 
    cryptd                 20403  1 ghash_clmulni_intel
    brcmsmac              531848  0 
    mac80211              539908  1 brcmsmac
    alx                    81256  0 
    lib80211_crypt_tkip    17379  0 
    microcode              22803  0 
    ideapad_laptop         18086  0 
    sparse_keymap          13890  1 ideapad_laptop
    btusb                  18334  0 
    bluetooth             209199  22 bnep,rfcomm,btusb
    snd_hda_intel          33491  3 
    snd_hda_codec         134212  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
    snd_hwdep              13602  1 snd_hda_codec
    uvcvideo               76749  0 
    videobuf2_core         32851  1 uvcvideo
    snd_pcm                96580  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
    videodev              120309  2 uvcvideo,videobuf2_core
    videobuf2_vmalloc      12860  1 uvcvideo
    videobuf2_memops       13368  1 videobuf2_vmalloc
    wmi                    19070  0 
    bcma                   35656  1 brcmsmac
    brcmutil               14755  1 brcmsmac
    snd_seq_midi           13324  0 
    cfg80211              206566  2 brcmsmac,mac80211
    cordic                 12535  1 brcmsmac
    mac_hid                13205  0 
    snd_rawmidi            30512  1 snd_seq_midi
    psmouse                95552  0 
    snd_seq_midi_event     14899  1 snd_seq_midi
    snd_seq                61521  2 snd_seq_midi,snd_seq_midi_event
    snd_timer              29425  2 snd_pcm,snd_seq
    snd_seq_device         14497  3 snd_seq_midi,snd_rawmidi,snd_seq
    wl                   2573568  0 
    snd                    78734  16 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    serio_raw              13215  0 
    lpc_ich                17061  0 
    soundcore              15047  1 snd
    snd_page_alloc         18484  2 snd_hda_intel,snd_pcm
    i915                  520519  4 
    lib80211               14381  2 lib80211_crypt_tkip,wl
    mei                    40690  0 
    drm_kms_helper         46784  1 i915
    drm                   275528  5 i915,drm_kms_helper
    lp                     17759  0 
    i2c_algo_bit           13413  1 i915
    video                  19335  1 i915
    parport                46345  3 parport_pc,ppdev,lp
    uas                    17844  0 
    usb_storage            48838  0

  2. #12
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,103
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: BCM4313 - 2 drivers installed, how to choose which is used?

    Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727]
    This device is claimed by two conflicting drivers: wl and brcmsmac. One of the dependencies of brcmsmac is bcma. How and why it gets named bcma-pci-bridge, I have no idea.

    The answer is to blacklist BOTH bcma and brcmsmac. You already have bcma blacklisted so let's do:
    Code:
    sudo su
    echo "blacklist brcmsmac" >> /etc/modprobe.d/blacklist.conf
    exit
    Reboot and give us your report.

    bcma probably loaded even though it was blacklisted because brcmsmac was not blacklisted, loaded and took its happy family mac80211, bcma, brcmutil, cfg80211 and cordic along with it.

    If you wanted to be super sanitary, you could remove this incorrect line:
    Code:
    blacklist bcma-pci-bridge
    There is no driver named bcma-pci-bridge; confirm:
    Code:
    chili@Think410:~$ modinfo bcma-pci-bridge
    ERROR: modinfo: could not find module bcma-pci-bridge
    There ya go, everything you ever wanted to know about bcma in 2,000 words or less!
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  3. #13
    Join Date
    Mar 2007
    Location
    Cornwall, UK
    Beans
    28

    Re: BCM4313 - 2 drivers installed, how to choose which is used?

    Thanks for the help, but guess what...

    despite now having blacklisted both brcmsmac and bcma in blacklist.conf, I just rebooted and still it's loaded bcma-pci-bridge instead of wl.

    Any more ideas?

  4. #14
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,103
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: BCM4313 - 2 drivers installed, how to choose which is used?

    Let's see it, just because I am curious, suspicious and love to learn:
    Code:
    cat /etc/modprobe.d/blacklist.conf
    cat /etc/modules
    cat /etc/rc.local
    ls /etc/modprobe.d
    Thanks.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  5. #15
    Join Date
    Mar 2007
    Location
    Cornwall, UK
    Beans
    28

    Re: BCM4313 - 2 drivers installed, how to choose which is used?

    blacklist.conf:
    Code:
    # This file lists those modules which we don't want to be loaded by
    # alias expansion, usually so some other driver will be loaded for the
    # device instead.
    
    # evbug is a debug tool that should be loaded explicitly
    blacklist evbug
    
    # these drivers are very simple, the HID drivers are usually preferred
    blacklist usbmouse
    blacklist usbkbd
    
    # replaced by e100
    blacklist eepro100
    
    # replaced by tulip
    blacklist de4x5
    
    # causes no end of confusion by creating unexpected network interfaces
    blacklist eth1394
    
    # snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
    # hardware on its own (Ubuntu bug #2011, #6810)
    blacklist snd_intel8x0m
    
    # Conflicts with dvb driver (which is better for handling this device)
    blacklist snd_aw2
    
    # causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
    blacklist i2c_i801
    
    # replaced by p54pci
    blacklist prism54
    
    # replaced by b43 and ssb.
    blacklist bcm43xx
    
    
    # most apps now use garmin usb driver directly (Ubuntu: #114565)
    blacklist garmin_gps
    
    # replaced by asus-laptop (Ubuntu: #184721)
    blacklist asus_acpi
    
    # low-quality, just noise when being used for sound playback, causes
    # hangs at desktop session start (Ubuntu: #246969)
    blacklist snd_pcsp
    
    # ugly and loud noise, getting on everyone's nerves; this should be done by a
    # nice pulseaudio bing (Ubuntu: #77010)
    blacklist pcspkr
    
    # EDAC driver for amd76x clashes with the agp driver preventing the aperture
    # from being initialised (Ubuntu: #297750). Blacklist so that the driver
    # continues to build and is installable for the few cases where its
    # really needed.
    blacklist amd76x_edac
    blacklist brcmsmac
    blacklist bcma
    modules:
    Code:
    # /etc/modules: kernel modules to load at boot time.
    #
    # This file contains the names of kernel modules that should be loaded
    # at boot time, one per line. Lines beginning with "#" are ignored.
    
    lp
    rtc
    brcmsmac
    wl
    rc.local:
    Code:
    #!/bin/sh -e
    #
    # rc.local
    #
    # This script is executed at the end of each multiuser runlevel.
    # Make sure that the script will "exit 0" on success or any other
    # value on error.
    #
    # In order to enable or disable this script just change the execution
    # bits.
    #
    # By default this script does nothing.
    
    exit 0
    ls modprobe.d:
    Code:
    alsa-base.conf
    blacklist
    blacklist-ath_pci.conf
    blacklist-bcm43.conf
    blacklist.conf
    blacklist-firewire.conf
    blacklist-framebuffer.conf
    blacklist-modem.conf
    blacklist-oss.conf
    blacklist-rare-network.conf
    blacklist-watchdog.conf
    broadcom-sta-common.conf
    dkms.conf
    iwlwifi.conf
    vmwgfx-fbdev.conf
    I'm no expert (clearly), but is it just because I have brcmsmac in modules? Does that file override blacklist.conf?

  6. #16
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,103
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: BCM4313 - 2 drivers installed, how to choose which is used?

    Quote Originally Posted by adamr View Post

    I'm no expert (clearly), but is it just because I have brcmsmac in modules? Does that file override blacklist.conf?
    Exactly. You want to amend it and reboot?
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  7. #17
    Join Date
    Mar 2007
    Location
    Cornwall, UK
    Beans
    28

    Re: BCM4313 - 2 drivers installed, how to choose which is used?

    So far so good, thanks for the help. I'll have to remember as I go along that modules overrides the blacklist. Seems a bit odd, but I'm sure there's a good reason for it that I just don't understand yet

  8. #18
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,103
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: BCM4313 - 2 drivers installed, how to choose which is used?

    I'm sure it's just the order these files are processed in during boot. It's an obvious conflict between 'these are the modules we definitely want to load' and 'these are never to load.' I am confident you are all set now.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

Page 2 of 2 FirstFirst 12

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
  •