<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
<style>.hmmessage P{margin:0px;padding:0px}body.hmmessage{FONT-SIZE: 10pt;FONT-FAMILY:Tahoma}</style><style>.hmmessage P{margin:0px;padding:0px}body.hmmessage{FONT-SIZE: 10pt;FONT-FAMILY:Tahoma}</style>Charles,<br><br>Thanks for your information.<br>I've just compiled the latest NUT version nut-2.2.1.<br>When I plug in the USB cable from the ups it looks like<br>the device does not get recognized at all in the system.<br>Shouldn't there be some log info in /var/syslog or dmesg<br>when a device is plugged in? There was nothing there.<br>I'm running Linux kernel, 2.6.17 (mandriva 2007)<br><br># /usr/local/ups/bin/upsdrvctl start<br>Network UPS Tools - UPS driver controller 2.2.1<br>Network UPS Tools: 0.29 USB communication driver - core 0.32 (2.2.1)<br><br>No matching HID UPS found<br>Driver failed to start (exit status=1)<br><br>Am I missing some usb utility needed for hid devices to work in Linux ?<br>My usb keyboard and mouse do work.<br><br>% rpm -qa | grep usb<br>libusb0.1_4-0.1.12-2mdv2007.0<br>libusb0.1_4-static-devel-0.1.12-2mdv2007.0<br>usbutils-0.72-1mdk<br>libusb0.1_4-devel-0.1.12-2mdv2007.0<br><br>% lsusb<br><br>Bus 004 Device 001: ID 0000:0000<br>Bus 003 Device 002: ID 0430:0100 Sun Microsystems, Inc. 3-button Mouse<br>Bus 003 Device 001: ID 0000:0000<br>Bus 002 Device 004: ID 0430:0005 Sun Microsystems, Inc. Type 6 Keyboard<br>Bus 002 Device 001: ID 0000:0000<br>Bus 001 Device 001: ID 0000:0000<br><br>ups.conf<br>-----------<br>[SMART1000LCD]<br>driver = usbhid-ups<br>port = auto<br>desc = "Tripp Lite SMART1000LCD USB"<br><br>Any suggestions would be appreciated.<br><br>/Karl D<br><br>> Date: Fri, 25 Jan 2008 08:11:44 -0500<br>> From: clepple@gmail.com<br>> To: k_dal2@hotmail.com<br>> Subject: Re: [Nut-upsuser] Tripp lite SMART1000LCD<br>> CC: nut-upsuser@lists.alioth.debian.org<br>> <br>> On Jan 24, 2008 3:08 PM, Karl Dalen <k_dal2@hotmail.com> wrote:<br>> > This model is supposed to be fully HID PD class compliant.<br>> > Should I use the usbhid-ups or tripplite_usb driver ?<br>> <br>> usbhid-ups<br>> <br>> The code in the trunk looks like it should recognize both 0x2005 as<br>> well as 0x2007 for the USB product ID. Which version of NUT are you<br>> using?<br>> <br>> > HID descriptor:<br>> > Descriptor Length:9, Type:33<br>> > Hid Class spec release: 110<br>> > Country Code: 0 (FYI 33 = US)<br>> > Number of class descriptors: 1<br>> > Class descriptor type: 34<br>> > Total size of Report Descriptor: 2049<br>> ><br>> > Don't know what I was doing wrong in reading the<br>> > HID descriptor (using another application) but<br>> > I got the length 2049, which does not match the true<br>> > length of the report descriptor (601) I get when reading it.<br>> <br>> There are two ways of getting the report descriptor: one is to fetch<br>> it explicitly, and the other is to look for it embedded after the<br>> interface descriptor. The code used by usbhid-ups (drivers/libusb.c)<br>> checks both methods, and picks the one that looks most likely. (You<br>> can see this in the debug messages if you pass several '-D' flags on<br>> the command line.)<br>> <br>> -- <br>> - Charles Lepple<br><br /><hr />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>