[Bug 779512] Re: nut-2.6.0-1ubuntu3 behavior regression

2011-05-13 Thread Mr. Muskrat
I thought I'd be able to just copy/paste the instructions one at a time
but I hit a few snags. I installed the missing prereqs and continued on.
(See config.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/779512

Title:
  nut-2.6.0-1ubuntu3 behavior regression

-- 
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


Re: [Bug 779512] Re: nut-2.6.0-1ubuntu3 behavior regression

2011-05-13 Thread Mr. Muskrat
 -
-a cyberpower 21 | tee /tmp/usbhid-ups.txt

Matt


On Thu, May 12, 2011 at 2:17 PM, Arnaud Quette aquette@gmail.comwrote:

 2011/5/11 Mr. Muskrat 779...@bugs.launchpad.net

  Certainly!
 

 excellent, here we go:

 $  svn co svn://svn.debian.org/nut/trunk
 $ ./autogen.sh
 $ ./configure --prefix=/usr \
--exec-prefix=/ \
--sysconfdir=/etc/nut \
--mandir=/usr/share/man \
--libdir=/lib \
--includedir=/usr/include \$ sudo
--without-all \
--with-usb \
--enable-static \
--with-statepath=/var/run/nut \
--with-altpidpath=/var/run/nut \
--with-drvpath=/lib/nut \
--with-pidpath=/var/run/nut \
--datadir=/usr/share/nut \
--with-user=nut --with-group=nut

 $ sudo ./drivers/usbhid-ups -u root - -a cyberpower

 @Fred: can you please do the same with Troy, and send (only to) me the
 output.

 We should have sufficient validation with that.
 Note that a 2 mn run is sufficient...

 cheers,
 Arnaud
 --
 Linux / Unix Expert RD - Eaton - http://powerquality.eaton.com
 Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
 Debian Developer - http://www.debian.org
 Free Software Developer - http://arnaud.quette.free.fr/

 --
 You received this bug notification because you are a direct subscriber
 of the bug.
 https://bugs.launchpad.net/bugs/779512

 Title:
  nut-2.6.0-1ubuntu3 behavior regression

 To unsubscribe from this bug, go to:
 https://bugs.launchpad.net/ubuntu/+source/nut/+bug/779512/+subscribe



** Attachment added: usbhid-ups.txt
   
https://bugs.launchpad.net/bugs/779512/+attachment/2127332/+files/usbhid-ups.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/779512

Title:
  nut-2.6.0-1ubuntu3 behavior regression

-- 
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 779512] Re: nut-2.6.0-1ubuntu3 behavior regression

2011-05-13 Thread Mr. Muskrat
The output from the run is in usbhid-ups.txt.

** Attachment added: usbhid-ups.txt
   
https://bugs.launchpad.net/ubuntu/+source/nut/+bug/779512/+attachment/2127333/+files/usbhid-ups.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/779512

Title:
  nut-2.6.0-1ubuntu3 behavior regression

-- 
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 779512] Re: nut-2.6.0-1ubuntu3 behavior regression

2011-05-13 Thread Mr. Muskrat
(config.txt didn't get uploaded the first time)

** Attachment added: config.txt
   
https://bugs.launchpad.net/ubuntu/+source/nut/+bug/779512/+attachment/2127348/+files/config.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/779512

Title:
  nut-2.6.0-1ubuntu3 behavior regression

-- 
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


Re: [Bug 779512] Re: nut-2.6.0-1ubuntu3 behavior regression

2011-05-13 Thread Mr. Muskrat
Yes, I can confirm that this fixed the issue I reported. Arnaud, thank you
so much!

Matt


On Fri, May 13, 2011 at 3:18 PM, Arnaud Quette aquette@gmail.comwrote:

 Hey Matt,

 2011/5/13 Mr. Muskrat 779...@bugs.launchpad.net

  I thought I'd be able to just copy/paste the instructions one at a time
  but I hit a few snags. I installed the missing prereqs and continued on.
  (...)
 

 hem, sorry. I should have given you more info on build-deps and more
 generally
 well, the point is that you found your way (congrats) and that everything
 seems fixed on your side.
 can you please confirm?

 I'll do some more checking on my side, but 2.6.1 (soon to go out) will fix
 your issue.
 as a temporary solution, you may backup /lib/nut/usbhid-ups and replace it
 with drivers/usbhid-ups, while waiting for an updated package.

 cheers,
 Arnaud
 --
 Linux / Unix Expert RD - Eaton - http://powerquality.eaton.com
 Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
 Debian Developer - http://www.debian.org
 Free Software Developer - http://arnaud.quette.free.fr/

 --
 You received this bug notification because you are a direct subscriber
 of the bug.
 https://bugs.launchpad.net/bugs/779512

 Title:
  nut-2.6.0-1ubuntu3 behavior regression

 To unsubscribe from this bug, go to:
 https://bugs.launchpad.net/ubuntu/+source/nut/+bug/779512/+subscribe


-- 
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/779512

Title:
  nut-2.6.0-1ubuntu3 behavior regression

-- 
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 779512] Re: nut-2.6.0-1ubuntu3 behavior regression

2011-05-11 Thread Mr. Muskrat
Certainly!

-- 
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/779512

Title:
  nut-2.6.0-1ubuntu3 behavior regression

-- 
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 779512] Re: nut-2.6.0-1ubuntu3 behavior regression

2011-05-10 Thread Mr. Muskrat
Arnaud,
I hope that I captured enough of the information for you.

Matt


** Attachment added: usbhid-ups.txt
   
https://bugs.launchpad.net/ubuntu/+source/nut/+bug/779512/+attachment/2123594/+files/usbhid-ups.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/779512

Title:
  nut-2.6.0-1ubuntu3 behavior regression

-- 
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 779512] Re: nut-2.6.0-1ubuntu3 behavior regression

2011-05-09 Thread Mr. Muskrat
Arnaud,
Here is what you have asked for.

Matt


•[x4linux:~] mmusgrove $ sudo service nut stop
[sudo] password for mmusgrove: 
 * Stopping Network UPS Tools   

 [ OK ] 
•[x4linux:~] mmusgrove $ export USB_DEBUG=3
•[x4linux:~] mmusgrove $ sudo /lib/nut/usbhid-ups - -a cyberpower
Network UPS Tools - Generic HID driver 0.35 (2.6.0)
USB communication driver 0.31
   0.00 debug level is '4'
   0.001247 upsdrv_initups...
   0.290879 Checking device (0764/0501) (007/004)
   0.302437 - VendorID: 0764
   0.302466 - ProductID: 0501
   0.302477 - Manufacturer: CPS
   0.302487 - Product: UPS CP1000AVRLCD
   0.302496 - Serial Number: unknown
   0.302506 - Bus: 007
   0.302515 Trying to match device
   0.302571 Device matches
   0.307441 HID descriptor, method 1: (9 bytes) = 09 21 10 01 21 01 22 83 
01
   0.307472 i=0, extra[i]=09, extra[i+1]=21
   0.307489 HID descriptor, method 2: (9 bytes) = 09 21 10 01 21 01 22 83 
01
   0.307500 HID descriptor length 387
   0.333436 Report Descriptor size = 387
   0.333478 Report Descriptor: (387 bytes) = 05 84 09 04 a1 01 09 24 a1 00 
85 01 09 fe
   0.333504  75 08 95 01 15 00 26 ff 00 b1 22 85 02 09 ff b1 22 85 03 05 85 
09 89 b1 22
   0.333528  85 04 09 8f b1 22 85 05 09 8b b1 22 85 06 09 2c b1 22 85 07 75 
08 95 06 25
   0.333551  78 09 83 09 8d 09 8e 09 8c 09 29 09 67 b1 22 85 08 75 08 95 01 
65 00 09 66
   0.333574  81 a2 09 66 b1 a2 09 68 75 10 27 ff ff 00 00 66 01 10 81 a2 09 
68 b1 a2 09
   0.333597  2a 26 58 02 81 a2 09 2a b1 a2 85 09 75 08 26 ff 00 05 84 09 40 
67 21 d1 f0
   0.333621  00 55 06 b1 22 85 0a 09 30 b1 a2 65 00 55 00 09 02 a1 02 85 0b 
75 01 95 06
   0.333644  25 01 05 85 09 d0 09 44 09 45 09 42 09 46 09 43 81 a2 09 d0 09 
44 09 45 09
   0.333668  42 09 46 09 43 b1 a2 75 02 95 01 81 01 b1 01 c0 85 0c 05 84 09 
5a 75 08 15
   0.333691  01 25 03 b1 a2 85 0d 09 fd 15 00 26 ff 00 b1 22 c0 05 84 09 1a 
a1 00 85 0e
   0.333714  05 84 09 40 75 08 67 21 d1 f0 00 55 07 b1 22 85 0f 09 30 b1 a2 
85 10 09 53
   0.333737  15 5a 25 5a b1 22 09 54 16 8c 00 26 8c 00 b1 22 c0 09 1c a1 00 
85 12 09 30
   0.333760  15 00 26 ff 00 b1 a2 65 00 55 00 85 13 09 35 b1 a2 85 14 09 58 
25 06 b1 a2
   0.333783  85 15 09 57 75 10 15 ff 26 ff 7f 35 c4 47 c4 ff 1d 00 66 01 10 
b1 a2 85 16
   0.333805  09 56 b1 a2 85 17 09 6e 75 01 15 00 25 01 35 00 45 00 65 00 b1 
a2 09 65 b1
   0.333827  a2 75 06 b1 01 85 18 75 10 09 44 26 c2 01 66 21 d1 55 07 b1 a2 
c0 c0
   0.333968 Using subdriver: CyberPower HID 0.3
   0.333986 Entering libusb_get_report
   0.336438 libusb_get_report: No error
   0.336501 Can't retrieve Report 01: Operation not permitted
   0.336529 Path: UPS.PowerSummary.iProduct, Type: Feature, ReportID: 0x01, 
Offset: 0, Size: 8
   0.336541 Entering libusb_get_report
   0.339438 libusb_get_report: No error
   0.339476 Can't retrieve Report 02: Operation not permitted
   0.339496 Path: UPS.PowerSummary.iSerialNumber, Type: Feature, ReportID: 
0x02, Offset: 0, Size: 8
   0.339508 Entering libusb_get_report
   0.341434 libusb_get_report: No error
   0.341469 Can't retrieve Report 03: Operation not permitted
   0.341487 Path: UPS.PowerSummary.iDeviceChemistry, Type: Feature, 
ReportID: 0x03, Offset: 0, Size: 8
   0.341499 Entering libusb_get_report
   0.343430 libusb_get_report: No error
   0.343462 Can't retrieve Report 04: Operation not permitted
   0.343479 Path: UPS.PowerSummary.iOEMInformation, Type: Feature, 
ReportID: 0x04, Offset: 0, Size: 8
   0.343491 Entering libusb_get_report
   0.345429 libusb_get_report: No error
   0.345461 Can't retrieve Report 05: Operation not permitted
   0.345479 Path: UPS.PowerSummary.Rechargeable, Type: Feature, ReportID: 
0x05, Offset: 0, Size: 8
   0.345490 Entering libusb_get_report
   0.347429 libusb_get_report: No error
   0.347461 Can't retrieve Report 06: Operation not permitted
   0.347478 Path: UPS.PowerSummary.CapacityMode, Type: Feature, ReportID: 
0x06, Offset: 0, Size: 8
   0.347488 Entering libusb_get_report
   0.349429 libusb_get_report: No error
   0.349461 Can't retrieve Report 07: Operation not permitted
   0.349478 Path: UPS.PowerSummary.DesignCapacity, Type: Feature, ReportID: 
0x07, Offset: 0, Size: 8
   0.349489 Entering libusb_get_report
   0.351415 libusb_get_report: No error
   0.351451 Can't retrieve Report 07: Operation not permitted
   0.351470 Path: UPS.PowerSummary.CapacityGranularity1, Type: Feature, 
ReportID: 0x07, Offset: 8, Size: 8
   0.351482 Entering libusb_get_report
   0.353429 libusb_get_report: No error
   0.353461 Can't retrieve Report 07: Operation not permitted
 

[Bug 779512] [NEW] nut-2.6.0-1ubuntu3 behavior regression

2011-05-08 Thread Mr. Muskrat
Public bug reported:

Binary package hint: nut

Prior to upgrading to Natty, I had the nut-2.4.3-1ubuntu5 package and it
was working correctly.

After upgrading to Natty, I have the nut-2.6.0-1ubuntu3 package and it
is not working correctly. Here's my release info:

•[x4linux:~] mmusgrove $ lsb_release -rd
Description:Ubuntu 11.04
Release:11.04

The symptom is that it can't initialize data from HID UPS and so the
driver fails to start.

•[x4linux:~] mmusgrove $ sudo upsdrvctl start
Network UPS Tools - UPS driver controller 2.6.0
Network UPS Tools - Generic HID driver 0.35 (2.6.0)
USB communication driver 0.31
Using subdriver: CyberPower HID 0.3
libusb_get_report: No error
Can't initialize data from HID UPS
Driver failed to start (exit status=1)

This appears to be the old behavior from 2.4.x prior to 2.4.3.

This was reported for Debian months ago:
http://www.google.com/search?source=ighl=enq=nut+2.6.0-1+libusb_get_report%3A+No+error+Can%27t+initialize+data+from+HID+UPS

Possible related to Bug #701182 (although that is for 2.4.3-2)
https://bugs.launchpad.net/ubuntu/+source/nut/+bug/701182

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: nut 2.6.0-1ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Sun May  8 09:37:55 2011
InstallationMedia: Ubuntu 10.10 Maverick Meerkat - Release amd64 (20101007)
KernelVersion: Linux x4linux 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 
03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: nut
UpgradeStatus: Upgraded to natty on 2011-05-06 (2 days ago)

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


** Tags: amd64 apport-bug natty running-unity

-- 
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/779512

Title:
  nut-2.6.0-1ubuntu3 behavior regression

-- 
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