# Mangoh Yellow SD Card not working

**URL:** <https://mangoh.discourse.group/t/mangoh-yellow-sd-card-not-working/3501>\
**Category:** mangOH Yellow\
**Created:** [January 21, 2020, 4:36am UTC](https://mangoh.discourse.group/t/mangoh-yellow-sd-card-not-working/3501 "2020-01-21T04:36:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tlistoe](https://avatars.discourse-cdn.com/v4/letter/t/d26b3c/32.png) [@tlistoe](https://mangoh.discourse.group/u/tlistoe)\
**Post date:** [January 21, 2020, 4:36am UTC](https://mangoh.discourse.group/t/mangoh-yellow-sd-card-not-working/3501/1 "2020-01-21T04:36:56Z")

</div>

Hi,

I am trying to mount an SD Card in the uSD slot on the mangoh yellow. I have the SD Card formatted and installed. I have SDIO\_SEL2 (SW8) switched on per the HW architecture doc. I have rebooted the module. there is no mmc device showing up in /dev and i don’t see any entries in dmesg that indicated a device is being detected. hopefully i am missing something trivial to get this working.

---

<div class="post-metadata">

**Author:** ![tlistoe](https://avatars.discourse-cdn.com/v4/letter/t/d26b3c/32.png) [@tlistoe](https://mangoh.discourse.group/u/tlistoe)\
**Post date:** [March 13, 2020, 3:57am UTC](https://mangoh.discourse.group/t/mangoh-yellow-sd-card-not-working/3501/2 "2020-03-13T03:57:37Z")

</div>

Has anyone had a chance to look at this? anything obvious i am missing?

---

<div class="post-metadata">

**Author:** ![dougbrown](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/dougbrown/32/2006_2.png) [@dougbrown](https://mangoh.discourse.group/u/dougbrown)\
**Post date:** [March 16, 2020, 11:46pm UTC](https://mangoh.discourse.group/t/mangoh-yellow-sd-card-not-working/3501/3 "2020-03-16T23:46:56Z")

</div>

I’m using an SD card in the mangOH yellow. I’ve found that it’s really picky about the brand and type of SD card used. I’ve had good luck with Kingston class 4 cards. I haven’t gotten a single SanDisk card to work at all – they always error out with “mmc0: error -110 whilst initialising SD card”.

I don’t think you have to change any switches on the board. According to the schematic, the SD card being inserted automatically chooses it through the switch.

I think on stock mangOH firmware you have to do `modprobe sdhci-msm`, but my custom build of the firmware has that module built into the kernel instead.

---

<div class="post-metadata">

**Author:** ![mpetersen](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/mpetersen/32/1177_2.png) [@mpetersen](https://mangoh.discourse.group/u/mpetersen)\
**Post date:** [November 17, 2020, 10:49pm UTC](https://mangoh.discourse.group/t/mangoh-yellow-sd-card-not-working/3501/6 "2020-11-17T22:49:38Z")

</div>

@dougbrown, @tlistoe

Running down the same crap.  
Thought I could insert:  
insmod /lib/modules/3.18.140/kernel/drivers/mmc/host/sdhci-msm.ko (or)  
modprobe sdhci-msm  
into “/etc/modules” or somesuch and have the driver load on every boot.

But it’a a no-go. You guys know where this should be placed to be executing during the boot script?

Thanks

---

<div class="post-metadata">

**Author:** ![tlistoe](https://avatars.discourse-cdn.com/v4/letter/t/d26b3c/32.png) [@tlistoe](https://mangoh.discourse.group/u/tlistoe)\
**Post date:** [November 18, 2020, 1:11am UTC](https://mangoh.discourse.group/t/mangoh-yellow-sd-card-not-working/3501/7 "2020-11-18T01:11:12Z")

</div>

Hey,

Yeah I don’t know if my current solution is ideal as it’s a bit of a bodge to get some proof of concept stuff going.

1. Make a shell script that gets bundled with an app and stored as executable using the bundle section in the Component.cdef file. In that script you run the modprobe sdhci-msm command

2. write an app which runs a system command to execute the script from 1. You need to make sure you use the absolute path.

-T

---

<div class="post-metadata">

**Author:** ![asyal](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/asyal/32/78_2.png) [@asyal](https://mangoh.discourse.group/u/asyal)\
**Post date:** [November 19, 2020, 6:03pm UTC](https://mangoh.discourse.group/t/mangoh-yellow-sd-card-not-working/3501/8 "2020-11-19T18:03:10Z")

</div>

List of compatible SD cards for mangoh that we tested are here:

> [@SD Card Issues - error -110 whilst initialising SD card](https://mangoh.discourse.group/t/sd-card-issues-error-110-whilst-initialising-sd-card/2396):
>
> Hello All, I’ve got my mangOH Red up and running with a WP7603 module. I just completed an app using GNSS and threads! Anyway, I decided to try and write some of the location data to the SD card that came with the kit. Unfortunately I couldn’t find the device while SSH’d into it. After some research it looks like the controller is failing to initialize it. Here’s (what I think is) the appropriate dmesg info … [0.835176] sdhci: Secure Digital Host Controller Interface driver [0.835188] …
