Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2001 08:34:01 -0500
From:      The Babbler <bts@babbleon.org>
To:        freebsd-mobile@freebsd.org
Subject:   Linksys 10/100 + 56K Modem PC Card (ethernet only)
Message-ID:  <3A66F0C9.B484EC3B@babbleon.org>

next in thread | raw e-mail | index | archive | help

I'm trying to get the a PCCARD working; specifically the card in the
title above.  Although it's a modem/ethernet card, I now have a cable
modem so I only care about the ethernet aspect of the card.  It works
fine under Linux, which has this view of it:

eth0: NE2000 Compatible: io 0x300, irq 3, hw_addr 00:E0:98:70:F9:6A 


For for FreeBSD, it's not known to the pccard data base. I've tried
creating a simple entry for it, but I'm not having much luck.  Here's my
current pccard.conf entry for it:

# This is the Linksys card I have, with the fat holder.
card "Linksys" "EtherFast 10&100 + 56K PC Card (PCMLM56)"
	config 0x3 "ed" 3
	insert	/etc/pccard_ether $device start
	remove	/etc/pccard_ether $device stop


My first try used slot 1, and I got these messages from the kernel:

Jan 18 07:58:23 i7500 /kernel: pccard: card inserted, slot 1
Jan 18 07:58:28 i7500 pccardd[55]: Card "Linksys"("EtherFast 10&100 +
56K PC Card (PCMLM56)") [(null)] [(null)] matched "Linksys" ("EtherFast
10&100 + 56K PC Card (PCMLM56)") [(null)] [(null)] 
Jan 18 07:58:28 i7500 pccardd[55]: Config id 1 not present in this card
Jan 18 07:58:28 i7500 pccardd[55]: Resource allocation failure for
"Linksys"("EtherFast 10&100 + 56K PC Card (PCMLM56)") [(null)] [(null)];
Reason specified CIS was not found 

So I did a "pccard dumpcis" and based on the reported results for tuple
6, I tried changing that to slot 3. This did get rid of the "CIS was not
found" and "Config id 1 was not present" messages, which made me feel
better in that perhaps I'm starting to vaguely follow what's going on,
but it still fails:

Jan 18 07:22:55 i7500 pccardd[55]: Card "Linksys"("EtherFast 10&100 +
56K PC Card (PCMLM56)") [(null)] [(null)] matched "Linksys" ("EtherFast
10&100 + 56K PC Card (PCMLM56)") [(null)] [(null)] 
Jan 18 07:23:00 i7500 pccardd[55]: driver allocation failed for
Linksys(EtherFast 10&100 + 56K PC Card (PCMLM56)): Device not configured

At this point I've about reached the limits of my extremely limited
understanding of these issues, and I'm hoping that the folks in this
group can help.  Here's the "dumpcis" for the card:

Configuration data for card in slot 1
Tuple #1, code = 0x1 (Common memory descriptor), length = 2
    000:  00 ff
	Common memory device information:
		Device number 1, type No device, WPS = OFF
		Speed = No speed, Memory block size = reserved, 32 units
Tuple #2, code = 0x15 (Version 1 info), length = 52
    000:  04 01 4c 69 6e 6b 73 79 73 00 45 74 68 65 72 46
    010:  61 73 74 20 31 30 26 31 30 30 20 2b 20 35 36 4b
    020:  20 50 43 20 43 61 72 64 20 28 50 43 4d 4c 4d 35
    030:  36 29 00 ff
	Version = 4.1, Manuf = [Linksys], card vers = [EtherFast 10&100 + 56K
PC Card (PCMLM56)]
Tuple #3, code = 0x20 (Manufacturer ID), length = 4
    000:  43 01 ab c0
	PCMCIA ID = 0x143, OEM ID = 0xc0ab
Tuple #4, code = 0x21 (Functional ID), length = 2
    000:  00 00
	Multifunction card
Tuple #5, code = 0x1a (Configuration map), length = 5
    000:  01 1b e0 ff 67
	Reg len = 2, config register addr = 0xffe0, last config = 0x1b
	Registers: XXX--XX- 
Tuple #6, code = 0x1b (Configuration entry), length = 22
    000:  c3 41 99 79 55 3d 86 46 26 4c ea 61 f8 02 07 00
    010:  03 1f f0 38 9e 28
	Config index = 0x3(default)
	Interface byte = 0x41 (I/O)  +RDY/-BSY active
	Vcc pwr:
		Nominal operating supply voltage: 5 x 1V
		Continuous supply current: 3.5 x 10mA
		Max current average over 1 second: 1 x 100mA, ext = 0x46
		Max current average over 10 ms: 2 x 100mA
		Power down supply current: 4.5 x 1mA
	Card decodes 10 address lines, full 8/16 Bit I/O
		I/O address # 1: block start = 0x2f8 block length = 0x8
		I/O address # 2: block start = 0x300 block length = 0x20
		IRQ modes: Level, Pulse, Shared
		IRQs:  3 4 5 9 10 11 12 15
	Max twin cards = 0
	Misc attr: (Audio-BVD2) (Power down supported)
Tuple #7, code = 0x1b (Configuration entry), length = 10
    000:  05 08 ea 61 e8 03 07 00 03 1f
	Config index = 0x5
	Card decodes 10 address lines, full 8/16 Bit I/O
		I/O address # 1: block start = 0x3e8 block length = 0x8
		I/O address # 2: block start = 0x300 block length = 0x20
Tuple #8, code = 0x1b (Configuration entry), length = 10
    000:  07 08 ea 61 e8 02 07 00 03 1f
	Config index = 0x7
	Card decodes 10 address lines, full 8/16 Bit I/O
		I/O address # 1: block start = 0x2e8 block length = 0x8
		I/O address # 2: block start = 0x300 block length = 0x20
Tuple #9, code = 0x1b (Configuration entry), length = 10
    000:  09 08 ea 61 f8 02 07 20 03 1f
	Config index = 0x9
	Card decodes 10 address lines, full 8/16 Bit I/O
		I/O address # 1: block start = 0x2f8 block length = 0x8
		I/O address # 2: block start = 0x320 block length = 0x20
Tuple #10, code = 0x1b (Configuration entry), length = 10
    000:  0b 08 ea 61 e8 03 07 20 03 1f
	Config index = 0xb
	Card decodes 10 address lines, full 8/16 Bit I/O
		I/O address # 1: block start = 0x3e8 block length = 0x8
		I/O address # 2: block start = 0x320 block length = 0x20
Tuple #11, code = 0x1b (Configuration entry), length = 10
    000:  0d 08 ea 61 e8 02 07 20 03 1f
	Config index = 0xd
	Card decodes 10 address lines, full 8/16 Bit I/O
		I/O address # 1: block start = 0x2e8 block length = 0x8
		I/O address # 2: block start = 0x320 block length = 0x20
Tuple #12, code = 0x1b (Configuration entry), length = 10
    000:  0f 08 ea 61 f8 02 07 40 03 1f
	Config index = 0xf
	Card decodes 10 address lines, full 8/16 Bit I/O
		I/O address # 1: block start = 0x2f8 block length = 0x8
		I/O address # 2: block start = 0x340 block length = 0x20
Tuple #13, code = 0x1b (Configuration entry), length = 10
    000:  11 08 ea 61 e8 03 07 40 03 1f
	Config index = 0x11
	Card decodes 10 address lines, full 8/16 Bit I/O
		I/O address # 1: block start = 0x3e8 block length = 0x8
		I/O address # 2: block start = 0x340 block length = 0x20
Tuple #14, code = 0x1b (Configuration entry), length = 10
    000:  13 08 ea 61 e8 02 07 40 03 1f
	Config index = 0x13
	Card decodes 10 address lines, full 8/16 Bit I/O
		I/O address # 1: block start = 0x2e8 block length = 0x8
		I/O address # 2: block start = 0x340 block length = 0x20
Tuple #15, code = 0x1b (Configuration entry), length = 10
    000:  15 08 ea 61 f8 02 07 20 02 1f
	Config index = 0x15
	Card decodes 10 address lines, full 8/16 Bit I/O
		I/O address # 1: block start = 0x2f8 block length = 0x8
		I/O address # 2: block start = 0x220 block length = 0x20
Tuple #16, code = 0x1b (Configuration entry), length = 10
    000:  17 08 ea 61 e8 03 07 20 02 1f
	Config index = 0x17
	Card decodes 10 address lines, full 8/16 Bit I/O
		I/O address # 1: block start = 0x3e8 block length = 0x8
		I/O address # 2: block start = 0x220 block length = 0x20
Tuple #17, code = 0x1b (Configuration entry), length = 10
    000:  19 08 ea 61 e8 02 07 20 02 1f
	Config index = 0x19
	Card decodes 10 address lines, full 8/16 Bit I/O
		I/O address # 1: block start = 0x2e8 block length = 0x8
		I/O address # 2: block start = 0x220 block length = 0x20
Tuple #18, code = 0x1b (Configuration entry), length = 10
    000:  1b 08 ea 61 f8 02 07 40 02 0f
	Config index = 0x1b
	Card decodes 10 address lines, full 8/16 Bit I/O
		I/O address # 1: block start = 0x2f8 block length = 0x8
		I/O address # 2: block start = 0x240 block length = 0x10
Tuple #19, code = 0xff (Terminator), length = 0
2 slots found


Thanks for any hints y'all can offer me!

-- 
"Brian, the man from babble-on"              bts@babbleon.org
Brian T. Schellenberger                      http://www.babbleon.org
Support http://www.eff.org.                  Support decss defendents.
Support http://www.programming-freedom.org.  Boycott amazon.com.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A66F0C9.B484EC3B>