From owner-freebsd-mobile Tue Sep 7 13:44:24 1999 Delivered-To: freebsd-mobile@freebsd.org Received: from stuffed-crust.co.uk (stuffed-crust.co.uk [212.24.70.2]) by hub.freebsd.org (Postfix) with SMTP id 2E88015AA9 for ; Tue, 7 Sep 1999 13:44:08 -0700 (PDT) (envelope-from steveda@stuffed-crust.co.uk) Received: (qmail 4362 invoked by uid 5001); 7 Sep 1999 20:44:45 -0000 Received: from localhost.eurobell.net (HELO stuffed-crust.co.uk) (127.0.0.1) by localhost.eurobell.net with SMTP; 7 Sep 1999 20:44:45 -0000 To: mobile@freebsd.org From: Steve Darrall Subject: pccardc output confusing Date: Tue, 07 Sep 1999 21:44:44 +0100 Message-Id: <19990907204412.2E88015AA9@hub.freebsd.org> Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Well, I've got a network connection, now I just need to get a dialup PPP connection working... When my modem gets inserted, I get the usual "driver allocation failed for IBM" I'm presuming that this is for the same reason as for my ethernet adapter, in that I'm using the wrong IRQ for the card. Which of the tuples should I be taking the IRQ and I/O information from? Thanks again for your help, I'm determined to get this thing up and runnning sometime tonight. Steve The pccard.conf entry for the card is... # IBM Modem thingymajigwhatsit card "IBM" "PCMCIA 33.6 Kbps Internationa" config 0x31 "sio1" 13 sio1 is compiled into my kernel as... device sio1 at isa? port "IO_COM2" tty irq 13 The output from pccardc dumpcis on slot 0 (my modem) is.... 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 = 0x20 (Manufacturer ID), length = 4 000: 05 01 01 01 PCMCIA ID = 0x105, OEM ID = 0x101 Tuple #3, code = 0x15 (Version 1 info), length = 63 000: 04 01 49 42 4d 00 50 43 4d 43 49 41 20 33 33 2e 010: 36 20 4b 62 70 73 20 49 6e 74 65 72 6e 61 74 69 020: 6f 6e 61 6c 20 44 61 74 61 2d 46 61 78 20 4d 6f 030: 64 65 6d 00 34 2e 30 2e 37 00 00 00 00 00 ff Version = 4.1, Manuf = [IBM],card vers = [PCMCIA 33.6 Kbps International Data-Fax Modem] Addit. info = [4.0.7],[] Tuple #4, code = 0x1a (Configuration map), length = 5 000: 01 27 00 01 17 Reg len = 2, config register addr = 0x100, last config = 0x27 Registers: XXX-X--- Tuple #5, code = 0x1b (Configuration entry), length = 20 000: f0 41 9d 6e 4d 5d 25 36 05 eb 17 aa 60 f8 03 07 010: 70 b8 86 28 Config index = 0x30(default) Interface byte = 0x41 (I/O) +RDY/-BSY active Vcc pwr: Minimum operating supply voltage: 4.5 x 1V Maximum operating supply voltage: 5.5 x 1V Continuous supply current: 2 x 10mA Max current average over 10 ms: 3 x 100mA Power down supply current: 1 x 10mA RDY/BSY scale Speed = 1.2 x 10 ms, scaled by 100 Card decodes 23 address lines IRQ modes: IRQs: NMI IOCK BERR 0 1 2 4 9 11 13 15 Max twin cards = 0 Misc attr: (Audio-BVD2) (Read-only) (Power down supported) (Ext byte = 0 x3) Tuple #6, code = 0x1b (Configuration entry), length = 10 000: 31 18 aa 60 f8 02 07 70 b8 86 Config index = 0x31 Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x2f8 block length = 0x8 IRQ modes: Level, Pulse IRQs: 4 5 6 11 12 13 15 Tuple #7, code = 0x21 (Functional ID), length = 2 000: 02 01 Serial port/modem - POST initialize Tuple #8, code = 0x0 (Null tuple), length = 21 000: 00 00 00 00 00 00 80 22 ff 00 ff ff ff ff ff ff 010: ff ff ff ff ff Tuple #9, code = 0x1b (Configuration entry), length = 10 000: 32 18 aa 60 e8 03 07 70 b8 86 Config index = 0x32 Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x3e8 block length = 0x8 IRQ modes: Level, Pulse IRQs: 4 5 6 11 12 13 15 Tuple #10, code = 0x1b (Configuration entry), length = 10 000: 33 18 aa 60 e8 02 07 70 b8 86 Config index = 0x33 Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x2e8 block length = 0x8 IRQ modes: Level, Pulse IRQs: 4 5 6 11 12 13 15 Tuple #11, code = 0x1b (Configuration entry), length = 6 000: 24 18 23 70 b8 86 Config index = 0x24 Card decodes 3 address lines, 8 Bit I/O only IRQ modes: Level IRQ level = 3 Tuple #12, code = 0x1b (Configuration entry), length = 10 000: 25 18 aa 60 bc 03 03 70 b8 86 Config index = 0x25 Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x3bc block length = 0x4 IRQ modes: Level, Pulse IRQs: 4 5 6 11 12 13 15 Tuple #13, code = 0x1b (Configuration entry), length = 10 000: 26 18 aa 60 78 03 03 70 b8 86 Config index = 0x26 Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x378 block length = 0x4 IRQ modes: Level, Pulse IRQs: 4 5 6 11 12 13 15 Tuple #14, code = 0x1b (Configuration entry), length = 10 000: 27 18 aa 60 78 02 03 70 b8 86 Config index = 0x27 Card decodes 10 address lines, 8 Bit I/O only I/O address # 1: block start = 0x278 block length = 0x4 IRQ modes: Level, Pulse IRQs: 4 5 6 11 12 13 15 Tuple #15, code = 0x22 (Functional EXT), length = 4 000: 00 02 0f 7f Serial interface extension: 16550 UART, Parity - Space,Mark,Odd,Even, Tuple #16, code = 0x22 (Functional EXT), length = 9 000: 01 1f 3f 00 02 00 00 02 00 Modem interface capabilities: Tuple #17, code = 0x22 (Functional EXT), length = 12 000: 02 06 00 3f 1c 03 03 0f 06 00 00 b5 Data modem services available: Tuple #18, code = 0x22 (Functional EXT), length = 8 000: 13 06 00 1f 00 00 00 b5 Tuple #19, code = 0xff (Terminator), length = 0 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message