Re: [Nut-upsuser] problem with Mustek UPS - Freebsd

2008-02-04 Thread Daniel O'Connor
On Tue, 5 Feb 2008, Luki wrote: > Daniel, thanks a lot for your help, now it works perfect, I was able > to connect to UPS via serial line and gather statistics, rest of > configuration left but the most important point achieved ;) > I have done exactly as you suggested to create /etc/devfs.rules f

Re: [Nut-upsuser] problem with Mustek UPS - Freebsd

2008-02-04 Thread Luki
Daniel, thanks a lot for your help, now it works perfect, I was able to connect to UPS via serial line and gather statistics, rest of configuration left but the most important point achieved ;) I have done exactly as you suggested to create /etc/devfs.rules file and I have added "nut" user to di

Re: [Nut-upsuser] problem with Mustek UPS - Freebsd

2008-02-04 Thread Luki
> For USB I created /usr/local/etc/devd/nut.conf with entries like.. > attach 100 { > device-name "ugen[0-9]+"; > match "vendor" "0x0463"; > match "product" "0x"; > action "chown uucp /dev/$device-name*; chmod 660 /dev/$device-name*"; > }; > > > Ok first I w

Re: [Nut-upsuser] problem with Mustek UPS - Freebsd

2008-02-04 Thread Luki
Hi Jimmy, Problem still occurs, I have removed serial connection, only usb left. I use your configuration and that's what I receive : [EMAIL PROTECTED] /]# /usr/local/ups/bin/upsdrvctl start mustekups-usb Network UPS Tools - UPS driver controller Network UPS Tools - Megatec protocol driver 1.5.4

Re: [Nut-upsuser] problem with Mustek UPS - Freebsd

2008-02-04 Thread Daniel O'Connor
On Mon, 4 Feb 2008, Jimmy Jazz wrote: > for the serial output in your init.d nut file > > set_serial() { > for n in $@; do > [ -e /sys/class/tty/ttyS${n} ] || continue > mknod /dev/ttyS${n} c 4 $(( 64 + n )) && chown > nut:uucp /dev/ttyS${n} > done >

Re: [Nut-upsuser] problem with Mustek UPS - Freebsd

2008-02-04 Thread Jimmy Jazz
Hi, i was using the same device. Just don't try to use the usb and serial outputs at the same time. /etc/nut/ups.conf #[mustekups] # driver = megatec # port = /dev/ttyS0 # desc = "Mustek PowerMust 1000VA USB" # mfr = "Mustek" # model = "PowerMust 1000 USB" # #[must

Re: [Nut-upsuser] problem with Mustek UPS - Freebsd

2008-02-03 Thread Luki
But I have found my model on driver.list - it's 1000VA - Mustek PowerMust 1000 and I use cable delivered with UPS. That's weird, I spent a lot of time trying to solve it :) I got two cables - usb and serial, now I have connected both of them, and I have tried also with megatec_usb driver, no res

Re: [Nut-upsuser] problem with Mustek UPS - Freebsd

2008-02-02 Thread Carlos Rodrigues
On Feb 2, 2008 8:20 PM, Luki <[EMAIL PROTECTED]> wrote: > I have checked that, I have set 777 to cuaa0 -> serial port (COM1) > I have run /usr/local/ups/bin/megatec -DDD -a, results are as follows : > > [EMAIL PROTECTED] ~]# /usr/local/ups/bin/megatec -DDD -a server > Network UPS Tools - Megatec p

Re: [Nut-upsuser] problem with Mustek UPS - Freebsd

2008-02-02 Thread Carlos Rodrigues
On Feb 2, 2008 10:16 AM, Luki <[EMAIL PROTECTED]> wrote: > Hello Carlos > > could you please help me to solve issue with Mustek 1000VA UPS under > Freebsd ? > I am not able to connect with it : > > >Network UPS Tools - UPS driver controller > >Network UPS Tools - Megatec protocol driver 1.5.4 [m