From owner-freebsd-stable@freebsd.org Sun Oct 16 13:26:44 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ABD53C123E2; Sun, 16 Oct 2016 13:26:44 +0000 (UTC) (envelope-from george@m5p.com) Received: from mailhost.m5p.com (mailhost.m5p.com [IPv6:2001:418:3fd::f7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6D1641464; Sun, 16 Oct 2016 13:26:44 +0000 (UTC) (envelope-from george@m5p.com) Received: from [10.100.0.31] (haymarket.m5p.com [10.100.0.31]) by mailhost.m5p.com (8.14.5/8.14.5) with ESMTP id u9GDQb2A037652; Sun, 16 Oct 2016 09:26:42 -0400 (EDT) (envelope-from george@m5p.com) Subject: Re: Clandestine USB SD card slot To: Anthony Jenkins , freebsd-usb@freebsd.org, FreeBSD Stable Mailing List References: <832db721-d03a-a21e-11ed-701190140d17@yahoo.com> <2bf09be6-e2ad-2d38-ffd8-d80b45d4c3d8@m5p.com> Reply-To: George Mitchell From: George Mitchell Message-ID: <82d2acb3-12cd-678e-c90a-21b9d62b5721@m5p.com> Date: Sun, 16 Oct 2016 09:26:37 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <2bf09be6-e2ad-2d38-ffd8-d80b45d4c3d8@m5p.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.73 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (mailhost.m5p.com [10.100.0.247]); Sun, 16 Oct 2016 09:26:43 -0400 (EDT) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Oct 2016 13:26:44 -0000 Whoops, I should send this to freebsd-stable instead of freebsd-usb. Sorry! -- George On 10/16/16 09:22, George Mitchell wrote: > On 10/15/16 23:10, Anthony Jenkins wrote: >> On 10/15/16 18:28, George Mitchell wrote: >>> FreeBSD 10.3-RELEASE-p7 #0: Thu Aug 11 18:38:15 UTC 2016 >>> Acer Aspire E15 >>> There is a slot on the front of this laptop which sure looks like an >>> SD card slot, which I hope corresponds to one of these: >>> >>> ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) >>> pwr=SAVE (0mA) >>> ugen0.1: at usbus0, cfg=0 md=HOST spd=SUPER >>> (5.0Gbps) pwr=SAVE (0mA) >>> ugen2.1: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) >>> pwr=SAVE (0mA) >>> ugen1.2: at usbus1, cfg=0 md=HOST >>> spd=HIGH (480Mbps) pwr=SAVE (100mA) >>> ugen2.2: at usbus2, cfg=0 md=HOST >>> spd=HIGH (480Mbps) pwr=SAVE (100mA) >>> ugen0.2: at usbus0, cfg=0 md=HOST >>> spd=SUPER (5.0Gbps) pwr=ON (224mA) >>> ugen1.3: at usbus1, cfg=0 md=HOST spd=FULL >>> (12Mbps) pwr=SAVE (100mA) >>> ugen2.3: at usbus2, cfg=0 md=HOST >>> spd=FULL (12Mbps) pwr=ON (100mA) >>> ugen1.4: at usbus1, cfg=0 md=HOST >>> spd=LOW (1.5Mbps) pwr=ON (100mA) >>> ugen1.5: at usbus1, cfg=0 md=HOST spd=FULL >>> (12Mbps) pwr=SAVE (100mA) >>> ugen1.6: at usbus1, cfg=0 md=HOST >>> spd=FULL (12Mbps) pwr=ON (100mA) >>> ugen1.7: at usbus1, cfg=0 md=HOST >>> spd=FULL (12Mbps) pwr=ON (100mA) >>> ugen1.8: at usbus1, cfg=0 md=HOST >>> spd=HIGH (480Mbps) pwr=ON (500mA) >>> >>> But inserting a card into the slot produces no results, even with >>> sysctl hw.usb.umass.debug=1 hw.usb.ugen.debug=1 hw.usb.dev.debug=1. >>> (sysctl hw.usb.debug=1 produces way too much output all the time.) >>> Any suggestions on how I can get this slot to overcome its shyness? >>> (I am not subscribed to the list; please CC me.) -- George >> Your card reader is probably on the PCI bus (and likely not supported by >> FreeBSD); I couldn't find any of your USB Pid:Vids as card readers. >> >> [ajenkins@ajenkins-hplaptop ~]$ pciconf -lv >> ... >> none2@pci0:3:0:0: class=0xff0000 card=0x1995103c chip=0x522910ec >> rev=0x01 hdr=0x00 >> vendor = 'Realtek Semiconductor Co., Ltd.' >> device = 'RTS5229 PCI Express Card Reader' >> >> Anthony Jenkins >> > Ah! It didn't occur to me to run pciconf. "pciconf -lv" shows this: > > sdhci_pci0@pci0:0:20:7: class=0x080501 card=0x08651025 chip=0x78131022 > rev=0x01 hdr=0x00 > vendor = 'Advanced Micro Devices, Inc. [AMD]' > device = 'FCH SD Flash Controller' > class = base peripheral > subclass = SD host controller > > So not only is it (apparently) recognized, but the sdhci_pci driver > attached to it! But inserting or removing a card shows no activity. > What's my next step? -- George >