<br><br><div class="gmail_quote">2011/8/27 Kostas Oikonomou <span dir="ltr"><<a href="mailto:ko@research.att.com">ko@research.att.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
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:<br>
<br>
<br>
$ pfexec /usr/sbin/add_drv -m '* 0660 nut ups' -i 'usb5/2' ugen<br>
("usb5/2") already in use as a driver or alias.<br>
<br>
$ pfexec /usr/sbin/update_drv -m '* 0660 nut ups' -i 'usb5/2' ugen<br>
devfsadm: driver failed to attach: ugen<br>
Warning: Driver (ugen) successfully added to system but failed to attach<br>
$<br></blockquote><div><br>iirc, you have permuted user and group. should be "ups nut"<br><br>I've no solaris underhand, but it would have probably been easier and better (and more generic) to use:<br># add_drv -i '"usb<VendorID>,<ProductID>.1"' -m '* 0660 nut root' ugen<br>
# reboot -- -r<br><br>where <VendorID> and <ProductID> have to be replaced by your values.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

The "usb5/2" I'm using comes from<br>
<br>
$ /usr/sbin/cfgadm -lv usb5/2<br>
Ap_Id                          Receptacle   Occupant Condition  Information<br>
When         Type         Busy     Phys_Id<div class="im"><br>
usb5/2                         connected    configured   ok         Mfg: Tripp Lite   Product: TRIPP LITE UPS NConfigs: 1  Config: 0  <no cfg str descr><br></div>
unavailable  usb-input    n /devices/pci@0,0/pci103c,2a6c@<u></u>2:2<br>
$<br>
</blockquote></div>