Re: [Nut-upsuser] Belkin F6H375 not seen by nut 2.2.1

2008-01-17 Thread Joseph Borg
Hi Alexander, Thanks for getting back to me on this. Unfortunately it's still a no-go. The driver still fails in the same manner - only it takes longer to do so: ---snippet--- Q1 detail: (0 bytes) = Asking for UPS status [Q1]... Q1 = FAILED [short read] Q1 detail: (0 bytes) = Asking for UPS status

Re: [Nut-upsuser] Belkin F6H375 not seen by nut 2.2.1

2008-01-15 Thread Carlos Rodrigues
On Jan 14, 2008 10:32 PM, Joseph Borg [EMAIL PROTECTED] wrote: I added some printf statements to megatec.c and verified that the return value is '-110' but I can't seem to figure out why this is happening. I added printf statements to ser_get_line in serial.c but none seem to be printing (as

Re: [Nut-upsuser] Belkin F6H375 not seen by nut 2.2.1

2008-01-14 Thread Joseph Borg
Hi, Thanks for looking into this. This is a snippet of the output I get: --- [EMAIL PROTECTED] drivers]# ./megatec_usb -D -u root -a unial1200 Network UPS Tools 2.3.0-1222M - Megatec protocol driver 1.5.11 [megatec_usb] Carlos Rodrigues (c) 2003-2007 Serial-over-USB

Re: [Nut-upsuser] Belkin F6H375 not seen by nut 2.2.1

2008-01-14 Thread Alexander I. Gordeev
On Mon, 14 Jan 2008 23:08:48 +0300, Joseph Borg [EMAIL PROTECTED] wrote: Hi, Thanks for looking into this. This is a snippet of the output I get: --- [EMAIL PROTECTED] drivers]# ./megatec_usb -D -u root -a unial1200 [snip] Ok, obviously this is the same problem.

Re: [Nut-upsuser] Belkin F6H375 not seen by nut 2.2.1

2008-01-14 Thread Joseph Borg
Still the same I'm afraid :-( U trunk Checked out revision 1225. . . - Q1 = FAILED [timeout] 5 out of 5 detection attempts failed (minimum failures: 2). Megatec protocol UPS not detected. --- Thanks for your on-going support on this. Joe On

Re: [Nut-upsuser] Belkin F6H375 not seen by nut 2.2.1

2008-01-14 Thread Joseph Borg
Just a minor update on this, the repetitions after the first one (given in my previous emails) also return: Q1 = FAILED [timeout] I added some printf statements to megatec.c and verified that the return value is '-110' but I can't seem to figure out why this is happening. I added printf

Re: [Nut-upsuser] Belkin F6H375 not seen by nut 2.2.1

2008-01-13 Thread Joseph Borg
Hi, I'm wondering whether this could be the same issue I'm having. I emailed about this about two weeks ago or so. I'm trying to get NUT to work with my Unitek Alpha 1200sx. The driver is the megatec_usb one. When the driver does successfully load, it seems to work fine. However, more often than

Re: [Nut-upsuser] Belkin F6H375 not seen by nut 2.2.1

2008-01-13 Thread Joseph Borg
Just a minor update on this. I've tried download the svn tree and compiled the megatec_usb driver with the following config options (this seems to be the layout in Fedora but I may have missed something): ./configure --with-user=nut --with-group=nut --with-usb --sysconfdir=/etc/ups/ I then

Re: [Nut-upsuser] Belkin F6H375 not seen by nut 2.2.1

2008-01-13 Thread Charles Lepple
On Jan 13, 2008 2:11 PM, Joseph Borg [EMAIL PROTECTED] wrote: exec: /sbin/megatec_usb -a unial1200 Network UPS Tools 2.3.0-1222M - Megatec protocol driver 1.5.11 [megatec_usb] Carlos Rodrigues (c) 2003-2007 Serial-over-USB transport layer for Megatec protocol driver [megatec_usb] Andrey

Re: [Nut-upsuser] Belkin F6H375 not seen by nut 2.2.1

2008-01-13 Thread Joseph Borg
The permissions seem right to me: [EMAIL PROTECTED] drivers]# ll /dev/bus/usb/001 total 0 crw-r--r-- 1 root root 189, 0 2008-01-08 14:16 001 crw-rw-r-- 1 root uucp 189, 1 2008-01-13 21:22 002 The device in question is 002 and these same exact permissions work fine sometimes. I had the above

Re: [Nut-upsuser] Belkin F6H375 not seen by nut 2.2.1

2008-01-13 Thread Joseph Borg
Apologies for the number of emails; I just tried starting as user root and the error message changes but the outcome is the same: --- [EMAIL PROTECTED] drivers]# /sbin/upsdrvctl -u root -D start Network UPS Tools - UPS driver controller 2.2.0- Starting UPS: unial1200 exec:

Re: [Nut-upsuser] Belkin F6H375 not seen by nut 2.2.1

2008-01-13 Thread Arjen de Korte
Apologies for the number of emails; I just tried starting as user root and the error message changes but the outcome is the same: --- [EMAIL PROTECTED] drivers]# /sbin/upsdrvctl -u root -D start Network UPS Tools - UPS driver controller 2.2.0- Starting UPS: unial1200 exec:

[Nut-upsuser] Belkin F6H375 not seen by nut 2.2.1

2008-01-12 Thread Marco Nelissen
I recently bought a Belkin F6H375 UPS. It connects to the computer via USB. Searching the Internet led me to believe that the megatec_usb driver in nut supports this UPS, however I've been unable to get it to work. I have this in ups.conf: [belkinusb] driver = megatec_usb port = auto