<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Charles,<br>
<br>
Here is the output:<br>
<br>
ugen1.3: <USB UPS PPC> at usbus1, cfg=0 md=HOST spd=LOW
(1.5Mbps) pwr=ON<br>
<br>
bLength = 0x0012 <br>
bDescriptorType = 0x0001 <br>
bcdUSB = 0x0200 <br>
bDeviceClass = 0x0000 <br>
bDeviceSubClass = 0x0000 <br>
bDeviceProtocol = 0x0000 <br>
bMaxPacketSize0 = 0x0008 <br>
idVendor = 0x06da <br>
idProduct = 0x0005 <br>
bcdDevice = 0x0003 <br>
iManufacturer = 0x0003 <PPC><br>
iProduct = 0x0001 <USB UPS><br>
iSerialNumber = 0x0000 <no string><br>
bNumConfigurations = 0x0001 <br>
<br>
I am running all the ups programs as root, i.e. "ps -aux" shows:<br>
<br>
root 39901 0.0 0.0 22388 3860 ?? Is 12:57AM 0:00.00
/usr/local/bin/upslog -s UPSonic@localhost -l /var/log/ups.log -i
300 -u root<br>
root 39976 0.0 0.0 22392 3804 ?? Is 12:57AM 0:00.00
/usr/local/sbin/upsmon -u root localhost<br>
root 39978 0.0 0.0 22392 3900 ?? S 12:57AM 0:00.01
/usr/local/sbin/upsmon -u root localhost<br>
<br>
The /var/log/ups.log does not have much in it either that<br>
makes sense....maybe I need a utility to decode it?<br>
Sample lines from the is file are:<br>
<br>
20140131 103652 NA NA NA [NA] NA NA<br>
20140131 103914 NA NA NA [NA] NA NA<br>
20140131 103914 NA NA NA [NA] NA NA<br>
20140131 104414 NA NA NA [NA] NA NA<br>
20140131 104914 NA NA NA [NA] NA NA<br>
20140131 105221 NA NA NA [NA] NA NA<br>
20140131 105221 NA NA NA [NA] NA NA<br>
20140131 105721 NA NA NA [NA] NA NA<br>
20140131 110221 NA NA NA [NA] NA NA<br>
20140131 110330 NA NA NA [NA] NA NA<br>
20140131 110330 NA NA NA [NA] NA NA<br>
20140131 110631 NA NA NA [NA] NA NA<br>
20140131 110631 NA NA NA [NA] NA NA<br>
20140131 110923 NA NA NA [NA] NA NA<br>
20140131 110923 NA NA NA [NA] NA NA<br>
20140131 111323 NA NA NA [NA] NA NA<br>
20140204 092035 NA NA NA [NA] NA NA<br>
20140204 092045 NA NA NA [NA] NA NA<br>
20140204 092045 NA NA NA [NA] NA NA<br>
20140204 092545 NA NA NA [NA] NA NA<br>
<br>
<br>
<br>
On 2/3/14, 8:39 PM, Charles Lepple wrote:<br>
</div>
<blockquote
cite="mid:E3B5590C-F1C4-4D72-9DB1-4218A699AE23@gmail.com"
type="cite">
<div>
<div>On Feb 3, 2014, at 9:05 PM, Chris Duffy wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Thx for the info Charles.<br>
<br>
Here is what I am seeing from<br>
'<font class="Apple-style-span" face="'Courier New'">usbconfig
list</font>'<br>
</div>
</div>
</blockquote>
<div bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">[...]</div>
</div>
<blockquote type="cite">
<div bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">ugen1.3: <USB UPS PPC> at
usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON<br>
<br>
<br>
The last line I guess is key.<br>
</div>
</div>
</blockquote>
<div><br>
</div>
Unfortunately, it is not very unique: the vendor can pick the
string "USB UPS PPC", but the drivers match on the numeric IDs.
Try '<font class="Apple-style-span" face="'Courier New'">usbconfig
-d ugen1.3 dump_device_desc</font>'
<div bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"> <br>
</div>
</div>
<blockquote type="cite">
<div bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"> I did try all the diff
combinations from the chart below<br>
to no avail.....<br>
</div>
</div>
</blockquote>
<div bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"> <br>
</div>
<div class="moz-cite-prefix">"no avail" is not one of our
error messages... I just checked :-)</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">What was the error message from
blazer_usb?</div>
<div class="moz-cite-prefix"><br>
</div>
</div>
<blockquote type="cite">
<div bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"> and they are using a USB
cable/port.....<br>
</div>
</div>
</blockquote>
<div bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"> <br>
</div>
<div class="moz-cite-prefix">see below.</div>
<div class="moz-cite-prefix"><br>
</div>
</div>
<blockquote type="cite">
<div bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"> Thx for any leads.<br>
<br>
Chris<br>
<br>
<br>
On 1/31/14, 6:17 PM, Charles Lepple wrote:<br>
</div>
<blockquote type="cite">
<div>
<div class="">On Jan 31, 2014, at 3:14 PM, Chris Duffy
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite"><span style="border-collapse:
separate; font-family: Helvetica; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal;
orphans: 2; text-align: -webkit-auto; text-indent:
0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; font-size: medium; "
class="Apple-style-span">The current one I am
looking is support for:<br class="">
<br class="">
<font class="" face="Arial"><b class="">Upsonic Commercial
UPS CXR 2000 - 2000VA/1200W - Rack/Tower</b></font><br
class="">
<br class="">
What seems to be supported in Freebsd is:<br
class="">
</span></blockquote>
<div><br>
</div>
Small clarification: the hardware compatibility list
isn't broken down by operating system (theoretically,
the drivers should work on any POSIX system, with
additional dependencies for USB).</div>
<div><br>
<blockquote type="cite"><span style="border-collapse:
separate; font-family: Helvetica; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal;
orphans: 2; text-align: -webkit-auto; text-indent:
0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; font-size: medium; "
class="Apple-style-span"><br class="">
<table id="ups_list" class="" style="position:
static; z-index: auto; " border="1">
<tbody id="ups_list_body" class="">
<tr class="">
<td rowspan="1" class="odd">CXR1000<br
class="">
</td>
<td rowspan="1" class="orange">blazer_ser</td>
</tr>
<tr class="">
<td rowspan="1" class="odd">LAN Saver 600<br
class="">
</td>
<td rowspan="1" class="red">genericups
upstype=0</td>
</tr>
<tr class="">
<td rowspan="1" class="odd">Power Guardian<br
class="">
</td>
<td rowspan="1" class="red">genericups
upstype=7</td>
</tr>
<tr class="">
<td rowspan="1" class="odd">PrOffice 650<br
class="">
USB</td>
<td rowspan="1" class="orange">blazer_usb</td>
</tr>
<tr class="">
<td rowspan="1" class="odd">DS-800<br class="">
USB</td>
<td rowspan="1" class="orange">blazer_usb</td>
</tr>
</tbody>
</table>
<br class="">
<br class="">
we tried these but not much luck according to my
customer.<br class="">
Has anyone got this one to work on Freebsd and<br
class="">
what is needed for the config?<br class="">
</span></blockquote>
<br>
</div>
<div>In general, permissions on device nodes aren't set up
automatically in FreeBSD. In particular, the USB nodes
aren't writable by the default system username for NUT
(uucp), so you probably will need to make a change to
devd.conf.</div>
</blockquote>
</div>
</blockquote>
<div bgcolor="#FFFFFF" text="#000000">
<div><br>
</div>
Given the usbconfig output above, you will either need to run
the driver as root ("-u root" on the command line) or change
the permissions ("chown uucp /dev/usb/1.3.*"). The /dev
filesystem is volatile, so this will reset itself on the next
boot.</div>
<div bgcolor="#FFFFFF" text="#000000"><br>
</div>
</div>
<div>
<span class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: Helvetica; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; font-size: medium; ">
<div>-- </div>
<div>Charles Lepple</div>
<div>clepple@gmail</div>
<div><br>
</div>
</span><br class="Apple-interchange-newline">
</div>
<br>
</blockquote>
<br>
<br>
</body>
</html>