On Sun, 3 Feb 2002 04:19, Corey Halpin wrote:
>   I am attempting to use the generic USB serial driver to talk to a tripp
> lite UPS.
Why? I take it that you are using a USB UPS, not a serial UPS with a serial 
adapter.

<snip>
>   Here is my /proc/bus/usb/devices:
<snip>
> T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
> D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=09ae ProdID=0001 Rev= 0.01
> S:  Manufacturer=TRIPP LITE
> S:  Product=         SMART 500USB
> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 60mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=00 Driver=hid
> E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl= 10ms
This part of the file shows your UPS. It is mapped (quite correctly) to the 
HID driver. 

If you look at the developer area on http://www.usb.org, you will find the 
file that describes how power devices are meant to be handled.

Linux supports this type of device using the raw HID interface (aka hiddev) 
and user space applications like NUT (http://www.exploits.org/nut) or 
apcupsd, and probably others I don't know about.

So you need to make sure your kernel has hiddev support, and then download a 
user space package (or write your own) to talk to the hiddev interface.

Brad

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to