Ho un laptop Acer Aspire 5685 che contiene un lettore di memory card di vari formati (SD, memory stick, etc.).
Come faccio ad usarlo con Slackware 11 ?
Grazie in anticipo per l'aiuto.
Moderatore: Staff

06:01.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller

pino_otto ha scritto:Ho un laptop Acer Aspire 5685 che contiene un lettore di memory card di vari formati (SD, memory stick, etc.).
Come faccio ad usarlo con Slackware 11 ?
Grazie in anticipo per l'aiuto.



zappa ha scritto:pino_otto ha scritto:Ho un laptop Acer Aspire 5685 che contiene un lettore di memory card di vari formati (SD, memory stick, etc.).
Come faccio ad usarlo con Slackware 11 ?
Grazie in anticipo per l'aiuto.
Io non ricordo di aver abilitato nulla nel kernel, a parte tutto quello che riguarda le penne usb: ahci, usb_mass_storage (credo che si chiamino cosi) ecc....
Semplicemente metto la scheda mmc del mio nokia6630 e la monto come e fosse una pennina, ovviamente do dmesg | tail per vedere che device le viene assegnato...........
Insomma come se fosse una penna usb e basta........![]()
Spero di esserti stato di aiuto.

root@slackware:/home/ezio# dmesg | tail
scsi singledevice 0 0 2 0
scsi singledevice 0 0 3 0
scsi singledevice 0 0 4 0
scsi singledevice 0 0 5 0
scsi singledevice 0 0 6 0
scsi singledevice 0 0 7 0
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
lp0: using parport0 (polling).
cs: memory probe 0xa0000000-0xa0ffffff: clean.
00:09.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
Subsystem: ASUSTeK Computer Inc. Unknown device 1927
Flags: bus master, medium devsel, latency 168, IRQ 11
Memory at 20000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
Memory window 0: 20c00000-20fff000 (prefetchable)
Memory window 1: 21000000-213ff000
I/O window 0: 00004800-000048ff
I/O window 1: 00004c00-00004cff
16-bit legacy interface ports at 0001
00:09.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
Subsystem: ASUSTeK Computer Inc. Unknown device 1927
Flags: bus master, medium devsel, latency 168, IRQ 10
Memory at 20001000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=06, subordinate=09, sec-latency=176
Memory window 0: 20400000-207ff000 (prefetchable)
Memory window 1: 20800000-20bff000
I/O window 0: 00004000-000040ff
I/O window 1: 00004400-000044ff
16-bit legacy interface ports at 0001




mknod mmcblk b 254 0
mknod mmcblk0p1 b 254 1

20060726 Ricoh 5-in-1 card reader
To get the device working, some patches have to be applied to the kernel source and the kernel has to be re-installed. The kernel I compiled with was 2.6.16.21-0.13. The patches I used can be found here:
http://list.drzeus.cx/pipermail/sdhci-d ... 00465.html (follow the links).
But for your convenience you can download them here: http://imaging.ugent.be/mr/Suse/Files/p ... regs.patch and http://imaging.ugent.be/mr/Suse/Files/sdhci-new.patch
This is ho I did this:
First, cd to the /usr/src/linux directory, and become root, rename the old sdhci.c and sdhci.h files, patch and configure:
# mv drivers/mmc/sdhci.c drivers/mmc/sdhci.c.old; mv drivers/mmc/sdhci.h drivers/mmc/sdhci.h.old
# patch -p1 < $path_to_the_patches_on_your_system/pci-ids-regs.patch
# patch -p1 < $path_to_the_patches_on_your_system/sdhci-new.patch
# make cloneconfig
# make xconfig
In the menu of the kernel configurator, go to the "MMC/SD card support" section and change to this:
<*> MMC support
[ ] MMC debugging
<*> MMC block device driver
<*> Secure Digital Host Controller Interface support (EXPERIMENTAL)
< > Winbond W83L51xD SD/MMC Card Interface support
Then save the .config file by applying 'save' and continue by building the kernel and modules as described here.
After a reboot, the card reader was detected, but I had to manually load the module mmc_block before any inserted MMC/SD card was detected as a regular block device. I tried a MMC PLUS card, but that was not successful (yet). I did not yet try a memory stick.
To fully automate the module loading upon boot, add these line to your /etc/modprobe.conf.local
# MMC/SD card module loading
install sdhci /sbin/modprobe mmc_block ; /sbin/modprobe --ignore-install sdhci
remove sdhci /sbin/modprobe -r --ignore-remove sdhci ; /sbin/modprobe -r mmc_block


Visitano il forum: Nessuno e 1 ospite