On Mar 8, 2012, at 1:11 AM, Andrew Min Chang wrote:

> # /usr/local/ups/bin/usbhid-ups -a APC_SMT_USB -DDD
> Network UPS Tools - Generic HID driver 0.35 (2.6.3)
> USB communication driver 0.31
>    0.000000     debug level is '3'
>    0.007846     upsdrv_initups...
>    0.008253     No appropriate HID device found
>    0.008335     No matching HID UPS found

Are either of the /proc/bus/usb or /dev/bus/usb filesystems mounted? ('mount' 
will list all of them)

I'm confused that you can see output from lsusb, but maybe that is consulting 
/sys/bus/usb.

>     Another information: I tried installing NUT on my host PC (with Redhat). 
> The configurations are the same except for using gcc instead of cross 
> compiling. Still neither UPS is recognized. But this time it printed a lot 
> and the program seemed endless. 
>     Part of the message is attched. 

Correct, running the driver with any -D flags will log debug output to the 
console, and will prevent the driver from going into the background.

-- 
Charles Lepple
clepple@gmail




_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to