David Quinn
2011-Aug-26 17:54 UTC
[Nut-upsdev] Possible support for Trust 1300VA LCD Management UPS?
I'm totally new to this, so heres hoping i can give you the info you need ... I have a new Trust usb UPS hooked up to my iMac (running Lion) The UPS shows up in the system report with the following info: Product ID: 0x0003 Vendor ID: 0x06da (Phoenixtec Power Co., Ltd.) Version: 5.01 Speed: Up to 1.5 Mb/sec Manufacturer: CTN Location ID: 0xfa144400 / 10 Current Available (mA): 500 Current Required (mA): 100 I have tried the following NUT drivers (all of them?), but none can connect to the UPS: blazer_usb usbhid-ups bcmxcp_usb richcomm_usb tripplite_usb Any suggestions? Thanks in advance, David -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20110826/b474d3db/attachment.html>
Arnaud Quette
2011-Aug-29 07:21 UTC
[Nut-upsdev] Possible support for Trust 1300VA LCD Management UPS?
2011/8/26 David Quinn <d_a_quinn at yahoo.com>> I'm totally new to this, so heres hoping i can give you the info you need > ... > > I have a new Trust usb UPS hooked up to my iMac (running Lion) > > The UPS shows up in the system report with the following info: > Product ID: 0x0003 > Vendor ID: 0x06da (Phoenixtec Power Co., Ltd.) > Version: 5.01 > Speed: Up to 1.5 Mb/sec > Manufacturer: CTN > Location ID: 0xfa144400 / 10 > Current Available (mA): 500 > Current Required (mA): 100 > > > I have tried the following NUT drivers (all of them?), but none can connect > to the UPS: > > blazer_usb > usbhid-ups > bcmxcp_usb > richcomm_usb > tripplite_usb > > Any suggestions? >this model (USB 0x06da:0x0003) is supported by blazer_usb, since NUT 2.4.2. so, which version of NUT are you using? and what is the debug message with blazer_usb? ie, using: $ /path/to/blazer_usb -DDD -a <devname> cheers, Arnaud -- Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.free.fr/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20110829/ea856fdd/attachment.html>
Arnaud Quette
2011-Aug-29 11:22 UTC
[Nut-upsuser] [Nut-upsdev] Possible support for Trust 1300VA LCD Management UPS?
Hi David, first, please keep the list posted. It's also probably better to use the users list, instead of the developers one... 2011/8/29 David Quinn <d_a_quinn at yahoo.com>> Arnaud, > > thanks for your reply. I am using @nut 2.6.1 according to macport. > > It seems that the problem i am having is permissions related. Here is the > output I get? > > sudo blazer_usb -a trust-ups -DD -u root > . > . > . > 0.875195 Checking device (06DA/0003) (250/011) > 0.886514 - VendorID: 06da > 0.886526 - ProductID: 0003 > 0.886530 - Manufacturer: CTN > 0.886534 - Product: USB UPS > 0.886537 - Serial Number: unknown > 0.886541 - Bus: 250 > 0.886544 Trying to match device > 0.886554 Device matches > 0.886926 failed to claim USB device: Permission denied > 0.886937 failed to detach kernel driver from USB device: Function not > implemented > 0.887260 failed to claim USB device: Permission denied > 0.887269 failed to detach kernel driver from USB device: Function not > implemented > 0.887590 failed to claim USB device: Permission denied > 0.887598 failed to detach kernel driver from USB device: Function not > implemented > 0.887919 failed to claim USB device: Permission denied > 0.887928 failed to detach kernel driver from USB device: Function not > implemented > 0.887932 Can't claim USB device [06da:0003]: Function not implemented > > I am currently running everything as myself (normal user), but as you see I > get the error even with the -u root option. > Incidentally I get *exactly* the same result without that option so perhaps > i am barking up the wrong tree. > > I've been googling like crazy, but I can't find any OSX specific > instructions that help much? >Charles may have an idea on that, since he's somehow our Apple expert. I would like to know which libusb version is used (ie, 0.1 or 1.0). cheers, Arnaud -- Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.free.fr/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110829/17b1d652/attachment.html>
David Quinn
2011-Sep-08 08:11 UTC
[Nut-upsuser] Possible support for Trust 1300VA LCD Management UPS?
On 6 Sep 2011, at 14:14, Charles Lepple wrote:> David: I use Fink instead of MacPorts, so I'm not sure how they handle libusb. NUT uses the 0.1 API, but that can either be provided by libusb-0.1.x (currently 0.1.12) or by the compatibility layer of libusb-1.0. Can you check on that version number? > > Also, OS X has the concept of security contexts, and I think that USB devices are "owned" by processes in the console context. Are you starting the NUT driver from a console context (e.g. Terminal.app while logged in), versus from a SSH session?Charles, thank you for your reply. My developer skills are beyond rusty and i'm new to the osx environment, but I hope I can answer your questions correctly. First off, here is everything macports knows about usb: usbprog @0.1.8 cross/usbprog libusb @1.0.8 devel/libusb libusb-compat @0.1.3 devel/libusb-compat libusb-devel @1.0.8.20101017 devel/libusb-devel libusb-legacy @0.1.12 devel/libusb-legacy usbmuxd @1.0.7 devel/usbmuxd py26-pyusb @0.4.2 python/py26-pyusb py26-pyusb-devel @1.0.0-a1 python/py26-pyusb-devel py27-pyusb-devel @1.0.0-a1 python/py27-pyusb-devel Secondly, I am executing everything via Terminal (I dont know how to ssh stuff to be honest). Hope that helps. Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110908/9549f6c5/attachment-0001.html>