lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080318134759.04450604@mjolnir.drzeus.cx>
Date:	Tue, 18 Mar 2008 13:47:59 +0100
From:	Pierre Ossman <drzeus-mmc@...eus.cx>
To:	"Wappler Marcel" <Marcel.Wappler@...dgeco.net>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: MMC: Card detection through pin CD/DAT3 issue

On Tue, 18 Mar 2008 13:24:33 +0100
"Wappler Marcel" <Marcel.Wappler@...dgeco.net> wrote:

> 
> I have found this requirement in the SD host controller spec:
> "The card detect is active regardless of the SD Bus Power."
> 
> I wonder how the card should be able to pull up the CD/DAT3 Pad to VCC
> if its only VCC pad is not connected to VCC due to the fact that the host
> controller has switched off the cards power - any idea how this could be
> managed?

It could provide a very low voltage and current, just enough to probe the resistor but not enough to actually power anything on the card.

> 
> There is a SD card spec section somewhere which statet that:
> "If one of the supply pins (VDD or VSS) is not connected properly, then
> the current is drawn through a data line to supply the card."
> 
> Maybe this is the key in understanding ho the pull up without VCC connected
> works?
> 

I think that's just a warning that the supply pins need to be grounded when power is disabled. I have a controller where they are left floating, and some cards do indeed power up using power from the data line pull-ups. The end results is a heavily malfunctioning card due to insufficient power supply.

Most of this card detection using DAT3 business is unknown to me. The spec that describes how it is supposed to work is not publicly available, so I can only speculate.

Rgds
-- 
     -- Pierre Ossman

  Linux kernel, MMC maintainer        http://www.kernel.org
  PulseAudio, core developer          http://pulseaudio.org
  rdesktop, core developer          http://www.rdesktop.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