[Nut-upsuser] nut 2.6.1 on OpenSolaris/OpenIndiana doesn't find Tripp-Lite ECO550 UPS
aquette.dev at gmail.com
Sat Aug 27 16:04:47 UTC 2011
2011/8/27 Kostas Oikonomou <ko at research.att.com>
> Ok, thanks. I also read a bunch of other posts on this. However, I can't
> figure out the right parameters to the add_drv or update_drv command:
> $ pfexec /usr/sbin/add_drv -m '* 0660 nut ups' -i 'usb5/2' ugen
> ("usb5/2") already in use as a driver or alias.
> $ pfexec /usr/sbin/update_drv -m '* 0660 nut ups' -i 'usb5/2' ugen
> devfsadm: driver failed to attach: ugen
> Warning: Driver (ugen) successfully added to system but failed to attach
iirc, you have permuted user and group. should be "ups nut"
I've no solaris underhand, but it would have probably been easier and better
(and more generic) to use:
# add_drv -i '"usb<VendorID>,<ProductID>.1"' -m '* 0660 nut root' ugen
# reboot -- -r
where <VendorID> and <ProductID> have to be replaced by your values.
> The "usb5/2" I'm using comes from
> $ /usr/sbin/cfgadm -lv usb5/2
> Ap_Id Receptacle Occupant Condition Information
> When Type Busy Phys_Id
> usb5/2 connected configured ok Mfg:
> Tripp Lite Product: TRIPP LITE UPS NConfigs: 1 Config: 0 <no cfg str
> unavailable usb-input n /devices/pci at 0,0/pci103c,2a6c@**2:2
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Nut-upsuser