29.04.2024, 11:26 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

SD-Cardreader does not get automounted


Some people have SD-Cardreaders in their Notebooks which are PCI-Devices internally.
An example is mine here, lspci says:

15:00.2 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 18)

Well, when i put in an SD-Card, just nothing happens. Normally it should work just like it does with USB-Sticks or even USB-Cardreaders.
I know my System sees the cardreader because lsmod lists the modules "mmc_core" and "sdhci".

Well, as describes above, it does not automount how it should, this is due to a BUG.
The workaround is simple, put the card in, unload the modules, and load them again while the card is inserted.

This can easily be scripted like this:

#!/bin/bash

modprobe -r sdhci mmc_block mmc_core
modprobe mmc_core
modprobe mmc_block

put this in a file, for example "sdscript" and make it executeable.
To be able to use this as mormal user you can either use "sudo" or make it "setuid" and simply make a shortcut on your desktop.

ok, its not that convenient like an usb-stick, you still have to cklick on the desktop-icon after inserting the card, but it is a quite simple workaround until the bug is fixed!

have fun.

Ge0rgy?
XML Revisions of $tag
Seiten-History :: Letzter Editor : Georgy :: Eigentümer : Georgy ::
Powered by pnWikka 1.0
 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.