On 08/11/06, Mikkel L. Ellertson <mikkel@xxxxxxxxxxxxxxxx> wrote:
Yuandan Zhang wrote:
>
>
> lspci does not show this device, from MS Windows side, it shows:
>
> Texas Instruments PCIxx20 Integrated FlashMedia Controllor
> Type: PCMCIA and Flash Memery devices
> Manufacturer: Texas Instrument Inc
> Location PCI Bus 1, device 6, fnuction 3
>
>
Under Linux it probably shows up something like this:
04:06.0 CardBus bridge: Texas Instruments Unknown device 8039
Subsystem: Toshiba America Info Systems Unknown device ff10
Flags: bus master, medium devsel, latency 168, IRQ 18
Memory at dc007000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=04, secondary=05, subordinate=08, sec-latency=176
Memory window 0: 50000000-51fff000 (prefetchable)
Memory window 1: 52000000-53fff000
I/O window 0: 00004400-000044ff
I/O window 1: 00004800-000048ff
16-bit legacy interface ports at 0001
04:06.1 FireWire (IEEE 1394): Texas Instruments Unknown device 803a
(prog-if 10 [OHCI])
Subsystem: Toshiba America Info Systems Unknown device ff10
Flags: bus master, medium devsel, latency 128, IRQ 16
Memory at dc006000 (32-bit, non-prefetchable) [size=2K]
Memory at dc000000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2
04:06.2 Mass storage controller: Texas Instruments Unknown device 803b
Subsystem: Toshiba America Info Systems Unknown device ff10
Flags: bus master, medium devsel, latency 128, IRQ 10
Memory at dc004000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
04:06.3 Class 0805: Texas Instruments Unknown device 803c (prog-if 01)
Subsystem: Toshiba America Info Systems Unknown device ff10
Flags: bus master, medium devsel, latency 128, IRQ 10
Memory at dc006800 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2
The chip has 4 functions in one PCI slot as far as the system is
concerned. To make it work, I had to run a script. I added it to
/etc/rc.d/rc.local.
#!/bin/bash
#
# Script to enable SD interface of the TI PCXxx12 interface.
#
# Remove SDHCI and MMC modules, if they are installed.
modprobe -r sdhci
modprobe -r mmc_block
# Change what interface is enabled.
setpci -s 04:06.2 4c.b=02
# Load the SD and MMC modules again.
modprobe sdhci || exit 1
modprobe mmc_block || exit 1
exit 0
What it does is turn off the MMC controller and turn on the SD
controller on the chip. I guess they can not both be on at the same
time. I am not sure what happens if you insert a MMC or a Memory
Stick after doing this, as I only have SD cards. (Well, I have
Compact Flash and Smart Media cards, but they do not fit...)
If your laptop has the chip mapped to a different PCI bus them mine
does, you will have to adjust the setpci command to match. It is bus
4, slot 6 on my Toshiba. (04:06.x)
Mikkel
--
Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
here is output of lspci -v on my laptop, please point out with one this sd slot:
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
Subsystem: Hewlett-Packard Company Unknown device 08bc
Flags: bus master, medium devsel, latency 0, IRQ 177
I/O ports at 2000 [size=256]
I/O ports at 2880 [size=64]
Memory at 90600000 (32-bit, non-prefetchable) [size=512]
Memory at 90680000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 01) (prog-if 00 [Generic])
Subsystem: Hewlett-Packard Company Unknown device 08bc
Flags: bus master, medium devsel, latency 0, IRQ 177
I/O ports at 2400 [size=256]
I/O ports at 2800 [size=128]
Capabilities: [50] Power Management version 2
01:04.0 Network controller: Intel Corporation PRO/Wireless 2200BG (rev 05)
Subsystem: Hewlett-Packard Company Unknown device 12f6
Flags: bus master, medium devsel, latency 64, IRQ 217
Memory at 90100000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [dc] Power Management version 2
01:06.0 CardBus bridge: Texas Instruments PCI7420 CardBus Controller
Subsystem: Hewlett-Packard Company Unknown device 08bc
Flags: bus master, medium devsel, latency 168, IRQ 169
Memory at 90180000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=01, secondary=02, subordinate=02, sec-latency=176
Memory window 0: 20000000-21fff000 (prefetchable)
Memory window 1: 26000000-27fff000
I/O window 0: 00003000-000030ff
I/O window 1: 00003400-000034ff
16-bit legacy interface ports at 0001
01:06.1 CardBus bridge: Texas Instruments PCI7420 CardBus Controller
Subsystem: Hewlett-Packard Company Unknown device 08bc
Flags: bus master, medium devsel, latency 168, IRQ 169
Memory at 90200000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=01, secondary=03, subordinate=06, sec-latency=176
Memory window 0: 22000000-23fff000 (prefetchable)
Memory window 1: 28000000-29fff000
I/O window 0: 00003800-000038ff
I/O window 1: 00003c00-00003cff
16-bit legacy interface ports at 0001
01:06.3 Mass storage controller: <pci_lookup_name: buffer too small>
Subsystem: Hewlett-Packard Company Unknown device 08bc
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at 90280000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
01:0d.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link) (prog-if 10 [OHCI])
Subsystem: Hewlett-Packard Company Unknown device 08bc
Flags: bus master, medium devsel, latency 64, IRQ 201
Memory at 90300000 (32-bit, non-prefetchable) [size=2K]
Memory at 90000000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2
01:0e.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
Subsystem: Hewlett-Packard Company Unknown device 08bc
Flags: bus master, fast devsel, latency 64, IRQ 209
Memory at 90080000 (32-bit, non-prefetchable) [size=8K]
Capabilities: [40] Power Management version 2