Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jun 2020 20:38:31 +0300
From:      Yuri Pankov <yuripv@yuripv.dev>
To:        Miguel C <miguelmclara@gmail.com>, FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: No SD Card support on FreeBSD 12.1 - intel NUC (NUC7i5BN)
Message-ID:  <41d3d94d-2da1-9c6f-38a8-d0af1cc2fc50@yuripv.dev>
In-Reply-To: <CADGo8CVsaTvjfYrc%2BCdFggx8oqaGRAnE7yvLt3CjU=32=MVsjQ@mail.gmail.com>
References:  <CADGo8CVsaTvjfYrc%2BCdFggx8oqaGRAnE7yvLt3CjU=32=MVsjQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Miguel C wrote:
>  From what I see in https://wiki.freebsd.org/IntelNUC this seems to at list
> show in pciconf for NUC&:
> 
> pciconf output shows:
> sdhci_pci0: <Generic SD HCI> mem
> 0xdc101000-0xdc101fff,0xdc100000-0xdc1007ff irq 17 at device 0.0 on pci1
> 
> 
> 
> However I don't see anything like such on mine (AFAIK the setup is similar
> and there's a microSD port on the side but I'm not sure how things are
> hardwired ofc)
> 
> I also don't see anything in usbconfig
> 
> 
> I have mmcsd and sdhci loaded (by default):
> 
> kldstat -v | egrep "sdh|mmc"
> 247 sdhci_pci/mmc
> 246 pci/sdhci_pci
> 245 sdhci_acpi/mmc
> 244 acpi/sdhci_acpi
> 187 mmc/mmcsd
> 
> 
> And this is the full output of pciconf -lv
> hostb0@pci0:0:0:0: class=0x060000 card=0x20688086 chip=0x59048086 rev=0x03
> hdr=0x00
>      vendor     = 'Intel Corporation'
>      device     = 'Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM
> Registers'
>      class      = bridge
>      subclass   = HOST-PCI
> vgapci0@pci0:0:2:0: class=0x030000 card=0x20688086 chip=0x59268086 rev=0x06
> hdr=0x00
>      vendor     = 'Intel Corporation'
>      device     = 'Iris Plus Graphics 640'
>      class      = display
>      subclass   = VGA
> none0@pci0:0:8:0: class=0x088000 card=0x20688086 chip=0x19118086 rev=0x00
> hdr=0x00
>      vendor     = 'Intel Corporation'
>      device     = 'Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core
> Processor Gaussian Mixture Model'
>      class      = base peripheral
> xhci0@pci0:0:20:0: class=0x0c0330 card=0x20688086 chip=0x9d2f8086 rev=0x21
> hdr=0x00
>      vendor     = 'Intel Corporation'
>      device     = 'Sunrise Point-LP USB 3.0 xHCI Controller'
>      class      = serial bus
>      subclass   = USB
> none1@pci0:0:20:2: class=0x118000 card=0x20688086 chip=0x9d318086 rev=0x21
> hdr=0x00
>      vendor     = 'Intel Corporation'
>      device     = 'Sunrise Point-LP Thermal subsystem'
>      class      = dasp
> none2@pci0:0:22:0: class=0x078000 card=0x20688086 chip=0x9d3a8086 rev=0x21
> hdr=0x00
>      vendor     = 'Intel Corporation'
>      device     = 'Sunrise Point-LP CSME HECI'
>      class      = simple comms
> ahci0@pci0:0:23:0: class=0x010601 card=0x20688086 chip=0x9d038086 rev=0x21
> hdr=0x00
>      vendor     = 'Intel Corporation'
>      device     = 'Sunrise Point-LP SATA Controller [AHCI mode]'
>      class      = mass storage
>      subclass   = SATA
> pcib1@pci0:0:28:0: class=0x060400 card=0x20688086 chip=0x9d108086 rev=0xf1
> hdr=0x01
>      vendor     = 'Intel Corporation'
>      device     = 'Sunrise Point-LP PCI Express Root Port'
>      class      = bridge
>      subclass   = PCI-PCI
> pcib2@pci0:0:28:7: class=0x060400 card=0x20688086 chip=0x9d178086 rev=0xf1
> hdr=0x01
>      vendor     = 'Intel Corporation'
>      device     = 'Sunrise Point-LP PCI Express Root Port'
>      class      = bridge
>      subclass   = PCI-PCI
> isab0@pci0:0:31:0: class=0x060100 card=0x20688086 chip=0x9d4e8086 rev=0x21
> hdr=0x00
>      vendor     = 'Intel Corporation'
>      device     = 'Intel(R) 100 Series Chipset Family LPC Controller/eSPI
> Controller - 9D4E'
>      class      = bridge
>      subclass   = PCI-ISA
> none3@pci0:0:31:2: class=0x058000 card=0x20688086 chip=0x9d218086 rev=0x21
> hdr=0x00
>      vendor     = 'Intel Corporation'
>      device     = 'Sunrise Point-LP PMC'
>      class      = memory
> hdac0@pci0:0:31:3: class=0x040380 card=0x20688086 chip=0x9d718086 rev=0x21
> hdr=0x00
>      vendor     = 'Intel Corporation'
>      device     = 'Sunrise Point-LP HD Audio'
>      class      = multimedia
>      subclass   = HDA
> none4@pci0:0:31:4: class=0x0c0500 card=0x20688086 chip=0x9d238086 rev=0x21
> hdr=0x00
>      vendor     = 'Intel Corporation'
>      device     = 'Sunrise Point-LP SMBus'
>      class      = serial bus
>      subclass   = SMBus
> em0@pci0:0:31:6: class=0x020000 card=0x20688086 chip=0x15d88086 rev=0x21
> hdr=0x00
>      vendor     = 'Intel Corporation'
>      device     = 'Ethernet Connection (4) I219-V'
>      class      = network
>      subclass   = ethernet
> none5@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'
> 
> 
> Is there anything else I can try? (any other module I should be loading)

I think there's some ongoing work in the following PR for (what seems to 
be) your card reader:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204521



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41d3d94d-2da1-9c6f-38a8-d0af1cc2fc50>