LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   how to enable mmc card ? (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/how-to-enable-mmc-card-523838/)

jabka 01-29-2007 02:46 PM

how to enable mmc card ?
 
Good evening ,...
i have acer 5102 wlmi with debian unstable
i have loaded the next modules :
Code:

shdci
mmc_block
usb_storge

but im unable to see any events when i plug in cards :
Code:

sdhci: Secure Digital Host Controller Interface driver, 0.12
sdhci: Copyright(c) Pierre Ossman
sdhci: SDHCI controller found at 0000:06:04.2 [1524:0550] (rev 1)
PCI: Enabling device 0000:06:04.2 (0000 -> 0002)
ACPI: PCI Interrupt 0000:06:04.2[B] -> GSI 23 (level, low) -> IRQ 233
mmc0: SDHCI at 0xc0202800 irq 233 DMA

but no events appear in dmesg .

the kernel is :
2.6.18-3-k7

and my lspci:
Code:

debian:/home/mha13# lspci
00:00.0 Host bridge: ATI Technologies Inc RS480 Host Bridge (rev 10)
00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:04.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:05.0 PCI bridge: ATI Technologies Inc Unknown device 5a37
00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80)
00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80)
00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller (rev 80)
00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 83)
00:14.1 IDE interface: ATI Technologies Inc Standard Dual Channel PCI IDE Controller ATI (rev 80)
00:14.2 Audio device: ATI Technologies Inc SB450 HDA Audio (rev 01)
00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge (rev 80)
00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (rev 80)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:05.0 VGA compatible controller: ATI Technologies Inc RS482 [Radeon Xpress 200M]
06:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
06:02.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
06:04.0 CardBus bridge: ENE Technology Inc CB-712/4 Cardbus Controller (rev 10)
06:04.1 FLASH memory: ENE Technology Inc ENE PCI Memory Stick Card Reader Controller (rev 01)
06:04.2 Generic system peripheral [0805]: ENE Technology Inc ENE PCI Secure Digital Card Reader Controller (rev 01)
06:04.3 FLASH memory: ENE Technology Inc FLASH memory: ENE Technology Inc: (rev 01)
06:04.4 FLASH memory: ENE Technology Inc Unknown device 0551 (rev 01)

when i try use cardmgr :

Code:

debian:/home/mha13# cardmgr
cardmgr[4289]: could not adjust resource: IO ports 0x100-0x4ff: Function not implemented
cardmgr[4289]: could not adjust resource: IO ports 0x800-0x8ff: Function not implemented
cardmgr[4289]: could not adjust resource: IO ports 0xc00-0xcff: Function not implemented
cardmgr[4289]: could not adjust resource: memory 0xc0000-0xfffff: Function not implemented
cardmgr[4289]: could not adjust resource: memory 0xa0000000-0xa0ffffff: Function not implemented
cardmgr[4289]: could not adjust resource: memory 0x60000000-0x60ffffff: Function not implemented
cardmgr[4289]: could not adjust resource: IO ports 0xa00-0xaff: Function not implemented

thnx you in advance ..

biophysics 02-01-2007 08:27 AM

OK loading modules is fine. Now you have to create devices to access it. It you have a recent kernel it should automatically create some devices.

1. Load module
2. insert a SD/MMC card
3. Check dmesg - it should show some devices with names like /dev/sda1 /dev/mmcXXXX something like that.

Alternatively, see:
http://members.inode.at/g.schild/DIV/Winbond-howto.html
http://mmc.drzeus.cx/wiki/Linux/Drivers/wbsd

jabka 02-04-2007 01:43 AM

as saud in the first thread:
after inserting an sd card no new events.
also no /dev/mmc*

thnx anyway ...

yodermk 02-05-2007 07:09 PM

It might be that Linux doesn't support certain kinds of flash memory at all.

I have an external USB card reader. I can read CF cards just fine, but never had any luck with MMC. MMC works fine when I connect it to my Powerbook.

kebbuck 02-07-2007 02:53 PM

Something to try ... I found that even though the default modules loaded after enabling them in the kernel (mmc_core and sdhci) I also had to load mmc_block. As soon as I did that dmesg showed a block device and partition added. Was able to mount it and use it with no problems.

sdhci: Secure Digital Host Controller Interface driver, 0.12
sdhci: Copyright(c) Pierre Ossman
sdhci: SDHCI controller found at 0000:03:01.2 [1180:0822] (rev 17)
ACPI: PCI Interrupt 0000:03:01.2[C] -> GSI 17 (level, low) -> IRQ 18
mmc0: SDHCI at 0xdfcfc700 irq 18 DMA

(this appeared after loading mmc_block)

mmcblk0: mmc0:e624 SD512 495488KiB
mmcblk0: p1

Good luck. I'd been waiting for a while for support for my chipset.


All times are GMT -5. The time now is 04:48 AM.