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

2008-11-05 Thread Joseph Borg
Hi Alexander, Sorry for the delay in getting back to you on this; I got caught up with some work. I've now downloaded and installed nut 2.2.2. Here is the output I get when I try to start the driver: --- [EMAIL PROTECTED] bin]# ./megatec_usb -D -a unial1200

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

2008-11-05 Thread Joseph Borg
Hi, An update on this as I've spend all day playing with it: 1. It would seem one of the two ups's is bust (i.e. the one for which I got the output below). I hope to connect it up with windows tomorrow to confirm/deny this. 2. The other UPS seems ok in that the driver recognizes it:

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

2008-10-10 Thread Joseph Borg
Hi Alexander, sounds like a plan to me. I'll update to 2.2.2 over the weekend (on both machines) and we can take it from there. As for you pointers: - The two UPSs were purchased at the same time (so I have no reason to believe their internal hardware is different). - Both computer are different

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

2008-10-08 Thread Alexander I. Gordeev
Hi Joseph, Nice to see you again :) On Tuesday 07 October 2008 23:21:32 Joseph Borg wrote: Hi, Apologies for picking up on this old thread but I never had gotten this issue resolved and I'm now back in the location where the UPSs are so I was hoping we could look into the issue again.

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

2008-10-07 Thread Joseph Borg
Hi, Apologies for picking up on this old thread but I never had gotten this issue resolved and I'm now back in the location where the UPSs are so I was hoping we could look into the issue again. Basically, I had two Unitek Alpha 1200sx UPSs, connected to Fedora Linux 8. The NUT version seems to

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

2008-01-05 Thread Joseph Borg
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

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

2008-01-04 Thread Alexander I. Gordeev
On Thu, 03 Jan 2008 21:33:32 +0300, Joseph Borg [EMAIL PROTECTED] 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

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

2008-01-03 Thread Arjen de Korte
I also discovered that the log file is getting filled up with these errors: - Jan 2 22:38:19 www kernel: usb 1-2: usbfs: process 24538 (megatec_usb) did not claim interface 0 before use Jan 2 22:38:19 www kernel: usb 1-2: usbfs: process 24538 (megatec_usb) did not

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

2008-01-03 Thread Joseph Borg
Hi Arjen, Many thanks for your on-going support on this. It seems to be working 'mostly' fine now. Just a few points: The better option would be to modify the udev/hotplug script and not run everything as root. Any pointers on how to do the above? NUT installed from RPM for me so presumably I

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

2008-01-02 Thread Joseph Borg
Hi, I'm new to NUT. I've installed Fedora 8 and NUt along with it. I'm now having a go at getting my Unitek Alpha 1200sx UPS to work and shutdown the box automatically. I know this isn't officially supported but I'm trying my luck... I've seen that other Unitek UPSs use the 'megatec' driver

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

2008-01-02 Thread Carlos Rodrigues
On Jan 2, 2008 8:19 PM, Joseph Borg [EMAIL PROTECTED] wrote: No luck unfortunately :-( --- [myups] driver = megatec_usb port = auto bus=001 vendorid = 0f03 productid = 0001 subdriver = agiler desc = Unitek Alpha

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

2008-01-02 Thread Arjen de Korte
Joseph Borg wrote: The strange thing is that this fails really fast...it's as though it's not even trying to detect the ups No, it won't. You need to pass the '-u root' option, since the hotplug/udev rules are not setup for this VID:PID combination. Until then, you'll have to tell the