You are not logged in.
I have a thinkpad X220 with linux 3.0.4-1. I can not get the SD reader to work properly.
$ lspci -ks 0d:00.0
0d:00.0 System peripheral: Ricoh Co Ltd Device e823 (rev 04)
Subsystem: Lenovo Device 21da
Kernel driver in use: sdhci-pci
Kernel modules: sdhci-pci
$ lsmod|grep sdhci
sdhci_pci 8530 0
sdhci 22194 1 sdhci_pci
mmc_core 73353 1 sdhci
I have 3 SD cards to test with:
ScanDisk Ultra II 4GB (SDHC)
Panasonic 2GB card
Canon 32MB card
http://www.thinkwiki.org/wiki/SD_Card_slot seems to indicate that everything should be supported out of the box but it does not seem that way.
I was able to get the 2GB card to work this morning but now (after trying the 4GB card I think) none of the cards work. when I plug in the 4GB card I get the folowing from dmesg:
[92419.294915] mmc0: error -84 whilst initialising SD card
[92419.374462] mmc0: error -84 whilst initialising SD card
[92429.355014] mmc0: Timeout waiting for hardware interrupt.
[92429.355025] sdhci: =========== REGISTER DUMP (mmc0)===========
[92429.355036] sdhci: Sys addr: 0x00000000 | Version: 0x00000502
[92429.355045] sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000
[92429.355053] sdhci: Argument: 0x00000000 | Trn mode: 0x00000000
[92429.355061] sdhci: Present: 0x01f70001 | Host ctl: 0x00000005
[92429.355070] sdhci: Power: 0x00000000 | Blk gap: 0x00000000
[92429.355078] sdhci: Wake-up: 0x00000000 | Clock: 0x00000000
[92429.355085] sdhci: Timeout: 0x00000009 | Int stat: 0x00000000
[92429.355094] sdhci: Int enab: 0x00ff00c3 | Sig enab: 0x00ff00c3
[92429.355102] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[92429.355110] sdhci: Caps: 0x21e8c8b2 | Caps_1: 0x00008073
[92429.355119] sdhci: Cmd: 0x00000102 | Max curr: 0x00000040
[92429.355125] sdhci: Host ctl2: 0x00000000
[92429.355128] sdhci: ===========================================
[92429.518698] mmc0: error -84 whilst initialising SD card
[92429.605517] mmc0: error -84 whilst initialising SD card
[92440.354183] mmc0: error -84 whilst initialising SD card
[92440.441284] mmc0: error -84 whilst initialising SD card
[92440.520034] mmc0: error -84 whilst initialising SD card
[92440.599892] mmc0: error -84 whilst initialising SD card
[92440.683048] mmc0: error -84 whilst initialising SD card
[92440.769923] mmc0: error -84 whilst initialising SD card
How can I make this work? has anyone else gotten this slot to work?
Thanks
Last edited by jesseFrey (2011-11-16 17:18:11)
Offline
Perhaps you're trying an sdhc card (4GB) in a non-compatible card reader.
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
Definitely not the case. I just tried to format the 32MB card with disk utility and linux crashed there is something else wrong
I think the reader should support SDHC cards though. I don't see why a modern laptop would not
Offline
Some manufacturers have produced 4 GB SD cards that conform to neither the SD2.0/SDHC spec nor existing SD devices.
Definitely require an sdhc reader for sdhc cards of 4GB.
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
I'm in the same boat: I tried both a 64GB (SDXC) and 16GB (SDHC) and neither
worked, complaining of "mmcblk0: error -110 sending read/write command
response 0x0 card status 0x400b00". There's nothing wrong with either card as
they both work in my two other Linux computers. I'm running linux 3.0.4-1 on a
Lenovo ThinkPad x220 (like you) and am entirely up-to-date.
Registed Linux User 483618
Offline
I was never able to get an SD card to read in a dell 700m. With different kernels I could get the card mounted and start copying the files before the module would crash. Other times I couldn't get the card to mount. I haven't tried on the x220 I have. FWIW, I got a usb/SD adapter which works every time.
Offline
That sounds like the same issue I have. My 4G card, which I use most, plugs into USB so I don't really need the reader to work but I have it so I would like it to function. Have you tried submitting a bug report? I have not.
Offline
Looks like there's a possible fix coming in version 3.1 of the kernel if you drill down into this long thread:
https://lkml.org/lkml/2011/7/11/381
and it appears that Greg has already added it to the 2.6.39.4 long term support kernel:
Offline
Nice, I will try again after I install linux 3.1
Offline
I'm running Arch with 3.1 and I have the same problem I believe: http://natalian.org/archives/2011/11/10/Thinkpad_X220/
Offline
re: hdd - mSATA, nice /jealous/
re: fan - odd. Mine runs cool and I've never heard the fan. The temperature right now is 47C You're sure all your core are scaling?
re: battery - Hmm powertop works for me. I'm using version 1.13. I get around 5hr on my 6 cell. I bet once you get your fan to stop, your battery will last longer.
re: UPS - I've noticed odd travel routes for packages as well. I asked UPS about this and they said they show tracking information for both the item and its paper work.
Offline
I upgraded to linux 3.1-4 and it seems to work with my 2GB card but not the 4GB card. still very flaky though
Offline
A Kodak 512MB SD card is working fine on my X220. Don't have any others to test at my present location.
If you have problems, you might try creating a polkit-1 file and add yourself to the 'disk' group.
https://bbs.archlinux.org/viewtopic.php … 0#p1014060
Offline
If you have problems, you might try creating a polkit-1 file and add yourself to the 'disk' group.
https://bbs.archlinux.org/viewtopic.php … 0#p1014060
This is not the problem, I have the correct permissions, things just don't work.
I think my 2GB card might work fine now just as long as the 4G card has not been plugged in. which is not a great situation.
Offline
I upgraded to linux 3.3.1-1 and all of my cards work fine.
Offline