[Nut-upsuser] Ubuntu 10.04 Ultra 700VA UPS Setup Nut

Eric OwN-3m-All own3mall at gmail.com
Sun Jul 10 05:45:37 UTC 2011


Yes, my version is:  nut 2.4.3-1ubuntu3 network UPS tools - core system

The only files I see in the /dev/ directory that might be USB related are
usbmon1 - usbmon5

Nothing appears when I run:   sudo modprobe cypress_m8

When I run:   sudo cat /proc/tty/driver/usbserial
I get this:  usbserinfo:1.0 driver:2.0

I set the config file as you stated, but I can't get it to load, as it can't
find USBTTY0

eric at eric-desktop:~$ sudo upsdrvctl start
Network UPS Tools - UPS driver controller 2.4.3
Network UPS Tools - Megatec/Q1 protocol serial driver 1.51 (2.4.3)

Unable to open /dev/ttyUSB0: No such file or directory

ups.conf looks like this now:

# /etc/nut/ups.conf

[Ultra]
    driver = blazer_ser
        port = /dev/ttyUSB0

On Fri, Jul 8, 2011 at 6:15 AM, Charles Lepple <clepple at gmail.com> wrote:

> On Jul 8, 2011, at 1:42 AM, Eric OwN-3m-All wrote:
>
> 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.
>
> NUT INFORMATION:  Package (apt-get install nut)
> NUT VERSION:  Latest
>
>
> "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:
> http://packages.ubuntu.com/lucid/nut ?
>
> You can get the full version by running "dpkg -l nut".
>
> Driver:  I don't have one?
>
>
> 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.
>
> Here's the device information from my syslog:
>
>  Code:
>
> Jul  7 23:25:27 eric-desktop kernel: [ 3045.609066] usb 2-1: USB disconnect, address 3
>
> Jul  7 23:25:30 eric-desktop kernel: [ 3049.073041] usb 2-1: new low speed USB device using uhci_hcd and address 4
> Jul  7 23:25:30 eric-desktop kernel: [ 3049.257903] usb 2-1: configuration #1 chosen from 1 choice
> Jul  7 23:25:31 eric-desktop kernel: [ 3049.671558] 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
>
> Here's my etc/nut/ups.conf file:
>
>  Code:
>
> # /etc/nut/ups.conf
>
> [Ultra]
>     driver = powercom
>     port = port=/dev/hidraw1
>
>     linevoltage = 120
>     manufacturer = Ultra
>     modelname = ULTRA 700VA
>     type = Trust
>     methodOfFlowControl=dtr0rts1
>     shutdownArguments = {{7,10},y}
>
> Here's what I get when I run sudo upsdrvctl start:
>
>  Code:
>
> eric at eric-desktop:~$ sudo upsdrvctl start
> Network UPS Tools - UPS driver controller 2.4.3
>
> Network UPS Tools - PowerCom protocol UPS driver 0.12 (2.4.3)
>
> Unable to open port=/dev/hidraw1: No such file or directory
>
> Things to try:
>
>  - Check 'port=' in ups.conf
>
>  - Check owner/permissions of all parts of path
>
> Fatal error: unusable configuration
> Driver failed to start (exit status=1)
>
> I've been following these guides:
>
> http://blog.shadypixel.com/monitorin...-ubuntu-linux/<http://blog.shadypixel.com/monitoring-a-ups-with-nut-on-debian-or-ubuntu-linux/>
> http://www.mail-archive.com/nut-upsu.../msg05168.html<http://www.mail-archive.com/nut-upsuser@lists.alioth.debian.org/msg05168.html>
>
> /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?
>
>
> None of the NUT drivers use /dev/hidraw*. Also, it appears you have "port="
> twice on the same line.
>
> 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.)
>
> What do you get from "sudo cat /proc/tty/driver/usbserial"?
>
> 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).
>
> 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:
>
> [Ultra]
> driver = blazer_ser
>         port = /dev/ttyUSB0
>
> The guess of blazer_ser is due to the ULT line here:
>
> http://www.networkupstools.org/stable-hcl.html?manufacturer=Powercom
>
> 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.
>
> --
> Charles Lepple
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110709/70832800/attachment.html>


More information about the Nut-upsuser mailing list