On Wed, Mar 10, 2010 at 08:41:02PM -0500, Kelvin Ku wrote: > On Wed, Mar 10, 2010 at 07:10:51PM -0500, Charles Lepple wrote: > > On Wed, Mar 10, 2010 at 10:57 AM, Kelvin Ku > > <[email protected]> wrote: > > > On Tue, Mar 09, 2010 at 07:53:59PM -0500, Charles Lepple wrote: > > >> > > >> If so, then my original suggestion still stands: "sudo ./usbhid-ups -a > > >> usb" > > >> > > > > > > I think I covered this in a previous email, but here it is anyway: > > > > > > $ sudo usbhid-ups -a usb > > > Network UPS Tools - Generic HID driver 0.34 (2.4.3) > > > USB communication driver 0.31 > > > Using subdriver: TrippLite HID 0.4 > > > libusb_get_report: could not claim interface 0: Device or resource busy > > > Got disconnected by another driver: Device or resource busy > > > Can't initialize data from HID UPS > > > > Ah, that's the one I was looking for. This is slightly different than > > the non-root command that you posted. > > > > What Linux distribution are you running? Does it have e.g. a Gnome > > power management utility? > > I'm using Fedora Core 6 and 12 with local customizations (i.e., I didn't use > Anaconda for the installation). No gnome-power-manager or anything > power-management-related installed: > > $ rpm -q gnome-power-manager > package gnome-power-manager is not installed > $ rpm -qa \*power\* > powerman-1.0.25-2.fc6 > $ rpm -qi powerman > Name : powerman Relocations: (not relocatable) > Version : 1.0.25 Vendor: Fedora Project > Release : 2.fc6 Build Date: Wed 07 Feb 2007 > 12:33:17 PM EST > Install Date: Wed 21 Feb 2007 02:25:47 PM EST Build Host: > xenbuilder1.fedora.redhat.com > Group : Applications/System Source RPM: > powerman-1.0.25-2.fc6.src.rpm > Size : 354170 License: GPL > Signature : DSA/SHA1, Thu 08 Feb 2007 03:54:36 AM EST, Key ID > 82ed95041ac70ce6 > Packager : Fedora Project <http://bugzilla.redhat.com/bugzilla> > URL : http://sourceforge.net/projects/powerman > Summary : PowerMan - Power to the Cluster > Description : > PowerMan is a tool for manipulating remote power control (RPC) devices from a > central location. Several RPC varieties are supported natively by PowerMan and > Expect-like configurability simplifies the addition of new devices. > > > > > What do you get from "ps auxww|grep hid"? > > > > Output is empty: > > $ ps auxww | grep hid > kelvin 7466 0.0 0.0 60228 752 pts/10 S+ 20:27 0:00 grep hid > > Thanks, > Kelvin > > _______________________________________________ > Nut-upsdev mailing list > [email protected] > http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev >
Hi, Any further insight into this? I notice the first time I run the command above, I get: $ sudo usbhid-ups -a usb Network UPS Tools - Generic HID driver 0.34 (2.4.3) USB communication driver 0.31 Using subdriver: TrippLite HID 0.4 libusb_get_report: could not claim interface 0: Device or resource busy Got disconnected by another driver: Device or resource busy Can't initialize data from HID UPS but the subsequent times, I get: $ sudo usbhid-ups -a usb Network UPS Tools - Generic HID driver 0.34 (2.4.3) USB communication driver 0.31 Using subdriver: TrippLite HID 0.4 libusb_get_report: No error Can't initialize data from HID UPS Any help would be appreciated. - Kelvin _______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
