Ingo Schaefer wrote: > > Hallo, > > I installed nut 2.0.4 on a Solaris 8 and tried two things: > > First I wanted the ups to connect via usb, but I could not compile the > usb drivers. Make usb told me: no target named usb found
Strange. Doesn't your Makefile contain a line "usb: build-usb"? Make sure to do "make usb" in the main NUT directory, not in one of the subdirectories such as drivers/. -- Peter > Second, because both ups and host have serial ports I tried to get it > working with serial. > > The driver starts very fine, but takes a long time to detect the ups. > > Upsd starts too, but while get in contact with the ups I am told: > > Connected to UPS [mge3000-1]: mge-shut-ttyb > Synchronizing........ giving up > > Starting upsmon is working as well, but I get strange communication > events from then. > > suncore:root> Broadcast Message from nut (???) on suncore Wed Sep 27 > 15:47:42...Communications with UPS [EMAIL PROTECTED] lost > Broadcast Message from nut (???) on suncore Wed Sep 27 15:47:52... > Communications with UPS [EMAIL PROTECTED] established > Broadcast Message from nut (???) on suncore Wed Sep 27 15:48:12... > Communications with UPS [EMAIL PROTECTED] lost > Broadcast Message from nut (???) on suncore Wed Sep 27 15:48:22... > Communications with UPS [EMAIL PROTECTED] established > Broadcast Message from nut (???) on suncore Wed Sep 27 15:48:57... > Communications with UPS [EMAIL PROTECTED] lost > Broadcast Message from nut (???) on suncore Wed Sep 27 15:49:12... > Communications with UPS [EMAIL PROTECTED] established > > Syslog shows: > > Sep 27 15:32:08 suncore mge-shut[957]: [ID 702911 daemon.info] Startup > successful > Sep 27 15:32:08 suncore upsd[958]: [ID 702911 daemon.info] Connected to > UPS [mge3000-1]: mge-shut-ttyb > Sep 27 15:32:13 suncore upsd[959]: [ID 702911 daemon.info] Startup > successful > Sep 27 15:34:12 suncore upsd[959]: [ID 702911 daemon.notice] Data for > UPS [mge3000-1] is stale - check driver > Sep 27 15:34:26 suncore upsd[959]: [ID 702911 daemon.notice] UPS > [mge3000-1] data is no longer stale > Sep 27 15:34:38 suncore upsd[959]: [ID 702911 daemon.notice] Data for > UPS [mge3000-1] is stale - check driver > Sep 27 15:34:53 suncore upsd[959]: [ID 702911 daemon.notice] UPS > [mge3000-1] data is no longer stale > Sep 27 15:36:27 suncore upsd[959]: [ID 702911 daemon.notice] Data for > UPS [mge3000-1] is stale - check driver > > Sep 27 15:48:07 suncore upsd[1504]: [ID 702911 daemon.notice] Data for > UPS [mge3000-1] is stale - check driver > Sep 27 15:48:12 suncore upsmon[1511]: [ID 702911 daemon.error] Poll UPS > [EMAIL PROTECTED] failed - Data stale > Sep 27 15:48:12 suncore upsmon[1511]: [ID 702911 daemon.notice] > Communications with UPS [EMAIL PROTECTED] lost > Sep 27 15:48:12 suncore wall: [ID 254490 auth.crit] dtlocal in utmpx is > not a tty > Sep 27 15:48:17 suncore upsmon[1511]: [ID 702911 daemon.error] Poll UPS > [EMAIL PROTECTED] failed - Data stale > Sep 27 15:48:21 suncore upsd[1504]: [ID 702911 daemon.notice] UPS > [mge3000-1] data is no longer stale > Sep 27 15:48:22 suncore upsmon[1511]: [ID 702911 daemon.notice] > Communications with UPS [EMAIL PROTECTED] established > Sep 27 15:48:22 suncore wall: [ID 254490 auth.crit] dtlocal in utmpx is > not a tty > Sep 27 15:48:57 suncore upsd[1504]: [ID 702911 daemon.notice] Data for > UPS [mge3000-1] is stale - check driver > Sep 27 15:48:57 suncore upsmon[1511]: [ID 702911 daemon.error] Poll UPS > [EMAIL PROTECTED] failed - Data stale > Sep 27 15:48:57 suncore upsmon[1511]: [ID 702911 daemon.notice] > Communications with UPS [EMAIL PROTECTED] lost > Sep 27 15:48:57 suncore wall: [ID 254490 auth.crit] dtlocal in utmpx is > not a tty > Sep 27 15:49:02 suncore upsmon[1511]: [ID 702911 daemon.error] Poll UPS > [EMAIL PROTECTED] failed - Data stale > Sep 27 15:49:07 suncore upsmon[1511]: [ID 702911 daemon.error] Poll UPS > [EMAIL PROTECTED] failed - Data stale > Sep 27 15:49:11 suncore upsd[1504]: [ID 702911 daemon.notice] UPS > [mge3000-1] data is no longer stale > Sep 27 15:49:12 suncore upsmon[1511]: [ID 702911 daemon.notice] > Communications with UPS [EMAIL PROTECTED] established > Sep 27 15:49:12 suncore wall: [ID 254490 auth.crit] dtlocal in utmpx is > not a tty > Sep 27 15:49:23 suncore upsd[1504]: [ID 702911 daemon.notice] Data for > UPS [mge3000-1] is stale - check driver > Sep 27 15:49:24 suncore upsmon[1511]: [ID 702911 daemon.info] Signal 15: > exiting > Sep 27 15:49:24 suncore upsmon[1509]: [ID 702911 daemon.error] upsmon > parent: read: Bad file number > Sep 27 15:49:24 suncore upsd[1504]: [ID 702911 daemon.info] Client > [EMAIL PROTECTED] logged out > Sep 27 15:49:26 suncore upsd[1504]: [ID 702911 daemon.info] Signal 15: > exiting > Sep 27 15:49:26 suncore mge-shut[1502]: [ID 702911 daemon.info] Signal > 15: exiting > > Anyone has an idea? > > Regards, > Ingo _______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

