On Sun, Jun 13, 2004 at 09:49:08PM +0300, Yedidyah Bar-David wrote: > Hi all, > > I recently bought an Advice e-Pro 500. I downloaded from their site > upsmon.tar which seems to work, but I'd rather use nut. nut does not > seem to work with it. > strace on their's shows that after some ioctls it writes to the UPS > "Q1\r" many times, each time reading after writing, some of the reads > return info. nut, on the other hand, after doing some ioctls (didn't > check if they are the same), writes "\1", and does 'read' which does > not return (and it timeouts). My ups.conf is > [epro] > driver = powercom > port = /dev/ttyS0 > desc = "pinkys UPS" > type = "KIN2200AP" > and the command I tried is 'upsdrvctl start'. > > What do you think? Is anyone here uses Advice? Do you use their software > or nut (or something else)?
I use the nut with an older Advice ups. It looks like your ups uses another communication protocol then what the powercom driver is designed for. The command "Q1\r" might be a hint to a completely different communication protocol. You might try other drivers. If you want a better way then trying all the nut drivers you might look at the source of the drivers or google for something like `Q1\r ups'. Have you tried asking Advice? -- "If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have an idea and we exchange these ideas, then each of us will have two ideas." -- George Bernard Shaw (sent by shaulk @ actcom . net . il) ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
