Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Fixing Broadcom Corporation BCM57765/57785 SDXC/MMC Card Reader
Follow the WORKAROUND:
1. Add a comand to /etc/rc.local, add the following line above "exit 0":
setpci -s 00:1c.2 0x50.B=0x41
2. Add the same comand to /etc/apm/resume.d/21aspm (which does not exist yet):
setpci -s 00:1c.2 0x50.B=0x41
3. Add the following to /etc/modprobe.d/sdhci.conf:
options sdhci debug_quirks2=4
4. Re-generate initrd:
sudo update-initramfs -u -k all
5. Reboot or reload sdhci module:
sudo rmmod sdhci-pci sdhci
sudo modprobe sdhci
sudo modprobe sdhci-pci
If SD card still not detected after reboot, type this in command line:
$ sudo setpci -s 00:1c.2 0x50.B=0x41
Tested on Acer V5-171
Reference:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1307674
https://wiki.allensmith.net/kb:linux:14lts-bcm57765-bmc57785
@elhenro

This comment has been minimized.

Copy link

elhenro commented Oct 28, 2017

Thank you so much for sharing! Fixed my sd card reader on MacBookPro 10,2, Ubuntu 17.10.

@eduandress

This comment has been minimized.

Copy link

eduandress commented Nov 23, 2017

Thank you! The only solution for my v5-131 card reader on Ubuntu 17.10... I almost give up.

@naumovvs

This comment has been minimized.

Copy link

naumovvs commented Jul 14, 2018

thanks a lot. it works for my acer aspire V5

@4nt

This comment has been minimized.

Copy link

4nt commented Jul 17, 2018

Thank you! this worked perfectly in my acer V5-171-9661 with debian stretch. Reading/writing my 128GB SD card without problems.

@webhive

This comment has been minimized.

Copy link

webhive commented Aug 7, 2018

Thank you very much!!! It work on my Acer Aspire V3-571G

@antonioverdugo

This comment has been minimized.

Copy link

antonioverdugo commented Oct 1, 2018

Thank you very much!!!

@necrodos

This comment has been minimized.

Copy link

necrodos commented Oct 30, 2018

Hi, I'm having this exact issue on a V5-131 on Ubuntu 18.04 but I can't seem to find any of the files mentioned here, can you help me find a way to make my sd card reader work?

@necrodos

This comment has been minimized.

Copy link

necrodos commented Nov 5, 2018

hi, it's me again I made it to work, with the tutorial in this URL: https://askubuntu.com/questions/886620/how-can-i-execute-command-on-startup-rc-local-alternative-on-ubuntu-16-10
and then, the rest of the instructions in this tutorial... I hven't got it to format any device but read/write cappabilities are fine, is this normal??

@DanielZolett

This comment has been minimized.

Copy link

DanielZolett commented Jun 12, 2019

Thank you. You helped a lot.

This tutorial really works. lol

@viniciusdaniel

This comment has been minimized.

Copy link

viniciusdaniel commented Oct 26, 2019

Thank You so much!
Worked on Apire V3-571 running Xubuntu 18.04.

Plus for first step of this solution, /etc/rc.local don't existis on 18.04, so first create sudo touch /etc/rc.local and make it executable sudo chmod +x /etc/rc.local

After just edit /etc/rc.local and add the content of first step like bellow:

#!/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.

setpci -s 00:1c.2 0x50.B=0x41

exit 0

[]'s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.