Ubuntu – exFAT micro SD not detected Ubuntu 18.04.1

18.04exfatsd card

128GB Micro SD card with exFAT partition does not get detected on my Ubuntu 18.04.1. I have installed exfat-fuse and exfat-utils but nothing happened when I try to reinsert the card. I can't see the card either from mount and lsblk command. The card works fine on Windows 10.

UPDATE

Following this post I think I found the device by doing lspci but it is marked as Unassigned

3b:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd.
RTS525A PCI Express Card Reader (rev 01)

It says that the driver is not available for used kernel which in my case from uname -r my kernel version is 4.15.0-45-generic

Best Answer

I have had the same or similar issue: that the SD-card was not detected.

Side note: The "Unassigned class [00ff]" seems to be part of the name of the device. This article has the same report from the lspci and the driver/device is reported as working.

The card had been detected earlier (during the same session), but after being removed (once or twice) it was not detected anymore. After a reboot it was detected again, but after a few mounts and unmounts, it did not respond anymore.

After scanning the /sys/ folder I found that several uevent files for mmc devices only had write-access, and that was only for the root user. (Scan command: find /sys -iname \*mmc\* | sed 's#$#/uevent#' | xargs ls -l) The other had read-access for all. So I gave all the mmc uevent files the same access:

find /sys -iname \*mmc\* | sed s#$#/uevent# | xargs sudo chmod a+r 

After this the SD card is detected all the time but it seems that I have to do lspci or a file browser to help the drivers enumerating/removing the partitions.

I have not found any way for automatic enumeration yet.

EDIT: It now works for me. I have no idea what caused it to work now. Below I have written what I did.
NOTE 1: My normal working environment is Unity with lightdm (gdm is removed).
NOTE 2: I cannot remember if I did reboot my machine between my first version of this answer and the reboots described below. Not I guess. NOTE 3: This did not work before the reboots described below.

  1. I rebooted into a Live Ubuntu 18.04 (USB stick). I entered the SD card and it worked.
  2. (I also rebooted into the BIOS to turn on the network which I believe was turned off before doing the reboot and therefore was not detected after reboot. I cannot remember that I touched any SD card or related settings.)
  3. I rebooted into Ubuntu with XWayland, lightdm and Gnome Shell. It worked right away.
  4. I rebooted into Ubuntu with Xorg, lightdm and Gnome Shell. Once again it worked right away.
  5. I rebooted into Ubuntu with Xorg, lightdm and Unity. It still worked right away.

Possible indirect or direct causes that made it work. * Most certainly the adding of read access did influence this. * Maybe some other unknown changes * The reboot * And possibly running the Live installation. My guess is that the first and the third point are the important ones.

Related Question