[Nut-upsuser] USB problem as user

Peter Selinger selinger at mathstat.dal.ca
Mon Apr 23 13:39:01 UTC 2007

Czuczy Gergely wrote:
> On Sat, 21 Apr 2007 21:56:53 -0300 (ADT)
> selinger at mathstat.dal.ca (Peter Selinger) wrote:
> > In this case, I recommend that you do some testing and figure out
> > yourself what the problem is.
> >
> > The debug output that you sent indicates that newhidups was unable to
> > find the USB device, not that it was unable to open it. So perhaps
> > this is not a permissions problem after all. Perhaps the device got
> > unplugged or unloaded.
> >
> > Do you see the device with "lsusb" or "usbview"? Do you see it with
> > "ls -lr /proc/bus/usb"?
> >
> > Try alternating "-u root" and "-u nut" several times to make sure one
> > always works and the other one doesn't.
> Yes, as I had already mentioned, I'm all over this.
> > Also check that no other copy of newhidups is already running; you
> > can't attach two driver instances to a single device.
> I've checked it, several times.
> > Finally, to state the obvious: if your computer is a production system
> > that cannot be experimented with, then attach the UPS to another,
> > non-production system, and make sure it works there first.
> There it works. and I've only got production systems at that
> location.
> So, after suggesting again what I had already done and said
> I'd done it, have you got _any_ useful comments?
> Can you give me _any_ clue where to start on this? _anything_

Czuczy, I and the other people on this mailing list would *like* to
help you, but this is going to be difficult if you do not answer our

*Do* you see the device with "lsusb" or "usbview"? *Do* you see it
with "ls -lr /proc/bus/usb"? The possible answers to these questions
are "yes" or "no", not "I'm all over this". 

And if the answers are "yes", then please post the output of these
commands to the list. And if they are "no", then please post the
output anyway. And if you get errors, please post them to the
list. And please also post the full output of newhidups -DD again,
with and without the "-u root" option. And yes, I know that you have
already run these commands and send some logs; if you would like us to
help you, then please run them *again* and post *all* the output.

Please also give some information about your system. What operating
system are you running? What version of libusb?

As I said, currently nobody has any idea what causes your problem. It
could be NUT, or it could be something outside of NUT. Nobody can
guarantee that we will be able to diagnose your problem. All we can do
at the moment is try to narrow down the problem by asking for more
information. With that information in hand, I can perhaps ask further,
more pointed questions. That is how it works.

-- Peter

More information about the Nut-upsuser mailing list