From owner-freebsd-mobile Tue Feb 20 13:16:30 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from pine.pinetel.com (pine.pinetel.com [143.227.44.106]) by hub.freebsd.org (Postfix) with ESMTP id 63E6837B401 for ; Tue, 20 Feb 2001 13:16:18 -0800 (PST) (envelope-from hweaver@pinetel.com) Received: from thinkpad (ip58-cu2.pinetel.com [143.227.42.58]) by pine.pinetel.com (8.9.3/8.9.3) with SMTP id NAA07902; Tue, 20 Feb 2001 13:16:11 -0800 (PST) Message-ID: <000201c09b82$ae09b760$3a2ae38f@thinkpad> From: "Hal Weaver" To: "fybar" Cc: References: Subject: Re: Date: Tue, 20 Feb 2001 13:14:36 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Trevor, as a newbie to freebsd myself, I got confused as to how I eventually got my PCMCIA modem to work. I *do* know that the GENERIC configuration in /etc/default/pccard.conf worked. I later used dumpcis to write a configuration specific to my modem. This eliminated the 5-10 seconds it took the GENERIC configuration script to configure my modem card. At the bottom of this email is the output from dumpcis. You'll see there several references to "config index=0x5" I used this and some other information from dumpcis for the following additional entry to pccard.conf # AmbiCom 56K V.90 Modem, PCMCIA modem card "Ambicom" "AmbiCom 56K V.90 Modem" config 0x5 "sio" ? logstr "Ambicom V90 Modem" Looking over the long list of PCMCIA nic cards in pccard.conf, it seems that nic configuration might be more complex. I'm taking the liberty of posting this to the freebsd-mobile@freebsd.org mailing list. You can subscribe to it by writing 'subscribe mobile' in the body of a message to: Majordomo@FreeBSD.ORG Actually, one other things you need to ask yourself -- somewhere in the boot messages is there indication that pccardd is running and has a PCMCIA card been probed and assigned an IRQ? Good luck, Hal ----- Original Message ----- From: fybar To: Sent: Monday, February 19, 2001 6:45 PM > Hal, > > I read a post on mpc.lists.freebsd.mobile where you were having a problem > with a pcmcia card. That is where I got your email, hope you don't mind. I > want to get my IBM Ethernet II pcmcia nic card working with freebsd. I have > no idea what should go into an entry of pccard.conf. I haven't been able to > find any information on what an entry would need. I can get some > information from dumpcis, but I don't know what to make of it. Could you > point me to a tutorial or URL? > > Thanks, > > Trevor > > ===================================== *********************************************** 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 = 0x15 (Version 1 info), length = 40 000: 04 01 41 6d 62 69 63 6f 6d 00 41 6d 62 69 43 6f 010: 6d 20 35 36 4b 20 56 2e 39 30 20 4d 6f 64 65 6d 020: 00 30 32 31 00 41 00 ff Version = 4.1, Manuf = [Ambicom], card vers = [AmbiCom 56K V.90 Modem] Addit. info = [021],[A] Tuple #3, code = 0x20 (Manufacturer ID), length = 4 000: 13 00 00 00 PCMCIA ID = 0x13, OEM ID = 0x0 Tuple #4, code = 0x21 (Functional ID), length = 2 000: 02 00 Serial port/modem Tuple #5, code = 0x22 (Functional EXT), length = 4 000: 00 02 0f 5c Serial interface extension: 16550 UART, Parity - Space,Mark,Odd,Even Data bit - 7bit,8bit, Stop bit - 1bit,2bit Tuple #6, code = 0x22 (Functional EXT), length = 9 000: 05 1f 0f 00 02 00 00 02 00 Data modem interface capabilities: Tuple #7, code = 0x22 (Functional EXT), length = 9 000: 06 1f 0f 00 30 00 00 30 00 Fax/modem interface capabilities: Tuple #8, code = 0x22 (Functional EXT), length = 9 000: 07 1f 0f 00 30 00 00 30 00 Voice interface capabilities: Tuple #9, code = 0x22 (Functional EXT), length = 13 000: 02 0c 00 3f 1c 03 03 0f 07 00 01 b5 ff Data modem services available: Tuple #10, code = 0x22 (Functional EXT), length = 9 000: 13 01 00 1f 00 7a 00 b5 ff Fax1/modem services available: Tuple #11, code = 0x22 (Functional EXT), length = 16 000: 84 06 00 0b 02 07 14 00 08 00 04 00 02 00 00 00 Voice services available: Tuple #12, code = 0x1a (Configuration map), length = 5 000: 01 0d 20 04 77 Reg len = 2, config register addr = 0x420, last config = 0xd Registers: XXX-XXX- Tuple #13, code = 0x1b (Configuration entry), length = 15 000: c5 41 9d 78 65 26 2e 25 e7 5f 23 30 bc 86 28 Config index = 0x5(default) Interface byte = 0x41 (I/O) +RDY/-BSY active Vcc pwr: Continuous supply current: 6 x 10mA Max current average over 1 second: 2 x 100mA Max current average over 10 ms: 2.5 x 100mA Power down supply current: 2 x 10mA RDY/BSY scale Speed = 5.0 x 10 ms, scaled by 10 Card decodes 3 address lines, 8 Bit I/O only IRQ modes: Level IRQs: 2 3 4 5 7 9 10 15 Max twin cards = 0 Misc attr: (Audio-BVD2) (Power down supported) Tuple #14, code = 0x1b (Configuration entry), length = 7 000: 05 08 aa 60 f8 03 07 Config index = 0x5 Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x3f8 block length = 0x8 Tuple #15, code = 0x1b (Configuration entry), length = 7 000: 05 08 aa 60 f8 02 07 Config index = 0x5 Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x2f8 block length = 0x8 Tuple #16, code = 0x1b (Configuration entry), length = 7 000: 05 08 aa 60 e8 03 07 Config index = 0x5 Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x3e8 block length = 0x8 Tuple #17, code = 0x1b (Configuration entry), length = 7 000: 0d 08 aa 60 e8 02 07 Config index = 0xd Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x2e8 block length = 0x8 Tuple #18, code = 0xff (Terminator), length = 0 2 slots found To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message