Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 21854E00C50; Fri, 4 May 2018 04:33:41 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RDNS_DYNAMIC autolearn=no version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * 1.0 RDNS_DYNAMIC Delivered to internal network by host with * dynamic-looking rDNS Received: from APOLLO-EX16.csoftware.local (176-35-35-244.xdsl.murphx.net [176.35.35.244]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 0F178E00C25 for ; Fri, 4 May 2018 04:33:38 -0700 (PDT) Received: from APOLLO-EX16.csoftware.local (10.1.1.6) by APOLLO-EX16.csoftware.local (10.1.1.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1415.2; Fri, 4 May 2018 12:33:55 +0100 Received: from APOLLO-EX16.csoftware.local ([fe80::f4fe:415e:7ed9:9ee0]) by APOLLO-EX16.csoftware.local ([fe80::f4fe:415e:7ed9:9ee0%13]) with mapi id 15.01.1415.004; Fri, 4 May 2018 12:33:55 +0100 From: Tom Gibson To: "yocto@yoctoproject.org" Thread-Topic: Enabling SD Card Detection for USB SD Card Reader Thread-Index: AdPjmu85XG/+EpnvQNGZkV78sc44Wg== Date: Fri, 4 May 2018 11:33:55 +0000 Message-ID: <957f73cec1664ee293ecca5f6e227e33@csoftware.co.uk> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.1.1.70] x-esetresult: clean, is OK x-esetid: 37303A29CD5E6C6D677367 MIME-Version: 1.0 Subject: Enabling SD Card Detection for USB SD Card Reader X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2018 11:33:41 -0000 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_957f73cec1664ee293ecca5f6e227e33csoftwarecouk_" --_000_957f73cec1664ee293ecca5f6e227e33csoftwarecouk_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, We would like to enable our Yocto distribution to auto-detect when an SD ca= rd is inserted in a USB SD card reader, in much the same way as a card is d= etected on desktop linux such as Ubuntu. We have got our USB card reader wo= rking with the generic-storage driver, but at the moment we have to do some= thing like 'fdisk -l' to refresh the attached storage after a card is inser= ted or removed in order for it to it to be listed in /dev. The card reader = shows up as /dev/sda regardless of whether there is a card present or not, = but the partition on the card only shows up as /dev/sda1 after forcing the = refresh. Any pointers towards which service we need to install to enable this functi= onality appreciated! Regards, Tom Gibson C Software Limited --_000_957f73cec1664ee293ecca5f6e227e33csoftwarecouk_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

We would like to enable our Yocto distribution to au= to-detect when an SD card is inserted in a USB SD card reader, in much the = same way as a card is detected on desktop linux such as Ubuntu. We have got= our USB card reader working with the generic-storage driver, but at the moment we have to do something like= ‘fdisk -l’ to refresh the attached storage after a card is ins= erted or removed in order for it to it to be listed in /dev. The card reade= r shows up as /dev/sda regardless of whether there is a card present or not, but the partition on the card only shows u= p as /dev/sda1 after forcing the refresh.

 

Any pointers towards which service we need to instal= l to enable this functionality appreciated!

 

Regards,<= o:p>

&nbs= p;

Tom Gibso= n

C Softwar= e Limited

 

--_000_957f73cec1664ee293ecca5f6e227e33csoftwarecouk_--