[SOLVED] Need driver for microSD card reader for Zotac ZBOX PI330

General support questions
Post Reply
elfuego
Posts: 4
Joined: 2019/03/25 13:49:50

[SOLVED] Need driver for microSD card reader for Zotac ZBOX PI330

Post by elfuego » 2019/03/25 13:59:42

Hi there,

I run CentOS 7 linux on Zotac ZBOX PI330, and I want to use the built-in microSD card reader, but it doesn't get detected in any way:

- in /dev I see no devices like sda or mmc (except for the main eMMC 32G drive)
- in dmesg/lsusb/lspci output I see no devices like 'sd card reader' or so
- and when I'm inserting a card into the reader, I see no new lines in dmesg

So it looks like it just doesn't contain necessary driver.

Does anybody can give me a clue on what driver to use for it?

UPD: I contacted the vendor support and they told me this:
The SD/SDHC/SDXC Card Reader Controller on the PI330 / PI331 (series) is part of the intel Processor / Chipset logic (Intel Cherry-Trail class)
And they also gave me a screenshot of win's device manager window showing the vid:pid, and they are 8086:0f14. I've checked the dmesg output and found them, but it seems the driver only detects the main eMMC 32G drive, but not the microsd slot.
Last edited by elfuego on 2019/03/26 16:19:28, edited 1 time in total.

elfuego
Posts: 4
Joined: 2019/03/25 13:49:50

[SOLVED] Need driver for microSD card reader for Zotac ZBOX PI330

Post by elfuego » 2019/03/26 15:30:25

The problem was in the old kernel (3.10.xx). Once I installed 5.0 from elrepo, the sd card got detected and works well (I hope =)).

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Need driver for microSD card reader for Zotac ZBOX PI330

Post by TrevorH » 2019/03/26 15:47:58

That really should be working with the stock kernel too. It appears to be supported by the CentOS kernel

Code: Select all

$ $ grep -i 8086 /lib/modules/3.10.0-957.5.1.el7.x86_64/modules.* | grep -i 0f14
/lib/modules/3.10.0-957.5.1.el7.x86_64/modules.alias:alias pci:v00008086d00000F14sv*sd*bc*sc*i* sdhci_pci
/lib/modules/3.10.0-957.5.1.el7.x86_64/modules.alias:alias acpi*:80860F14:* sdhci_acpi
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

elfuego
Posts: 4
Joined: 2019/03/25 13:49:50

Re: Need driver for microSD card reader for Zotac ZBOX PI330

Post by elfuego » 2019/03/26 16:14:55

It probably should, but it actually doesn't.

With the stock 3.10 it only detects mmc0 (the built-in mmc card of 32GB):

Code: Select all

[    5.027554] mmc0: SDHCI controller on ACPI [80860F14:00] using ADMA
[    5.101063] mmc0: new HS200 MMC card at address 0001
[..]
[    7.292399] mmcblk0: mmc0:0001 BJNB4R 29.1 GiB
[    7.293142] mmcblk0boot0: mmc0:0001 BJNB4R partition 1 4.00 MiB
[    7.293642] mmcblk0boot1: mmc0:0001 BJNB4R partition 2 4.00 MiB
[    7.294162] mmcblk0rpmb: mmc0:0001 BJNB4R partition 3 4.00 MiB, chardev (241:0)
[    7.313604]  mmcblk0: p1 p2 p3
With 5.0 it detects the same + a microSD card plugged into the card reader slot:

Code: Select all

[   13.913752] mmc1: new ultra high speed DDR50 SDXC card at address e624
[   13.916399] mmcblk1: mmc1:e624 SL64G 59.5 GiB
[..]
[   13.931120]  mmcblk1: p1
what I actually needed.

elfuego
Posts: 4
Joined: 2019/03/25 13:49:50

Re: [SOLVED] Need driver for microSD card reader for Zotac ZBOX PI330

Post by elfuego » 2021/10/09 16:03:53

Btw, all the same is with the current CentOS 8: I had to install the kernel 5, the stock one still doesn't work with the card reader.

Post Reply