Hi,
Thanks for all the great work on the pcmcia. It worked
for me out of the box except for a small detail. Even
though the cardmgr says it is see 4 sockets (2 in the
laptop 2 in the dock), it can only see insertions in
the laptop. My system is
Toshiba Tecra 8000 with docking station
Mandrake 9.1
cardmgr 3.2.3
kernel 2.4.21-0.13mdk
The Mandrake control center says I have 4 controller
for the pcmcia
Description: ToPIC95
bus indentification: 1179:60a:4000:0
Location on the bus: 0:6:0
module: yenta_socket
Description: ToPIC95
bus indentification: 1179:60a:4800:0
Location on the bus: 0:6:1
module: yenta_socket
Description: ToPIC97
bus indentification: 1179:60f:5000:0
Location on the bus: 0:b:0
module: yenta_socket
Description: ToPIC97
bus indentification: 1179:60f:5800:0
Location on the bus: 0:b:1
module: yenta_socket
The /var/lib/pcmcia/stab sees but four sockets (0,1,2,3)
Insertions into the last two sockets are seen (two
beep and a single beep when removed). The inserted card
works perfectly in both slots. If the laptop is not
docked I get slightly different values:
Description: ToPIC97
bus indentification: 1179:60f:4000:0
Location on the bus: 0:b:0
module: yenta_socket
Description: ToPIC97
bus indentification: 1179:60f:4800:0
Location on the bus: 0:b:1
module: yenta_socket
but the sockets work perfectly and the
/var/lib/pcmcia/stab sees but two sockets (0 and 1).
How can I get the dock sockets to function? Any
suggestions would be appreciated.
Marc
Logged In: YES
user_id=7760
Can you show the system log messages from the yenta driver?
Does "cardctl insert N" allow you to force a card-insert for a
socket in the dock?
-- Dave
Logged In: YES
user_id=7760
No follow-up from user.
-- Dave
Logged In: YES
user_id=802493
The log from the yenta drivers (in syslog is what I think
you want... I am a mechanical engineer be patient ;-) )
Dec 10 08:15:02 localhost kernel: Yenta IRQ list 0000, PCI irq11
Dec 10 08:15:02 localhost kernel: Socket status: ffffffff
Dec 10 08:15:02 localhost kernel: Yenta IRQ list 0000, PCI irq11
Dec 10 08:15:02 localhost kernel: Socket status: ffffffff
Dec 10 08:15:02 localhost kernel: Yenta IRQ list 0498, PCI irq11
Dec 10 08:15:02 localhost kernel: Socket status: 30000007
Dec 10 08:15:02 localhost kernel: Yenta IRQ list 0498, PCI irq11
Dec 10 08:15:02 localhost kernel: Socket status: 30000007
The commands (as root)
cardctl insert N (N from 0 to 3)
returns
ioctl(): No such device
Marc LaViolette
Logged In: YES
user_id=7760
Can you show output of 'lspci -v'?
The bogus "socket status" indicates that the driver is not able
to talk to the bridge devices for those two sockets, for some
reason.
-- Dave
Logged In: YES
user_id=802493
Hello Dave
'lspci -v' gives
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX
Host bridge (AGP disabled) (rev 03)
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: bus master, medium devsel, latency 64
Memory at e0000000 (32-bit, prefetchable) [size=256M]
00:03.0 ISA bridge: Toshiba America Info Systems: Unknown
device 0611 (rev 40)
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: slow devsel
00:04.0 VGA compatible controller: Neomagic Corporation
NM2200 [MagicGraph 256AV] (rev 12) (prog-if 00 [VGA])
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: bus master, medium devsel, latency 0, IRQ 11
Memory at df000000 (32-bit, prefetchable) [size=16M]
Memory at ff800000 (32-bit, non-prefetchable) [size=4M]
Memory at ff700000 (32-bit, non-prefetchable) [size=1M]
Capabilities: [dc] Power Management version 1
00:05.0 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
Flags: bus master, medium devsel, latency 0
00:05.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE
(rev 01) (prog-if 80 [Master])
Flags: bus master, medium devsel, latency 64
I/O ports at 1000 [size=16]
00:05.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB
(rev 01) (prog-if 00 [UHCI])
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at ffe0 [size=32]
00:05.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
Flags: medium devsel, IRQ 9
00:06.0 CardBus bridge: Toshiba America Info Systems ToPIC95
(rev 07)
Flags: bus master, slow devsel, latency 0, IRQ 11
Memory at 10000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=12, subordinate=12, sec-latency=0
Memory window 0: 10400000-107ff000 (prefetchable)
Memory window 1: 10800000-10bff000
I/O window 0: 00004000-000040ff
I/O window 1: 00004400-000044ff
00:06.1 CardBus bridge: Toshiba America Info Systems ToPIC95
(rev 07)
Flags: bus master, slow devsel, latency 0, IRQ 11
Memory at 10001000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=13, subordinate=13, sec-latency=0
Memory window 0: 10c00000-10fff000 (prefetchable)
Memory window 1: 11000000-113ff000
I/O window 0: 00004800-000048ff
I/O window 1: 00004c00-00004cff
00:09.0 Communication controller: Toshiba America Info
Systems FIR Port (rev 23)
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: bus master, slow devsel, latency 64, IRQ 11
I/O ports at efe0 [size=32]
00:0b.0 CardBus bridge: Toshiba America Info Systems ToPIC97
(rev 05)
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: bus master, slow devsel, latency 0, IRQ 11
Memory at 10002000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=14, subordinate=14, sec-latency=0
Memory window 0: 11400000-117ff000 (prefetchable)
Memory window 1: 11800000-11bff000
I/O window 0: 00005000-000050ff
I/O window 1: 00005400-000054ff
16-bit legacy interface ports at 0001
00:0b.1 CardBus bridge: Toshiba America Info Systems ToPIC97
(rev 05)
Subsystem: Toshiba America Info Systems: Unknown device 0001
Flags: bus master, slow devsel, latency 0, IRQ 11
Memory at 10003000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=15, subordinate=15, sec-latency=0
Memory window 0: 11c00000-11fff000 (prefetchable)
Memory window 1: 12000000-123ff000
I/O window 0: 00005800-000058ff
I/O window 1: 00005c00-00005cff
16-bit legacy interface ports at 0001
00:0d.0 Multimedia controller: C-Cube Microsystems
Cinemaster C 3.0 DVD Decoder (rev 02)
Subsystem: C-Cube Microsystems Cinemaster C 3.0 DVD Decoder
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at de00 [size=256]
Capabilities: [60] Power Management version 1
--- Marc
Logged In: YES
user_id=7760
Well I think I'm stumped. The information you posted all
looks good: I don't see any reason why the yenta driver would
be unable to access the bridge registers for the sockets in
the dock.
Are there any other PCI devices in the dock? Which ones? I
assume that if there are any, that they work ok? You did not
buy the dock on Ebay, did you? Have you used the dock
under Windows?
-- Dave
Logged In: YES
user_id=802493
I have two docks that do the same thing. They both work
under Windows. I use one dock at work (network card) tthe
other at home (modem). I have no other pcmcia cards.
Logged In: YES
user_id=7760
Try getting a current pcmcia-cs package and configure
with 'Configure --force'. Build it but do not install. Then shut
down your current PCMCIA system
with '/etc/rc.d/init.d/pcmcia stop'. In the modules directory of
the pcmcia-cs package, do 'insmod pcmcia_core.o'
and 'insmod i82365.o' and see what kernel messages you
get. Also, then, look at the contents of /proc/bus/pccard/00.
-- Dave