Date: Fri, 14 Mar 2003 05:10:20 -0600 From: Larry Rosenman <ler@lerctr.org> To: "M. Warner Losh" <imp@bsdimp.com> Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: wierd(to me) messages from setup of (supported) modem card. Message-ID: <8740000.1047640220@lerlaptop.lerctr.org> In-Reply-To: <20030313.223534.51689435.imp@bsdimp.com> References: <1760000.1047617641@lerlaptop.lerctr.org> <20030313.215824.98164738.imp@bsdimp.com> <8770000.1047618034@lerlaptop.lerctr.org> <20030313.223534.51689435.imp@bsdimp.com>
index | next in thread | previous in thread | raw e-mail
--On Thursday, March 13, 2003 22:35:34 -0700 "M. Warner Losh"
<imp@bsdimp.com> wrote:
> So what does
[snip]
> Do for you?
Index: readcis.c
|===================================================================
|RCS file: /cache/ncvs/src/usr.sbin/pccard/pccardd/readcis.c,v
|retrieving revision 1.23
|diff -u -r1.23 readcis.c
|--- readcis.c 20 Feb 2002 14:48:23 -0000 1.23
|+++ readcis.c 14 Mar 2003 05:33:18 -0000
--------------------------
Patching file readcis.c using Plan A...
Hunk #1 succeeded at 666 (offset -25 lines).
Hunk #2 succeeded at 747 (offset -25 lines).
Hmm... Ignoring the trailing garbage.
done
lerlaptop#
(4-STABLE of about a day age).
now a pccardc readcis gives:
Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 3
000: 00 00 ff
Common memory device information:
Device number 1, type No device, WPS = OFF
Speed = No speed, Memory block size = 512b, 1 units
Tuple #2, code = 0x15 (Version 1 info), length = 57
000: 04 01 54 6f 73 68 69 62 61 20 41 6d 65 72 69 63
010: 61 00 33 43 58 4d 30 35 36 2d 42 4e 57 00 33 43
020: 4f 4d 2f 4e 6f 74 65 57 6f 72 74 68 79 20 35 36
030: 4b 20 4d 6f 64 65 6d 00 ff
Version = 4.1, Manuf = [Toshiba America], card vers = [3CXM056-BNW]
Addit. info = [3COM/NoteWorthy 56K Modem]
Tuple #3, code = 0x20 (Manufacturer ID), length = 4
000: 01 01 2f 00
PCMCIA ID = 0x101, OEM ID = 0x2f
Tuple #4, code = 0x21 (Functional ID), length = 2
000: 02 01
Serial port/modem - POST initialize
Tuple #5, code = 0x1a (Configuration map), length = 5
000: 01 23 00 03 03
Reg len = 2, config register addr = 0x300, last config = 0x23
Registers: XX------
Tuple #6, code = 0x1b (Configuration entry), length = 16
000: e0 41 99 49 55 3e 3d aa 60 f8 03 07 30 ff ff 28
Config index = 0x20(default)
Interface byte = 0x41 (I/O) +RDY/-BSY active
Vcc pwr:
Nominal operating supply voltage: 5 x 1V
Continuous supply current: 3.5 x 100mA
Power down supply current: 3.5 x 10mA
Card decodes 10 address lines, 8 Bit I/O only
I/O address # 1: block start = 0x3f8 block length = 0x8
IRQ modes: Level
IRQs: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Max twin cards = 0
Misc attr: (Audio-BVD2) (Power down supported)
Tuple #7, code = 0x1b (Configuration entry), length = 7
000: 21 08 aa 60 f8 02 07
Config index = 0x21
Card decodes 10 address lines, 8 Bit I/O only
I/O address # 1: block start = 0x2f8 block length = 0x8
Tuple #8, code = 0x1b (Configuration entry), length = 7
000: 22 08 aa 60 e8 03 07
Config index = 0x22
Card decodes 10 address lines, 8 Bit I/O only
I/O address # 1: block start = 0x3e8 block length = 0x8
Tuple #9, code = 0x1b (Configuration entry), length = 7
000: 23 08 aa 60 e8 02 07
Config index = 0x23
Card decodes 10 address lines, 8 Bit I/O only
I/O address # 1: block start = 0x2e8 block length = 0x8
Tuple #10, code = 0x22 (Functional EXT), length = 4
000: 00 02 0f 7c
Serial interface extension:
16550 UART, Parity - Space,Mark,Odd,Even
Data bit - 7bit,8bit, Stop bit - 1bit,1.5bit,2bit
Tuple #11, code = 0x22 (Functional EXT), length = 9
000: 01 1f 0f 00 06 00 00 06 00
Modem interface capabilities:
Tuple #12, code = 0x22 (Functional EXT), length = 12
000: 02 06 00 3f 1c 03 03 0f 07 00 02 b5
Data modem services available:
Tuple #13, code = 0x22 (Functional EXT), length = 8
000: 13 06 00 0f 00 02 00 b5
Fax1/modem services available:
Tuple #14, code = 0x22 (Functional EXT), length = 8
000: 23 06 00 0f 00 02 00 b5
Fax2/modem services available:
Tuple #15, code = 0x80 (Unknown), length = 10
000: 02 01 2f 00 21 00 07 00 00 ff
Tuple #16, code = 0x83 (Unknown), length = 14
000: 31 30 39 4e 31 38 39 38 32 30 48 39 00 ff
Tuple #17, code = 0x14 (No link), length = 0
Tuple #18, code = 0xff (Terminator), length = 0
2 slots found
so that's better.
I haven't pulled the modem to look for the serial# yet (it's in use to send
this :-) )
>
> Warner
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8740000.1047640220>
