should i expect my SD card slot to be supported by a USB driver?
J
dreadpiratejeff at gmail.com
Tue May 24 20:03:46 UTC 2011
On Tue, May 24, 2011 at 14:36, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
>
> in order to goof around and experiment with MMC/SD drivers on my
> laptop running an updated 10.10, i popped in an SD card, then just did
> a "diff" between the output of lsmod both before and after. i was
> expecting to see the load of some module with a name containing maybe
> "sd" or "mmc". instead, here's the output of diff:
>
> 2c2,6
> < usb_storage 49778 0
> ---
>> nls_iso8859_1 4665 1
>> nls_cp437 6383 1
>> vfat 10835 1
>> fat 55328 1 vfat
>> usb_storage 49778 1
>
>
> so this means my SD card slot is being supported by the usb_storage
> driver? i wasn't expecting that. or am i just confused about
> something?
>
> rday
Depends on the reader. Ive seen some card readers (the Richoh ones
come to mind, IIRC) that actually present their individual FUNCTIONS
as block devices, regardless of whether you have a card plugged in or
not.
For example, if it supports SD, SDHC, and MMC, the kernel will
actually show in sysfs three block devices sdb, sdc, and sdd, for each
of those functions and that screws up some automated things that are
looking at sysfs for block devices.
Other readers function as USB devices and do not appear to the system
until a card is inserted.
So no, you're not seeing anything terribly unusual.
More information about the ubuntu-users
mailing list