Hi All,
Advice please on getting the cardbus slot to work on an R3000 series.
The distro in use is Xandros 3.0.2 OC. Here's what I have done so far:
As root:
vi /etc/pcmcia/config.opts
add the lines -
include port 0x3000-0x7fff
include memory 0xe8100000-0xe97fffff
:w and :q to exit
vi /etc/init.d/cardbus [to make a new file]
enter the lines -
#!/bin/bash
setpci -s 0:a.0 SUBORDINATE_BUS=0A
cardctl eject
cardctl insert
into the new file
save and exit with :w and :q
chmod the new file with
chmod 755 cardbus
make a symlink to the new file with:
cd /etc/rc5.d
ln -s /etc/init.d/cardbus /etc/rc5.d/S20pcmcia-cardbus
However, at this point I believe the Cardbus should now be able to read
any card inserted into it. The card in use is a Netgear WG511T and it
works on the same laptop in Windows. The following lspci - seems to
indicate it isn't detected in Linux yet. Any ideas please?
0000:00:00.0 Host bridge: nVidia Corporation nForce3 Host Bridge (rev a4)
Flags: bus master, 66MHz, fast devsel, latency 0
Memory at f0000000 (32-bit, prefetchable) [size=128M]
Capabilities: [44] #08 [0180]
Capabilities: [c0] AGP version 2.0
0000:00:01.0 ISA bridge: nVidia Corporation nForce3 LPC Bridge (rev a6)
Subsystem: nVidia Corporation: Unknown device 0c80
Flags: bus master, 66MHz, fast devsel, latency 0
0000:00:01.1 SMBus: nVidia Corporation nForce3 SMBus (rev a4)
Subsystem: Hewlett-Packard Company: Unknown device 006d
Flags: 66MHz, fast devsel, IRQ 10
I/O ports at 2040 [size=64]
I/O ports at 2000 [size=64]
Capabilities: [44] Power Management version 2
0000:00:02.0 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
(prog-if 10 [OHCI])
Subsystem: nVidia Corporation: Unknown device 0c80
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 11
Memory at e8000000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
0000:00:02.1 USB Controller: nVidia Corporation nForce3 USB 1.1 (rev a5)
(prog-if 10 [OHCI])
Subsystem: nVidia Corporation: Unknown device 0c80
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 10
Memory at e8001000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
0000:00:02.2 USB Controller: nVidia Corporation nForce3 USB 2.0 (rev a2)
(prog-if 20 [EHCI])
Subsystem: nVidia Corporation: Unknown device 0c80
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 10
Memory at e8004000 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2
0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce3
Audio (rev a2)
Subsystem: Hewlett-Packard Company: Unknown device 006d
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 11
I/O ports at 1400 [size=256]
I/O ports at 1c00 [size=128]
Memory at e8002000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
0000:00:06.1 Modem: nVidia Corporation: Unknown device 00d9 (rev a2)
(prog-if 00 [Generic])
Subsystem: Hewlett-Packard Company: Unknown device 006d
Flags: 66MHz, fast devsel, IRQ 10
I/O ports at 1800 [size=256]
I/O ports at 1c80 [size=128]
Memory at e8003000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
0000:00:08.0 IDE interface: nVidia Corporation nForce3 IDE (rev a5)
(prog-if 8a [Master SecP PriP])
Subsystem: nVidia Corporation: Unknown device 0c80
Flags: bus master, 66MHz, fast devsel, latency 0
I/O ports at 2080 [size=16]
Capabilities: [44] Power Management version 2
0000:00:0a.0 PCI bridge: nVidia Corporation nForce3 PCI Bridge (rev a2)
(prog-if 00 [Normal decode])
Flags: bus master, 66MHz, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=128
I/O behind bridge: 00003000-00007fff
Memory behind bridge: e8100000-e97fffff
0000:00:0b.0 PCI bridge: nVidia Corporation nForce3 AGP Bridge (rev a4)
(prog-if 00 [Normal decode])
Flags: bus master, 66MHz, medium devsel, latency 16
Bus: primary=00, secondary=01, subordinate=01, sec-latency=10
Memory behind bridge: ea000000-eaffffff
Prefetchable memory behind bridge: f8000000-fc0fffff
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
Flags: fast devsel
Capabilities: [80] #08 [2101]
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
Flags: fast devsel
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
Flags: fast devsel
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
Flags: fast devsel
0000:01:00.0 VGA compatible controller: nVidia Corporation NV17
[GeForce4 420 Go 32M] (rev a3) (prog-if 00 [VGA])
Subsystem: Hewlett-Packard Company: Unknown device 006d
Flags: bus master, 66MHz, medium devsel, latency 248, IRQ 11
Memory at ea000000 (32-bit, non-prefetchable) [size=16M]
Memory at f8000000 (32-bit, prefetchable) [size=64M]
Memory at fc000000 (32-bit, prefetchable) [size=512K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 2.0
0000:02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RT8139
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at 7000 [size=256]
Memory at e8102000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
0000:02:04.0 CardBus bridge: Texas Instruments: Unknown device ac54 (rev 01)
Subsystem: Hewlett-Packard Company: Unknown device 006d
Flags: bus master, medium devsel, latency 168, IRQ 10
Memory at e8100000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
Memory window 0: e8200000-e83ff000 (prefetchable)
Memory window 1: e8400000-e85ff000
I/O window 0: 00004000-000040ff
I/O window 1: 00004400-000044ff
16-bit legacy interface ports at 0001
0000:02:04.1 CardBus bridge: Texas Instruments: Unknown device ac54 (rev 01)
Subsystem: Hewlett-Packard Company: Unknown device 006d
Flags: bus master, medium devsel, latency 168, IRQ 11
Memory at e8101000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=02, secondary=07, subordinate=0a, sec-latency=176
Memory window 0: e9000000-e93ff000 (prefetchable)
Memory window 1: e8c00000-e8fff000
I/O window 0: 00006000-00006fff
I/O window 1: 00005000-00005fff
16-bit legacy interface ports at 0001
0000:02:04.2 System peripheral: Texas Instruments: Unknown device 8201
(rev 01)
Subsystem: Hewlett-Packard Company: Unknown device 006d
Flags: bus master, medium devsel, latency 64
I/O ports at 7400 [size=64]
Capabilities: [44] Power Management version 2
Kind regards,
Julian
_______________________________________________
LinuxR3000 mailing list
[email protected]
http://lists.pcxperience.com/cgi-bin/mailman/listinfo/linuxr3000
Wiki at http://prinsig.se/weekee/