From owner-freebsd-questions Sat Dec 1 0: 0:56 2001 Delivered-To: freebsd-questions@freebsd.org Received: from out4.mx.nwbl.wi.voyager.net (out4.mx.nwbl.wi.voyager.net [169.207.1.77]) by hub.freebsd.org (Postfix) with ESMTP id 3779037B405 for ; Sat, 1 Dec 2001 00:00:52 -0800 (PST) Received: from shell.core.com (IDENT:2525@shell.voyager.net [169.207.1.89]) by out4.mx.nwbl.wi.voyager.net (8.11.1/8.11.1) with ESMTP id fB180pU82501 for ; Sat, 1 Dec 2001 02:00:51 -0600 (CST) Received: (from dpoland@localhost) by shell.core.com (8.11.6/8.11.6/1.3) id fB180oj09632 for questions@freebsd.org; Sat, 1 Dec 2001 02:00:50 -0600 (CST) Date: Sat, 1 Dec 2001 02:00:50 -0600 From: Doug Poland To: questions@freebsd.org Subject: serial port problem Message-ID: <20011201020049.A9159@polands.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I'm having a problem with a serial port and I don't know how to diagnose it. I'm trying to hook up an APC SMART-UPS via a black 940-0024C cable. When I attempt to start the apcsmart driver, I get: judeah# /usr/local/libexec/nut/apcsmart /dev/cuaa0 Network UPS Tools - APC Smart protocol driver 0.60 (0.45.1) Serial port read timed out Unable to detect an APC Smart protocol UPS on port /dev/cuaa0 Check the cabling, port name or model name and try again The cable is good, it's been used on another machine for 6 months. It's fully seated in the serial port. So I check the port with dmesg: judeah# dmesg | grep sio sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 I don't know how to check the port other than issue stty: judeah# stty -f /dev/cuaa0 -a speed 9600 baud; 0 rows; 0 columns; lflags: -icanon -isig -iexten -echo -echoe -echok -echoke -echonl -echoctl -echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo -extproc iflags: -istrip -icrnl -inlcr -igncr -ixon -ixoff -ixany -imaxbel -ignbrk -brkint -inpck -ignpar -parmrk oflags: -opost -onlcr -ocrnl -oxtabs -onocr -onlret cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow -dtrflow -mdmbuf cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = ; eol2 = ; erase = ^?; erase2 = ^H; intr = ^C; kill = ^U; lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W; A check of irq's with dmesg doesn't reveal any conflicts: judeah# dmesg | grep irq rl0: port 0xfc00-0xfcff mem 0xfedffc00-0xfedffcff irq 11 at device 12.0 on pci0 ahc0: port 0xf800-0xf8ff mem 0xfedfe000-0xfedfefff irq 10 at device 13.0 on pci0 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 ata1 at port 0x170-0x177,0x376 irq 15 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio1: configured irq 3 not in bitmap of probed irqs 0 ppc0: at port 0x378-0x37f irq 7 on isa0 Does anyone know what's going on here or can tell me how to diagnose this? FYI, I'm running 4.4-STABLE on a Compaq Presario 7170. -- Regards, Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message