------=_Part_76762_1012259.1165555270079
Content-Type: text/plain; charset=WINDOWS-1252; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
tty01 would be the second serial port on the device..
I've never used a Cube, but does it have a second serial port? (Does it
show up in dmesg?)
-=3Derik.
On 12/7/06, Glyn Astill <glynastill@yahoo.co.uk> wrote:
>
> Hi people,
>
> It's been a while since I last had time to look at my Qube, however
> today I tried installing apcupsd onto it via pkgsrc. I go it
> installed and checked out the apcupsd.conf file which looked okay.
>
> I'm using it over the serial port, however when running apcupsd or
> apctest I get the following on screen:
>
> ------------------------------------------------------------------
> 2006-12-08 01:52:15 apctest 3.8.6 (5 February 2003) netbsd
> Checking configuration ...
> sharenet.type =3D DISABLE
> cable.type =3D CUSTOM_SMART
>
> You are using a SMART cable type, so I'm entering SMART test mode
> mode.type =3D SMART
> Setting up serial port ...
> apctest FATAL ERROR in apcserial.c at line 85
> Cannot open UPS tty /dev/tty01: Device not configured
> apctest FATAL ERROR in apcserial.c at line 85
> Cannot open UPS tty /dev/tty01: Device not configured
> apctest error shutdown completed
> --------------------------------------------------------------
>
> Does anyone know what the error:
>
> Cannot open UPS tty /dev/tty01: Device not configured
>
> means?
>
> The manual here:
>
> http://www.sibbald.com/apcupsd/3.8manual/bugs.html
>
> Says I must edit line 85 of apcserial.c however how do I do this if
> I'm using pkgsrc? Surely as I'm using pkgsrc and apcupsd version
> later than this it would have been fixed on the nedbsd pkgsrc?
>
>
> Any ideas would be greatly appreciated.
> Glyn
>
>
>
>
>
> ___________________________________________________________
> Try the all-new Yahoo! Mail. "The New Version is radically easier to use"
> =96 The Wall Street Journal
> http://uk.docs.yahoo.com/nowyoucan.html
>
------=_Part_76762_1012259.1165555270079
Content-Type: text/html; charset=WINDOWS-1252
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
tty01 would be the second serial port on the device..<br><br>I've never use=
d a Cube, but does it have a second serial port?&nbsp; (Does it show up in =
dmesg?)<br><br>-=3Derik.<br><br><br><div><span class=3D"gmail_quote">On 12/=
7/06,=20
<b class=3D"gmail_sendername">Glyn Astill</b> &lt;<a href=3D"mailto:glynast=
ill@yahoo.co.uk" target=3D"_blank" onclick=3D"return top.js.OpenExtLink(win=
dow,event,this)">glynastill@yahoo.co.uk</a>&gt; wrote:</span><blockquote cl=
ass=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); mar=
gin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi people,<br><br>It's been a while since I last had time to look at my Qub=
e, however<br>today I tried installing apcupsd onto it via pkgsrc. I go it<=
br>installed and checked out the apcupsd.conf file which looked okay.<br>
<br>I'm using it over the serial port, however when running apcupsd or<br>a=
pctest I get the following on screen:<br><br>------------------------------=
------------------------------------<br>2006-12-08 01:52:15 apctest 3.8.6
(5 February 2003) netbsd<br>Checking configuration ...<br>sharenet.type =
=3D DISABLE<br>cable.type =3D CUSTOM_SMART<br><br>You are using a SMART cab=
le type, so I'm entering SMART test mode<br>mode.type =3D SMART<br>Setting =
up serial port ...
<br>apctest FATAL ERROR in apcserial.c at line 85<br>Cannot open UPS tty /d=
ev/tty01: Device not configured<br>apctest FATAL ERROR in apcserial.c at li=
ne 85<br>Cannot open UPS tty /dev/tty01: Device not configured<br>apctest e=
rror shutdown completed
<br>--------------------------------------------------------------<br><br>D=
oes anyone know what the error:<br><br>Cannot open UPS tty /dev/tty01: Devi=
ce not configured<br><br>means?<br><br>The manual here:<br><br><a href=3D"h=
ttp://www.sibbald.com/apcupsd/3.8manual/bugs.html" target=3D"_blank" onclic=
k=3D"return top.js.OpenExtLink(window,event,this)">
http://www.sibbald.com/apcupsd/3.8manual/bugs.html</a><br><br>Says I must e=
dit line 85 of apcserial.c however how do I do this if<br>I'm using pkgsrc?=
Surely as I'm using pkgsrc and apcupsd version<br>later than this it would=
have been fixed on the nedbsd pkgsrc?
<br><br><br>Any ideas would be greatly appreciated.<br>Glyn<br><br><br><br>=
<br><br>___________________________________________________________<br>Try =
the all-new Yahoo! Mail. &quot;The New Version is radically easier to use&q=
uot; =96 The Wall Street Journal
<br><a href=3D"http://uk.docs.yahoo.com/nowyoucan.html" target=3D"_blank" o=
nclick=3D"return top.js.OpenExtLink(window,event,this)">http://uk.docs.yaho=
o.com/nowyoucan.html</a><br></blockquote></div><br>
------=_Part_76762_1012259.1165555270079--