Yes, my version is:  nut 2.4.3-1ubuntu3 network UPS tools - core system<br><br>The only files I see in the /dev/ directory that might be USB related are usbmon1 - usbmon5<br><br>Nothing appears when I run:   sudo modprobe cypress_m8<br>
<br>When I run:   sudo cat /proc/tty/driver/usbserial   <br>I get this:  usbserinfo:1.0 driver:2.0<br><br>I set the config file as you stated, but I can't get it to load, as it can't find USBTTY0<br><br>eric@eric-desktop:~$ sudo upsdrvctl start<br>
Network UPS Tools - UPS driver controller 2.4.3<br>Network UPS Tools - Megatec/Q1 protocol serial driver 1.51 (2.4.3)<br><br>Unable to open /dev/ttyUSB0: No such file or directory<br><br>ups.conf looks like this now:<br><br>
# /etc/nut/ups.conf<br><br>[Ultra]<br>    driver = blazer_ser<br>        port = /dev/ttyUSB0<br><br><div class="gmail_quote">On Fri, Jul 8, 2011 at 6:15 AM, Charles Lepple <span dir="ltr"><<a href="mailto:clepple@gmail.com">clepple@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word"><div><div class="im"><div>On Jul 8, 2011, at 1:42 AM, Eric OwN-3m-All wrote:</div><br>
<blockquote type="cite">I just bought an Ultra UPS system for my linux server, and I need help getting it set up.  It's an Ultra 700VA UPS.<br><br>NUT INFORMATION:  Package (apt-get install nut)<br>NUT VERSION:  Latest <br>
</blockquote><div><br></div></div><div>"Latest" doesn't sound like one of our version numbers :-) For Ubuntu 10.04, I assume it's 2.4.3-1ubuntu3 as listed here: <a href="http://packages.ubuntu.com/lucid/nut" target="_blank">http://packages.ubuntu.com/lucid/nut</a> ?</div>
<div><br></div><div>You can get the full version by running "dpkg -l nut".</div><div class="im"><br><blockquote type="cite">Driver:  I don't have one?<br></blockquote> <div><br></div></div><div>Usually, we're referring to the right side of "driver =" in ups.conf, but in your case, there may be a kernel driver involved as well. See below.</div>
<div><div></div><div class="h5"><br><blockquote type="cite"> Here's the device information from my syslog:<br> <br> <div style="margin:5px 20px 20px">  <div style="margin-bottom:2px">Code:</div>        <pre dir="ltr" style="margin:0px;padding:6px;border:1px inset;width:640px;min-height:82px;text-align:left;overflow:auto">
Jul  7 23:25:27 eric-desktop kernel: <a href="tel:%5B%203045.609066" value="+13045609066" target="_blank">[ 3045.609066</a>] usb 2-1: USB disconnect, address 3<br>
Jul  7 23:25:30 eric-desktop kernel: <a href="tel:%5B%203049.073041" value="+13049073041" target="_blank">[ 3049.073041</a>] usb 2-1: new low speed USB device using uhci_hcd and address 4<br>Jul  7 23:25:30 eric-desktop kernel: <a href="tel:%5B%203049.257903" value="+13049257903" target="_blank">[ 3049.257903</a>] usb 2-1: configuration #1 chosen from 1 choice<br>
Jul  7 23:25:31 eric-desktop kernel: <a href="tel:%5B%203049.671558" value="+13049671558" target="_blank">[ 3049.671558</a>] generic-usb 0003:0D9F:0004.0005: hiddev96,hidraw1: USB HID v1.00 Device [POWERCOM Co.,LTD HID UPS Battery] on usb-0000:00:1d.0-1/input0</pre>
 </div>Here's my etc/nut/ups.conf file:<br> <br> <div style="margin:5px 20px 20px">       <div style="margin-bottom:2px">Code:</div>        <pre dir="ltr" style="margin:0px;padding:6px;border:1px inset;width:640px;min-height:194px;text-align:left;overflow:auto">
# /etc/nut/ups.conf<br><br>[Ultra]<br>    driver = powercom<br>    port = port=/dev/hidraw1<br>
    linevoltage = 120<br>    manufacturer = Ultra<br>    modelname = ULTRA 700VA<br>    type = Trust<br>    methodOfFlowControl=dtr0rts1<br>    shutdownArguments = {{7,10},y}</pre> </div>Here's what I get when I run sudo upsdrvctl start:<br>
 <br> <div style="margin:5px 20px 20px">  <div style="margin-bottom:2px">Code:</div>        <pre dir="ltr" style="margin:0px;padding:6px;border:1px inset;width:640px;min-height:242px;text-align:left;overflow:auto">eric@eric-desktop:~$ sudo upsdrvctl start<br>
Network UPS Tools - UPS driver controller 2.4.3<br>
Network UPS Tools - PowerCom protocol UPS driver 0.12 (2.4.3)<br><br>Unable to open port=/dev/hidraw1: No such file or directory<br><br>Things to try:<br><br> - Check 'port=' in ups.conf<br><br> - Check owner/permissions of all parts of path<br>

<br>Fatal error: unusable configuration<br>Driver failed to start (exit status=1)</pre> </div>I've been following these guides:<br> <br> <a href="http://blog.shadypixel.com/monitoring-a-ups-with-nut-on-debian-or-ubuntu-linux/" target="_blank">http://blog.shadypixel.com/monitorin...-ubuntu-linux/</a><br>
 <a href="http://www.mail-archive.com/nut-upsuser@lists.alioth.debian.org/msg05168.html" target="_blank">http://www.mail-archive.com/nut-upsu.../msg05168.html</a><br> <br> /dev/hidraw1 does exist... is this how I'm supposed to configure a USB connection between my UPS system?  What permissions need to be set on hidraw1?<br>
</blockquote></div></div></div><br><div>None of the NUT drivers use /dev/hidraw*. Also, it appears you have "port=" twice on the same line.</div><div><br></div><div>Are there any /dev/ttyUSB* device nodes? Do any appear if you run "sudo modprobe cypress_m8"? (Although I think that module would have been loaded automatically if needed.) </div>
<div><br></div><div>What do you get from "sudo cat /proc/tty/driver/usbserial"?</div><div><br></div><div>Basically, if the NUT driver name doesn't contain "usb", the driver is expecting a serial port device name (either one corresponding to a physical 9- or 25-pin port, or a virtual one created by a USB-to-serial converter driver in the kernel).</div>
<div><br></div><div>Another tip from the nut-upsuser thread is to start with the shortest possible entry in ups.conf (driver= and port= are required across all drivers), and build up as things start to work. In your case, I would try this:</div>
<div><br></div><div>[Ultra]</div><div><span style="white-space:pre-wrap">   </span>driver = blazer_ser</div><div>        port = /dev/ttyUSB0</div><div><br></div><div>The guess of blazer_ser is due to the ULT line here:</div>
<div><br></div><div><a href="http://www.networkupstools.org/stable-hcl.html?manufacturer=Powercom" target="_blank">http://www.networkupstools.org/stable-hcl.html?manufacturer=Powercom</a></div><div><br></div><div>Also, the entries below that for the "powercom" driver mention USB Product ID 0002, and the 0D9F:0004 entry in the syslog seems to indicate a Product ID of 0004.</div>
<div><br></div><div>-- </div><div>Charles Lepple</div></div></blockquote></div><br>