From owner-freebsd-mobile@FreeBSD.ORG Thu Nov 6 16:25:17 2008 Return-Path: Delivered-To: freebsd-mobile@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C3A0106568C; Thu, 6 Nov 2008 16:25:17 +0000 (UTC) (envelope-from lars.engels@0x20.net) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb::3]) by mx1.freebsd.org (Postfix) with ESMTP id 691958FC14; Thu, 6 Nov 2008 16:25:16 +0000 (UTC) (envelope-from lars.engels@0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mail.0x20.net (Postfix) with ESMTP id 0E48B3A66A; Thu, 6 Nov 2008 17:25:15 +0100 (CET) Received: from i011-63.fin-nrw.de (i011-63.fin-nrw.de [193.109.238.130]) by 0x20.net (Horde MIME library) with HTTP; Thu, 06 Nov 2008 17:25:14 +0100 Message-ID: <20081106172514.jbrq7aa8g0cowk4k@0x20.net> X-Priority: 3 (Normal) Date: Thu, 06 Nov 2008 17:25:14 +0100 From: Lars Engels To: Alexander Motin References: <48DEA8E7.2080503@FreeBSD.org> <20081106153059.1sf731434swc84so@0x20.net> <49130918.5030904@FreeBSD.org> <20081106163729.clcw2eulgk0k4w0c@0x20.net> <49131109.2020601@FreeBSD.org> In-Reply-To: <49131109.2020601@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=_7e4bwz4uewow"; protocol="application/pgp-signature"; micalg="pgp-sha1" Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) Cc: freebsd-arm@FreeBSD.org, freebsd-current@freebsd.org, imp@FreeBSD.org, freebsd-mobile@FreeBSD.org Subject: Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2008 16:25:17 -0000 This message is in MIME format and has been PGP signed. --=_7e4bwz4uewow Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoting Alexander Motin : > Lars Engels wrote: >> 1. How can I tune the PCI configuration? With pciconf -w or so? > > Yes. `pciconf -r -b device addr` to read and `pciconf -w -b device addr > value` to write. Okay, so do you think I need to take the device of the first sdhci =20 device or firewire's device like in the thread you mentioned? I should then set the value to 0x20 I guess? Which address do I need to use? FYI here is the pciconf -lv output with firewire and sdhci: fwohci0@pci0:2:6:2: class=3D0x0c0010 card=3D0x30c3103c chip=3D0x08321180= =20 rev=3D0x03 hdr=3D0x00 vendor =3D 'Ricoh Company, Ltd.' device =3D 'unknown IEEE 1394 (4 pin firewire) chip)' class =3D serial bus subclass =3D FireWire sdhci0@pci0:2:6:3: class=3D0x080500 card=3D0x30c3103c chip=3D0x08221180= =20 rev=3D0x20 hdr=3D0x00 vendor =3D 'Ricoh Company, Ltd.' device =3D 'R5C832, R5C843 SDA Standard Compliant SD Host Controlle= r' class =3D base peripheral none2@pci0:2:6:4: class=3D0x088000 card=3D0x30c3103c chip=3D0x08431180= =20 rev=3D0x10 hdr=3D0x00 vendor =3D 'Ricoh Company, Ltd.' device =3D 'unknown Ricoh MMC Host Controller' class =3D base peripheral >> 2. Unfortunately the sysctl did not change a thing with regard to the >> Card reader. > > Have you added it to the loader.conf and rebooted? Yes, but without result. >> 3. I added the chip ID and the second device is now recognized as a >> sdhci device but still does not see any card inserted: >> >> Nov 6 16:32:20 NB0117232 kernel: sdhci1: Hardware doesn't specify base >> clock frequency. >> Nov 6 16:32:20 NB0117232 kernel: sdhci1: Hardware doesn't specify >> timeout clock frequency. >> Nov 6 16:32:20 NB0117232 kernel: sdhci1: Hardware doesn't report any >> support voltages. > > Looks like it is not enough compatible, or even not compatible. Too bad... --=_7e4bwz4uewow Content-Type: application/pgp-signature Content-Description: Digitale PGP-Unterschrift Content-Disposition: inline Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkkTGmoACgkQKc512sD3afiOtgCgwq1zN5MV8FYunnnjJ/2nV4ST tBsAnRylL/9oSiPuaCuCrONRoV4KsmkO =jRvX -----END PGP SIGNATURE----- --=_7e4bwz4uewow--