[Nut-upsuser] Problem detecting USB/HID UPS

Brian Foster penguinator781 at gmail.com
Mon Aug 21 05:42:11 UTC 2006


Hi all,
    I just wanted to let you know that after I installed Nut 2.1, I was 
able to successfully get my Tripplite SMART1200LCD working.  Thanks a 
bunch for all of the assistance!  Please let me know if there is 
anything I can to to give back.
   
~Brian Foster


Peter Selinger wrote:
> Brian Foster wrote:
>   
>> Hi all,
>> I guess this is more for the development side of things, rather than for 
>> my own benefit:
>> In response to the permission problems I was experiencing, I looked at 
>> the udevinfo output for my Tripplite SMART1200LCD, and this is all it 
>> gives me:
>>
>> brifo at thebeast:/$ udevinfo -q all -p /class/usb_device/usbdev1.18
>> P: /class/usb_device/usbdev1.18
>> N: bus/usb/001/018
>> E: USB_BUS=001
>> E: USB_DEV=018
>>     
>
> Did you try running "udevinfo" as root? It seems, if there is a
> permission problem, you cannot open the device as a regular user,
> hence not get any information about it.
>
>   
>> man udevinfo states that these are the attributes that can be used when 
>> making rules for the udev .rules files.  The obvious problem is that the 
>> only available information for the Tripplite SMART 1200 USB is its USB 
>> connectivity info, which changes with each unplug and boot.  This makes 
>> it next to impossible to form dependable permissions rules.  I think 
>> I'll take Peter's advice on his website and just run the apps (upsmon,  
>> upsdrvctl, etc) as root.  If anyone has any better solutions, I would 
>> gladly be open to suggestions. 
>>
>> ~Brian Foster
>>
>>
>>
>>     
>> _______________________________________________
>> Nut-upsuser mailing list
>> Nut-upsuser at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
>>
>>     
>
>
>   



More information about the Nut-upsuser mailing list