[Nut-upsuser] Need help with Unitek Alpha 1200sx.

Joseph Borg juu.borg at gmail.com
Sat Jan 5 11:15:31 UTC 2008


Hi,
The sub-driver is agiler. The requested output follows:

---------------
Network UPS Tools 2.2.0- - Megatec protocol driver 1.5.4 [megatec_usb]
Carlos Rodrigues (c) 2003-2007

Serial-over-USB transport layer for Megatec protocol driver [megatec_usb]

debug level is '5'
Checking device (0000/0000) (002/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 002
Trying to match device
Device does not match - skipping
Checking device (0000/0000) (001/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 001
Trying to match device
Device does not match - skipping
Checking device (0F03/0001) (001/002)
- VendorID: 0f03
- ProductID: 0001
- Manufacturer: Ver 1.0
- Product: USB To RS232 Interface (V1.0) BaudRate 2400bps
- Serial Number: unknown
- Bus: 001
Trying to match device
Device matches
failed to claim USB device, trying 2 more time(s)...
detaching kernel driver from USB device...
trying again to claim USB device...

Broadcast message from nut (Sat Jan  5 12:10:56 2008):

Communications with UPS unial1200 at localhost lost
Starting UPS detection process...
Attempting to detect the UPS...
Sending "Q1" command...
"Q1" command successful.
Attempting to detect the UPS...
Sending "Q1" command...
"Q1" command successful.
Attempting to detect the UPS...
Sending "Q1" command...
"Q1" command successful.
Attempting to detect the UPS...
Sending "Q1" command...
"Q1" command successful.
Attempting to detect the UPS...
Sending "Q1" command...
"Q1" command successful.
0 out of 5 detection attempts failed (minimum failures: 2).
Asking for UPS information ("I" command)...
UPS information: #UNITEK          Alph1200Sx A1
Megatec protocol UPS detected [UNITEK Alph1200Sx A1].
Asking for UPS power ratings ("F" command)...
UPS power ratings: #230.0 4.3 24.00 50.0
Asking for UPS status ("Q1" command)...
UPS status: (230.0 230.0 2>3.0 016 50.0 29.0 32.0 00001000
24.0V battery, present voltage (0.0V) outside of supported intervals.
This UPS has an unsupported combination of battery voltage/number of
batteries.
Cannot calculate charge percentage for this UPS.
Done setting up the UPS.
Asking for UPS status ("Q1" command)...
UPS status: (230.0 230.0 353.0 016 50.0 28.8 32.0 00001000
dstate_init: sock /var/run/nut/megatec_usb-unial1200 open on fd 5
Asking for UPS status ("Q1" command)...
UPS status: (230.0 230.0 2>3.0 016 50.0 28.8 32.0 00001000
Asking for UPS status ("Q1" command)...
UPS status: (230.0 230.0 323.4 016 50.0 29.0 32.0 00001000
Asking for UPS status ("Q1" command)...
UPS status: (230.0 230.0 302.> 016 50.0 28.8 32.0 00001000
Asking for UPS status ("Q1" command)...
--------------------
As noted in the previous email, the driver doesn't always load sucessfully
and I have to switch off the UPs to sort this out. I'm now sure if this is a
known/limitation/driver incompatibility/some tweak I have to do. That said,
when the driver does load, then everything seems fine.

I also suspect that all the other Unitek Alpha YYYYsx models should work
since they seem to me to be the same as my 1200sx one; only a different VA.

Cheers,

Joe




On Jan 4, 2008 7:46 PM, Alexander I. Gordeev <lasaine at lvk.cs.msu.su> wrote:

> On Thu, 03 Jan 2008 21:33:32 +0300, Joseph Borg <juu.borg at gmail.com>
> wrote:
>
> > Just a small update; I figured out the udev script so now the processes
> > don't run as root and all still works :-). Thanks for all your help. The
> > only remaining issue is the intermittant failures when the driver is
> > loading..
> >
> > Joe
> >
>
> Could you please provide the output of the actual driver, like this:
>
> megatec_usb -a myups -DDDDD
>
> Do you use agiler subdriver? Then I'll add your UPS to the list of
> supported devices.
>
> --
>   Alexander
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20080105/6949e4c6/attachment.htm 


More information about the Nut-upsuser mailing list