HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] FAXGETTY device path within a Solaris Zone



Lee Howard wrote:

Lee Howard wrote:

Bruce McAlister wrote:

The command eventually kicks back to the command prompt and I am emailed
the following email


------------------------------------------------

The HylaFAX software thinks that there is a problem with the modem
on device /dev//etc/iaxmodem/devices/ttyIAX000 that needs attention; repeated attempts to
initialize the modem have failed.


This is just the wedged script being stupid. Ignore it.

Upon further inspection... it appears that the code isn't consistent in yet other places. I'll investigate further.


Try this small change out:

diff -Nru hylafax.orig/faxd/faxApp.c++ hylafax/faxd/faxApp.c++
--- hylafax.orig/faxd/faxApp.c++        2007-09-25 11:54:04.679290496 -0700
+++ hylafax/faxd/faxApp.c++     2007-09-25 14:52:02.943947520 -0700
@@ -317,6 +317,7 @@
    u_int l;
    while ((l = dev.next(0, '_')) < dev.length())
       dev[l] = '/';
+    if (dev[0] == '/') return (dev);   // path + device
    return (_PATH_DEV | dev);
}

With that it works just fine for me (and fixes the wedged message).

Thanks,

Lee.


____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions