On Tuesday, August 30, 2016 8:04:10 PM CEST Jonas Gorski wrote: > Hi, > > On 30 August 2016 at 19:42, Christian Lamparter <[email protected]> > 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? The latter. The GL827L [0] Chip on the WNDR4700 has a dedicated SD_CDZ (SD Card Detect) pin which is connected to the SoC's GPIO controller.
> If the latter, you should be able to define this as cd-gpios = <&GPIO0 > 7 1>; in the mmc controller node. Sadly no. The GL827L emulates a USB Storage Class device and is supported by usb-storage and nothing else. Regards, Christian [0] <http://www.genesyslogic.com/en/product_view.php?show=9> _______________________________________________ Lede-dev mailing list [email protected] http://lists.infradead.org/mailman/listinfo/lede-dev
