Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Re: [hylafax-users] faxaddmodem won't see the modem
On Tue, Apr 03, 2001 at 11:05:37AM -0600, Lee Howard wrote:
> At 03:28 AM 4/3/01 -0400, Jay R. Ashworth wrote:
>
> >Nope, you're right. Lee?? Grab Darren and whomever else of the SWAT
> >team is around, too. I'm temporarily stumped.
>
> I've been following this thread, and I did what I could to help initially
> (which wasn't much more than provoke an upgrade 4.0pl2 -> 4.1beta3).
>
> I've used probably two dozen different modem models, internal PCI or ISA
> and external, with HylaFAX over the course of the past year with OSes like
> RedHat, Caldera, SuSE, Debian, Slackware, FreeBSD, OpenBSD, and NetBSD on a
> variety of x86 and PPC platforms. I haven't ever encountered a situation
> where minicom could talk to the modem and faxaddmodem couldn't.
And it is not even only minicom that doesn't have any problems. I send
SMS messages with sms_client and I can even send faxes with fax2send.
> For that reason, I think we're dealing with some other problem here.
> HylaFAX has an expectation that its modem functions the way an external
> modem works via the serial port and that it has that device's full
> attention. If, somewhere along the way, that expectation is not met, then
> you'll get this problem. As I've mentioned before, usually this problem is
> because some other process is accessing the device when faxaddmodem goes to
> probe it - usually that process is faxgetty, which *shouldn't* be running
> when you run faxaddmodem. But, I don't suppose that this is the case here.
I've mentioned this before, no, there isn't any other process accessing
the modem. Nothings shows up in the process list, and I even double
checked this with both fuser and lsof. So I am pretty sure that the
modem is not in use by any program.
> So, the way to troubleshoot this problem is to open up faxaddmodem with an
> ASCII reader and go to the place where the trouble is (probably around line
> 844 with the SendToModem function) and see what the particular error is.
I am trying to figure out what is going on here right now. Im am not
sure what is happening, but the file $OUT doesn't contain anything,
it's an empty file. And right now I am wondering if anything is send
to the modem at all, it looks like nothing is sent to the modem, which
would explain why there isn't coming any answer either. But debugging
someone elses code is not quite easy, and bourne shell code isn't really
my favorite so I might be wrong.
--
#!perl # Life ain't fair, but root passwords help.
# Eric Veldhuyzen eric@terra.telemediair.nl
$!=$;=$_+(++$_);($:,$~,$/,$^,$*,$@)=$!=~ # Perl Monger
/.(.)...(.)(.)....(.)..(.)..(.)/;`$^$~$/$: $^$*$@$~ $_>&$;`
____________________ HylaFAX(tm) Users Mailing List _______________________
To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null