Home > Questions

SD card reader not showing up on MacBook running Kubuntu, how to fix?

I'm using Kubuntu 21.10 on a 2012 MacBook Pro and super happy with it. However, I just noticed that the SD card reader doesn't register anywhere. I'm a photographer and use it quite often. I can still connect my cameras via USB, so it's not the end of the world, but I'd love to be able to just pop the SD card in. I have no idea where to start with this. I'm gathering that it's a Broadcom card reader, so it may need proprietary drivers (not an issue for me) but I don't know how to add it to my hardware list to even get it visible in Linux. Any suggestions?

Best Answered by

iBoysoft author Ciki Liu

Ciki Liu

Answered on Tuesday, December 3, 2024

 The most effective way yet to fix the Broadcom card reader not showing up on MacBook running Kubuntu is using command lines. Follow the detailed prompts below.

Step 1. On your MacBook running Linux, open the terminal by clicking on the Activities from the top-left corner and type in terminal/shell/prompt. Click on the terminal icon and open it for writing command lines.

Step 2. Type in the following prompts:

$ sudo touch /etc/rc.local  
$ sudo chmod +x /etc/rc.local  
$ sudo nano /etc/rc.local  
### add this line:  
setpci -s 00:1c.2 0x50.B=0x41  
[ctrl-o to write out, enter to save, ctrl-x to exit]

$ sudo nano /etc/apm/resume.d/21aspm  
### add the same line  
setpci -s 00:1c.2 0x50.B=0x41  
[ctrl-o, enter, ctrl-x]

$ sudo nano /etc/modprobe.d/sdhci.conf:  
### add the line:  
options sdhci debug_quirks2=4  
[ctrl-o, enter, ctrl-x]

### regenerate initrd  
$ sudo update-initramfs -u -k all

### reload shdhci module  
$ sudo rmmod sdhci-pci sdhci  
$ sudo modprobe sdhci  
$ sudo modprobe sdhci-pci

### reboot

Step 3. Your Mac restarts now. If unfortunately, your SD card reader is not working still, you can try the following command lines.

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

Other methods such as hardware check may work, but running prompts is considered the most working way to fix this issue.

People Also Ask

Read More Questions

Read More Advice From iBoysoft's Computer Experts

dónde van las capturas de pantalla en Mac

¿Dónde van las capturas de pantalla en Mac? & ¿Cómo encontrarlas?

Lea para saber dónde van las capturas de pantalla en Mac y cómo cambiar dónde se guardan las capturas de pantalla en su Mac. ¿No puede encontrar las capturas de pantalla en Mac? Esta publicación también ofrece una solución alternativa.

Comment activer Ne pas déranger sur Mac

Comment activer le mode Ne pas déranger sur MacBook Air/MacBook Pro/Mac Mini?

Trop de messages et de notifications qui s'affichent sur votre Mac vous dérangent beaucoup lorsque vous vous concentrez sur votre travail. Cet article vous explique en détail comment activer le mode Ne pas déranger sur votre Mac.

Bootable USB não aparece no Mac

Bootable USB Não Aparece no Mac/Gerenciador de Inicialização? (Corrigido)

Bootable USB não aparece no Gerenciador de Inicialização? Saiba as razões por trás e 12 maneiras de corrigir o Mac não detectando bootable USB.