[Nut-upsuser] Zigor Ebro 650 compatibility
Arnaud Quette
aquette.dev at gmail.com
Fri Aug 10 21:27:53 UTC 2012
2012/8/10 Chris Rees <crees at freebsd.org>
> On 8 August 2012 10:07, Martyn Hill <martyn.joseph.hill at gmail.com> wrote:
> > Arnaud Quette <aquette.dev <at> gmail.com> writes:
> >> 2012/6/3 Chris Rees <crees <at> freebsd.org>:
> >> it's quite probably due to a permission issue.
> >> See "4) Permissions" on
> > http://people.freebsd.org/~thierry/nut_FreeBSD_HowTo.txt
>
> (...)
Thanks Arnaud, and sorry for the delay-- I've been on holiday.
>
no pb, I hope you enjoyed... mine are in a week from now ;)
> As I mentioned above I've now got it to 2.6.4, and have a new message;
>
> [crees at pegasus]/usr/local/libexec/nut% sudo ./blazer_usb -a zigor
> -DDDDDDDDDDDDD
> Network UPS Tools - Megatec/Q1 protocol USB driver 0.08
> (2.6.4-Unversioned directory)
> 0.000000 debug level is '13'
> 0.001081 Checking device (0001/0000) (/dev/usb//dev/ugen2.3)
> 0.001688 - VendorID: 0001
> 0.001694 - ProductID: 0000
> 0.001697 - Manufacturer: unknown
> 0.001701 - Product: unknown
> 0.001705 - Serial Number: unknown
> 0.001708 - Bus: /dev/usb
> 0.001712 Trying to match device
> 0.001717 Device matches
> 0.001737 send_to_all: SETINFO ups.vendorid "0001"
> 0.001744 send_to_all: SETINFO ups.productid "0000"
> 0.001751 send_to_all: SETINFO device.type "ups"
> 0.001758 send_to_all: SETINFO driver.version "2.6.4-Unversioned
> directory"
> 0.001764 send_to_all: SETINFO driver.version.internal "0.08"
> 0.001770 send_to_all: SETINFO driver.name "blazer_usb"
> 0.001775 Trying megatec protocol...
> 0.001786 send: Q1
> 0.002191 read: Unknown error
> 0.002242 Permissions problem: Input/output error
>
damn BSD USB stack. is it the "new" or the "old" (I may totally be off
topic!)
> [crees at pegasus]/usr/local/libexec/nut%
>
> I had already chmod'd 777 all the USB nodes (just for debugging of course!)
>
hem, ok, just for debugging purpose so ;)
and:
>
> [crees at pegasus]/usr/local/libexec/nut% grep -v ^#
> /usr/local/etc/nut/ups.conf
> [zigor]
> port = auto
> driver = blazer_usb
>
> Looks as though the UPS is answering in strange ways....
it's not answering at all for now! the I/O error is initial.
you should try using "export USB_DEBUG=3", which will enable libusb debug.
I've just seen that Martin has sent more data... jumping on this mail.
cheers,
Arno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20120810/e9c4c926/attachment.html>
More information about the Nut-upsuser
mailing list