[Bug 753661] Re: upsd write() failed for 127.0.0.1: Broken pipe

2011-04-18 Thread Virus
yes, it 100 % reproducible.

i am ready to test svn version.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in Ubuntu.
https://bugs.launchpad.net/bugs/753661

Title:
  upsd write() failed for 127.0.0.1: Broken pipe

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 753661] Re: upsd write() failed for 127.0.0.1: Broken pipe

2011-04-18 Thread Virus
It`s working great! Many thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in Ubuntu.
https://bugs.launchpad.net/bugs/753661

Title:
  upsd write() failed for 127.0.0.1: Broken pipe

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 753661] Re: upsd write() failed for 127.0.0.1: Broken pipe

2011-04-18 Thread Virus
Yeah, upsmon working fine. I was checked it now by unplug power cable.
upsmon was generate alerts UPS powercom@localhost on battery and UPS
powercom@localhost on line power after plug cable back.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in Ubuntu.
https://bugs.launchpad.net/bugs/753661

Title:
  upsd write() failed for 127.0.0.1: Broken pipe

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 753661] Re: upsd write() failed for 127.0.0.1: Broken pipe

2011-04-17 Thread Virus
I was done:
$ for command in battery.charge battery.charge.low battery.charge.warning 
battery
.date battery.runtime battery.type device.mfr device.model device.serial 
device.type driver.name dr
iver.parameter.pollfreq driver.parameter.pollinterval driver.parameter.port 
driver.parameter.produc
tid driver.version driver.version.data driver.version.internal input.frequency 
input.voltage input.
voltage.nominal output.frequency output.voltage output.voltage.nominal 
ups.beeper.status ups.date u
ps.delay.shutdown ups.delay.start ups.load ups.mfr ups.model ups.productid 
ups.serial ups.status up
s.test.result ups.timer.shutdown; do echo -n $command ; upsc powercom 
$command; done

battery.charge 100  
battery.charge.low 10
battery.charge.warning 30
battery.date 2009/12/23
battery.runtime 25600
battery.type PbAc
device.mfr POWERCOM Co.,LTD
device.model HID UPS Battery
device.serial 004-0D9F-000
device.type ups
driver.name usbhid-ups
driver.parameter.pollfreq 30
driver.parameter.pollinterval 2
driver.parameter.port /dev/usb/hiddev0
driver.parameter.productid 0004
driver.version 2.6.0
driver.version.data PowerCOM HID 0.2
driver.version.internal 0.35
input.frequency 50.0
input.voltage 210.0
input.voltage.nominal 220
output.frequency 50.0
input.voltage 210.0
input.voltage.nominal 220
output.frequency 50.0
output.voltage 210.0
output.voltage.nominal 220
ups.beeper.status enabled
ups.date 2009/12/23 
ups.delay.shutdown 20
ups.delay.start 60  
ups.load 7
ups.mfr POWERCOM Co.,LTD
ups.model HID UPS Battery
ups.productid 0004  
ups.serial 004-0D9F-000
ups.status OL
ups.test.result Done and passed
ups.timer.shutdown 0

without any 'Broken pipe'.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in Ubuntu.
https://bugs.launchpad.net/bugs/753661

Title:
  upsd write() failed for 127.0.0.1: Broken pipe

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 753661] Re: upsd write() failed for 127.0.0.1: Broken pipe

2011-04-16 Thread Virus
Files

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in Ubuntu.
https://bugs.launchpad.net/bugs/753661

Title:
  upsd write() failed for 127.0.0.1: Broken pipe

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 753661] Re: upsd write() failed for 127.0.0.1: Broken pipe

2011-04-16 Thread Virus
Files #2

** Attachment added: upsd -DDD
   
https://bugs.launchpad.net/ubuntu/+source/nut/+bug/753661/+attachment/2047194/+files/upsd.txt

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in Ubuntu.
https://bugs.launchpad.net/bugs/753661

Title:
  upsd write() failed for 127.0.0.1: Broken pipe

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 753661] Re: upsd write() failed for 127.0.0.1: Broken pipe

2011-04-16 Thread Virus
Files #3

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in Ubuntu.
https://bugs.launchpad.net/bugs/753661

Title:
  upsd write() failed for 127.0.0.1: Broken pipe

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 753661] Re: upsd write() failed for 127.0.0.1: Broken pipe

2011-04-16 Thread Virus
lsusb

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in Ubuntu.
https://bugs.launchpad.net/bugs/753661

Title:
  upsd write() failed for 127.0.0.1: Broken pipe

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 753661] Re: upsd write() failed for 127.0.0.1: Broken pipe

2011-04-16 Thread Virus
Attachments not working correctly.


** Attachment added: All files
   
https://bugs.launchpad.net/ubuntu/+source/nut/+bug/753661/+attachment/2047202/+files/files.tar

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in Ubuntu.
https://bugs.launchpad.net/bugs/753661

Title:
  upsd write() failed for 127.0.0.1: Broken pipe

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 753661] Re: upsd write() failed for 127.0.0.1: Broken pipe

2011-04-16 Thread Virus
Seems driver respond correctly, but upsd return Broken pipe after:
  25.768861 write: [destfd=6] [len=35] [VAR powercom battery.type PbAc
]

Two lines?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in Ubuntu.
https://bugs.launchpad.net/bugs/753661

Title:
  upsd write() failed for 127.0.0.1: Broken pipe

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 753661] Re: upsd write() failed for 127.0.0.1: Broken pipe

2011-04-16 Thread Virus
$ upsc battery.type
Error: Unknown UPS
$ upsc ups.status
Error: Unknown UPS

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in Ubuntu.
https://bugs.launchpad.net/bugs/753661

Title:
  upsd write() failed for 127.0.0.1: Broken pipe

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 753661] [NEW] upsd write() failed for 127.0.0.1: Broken pipe

2011-04-07 Thread Virus
Public bug reported:

Binary package hint: nut

I have Powercom UPS and trying configure it with NUT.

lsusb:
Bus 006 Device 002: ID 0d9f:0004 Powercom Co., Ltd

ups.conf:
[powercom]
driver = usbhid-ups
port = /dev/usb/hiddev0
productid = 0004
desc = My UPS

but when i trying run `upsc powercom` got this output:
--
battery.charge: 99
battery.charge.low: 10
battery.charge.warning: 30
battery.date: 2009/12/23
battery.runtime: 24576
battery.type: PbAc
--

and `upsd[24062]: write() failed for 127.0.0.1: Broken pipe` in
/var/log/daemon.log

how i can fix this?

ubuntu:
Description:Ubuntu 10.10
Release:10.10

I got this error with 2.4.3-1ubuntu5 packages, then download
nut_2.6.0-1ubuntu2_amd64.deb and libupsclient1_2.6.0-1ubuntu2_amd64.deb,
but new version did not fix problem.

** Affects: nut (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in Ubuntu.
https://bugs.launchpad.net/bugs/753661

Title:
  upsd write() failed for 127.0.0.1: Broken pipe

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs