Your message dated Sun, 17 Oct 2010 19:17:34 +0000
with message-id <e1p7yje-0005qv...@franck.debian.org>
and subject line Bug#583371: fixed in nut 2.4.3-1.1
has caused the Debian Bug report #583371,
regarding nut: usbhid-ups failing to communicate with UPS (libusb_get_report: 
error sending control message)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
583371: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583371
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: nut
Version: 2.4.3-1
Severity: grave
Tags: squeeze sid
Justification: renders package unusable


This problem seems identical to the issue previously reported in Ubuntu's BTS
at <https://bugs.launchpad.net/ubuntu/+source/nut/+bug/572262>. Here's the
shell transcript from my system, twix:

    twix:~$ sudo upsdrvctl start
    Network UPS Tools - UPS driver controller 2.4.3
    Network UPS Tools - Generic HID driver 0.34 (2.4.3)
    USB communication driver 0.31
    Using subdriver: CyberPower HID 0.3
    libusb_get_report: error sending control message: Operation not permitted
    Can't initialize data from HID UPS
    Driver failed to start (exit status=1)

    twix:~$ cat /etc/nut/ups.conf
    [cyberpower-ups]
    driver = usbhid-ups
    port = auto

I have tried unplugging/replugging the device, and I have also tried adjusting
the udev rules file to make my specific UPS (a CyberPower 1200 connected via
USB) show up as a mode 664 device owned by nut:nut. The only way I can start
the driver is by running it manually as root with the '-u root' flag. Here's
the output:

    twix:~$ sudo /lib/nut/usbhid-ups -u root -a cyberpower-ups
    Network UPS Tools - Generic HID driver 0.34 (2.4.3)
    USB communication driver 0.31
    Using subdriver: CyberPower HID 0.3
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error
    libusb_get_report: No error

    twix:~$ ps ax |grep usbhid-ups
    32014 ?        Ss     0:00 /lib/nut/usbhid-ups -u root -a cyberpower-ups
    32017 pts/1    S+     0:00 grep usbhid-ups

    twix:~$ sudo /etc/init.d/nut stop
    Stopping Network UPS Tools: driver(s) upsd upsmon.

    twix:~$ sudo /lib/nut/usbhid-ups -a cyberpower-ups
    Network UPS Tools - Generic HID driver 0.34 (2.4.3)
    USB communication driver 0.31
    Using subdriver: CyberPower HID 0.3
    libusb_get_report: error sending control message: Operation not permitted
    Can't initialize data from HID UPS

It should also be noted that prior to this revision of NUT, I was running 2.4.1
and it worked perfectly (with some small bits of elbow grease to get the scripts
working smoothly).

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable'), (300, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nut depends on:
ii  adduser                      3.112       add and remove users and groups
ii  libc6                        2.10.2-9    Embedded GNU C Library: Shared lib
ii  libupsclient1                2.4.3-1     network UPS tools - client library
ii  libusb-0.1-4                 2:0.1.12-14 userspace USB programming library
ii  libwrap0                     7.6.q-18    Wietse Venema's TCP wrappers libra
ii  lsb-base                     3.2-23.1    Linux Standard Base 3.2 init scrip
ii  udev                         154-1       /dev/ and hotplug management daemo

Versions of packages nut recommends:
ii  bash-completion               1:1.1-3    programmable completion for the ba

Versions of packages nut suggests:
ii  nut-cgi                       2.4.3-1    network UPS tools - web interface
pn  nut-dev                       <none>     (no description available)
pn  nut-snmp                      <none>     (no description available)
pn  nut-xml                       <none>     (no description available)

-- Configuration Files:
/etc/nut/nut.conf changed [not included]
/etc/nut/ups.conf changed [not included]
/etc/nut/upsd.conf changed [not included]
/etc/nut/upsd.users changed [not included]
/etc/nut/upsmon.conf changed [not included]

-- debconf information:
  nut/major_upstream_changes:



--- End Message ---
--- Begin Message ---
Source: nut
Source-Version: 2.4.3-1.1

We believe that the bug you reported is fixed in the latest version of
nut, which is due to be installed in the Debian FTP archive:

libupsclient1-dev_2.4.3-1.1_amd64.deb
  to main/n/nut/libupsclient1-dev_2.4.3-1.1_amd64.deb
libupsclient1_2.4.3-1.1_amd64.deb
  to main/n/nut/libupsclient1_2.4.3-1.1_amd64.deb
nut-cgi_2.4.3-1.1_amd64.deb
  to main/n/nut/nut-cgi_2.4.3-1.1_amd64.deb
nut-hal-drivers_2.4.3-1.1_amd64.deb
  to main/n/nut/nut-hal-drivers_2.4.3-1.1_amd64.deb
nut-powerman-pdu_2.4.3-1.1_amd64.deb
  to main/n/nut/nut-powerman-pdu_2.4.3-1.1_amd64.deb
nut-snmp_2.4.3-1.1_amd64.deb
  to main/n/nut/nut-snmp_2.4.3-1.1_amd64.deb
nut-xml_2.4.3-1.1_amd64.deb
  to main/n/nut/nut-xml_2.4.3-1.1_amd64.deb
nut_2.4.3-1.1.diff.gz
  to main/n/nut/nut_2.4.3-1.1.diff.gz
nut_2.4.3-1.1.dsc
  to main/n/nut/nut_2.4.3-1.1.dsc
