[Nut-upsuser] Tripp-Lite SMART1000LCD usbhid failed to claim USB device
Rory Jaffe
rsjaffe at gmail.com
Tue Feb 15 03:18:24 UTC 2011
On Mon, Feb 14, 2011 at 5:58 AM, Charles Lepple <clepple at gmail.com> wrote:
> On Feb 14, 2011, at 12:05 AM, Rory Jaffe wrote:
>
> I used the package that Ubuntu 10.10 provides. Here's the package info:
>>
>> rory at ubuntunas:~$ apt-cache showpkg nut
>> Package: nut
>> Versions:
>> 2.4.3-1ubuntu5
>> (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_maverick_main_binary-amd64_Packages)
>> (/var/lib/dpkg/status)
>>
>
> Ah, I think I see the problem. We added the USB IDs for the (new)
> SMART1000LCD to usbhid-ups after NUT 2.4.3 was released.
>
> You should be able to get basic functionality by adding the following two
> lines to the middle of /lib/udev/rules.d/52-nut-usbups.rules:
>
> # e.g. TrippLite Smart1000LCD - usbhid-ups
> ATTR{idVendor}=="09ae", ATTR{idProduct}=="2009", MODE="664",
> GROUP="@RUN_AS_GROUP@"
>
> Note that you will need to replace the @RUN_AS_GROUP@ with the actual
> group that appears on the other lines in that file. It's probably "nut" or
> "ups", but I haven't tried 10.10 yet.
>
> The easiest way to get udev to reload this is to unplug the USB cable of
> the UPS, and plug it back in.
>
> It does appear that the reported battery voltage might be off by a factor
> of 10. That should already be fixed in NUT 2.6.0 and later. The "low
> battery" signal is generated internally by the UPS, and should not be
> affected.
>
> Feel free to post the output of "upsc" once the driver starts.
>
>
>
Thanks for your help! It really got this fixed quickly. Yes, the battery
reads a bit high. Is there something I can edit to fix that? Thx
rory at ubuntunas:~$ upsc Tripp-Lite
battery.charge: 100
battery.runtime: 1984
battery.type: PbAc
battery.voltage: 135.0
battery.voltage.nominal: 12.0
device.mfr: Tripp Lite
device.model: TRIPP LITE UPS
device.serial: FW-2473 A
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.productid: 2009
driver.parameter.vendorid: 09ae
driver.version: 2.4.3
driver.version.data: TrippLite HID 0.4
driver.version.internal: 0.34
input.frequency: 59.6
input.voltage: 118.8
input.voltage.nominal: 120
output.frequency.nominal: 60
output.voltage.nominal: 120
ups.alarm: No battery installed!
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.mfr: Tripp Lite
ups.model: TRIPP LITE UPS
ups.power.nominal: 1000
ups.productid: 2009
ups.serial: FW-2473 A
ups.status: ALARM OL
ups.timer.reboot: 65535
ups.timer.shutdown: 65535
ups.vendorid: 09ae
ups.watchdog.status: 0
rory at ubuntunas:~$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110214/9aa858f5/attachment.htm>
More information about the Nut-upsuser
mailing list