From owner-freebsd-questions@freebsd.org Thu Sep 3 11:58:44 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 88D743E3248 for ; Thu, 3 Sep 2020 11:58:44 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bhzq714YHz4JxH for ; Thu, 3 Sep 2020 11:58:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.8.36.163]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPA (Nemesis) id 1MMnnm-1jxEwF3NfI-00IiMi; Thu, 03 Sep 2020 13:58:39 +0200 Date: Thu, 3 Sep 2020 13:58:39 +0200 From: Polytropon To: Luciano Mannucci Cc: freebsd-questions@freebsd.org Subject: Re: Laptop SD memory reader Message-Id: <20200903135839.3fa9712e.freebsd@edvax.de> In-Reply-To: <4BhzMQ037Xz1ftWd@baobab.bilink.it> References: <4BhzMQ037Xz1ftWd@baobab.bilink.it> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:Wa23iNO/fts3RlYM+wcqnD/hEkeY9DXeD2DXOhEjED7S+tUfIEJ GVyK5+ix9LrjWoO44L43uTAc7f7WTCafpf3y/JivqwzPSCi3q167XnAOglRtwn/ADiZTTH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4JxH X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.17.10) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [1.46 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; NEURAL_HAM_SHORT(-0.13)[-0.132]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[178.8.36.163:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.41)[-0.411]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.40)[-0.401]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.17.10:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.17.10:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2020 11:58:44 -0000 On Thu, 3 Sep 2020 13:37:35 +0200, Luciano Mannucci wrote: > I have a Toshiba Satellite laptop happily running freeBSD 12.1 RELEASE > with an SD memory slot. If I insert an SD memory chip in it, nothing > seems to happen. That is to be expected. > Do I have any chance to make it work? Probably yes. There is a procedure for that, even though it is a little inconvenient. :-) > I think that the relevant part of my pciconf -lv may be: > > sdhci_pci0@pci0:0:20:7: class=0x080501 card=0xf9251179 chip=0x78131022 rev=0x01 hdr=0x00 > vendor = 'Advanced Micro Devices, Inc. [AMD]' > device = 'FCH SD Flash Controller' > class = base peripheral > subclass = SD host controller > > Is there a device node associated with that? Yes, it's usually a "da" device, like /dev/da0. Check the output of "dmesg | grep ^da" as well as of "camcontrol devlist". For most card readers to work as intended, the medium needs to be "re-tasted": # true > /dev/da0 Now it can be mounted, as the partitions it contains will appear as device entries that can be mounted. Example: # ls /dev/da* /dev/da0 # true > /dev/da0 # ls /dev/da* /dev/da0 /dev/da0s1 # mount -t msdosfs -o ro /dev/da0s1 /mnt ... # umount /mnt This will also work with automounters, in case you're using one of those. The "re-taste" command needs to be repeated if the card is changed. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...