Hello all,

I think I've just about got nut going except for one incredibly
irritating detail.  ups.conf needs to say what serial port my UPS is
on.

I made a few guesses, all of which were apparently wrong.

I'm getting lots of this kind of thing in /var/log/daemon:

Feb 13 02:00:01 lupin newsyslog[22881]: logfile turned over
Feb 13 02:00:04 lupin upsmon[31538]: Poll UPS [EMAIL PROTECTED]
failed - [1500AVR] does not exist on server localhost
Feb 13 02:00:09 lupin upsmon[31538]: Poll UPS [EMAIL PROTECTED]
failed - [1500AVR] does not exist on server localhost
Feb 13 02:00:09 lupin upsmon[31538]: UPS [EMAIL PROTECTED] is
unavailable
                                                                               
Broadcast Message from [EMAIL PROTECTED]                                
        ((not a tty)) at 2:00 ...                                              
                                                                               
UPS [EMAIL PROTECTED] is unavailable                                           
                                                                               
dmesg looks like:

OpenBSD 3.8-stable (GENERIC) #33: Sun Feb 12 02:28:05 PST 2006
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID
real mem  = 1610133504 (1572396K)
avail mem = 1461854208 (1427592K)
using 4278 buffers containing 80609280 bytes (78720K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(de) BIOS, date 10/24/02, BIOS32 rev. 0 @ 0xfb1b0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdf44
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/160 (8 entries)
pcibios0: PCI Exclusive IRQs: 5 9 11 12
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0x8000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 vendor "VIA", unknown product 0x3168 rev 0x03
ppb0 at pci0 dev 1 function 0 "VIA VT8235 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci0 dev 8 function 0 "ATI Rage 128 Pro TR" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 9 function 0 "Intel S21154AE/BE PCI-PCI" rev 0x00
pci2 at ppb1 bus 2
sf0 at pci2 dev 4 function 0 "Adaptec AIC-6915" rev 0x03: irq 9 address 
00:00:d1:f0:24:2d
sqphy0 at sf0 phy 1: Seeq 84220 10/100 PHY, rev. 0
sf1 at pci2 dev 5 function 0 "Adaptec AIC-6915" rev 0x03: irq 5 address 
00:00:d1:f0:24:2e
sqphy1 at sf1 phy 1: Seeq 84220 10/100 PHY, rev. 0
sf2 at pci2 dev 6 function 0 "Adaptec AIC-6915" rev 0x03: irq 12 address 
00:00:d1:f0:24:2f
sqphy2 at sf2 phy 1: Seeq 84220 10/100 PHY, rev. 0
sf3 at pci2 dev 7 function 0 "Adaptec AIC-6915" rev 0x03: irq 11 address 
00:00:d1:f0:24:30
sqphy3 at sf3 phy 1: Seeq 84220 10/100 PHY, rev. 0
dc0 at pci0 dev 11 function 0 "Lite-On PNIC" rev 0x20: irq 12, address 
00:a0:cc:65:ba:d0
bmtphy0 at dc0 phy 1: BCM5201 10/100 PHY, rev. 2
xl0 at pci0 dev 12 function 0 "3Com 3c905 100Base-TX" rev 0x00: irq 11, address 
00:60:97:58:f4:49
nsphy0 at xl0 phy 24: DP83840 10/100 PHY, rev. 0
vr0 at pci0 dev 14 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 5 address 
00:40:63:c3:80:0e
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x004063, model 0x0034, rev. 3
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x80: irq 9
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80: irq 5
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" rev 0x82: irq 12
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
pcib0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00
pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <WDC WD400BB-00DEA0>
wd0: 16-sector PIO, LBA, 38166MB, 78165360 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <, CD-ROM CMD5X11, 1.06> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x50: irq 5
ac97: codec id 0x49434552 (ICEnsemble VIA VT1616i)
ac97: codec features headphone, 18 bit DAC, 18 bit ADC, KS Waves 3D
audio0 at auvia0
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
it0 at isa0 port 0x290/8: IT87
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask ff65 netmask ff65 ttymask ffe7
pctr: user-level cycle counter enabled
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
uaudio0 at uhub0 port 1 configuration 1 interface 1: Logitech Camera, rev 
1.00/1.00, addr 2
uaudio0: audio rev 1.00, 5 mixer controls
audio1 at uaudio0
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state
dc0: failed to force tx and rx to idle state

I am really utterly clueless as to what of this is a serial port.
But there are two of them on the back of the system.

Help!

Thanks!
-- 
David Benfell, LCP
[EMAIL PROTECTED]
---
Resume available at http://www.parts-unknown.org/

Reply via email to