nut_2.4.3-1.1_amd64.deb
  to main/n/nut/nut_2.4.3-1.1_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 583...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tim Retout <dioc...@debian.org> (supplier of updated nut package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 15 Oct 2010 19:31:39 +0100
Source: nut
Binary: nut nut-cgi nut-snmp nut-hal-drivers nut-xml nut-powerman-pdu 
libupsclient1 libupsclient1-dev
Architecture: source amd64
Version: 2.4.3-1.1
Distribution: unstable
Urgency: low
Maintainer: Arnaud Quette <aque...@debian.org>
Changed-By: Tim Retout <dioc...@debian.org>
Description: 
 libupsclient1 - network UPS tools - client library
 libupsclient1-dev - network UPS tools - development files
 nut        - network UPS tools - core system
 nut-cgi    - network UPS tools - web interface
 nut-hal-drivers - network UPS tools - HAL interface
 nut-powerman-pdu - network UPS tools - PowerMan PDU driver
 nut-snmp   - network UPS tools - SNMP driver
 nut-xml    - network UPS tools - XML/HTTP driver
Closes: 583371
Changes: 
 nut (2.4.3-1.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * drivers/libhid.c: Apply r2407 from upstream to fix bug with some
     low speed UPS devices. (Closes: #583371)
Checksums-Sha1: 
 9080e421fbf24ef475206a3d06f0ea7b4bca5640 1484 nut_2.4.3-1.1.dsc
 71b566c7dd0c105a8e56bce2518d5425a77c5b71 32143 nut_2.4.3-1.1.diff.gz
 a6dc65c95992da521c67fb70b9735d0c6bc8e444 1385818 nut_2.4.3-1.1_amd64.deb
 a372b0dfb0f7b08e3a6077183118417669cbe549 85836 nut-cgi_2.4.3-1.1_amd64.deb
 8b4b34998961bcc276125f7db7f12cc7ce69b296 68278 nut-snmp_2.4.3-1.1_amd64.deb
 773ebd23cc68202e16bec0bfc1e3a2a92f16cc3e 156496 
nut-hal-drivers_2.4.3-1.1_amd64.deb
 9371efa2b15c0fa55fbbdd455480152cef45098c 64360 nut-xml_2.4.3-1.1_amd64.deb
 3225b9564a7f1cf76f0ad630666aca4876cbabb1 55330 
nut-powerman-pdu_2.4.3-1.1_amd64.deb
 b9586df4829de607731adba29dc8118fe7a13de3 43402 
libupsclient1_2.4.3-1.1_amd64.deb
 d6e5afa3aaf962b55319a9acfe911a31b44bd84e 56012 
libupsclient1-dev_2.4.3-1.1_amd64.deb
Checksums-Sha256: 
 b8478c385662b73fdc169c1d343f6c0a88877b24ab2dc26a7c2b333a30cf9c78 1484 
nut_2.4.3-1.1.dsc
 fda94ef1c8c9b8168c6cb5694e3e879211bd2e380679e90d82c5e11edef840ec 32143 
nut_2.4.3-1.1.diff.gz
 1a4cea47c3881ec3326fcc9733253b1748f4f03cc59437988f5b1fd4d8256027 1385818 
nut_2.4.3-1.1_amd64.deb
 d9e3f9ae3dea96da3738138cea8fa75efc076e637b2f71e137496f8455ac6e7b 85836 
nut-cgi_2.4.3-1.1_amd64.deb
 f062028904d5fc7ed56bfb375ccfea7c54439d52c674be3c8d78d222139a3bfc 68278 
nut-snmp_2.4.3-1.1_amd64.deb
 5ec3976cee657fd01c97468b92014fe316383ae9db8358c9d439ed557411715a 156496 
nut-hal-drivers_2.4.3-1.1_amd64.deb
 1f2fde6e074936fb492664a2bd8ab222f85a74d17a29738fe3269a4e555f4d2a 64360 
nut-xml_2.4.3-1.1_amd64.deb
 429ad04db6384abd2424bbc2a49bd153d6de3d27b6322fc096909424df29b315 55330 
nut-powerman-pdu_2.4.3-1.1_amd64.deb
 0e9bb25d7920682b77c3a72d920c15768621f1455a160a439d25d6694003f625 43402 
libupsclient1_2.4.3-1.1_amd64.deb
 6af37cebf212fafe93c88fe700eb657dc4ba4f74ef429c1526238626e66c5a07 56012 
libupsclient1-dev_2.4.3-1.1_amd64.deb
Files: 
 80a60e0433116de0ea842a4b08788bf2 1484 admin optional nut_2.4.3-1.1.dsc
 e5a86338c9fdb38caeb14d144417208f 32143 admin optional nut_2.4.3-1.1.diff.gz
 d37e2c954ac5f311deeadf16838e55ea 1385818 admin optional nut_2.4.3-1.1_amd64.deb
 3595c30a1a79a81bdfc02c4a4681e0ca 85836 admin optional 
nut-cgi_2.4.3-1.1_amd64.deb
 e9e13feaa93f644c1d8a06925d75ec55 68278 admin optional 
nut-snmp_2.4.3-1.1_amd64.deb
 0a1a0460cc890ac154b8f3b81f7ed9ec 156496 admin optional 
nut-hal-drivers_2.4.3-1.1_amd64.deb
 3cbbae61e67a3e2941017fb3d96e5b67 64360 admin optional 
nut-xml_2.4.3-1.1_amd64.deb
 32881a56c02384deb4c67be9a35790be 55330 admin optional 
nut-powerman-pdu_2.4.3-1.1_amd64.deb
 17a18a600ed7dea652cd22148cdc3c3b 43402 admin optional 
libupsclient1_2.4.3-1.1_amd64.deb
 9b8c63164815b171a8f7e6628c546e4f 56012 libdevel optional 
libupsclient1-dev_2.4.3-1.1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAky4o04ACgkQOHNNd4eQFFKi6gCdHJL5oUGbkJwp6RzBLSUjdpyM
sHIAmgKNg6TSeApPSLQ0AgH3ZHwutK0m
=Q/hQ
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to