From owner-freebsd-mobile Fri May 7 10:55:38 1999 Delivered-To: freebsd-mobile@freebsd.org Received: from kent.tfd.com (rtp.tfd.com [198.79.53.206]) by hub.freebsd.org (Postfix) with ESMTP id BB11514EF8 for ; Fri, 7 May 1999 10:55:32 -0700 (PDT) (envelope-from kent@kent.tfd.com) Received: (from kent@localhost) by kent.tfd.com (8.9.2/8.9.2) id NAA00248 for mobile@freebsd.org; Fri, 7 May 1999 13:58:48 -0400 (EDT) (envelope-from kent) Date: Fri, 7 May 1999 13:58:48 -0400 (EDT) From: Kent Hauser Message-Id: <199905071758.NAA00248@kent.tfd.com> To: mobile@freebsd.org Subject: pccard.conf entry help needed Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi all, In my continuing quest to get a serial port working for my new ThinkPad, I obtained one of the "socket communications" serial port PCMCIA cards. It's supposed to look like a standard serial port -- and so I assumed the modem card support would be sufficient. It might be, but at the very least, I am unable to get my "pccard.conf" entry correct. Attached is the kernel "sio" device declarations, a small excerpt of the /var/log/messages file, my attempt at a pccard.conf entry, and the dumpcis output. And I do have other pccard stuff running on the machine. This email is coming to you via my 5C589 & the ep0 driver. Any help sorting this out would be greatly appreciated. Thanks. Kent =========== >>> kernel config excerpt: device sio0 at isa? port "IO_COM1" tty irq 4 device sio1 at isa? port "IO_COM2" tty irq 3 device sio2 at isa? port "IO_COM3" tty irq 5 device sio3 at isa? port "IO_COM4" tty irq 9 =========== >>> /var/log/messages messages: May 7 13:48:56 kent /kernel: psm0: model Generic PS/2 mouse, device ID 0 May 7 13:48:56 kent /kernel: sio0: configured irq 4 not in bitmap of probed irqs 0 May 7 13:48:56 kent /kernel: sio0 not found at 0x3f8 May 7 13:48:56 kent /kernel: sio1: configured irq 3 not in bitmap of probed irqs 0 May 7 13:48:56 kent /kernel: sio1 not found at 0x2f8 May 7 13:48:56 kent /kernel: sio2: configured irq 5 not in bitmap of probed irqs 0 May 7 13:48:56 kent /kernel: sio2 not found at 0x3e8 May 7 13:48:56 kent /kernel: sio3: configured irq 9 not in bitmap of probed irqs 0 May 7 13:48:56 kent /kernel: sio3 May 7 13:48:56 kent /kernel: not found at 0x2e8 ... May 7 13:48:56 kent /kernel: Initializing PC-card drivers: ed May 7 13:48:56 kent /kernel: changing root device to wd0s2a May 7 13:48:56 kent /kernel: PC-Card Intel 82365 (5 mem & 2 I/O windows) May 7 13:48:56 kent /kernel: pcic: controller irq 3 May 7 13:48:56 kent /kernel: Card inserted, slot 0 May 7 13:48:56 kent /kernel: Card inserted, slot 1 May 7 13:48:59 kent pccardd[58]: Resource allocation failure for Socket Communications Inc May 7 13:49:09 kent /kernel: ep0: utp/bnc[*UTP*] address 00:a0:24:65:76:28 May 7 13:49:09 kent routed[89]: ignore RTM_ADD without gateway May 7 13:49:09 kent routed[89]: write(rt_sock) RTM_ADD 10.9.0.0/16 --> 10.9.200.50: File exists May 7 13:49:09 kent pccardd[58]: pccardd started =========== >>> pccard.conf excerpt: # Generally available IO ports io 0x240-0x360 # Generally available IRQs (Built-in sound-card owners remove 5) irq 3 5 10 11 13 15 # Available memory slots memory 0xd4000 96k # Serial IO adapter card "Socket Communications Inc" "Serial Port Adapter Revision " config 0x5 "sio2" 5 insert echo Serial I/O inserted remove echo Serial I/O removed ================ >>> pccardc dumpcis: output Configuration data for card in slot 0 Tuple #1, code = 0x1 (Common memory descriptor), length = 2 000: d4 3a Common memory device information: Device number 1, type Function specific, WPS = OFF Speed = 100nS, Memory block size = 8Kb, 8 units Tuple #2, code = 0x10 (Checksum), length = 5 000: 07 00 e8 00 6f Checksum from offset 7, length 232, value is 0x6f Tuple #3, code = 0x17 (Attribute memory descriptor), length = 2 000: d4 3a Attribute memory device information: Device number 1, type Function specific, WPS = OFF Speed = 100nS, Memory block size = 8Kb, 8 units Tuple #4, code = 0x14 (No link), length = 0 Tuple #5, code = 0x20 (Manufacturer ID), length = 4 000: 04 01 01 00 PCMCIA ID = 0x104, OEM ID = 0x1 Tuple #6, code = 0x21 (Functional ID), length = 2 000: 02 01 Serial port/modem - POST initialize Tuple #7, code = 0x22 (Functional EXT), length = 4 000: 00 02 0f 7f Serial interface extension: 16550 UART, Parity - Space,Mark,Odd,Even, Tuple #8, code = 0x15 (Version 1 info), length = 59 000: 04 01 53 6f 63 6b 65 74 20 43 6f 6d 6d 75 6e 69 010: 63 61 74 69 6f 6e 73 20 49 6e 63 00 53 65 72 69 020: 61 6c 20 50 6f 72 74 20 41 64 61 70 74 65 72 20 030: 52 65 76 69 73 69 6f 6e 20 42 00 Version = 4.1, Manuf = [Socket Communications Inc],card vers = [Serial Port Adapter Revision B] Addit. info = [],[] Tuple #9, code = 0x1a (Configuration map), length = 5 000: 01 00 00 80 0f Reg len = 2, config register addr = 0x8000, last config = 0x0 Registers: XXXX---- Tuple #10, code = 0x1b (Configuration entry), length = 19 000: c1 41 99 49 55 2d 54 23 30 ff ff 20 c1 05 43 4f 010: 4d 58 00 Config index = 0x1(default) Interface byte = 0x41 (I/O) +RDY/-BSY active Vcc pwr: Nominal operating supply voltage: 5 x 1V Continuous supply current: 2.5 x 10mA Power down supply current: 5 x 1mA Card decodes 3 address lines, 8 Bit I/O only IRQ modes: Level IRQ level = 3 Max twin cards = 0 Misc attr: (Read-only) (Power down supported) Tuple #11, code = 0x1b (Configuration entry), length = 23 000: c3 41 99 49 55 2d 54 b0 60 f8 03 07 30 10 00 20 010: c1 05 43 4f 4d 31 00 Config index = 0x3(default) Interface byte = 0x41 (I/O) +RDY/-BSY active Vcc pwr: Nominal operating supply voltage: 5 x 1V Continuous supply current: 2.5 x 10mA Power down supply current: 5 x 1mA Card decodes 16 address lines, 8 Bit I/O only I/O address # 1: block start = 0x3f8 block length = 0x8 IRQ modes: Level IRQs: 4 5 12 Max twin cards = 0 Misc attr: (Power down supported) Tuple #12, code = 0x1b (Configuration entry), length = 23 000: c5 41 99 49 55 2d 54 b0 60 f8 02 07 30 08 00 20 010: c1 05 43 4f 4d 32 00 Config index = 0x5(default) Interface byte = 0x41 (I/O) +RDY/-BSY active Vcc pwr: Nominal operating supply voltage: 5 x 1V Continuous supply current: 2.5 x 10mA Power down supply current: 5 x 1mA Card decodes 16 address lines, 8 Bit I/O only I/O address # 1: block start = 0x2f8 block length = 0x8 IRQ modes: Level IRQs: 4 5 11 Max twin cards = 0 Misc attr: (Power down supported) Tuple #13, code = 0x1b (Configuration entry), length = 23 000: c7 41 99 49 55 2d 54 b0 60 e8 03 07 30 10 00 20 010: c1 05 43 4f 4d 33 00 Config index = 0x7(default) Interface byte = 0x41 (I/O) +RDY/-BSY active Vcc pwr: Nominal operating supply voltage: 5 x 1V Continuous supply current: 2.5 x 10mA Power down supply current: 5 x 1mA Card decodes 16 address lines, 8 Bit I/O only I/O address # 1: block start = 0x3e8 block length = 0x8 IRQ modes: Level IRQs: 4 5 12 Max twin cards = 0 Misc attr: (Power down supported) Tuple #14, code = 0x1b (Configuration entry), length = 23 000: c9 41 99 49 55 2d 54 b0 60 e8 02 07 30 08 00 20 010: c1 05 43 4f 4d 34 00 Config index = 0x9(default) Interface byte = 0x41 (I/O) +RDY/-BSY active Vcc pwr: Nominal operating supply voltage: 5 x 1V Continuous supply current: 2.5 x 10mA Power down supply current: 5 x 1mA Card decodes 16 address lines, 8 Bit I/O only I/O address # 1: block start = 0x2e8 block length = 0x8 IRQ modes: Level IRQs: 4 5 11 Max twin cards = 0 Misc attr: (Power down supported) Tuple #15, code = 0x1b (Configuration entry), length = 18 000: c0 40 e1 49 55 2d 54 48 01 80 00 20 c1 04 4d 45 010: 4d 00 Config index = 0x0(default) Interface byte = 0x40 (memory) +RDY/-BSY active Vcc pwr: Nominal operating supply voltage: 5 x 1V Continuous supply current: 2.5 x 10mA Power down supply current: 5 x 1mA Memory descriptor 1 blk length = 0x100 card addr = 0x8000 Max twin cards = 0 Misc attr: (Power down supported) Tuple #16, 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