Thinkpad X40 SD card reader

Roberto Lumbreras rover at debian.org
Thu Sep 16 21:27:14 EDT 2004


Hi...

The IBM thinkpad X40 has a SD card reader (and a normal pcmcia slot):

0000:02:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 8d)
        Subsystem: IBM: Unknown device 0555
        Flags: bus master, medium devsel, latency 168, IRQ 16
        Memory at b0000000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=02, secondary=03, subordinate=06, 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 03e1

0000:02:00.1 0805: Ricoh Co Ltd: Unknown device 0822 (rev 13)
        Subsystem: IBM: Unknown device 0556
        Flags: medium devsel, IRQ 17
        [virtual] Memory at d0221000 (32-bit, non-prefetchable) [disabled] [size=256]
        Capabilities: [80] Power Management version 2

The first device is well recognized by yenta_socket:

Linux Kernel Card Services
  options:  [pci] [cardbus] [pm]
PCI: Enabling device 0000:02:00.0 (0000 -> 0002)
ACPI: PCI interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
Yenta: CardBus bridge found at 0000:02:00.0 [1014:0555]
Yenta: ISA IRQ mask 0x04b8, PCI irq 16
Socket status: 30000416
cs: IO port probe 0x0100-0x04ff: excluding 0x170-0x177 0x370-0x377
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.

$ cardctl status
Socket 0:
  no card

but the SD card reader socket is not recognized at all.

pcic_probe sees two sockets:

$ pcic_probe
PCI bridge probe: Ricoh RL5C476 found, 2 sockets.
$ pcic_probe -k -m
yenta_socket
$ pcic_probe -m
i82365

(removing yenta_socket and trying i82365 driver doesn't solve the
problem, it detects only one socket, and gives awfull errors when
rmmoding it)

I'm confused... Thinkpad X31 also has Ricoh chipset, but with a Compact
Flash card reader instead of the SD, and it seems to work ok as a
"pcmcia socket" and ide_cs driver.

Any ideas?

Regards,
-- 
Roberto Lumbreras           .''`.            
                    <rover : :' : debian.org>
Debian Developer           `. `'             
                             `-              



More information about the linux-pcmcia mailing list