From owner-freebsd-current@freebsd.org Thu Sep 6 10:33:41 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CE6BAFF61AB for ; Thu, 6 Sep 2018 10:33:41 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from out.alvermark.net (out.alvermark.net [185.34.136.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 58DE7702B0 for ; Thu, 6 Sep 2018 10:33:41 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from c-42bc70d5.06-431-73746f70.bbcust.telenor.se ([213.112.188.66] helo=mail.alvermark.net) by out.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1fxrbY-000KOi-8v for freebsd-current@FreeBSD.org; Thu, 06 Sep 2018 12:33:40 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alvermark.net; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version: Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=eV7Lq/X0BE3e69M6nQ8RaURclvnNoZastPmx+UFMryo=; b=IuBmAj4RjNvH43zmz80RX3CtqV 1IDN3WrkV62KJxm6eLurIeBYIp90HfeWJZEvdcX/aEtXEj8VdMTeOc1qwEGnWutG+oSVhsA9n2yWL Bqd3maRjiycW4Bk9a37vkuBQCTCJD/rvQos26eJLx6WgtqB8HH3+zVthmdayk0NY6PiU92yLeTLtM ygUNcmR1G32XIaC44MkrVaoZQaSmbnIfqOZhfK5J1cBsD+NFwJb9pGNVRfHbWjx4VY5z2TxH1QLsu nzrFs76x5yUVqpR5FzfmywiVYGfu+vOkQPYlfVpYplk6iUIBVDrr9TT4ac+21gc6mq2sTZh5QMs/A qi69NtPw==; Received: from [192.168.67.33] by mail.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1fxrbX-0001IK-PL for freebsd-current@FreeBSD.org; Thu, 06 Sep 2018 12:33:39 +0200 To: FreeBSD Current From: Jakob Alvermark Subject: SD card reader only works after a suspend/resume Message-ID: <34659383-981f-e627-dfaa-d486685a11f5@alvermark.net> Date: Thu, 6 Sep 2018 12:33:39 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2018 10:33:42 -0000 Hi, I discovered this by chance. The SD card reader in my laptop has never worked, but now I noticed it does after suspending and resuming. The controller is probed and attached on boot: sdhci_acpi1: iomem 0x90a00000-0x90a00fff irq 47 on acpi0 But nothing happens if I put a card in. Unless I suspend and resume: mmc1: on sdhci_acpi1 mmcsd0: 32GB at mmc1 50.0MHz/4bit/65535-block Then I can remove and replug cards and it seems to work just fine. Jakob