Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 1997 08:36:35 -0800
From:      Justin Johns <winter@quiddity.org>
To:        Nate Williams <nate@mt.sri.com>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: PC-Card modem problem
Message-ID:  <19971121083635.10681@quiddity.org>
In-Reply-To: <199711211706.KAA14332@mt.sri.com>; from Nate Williams on Fri, Nov 21, 1997 at 10:06:26AM -0700
References:  <19971120212503.32639@quiddity.org> <199711211706.KAA14332@mt.sri.com>

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

--DocE+STaALJfprDB
Content-Type: text/plain; charset=us-ascii

On Fri, Nov 21, 1997 at 10:06:26AM -0700, Nate Williams wrote:
> Does the ethernet card work?  With what driver?

Yep.  It works fine with the ep0 driver.

> Do you have the output of 'pccardc dumpcis' available?

I'll attach the output to this message since it's kinda lengthy. ;)
When I do a dumpcis, it seems to hang when it gets to the modem.  Dunno why.
Perhaps you can give me a clue. :)

> Sure, what is the output of 'pccardc dumpcis'?  Does your kernel have
> multiple serial ports configured you can try out?  (sio0/sio1/sio2).
> Are you sure that the IRQ you are trying to use for the modem isn't in
> use by the serial port that FreeBSD doesn't like?  Did you jump up and
> down 3 times, spin on your head, and spit north singing 'Mary had a
> Little Lamb' as defined in the handbook?  (Whoops, did I forget to add
> the last part to the handbook. *grin*)

Yep.  I tried all of the above and it still didn't work. :/ Well, I didn't try
the forgotten handbook entry, but that's a different story. ;) When I tried
other IRQ's that I know aren't taken, it'd give a probe error.

> Seriously, even if all of the above work out, Bruce pointed out a big
> bug in the modem/serial probing code that exists in the PCCARD code that
> negatively affects certain hardware.  It's a fairly 'simple' fix, but
> requires *LOTS* of changes to the entire system.  Rather than attack it,
> I want to finish up the 'suspend/resume' stuff and then see how things
> fare.

Perhaps I happen to have that certain hardware.  Who knows... :)

-- 
Justin Johns (winter@quiddity.org)
PGP key: http://flag.blackened.net/winter/pgpkey.txt
PGP fingerprint: 51 CE CB F4 5A 59 D9 B1  78 FB DE 4A 30 A4 C9 F2

--DocE+STaALJfprDB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=dumpcis

Configuration data for card in slot 0
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 = 0x17 (Attribute memory descriptor), length = 3
    000:  43 02 ff
        Attribute memory device information:
                Device number 1, type EEPROM, WPS = OFF
                Speed = 150nS, Memory block size = 8Kb, 1 units
Tuple #3, code = 0x20 (Manufacturer ID), length = 4
    000:  01 01 89 05
        PCMCIA ID = 0x101, OEM ID = 0x589
Tuple #4, code = 0x21 (Functional ID), length = 2
    000:  06 00
        Network/LAN adapter
Tuple #5, code = 0x15 (Version 1 info), length = 57
    000:  04 01 33 43 6f 6d 20 43 6f 72 70 6f 72 61 74 69
    010:  6f 6e 00 33 43 35 38 39 00 54 50 2f 42 4e 43 20
    020:  4c 41 4e 20 43 61 72 64 20 56 65 72 2e 20 32 61
    030:  00 30 30 30 30 30 32 00 ff
        Version = 4.1, Manuf = [3Com Corporation],card vers = [3C589]
        Addit. info = [TP/BNC LAN Card Ver. 2a],[000002]
Tuple #6, code = 0x1a (Configuration map), length = 6
    000:  02 03 00 00 01 03
        Reg len = 3, config register addr = 0x10000, last config = 0x3
        Registers: XX------ 
Tuple #7, code = 0x1b (Configuration entry), length = 15
    000:  c1 01 1d 71 55 35 55 54 e0 72 5d 64 30 ff ff
        Config index = 0x1(default)
        Interface byte = 0x1 (I/O)
        Vcc pwr:
                Nominal operating supply voltage: 5 x 1V
                Max current average over 1 second: 3 x 10mA
                Max current average over 10 ms: 5 x 10mA
                Power down supply current: 5 x 1mA
        Wait scale Speed = 7.0 x 100 ns
        RDY/BSY scale Speed = 7.0 x 100 ns
        Card decodes 18 address lines, full 8/16 Bit I/O
                IRQ modes: Level, Pulse
                IRQs:  IOCK 1 4 5 6 8 10 11 12 14
Tuple #8, code = 0x1b (Configuration entry), length = 7
    000:  03 01 71 55 26 26 54
        Config index = 0x3
        Vcc pwr:
                Nominal operating supply voltage: 5 x 1V
                Max current average over 1 second: 2 x 100mA
                Max current average over 10 ms: 2 x 100mA
                Power down supply current: 5 x 1mA
Tuple #9, code = 0x19 (JEDEC descr for attribute memory), length = 3
    000:  00 00 ff
Tuple #10, code = 0x14 (No link), length = 0
Tuple #11, code = 0x10 (Checksum), length = 5
    000:  89 ff 80 00 00
        Checksum from offset -119, length 128, value is 0x0
Tuple #12, code = 0xff (Terminator), length = 218
    000:  00 03 00 00 00 00 00 00 43 32 20 54 45 41 4d 2d
    010:  45 61 72 6c 20 41 6c 64 72 69 64 67 65 2c 20 52
    020:  65 78 20 41 6c 6c 65 72 73 2c 20 52 75 73 73 65
    030:  6c 6c 20 43 68 61 6e 67 2c 20 44 61 76 69 64 20
    040:  43 68 69 68 2c 20 48 65 72 6d 61 6e 20 4c 61 6f
    050:  2c 20 47 65 6e 65 20 4c 69 6e 2c 20 4c 69 61 6e
    060:  67 20 4c 69 6e 2c 20 48 69 65 6e 20 4e 67 75 79
    070:  65 6e 2c 20 4b 61 70 20 53 6f 68 2c 20 47 61 72
    080:  79 20 57 61 6e 67 00 ff ff ff ff ff ff ff ff ff
    090:  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    0a0:  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    0b0:  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    0c0:  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    0d0:  ff ff ff ff ff ff ff ff ff ff

--DocE+STaALJfprDB--



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