No SD Card support on FreeBSD 12.1 - intel NUC (NUC7i5BN)

Miguel C miguelmclara at gmail.com
Sun Jun 7 17:57:04 UTC 2020


If anyone else bumps it to this thread it seems to at least detect it:

I cloned https://github.com/hlh-restart/rtsx
make; make install

load the module and pciconf -lv now sees it:
rtsx0 at pci0:58:0:0: class=0xff0000 card=0x20688086 chip=0x522910ec rev=0x01
hdr=0x00
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTS5229 PCI Express Card Reader'


I tested removing / inserting a card, and although there's some issue at
time (this seems to be know) it did detect the card and size:

Jun  7 18:54:43 r2d2 kernel: rtsx0: Interrupt card inserted/removed
Jun  7 18:54:43 r2d2 kernel: rtsx0: No request running
Jun  7 18:54:43 r2d2 kernel: mmc0: <MMC/SD bus> on rtsx0
Jun  7 18:54:43 r2d2 kernel: mmcsd0: 16GB <SDHC SA16G 4.9 SN 4814F0D2 MFG
06/2019 by 2 TM> at mmc0 50.0MHz/4bit/256-block


I'll post the rest of my finding in the github repo/ PR

But just wanted to confirm you are correct Yuri and many thanks for
pointing me to it.


More information about the freebsd-questions mailing list