[LEDE-DEV] [PATCH 1/2] apm821xx: detect sd-card media changes for the WNDR4700

Jonas Gorski jonas.gorski at gmail.com
Tue Aug 30 11:04:10 PDT 2016


Hi,

On 30 August 2016 at 19:42, Christian Lamparter <chunkeey at googlemail.com> wrote:
> The insertion or removal of the sd-card cannot be detected
> by the hardware itself. This is by design. To workaround this,
> for the WNDR4700 unload/load the dwc2 module in case the
> the special SD CARD GPIO line is low/high.

is this an actual button? or is this the card-detect signal as a gpio?
If the latter, you should be able to define this as cd-gpios = <&GPIO0
7 1>; in the mmc controller node.


Jonas



More information about the Lede-dev mailing list