28.03.2024, 21:57 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]
Letzte Änderung am 2006-11-17 09:34:55 von kt tested notebook computer manufacturer

Erweiterungen:
reboot

tested successfully:
  • Asus
  • HP
  • Samsung

    Löschungen:
    reboot


    Editiert am 2006-11-07 10:30:50 von kt

    Erweiterungen:
    mcedit /etc/modules-$(uname -r)
adding this 3 Lines:
mmc_block
mmc_core
sdhci
save the File.


Löschungen:
echo mmc_block
/etc/modules-$(uname -r)
echo mmc_core
/etc/modules-$(uname -r)
echo sdhci
/etc/modules-$(uname -r)


Editiert am 2006-11-07 10:27:13 von kt

Erweiterungen:
echo mmc_block
/etc/modules-$(uname -r)
echo mmc_core
/etc/modules-$(uname -r)
echo sdhci
/etc/modules-$(uname -r)


Löschungen:
echo mmc_block
/etc/modules-$(uname -r)
echo mmc_core
/etc/modules-$(uname -r)
echo sdhci
/etc/modules-$(uname -r)


Editiert am 2006-11-07 10:21:45 von kt Hotplug Automount

Erweiterungen:

Laptop Cardreader automount

open console
lspci | grep MMC
00:0a.2 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 17)

An example !, here is the Controller Adess "00:0a.2"
OK KANOTIX has found the Controller, test it for Hotplug:
su ...
modprobe sdhci
setpci -s 00:0a.2 4c=0x22

plugin your SD/MMC card
your desk looks on, Hotplug is working? Yes?
Test this output:
dmesg | grep mmc
mmc0?: SDHCI at 0xfebfa400? irq 201 DMA mmcblk0?: mmc0?:0001 498176KiB?
mmcblk0?: p1

establishing permanently (boot)
echo mmc_block
/etc/modules-$(uname -r)
echo mmc_core
/etc/modules-$(uname -r)
echo sdhci
/etc/modules-$(uname -r)

umount the SD/MMC Card (RMB ...)
remove the Card
reboot


Löschungen:



Editiert am 2006-10-13 10:13:04 von Georgy

Erweiterungen:

#!/bin/bash
modprobe -r sdhci mmc_block mmc_core
modprobe mmc_core
modprobe mmc_block


Löschungen:
#!/bin/bash
      1. -r sdhci mmc_block mmc_core
      2. mmc_core
      3. mmc_block


        Editiert am 2006-10-13 10:12:21 von Georgy

        Löschungen:



        älteste bekannte Version dieser Seite wurde bearbeitet am 2006-10-13 10:11:45 von Georgy [ ]

        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
      1. -r sdhci mmc_block mmc_core
      2. mmc_core
      3. 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?
Letzte Revision :
Letzter Editor :
Eigentümer :
 
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.