Skip to contentSkip to conversation

My SD Card Reader cannot read SDHC cards

DISCUSSION Richard Yao 2 participants 3 messages Dec 1, 2012

lore
Share & tools
lore
#0 lore raw

I have the following SD Card Reader:

http://support.dell.com/support/edocs/monitors/2405fpw/en/about.htm#Card
Reader Specificatoins

It is identified as the following in lsusb:

Bus 002 Device 007: ID 0424:223a Standard Microsystems Corp. 8-in-1 Card Reader

I have a LG microSD Card adapter that came with a LG Optimus V and a 4GB Kingston SDHC microSD card. I also have a 2GB SDSC card that works. When using the microSD card with the adapter, nothing immediate happens. The following messages appear in dmesg when I do fdisk -lu /dev/sde:

[ 2075.817148] usb 2-4.2: reset high-speed USB device number 7 using
ehci_hcd
[ 2106.777063] usb 2-4.2: reset high-speed USB device number 7 using
ehci_hcd
[ 2116.973078] usb 2-4.2: reset high-speed USB device number 7 using
ehci_hcd
[ 2133.171089] usb 2-4.2: reset high-speed USB device number 7 using
ehci_hcd
[ 2133.369081] usb 2-4.2: reset high-speed USB device number 7 using
ehci_hcd
[ 2143.565096] usb 2-4.2: reset high-speed USB device number 7 using
ehci_hcd
[ 2143.688984] sd 10:0:0:3: Device offlined - not ready after error recovery
[ 2174.889137] usb 2-4.2: reset high-speed USB device number 7 using
ehci_hcd
[ 2185.801154] usb 2-4.2: reset high-speed USB device number 7 using
ehci_hcd
[ 2196.777168] usb 2-4.2: reset high-speed USB device number 7 using
ehci_hcd
[ 2207.785189] usb 2-4.2: reset high-speed USB device number 7 using
ehci_hcd
[ 2238.825093] usb 2-4.2: reset high-speed USB device number 7 using

ehci_hcd

Would someone provide me with a brief description of where the code that talks to the SD Card reader lives in Linus' tree and how it works? I am not familiar with this subsystem, so I need some pointers before I can look into whether or not I can make it work.

#1 lore raw
Quoted 2 lines · Richard Yao

Standard Microsystems Corp. 8-in-1 Card
Reader

Does that card reader support SDHC cards? The older readers don't
support >2GB (ie sdhc)
cards, and that would mean a 2GB card works and the 4GB or larger ones won't.

#2 lore raw
Quoted 7 lines · Roger Heflin
Quoted 2 lines · Richard Yao

Standard Microsystems Corp. 8-in-1 Card
Reader

Does that card reader support SDHC cards? The older readers don't
support >2GB (ie sdhc)
cards, and that would mean a 2GB card works and the 4GB or larger ones won't.

SDHC is defined in version 2.0 of the Secure Digital specification, which did not exist when this card reader was made. From what I have read, the main difference aside from additional space is a change in the format of the Card-Specific Data register. Newer SD Card readers have no problem handling both formats and I expect that it is possible to modify older SD Card Readers to support it.

I am not familiar with the subsystem involved, so I need some pointers before I can start looking at it.