Package: nut-usb
Version: 2.0.5-1
Severity: normal

My computer has several usbhid devices:

[EMAIL PROTECTED]:/etc/udev/rules.d>ls -l /dev/usb
total 0
crw-rw---- 1 root root 180, 96 Jan 30 14:26 hiddev0
crw-rw-r-- 1 root nut  180, 97 Jan 30 14:36 hiddev1
crw-rw---- 1 root root 180, 98 Jan 30 14:26 hiddev2
crw-rw---- 1 root lp   180,  0 Jan 30 14:26 lp0

It's impossible to predict what the device will be to hardcode it for the
hidups driver in in ups.conf. And newhidups with its probing doesn't seem
 to work.

There's a really easy fix for this, if you know udev. Just add this to the
end of 025_nut-usbups.rules, just before the ending LABEL:

GROUP=="nut", NAME="ups%n"

Now UPSes show up as /dev/ups1 etc.

Please consider doing this by default. Even systems that arn't bitten by
it currently can be: as soon as a second USB hid device is plugged in, their
nut can easily stop working at the next reboot. That can be bad.. Of course
there is an upgrade path issue, but I think it can be done.

If you decide not to do it by default, please at least document how to do it
in the package so that people who don't grok USB have a chance of getting
it working. Thanks..

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-xen-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages nut-usb depends on:
ii  libc6                       2.3.6.ds1-10 GNU C Library: Shared libraries
ii  libusb-0.1-4                2:0.1.12-3   userspace USB programming library
ii  nut                         2.0.5-1      The core system of the nut - Netwo
ii  udev                        0.103-2      /dev/ and hotplug management daemo

nut-usb recommends no packages.

-- no debconf information

-- 
see shy jo


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to