LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 01-29-2007, 02:46 PM   #1
jabka
Member
 
Registered: Sep 2005
Distribution: Debian unstable && Kazit (reformated knoppix)
Posts: 194

Rep: Reputation: 31
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 ..
 
Old 02-01-2007, 08:27 AM   #2
biophysics
Member
 
Registered: Jan 2002
Location: Germany
Distribution: Kubuntu
Posts: 444

Rep: Reputation: 30
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
 
Old 02-04-2007, 01:43 AM   #3
jabka
Member
 
Registered: Sep 2005
Distribution: Debian unstable && Kazit (reformated knoppix)
Posts: 194

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

thnx anyway ...
 
Old 02-05-2007, 07:09 PM   #4
yodermk
Member
 
Registered: Feb 2006
Location: San Antonio
Distribution: Kubuntu Feisty
Posts: 43

Rep: Reputation: 15
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.
 
Old 02-07-2007, 02:53 PM   #5
kebbuck
LQ Newbie
 
Registered: Feb 2007
Posts: 1

Rep: Reputation: 0
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.
 
  


Reply

Tags
flashmemory



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SD/MMc card readers Suse10.1 rwbaldwin Linux - Laptop and Netbook 16 03-13-2007 06:32 AM
SD/MMC-Card Reader hubideg SUSE / openSUSE 2 05-17-2006 08:31 PM
MMC/SD card reader jnsg Slackware 11 04-18-2006 02:36 AM
Accessing MMC card in Laptop built-in MMC Card Slot with knoppix bröggle Linux - Laptop and Netbook 0 08-18-2004 08:44 AM
USB MMC Card reader g4c9z Linux - Hardware 0 06-12-2004 05:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 07:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration