From owner-freebsd-stable@freebsd.org Sun Oct 16 21:40:45 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 65A75C13A13 for ; Sun, 16 Oct 2016 21:40:45 +0000 (UTC) (envelope-from george+freebsd@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 076951ACA for ; Sun, 16 Oct 2016 21:40:44 +0000 (UTC) (envelope-from george+freebsd@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 u9GLeZRH040661; Sun, 16 Oct 2016 17:40:41 -0400 (EDT) (envelope-from george+freebsd@m5p.com) Subject: Re: Clandestine USB SD card slot To: Warner Losh , Warren Block References: <832db721-d03a-a21e-11ed-701190140d17@yahoo.com> <2bf09be6-e2ad-2d38-ffd8-d80b45d4c3d8@m5p.com> <82d2acb3-12cd-678e-c90a-21b9d62b5721@m5p.com> Cc: FreeBSD Stable Mailing List From: George Mitchell Message-ID: Date: Sun, 16 Oct 2016 17:40:35 -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: 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 17:40:42 -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 21:40:45 -0000 On 10/16/16 14:16, Warner Losh wrote: > On Sun, Oct 16, 2016 at 12:08 PM, Warren Block wrote: >> On Sun, 16 Oct 2016, George Mitchell wrote: >> >>>> 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 >> >> >> Is a device created for the empty reader? It's worth trying to force a >> retaste of that device with 'true > /dev/daX' after the card is inserted. > > Don't look for da anything. Look for mmcsd something. The sdhci_pci > driver provides disks that are mmcsdX. Looks like card change > interrupts aren't happening, or there's something else making the > driver unhappy with the SDHCI controller though... > > Warner > [...] No /dev/mm*; no log output on card insertion/removal even with sysctl hw.sdhci.debug=1. Other sysctl info: sysctl -a | grep sdhci device sdhci hw.sdhci.enable_msi: 1 hw.sdhci.debug: 1 dev.sdhci_pci.0.%parent: pci0 dev.sdhci_pci.0.%pnpinfo: vendor=0x1022 device=0x7813 subvendor=0x1025 subdevice=0x0865 class=0x080501 dev.sdhci_pci.0.%location: pci0:0:20:7 dev.sdhci_pci.0.%driver: sdhci_pci dev.sdhci_pci.0.%desc: Generic SD HCI dev.sdhci_pci.%parent: -- George