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] faxaddmodem won't see the modem
On Wed, Apr 04, 2001 at 08:55:57PM +1000, Robert Colquhoun wrote:
> Hi Lee,
>
> At 11:05 AM 4/3/01 -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 too have been reading this thread....
>
> It is a longshot but it looks vaguely like problems that happen on HP-UX
> regularly where you are forced to hardcode the speed (-s param) for
> faxaddmodem.
>
> I noticed Eric tried this, but at a very high speed 115K i think, maybe if
> he has another go perhaps at 38400 or 9600 he might have more luck.
Yes, I tried this first with the old version, and that one didn;t
complain. The 4.1 Btea 3 version complains that this speed is non
standard, so I tried it at lower speeds, but it gave me the same result.
> Also if he could double check again there are no other processes running on
> the tty, or the equivalent cua file if those devices are present(an older
> version of linux).
I double and tripple checked that. There is nothing on the device. The
old device names don't even exist on the system, so that can't be it
either. And there are hardly any processes running at all on this machine:
# ps axu
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 1.1 1232 440 ? S Feb12 0:31 init [2]
root 2 0.0 0.0 0 0 ? SW Feb12 1:25 [kflushd]
root 3 0.0 0.0 0 0 ? SW Feb12 4:58 [kupdate]
root 4 0.0 0.0 0 0 ? SW Feb12 0:00 [kpiod]
root 5 0.0 0.0 0 0 ? SW Feb12 2:14 [kswapd]
daemon 158 0.0 0.0 1308 0 ? SW Feb12 0:00 [portmap]
root 161 0.0 0.6 1588 228 ? S Feb12 0:35 /sbin/syslogd
root 163 0.0 0.4 1588 172 ? S Feb12 0:01 /sbin/klogd
root 229 0.0 4.7 1804 1796 ? SL Feb12 1:09 /usr/sbin/ntpd
daemon 241 0.0 0.1 1316 52 ? S Feb12 0:00 /usr/sbin/atd
root 10856 0.0 0.0 1556 0 ? SW Feb19 0:00 [inetd]
daemon 11163 0.0 0.5 2108 192 ? S Feb19 0:33 lpd Waiting
root 15395 0.0 0.4 1612 180 ? S Mar05 0:01 /usr/sbin/cron
root 9637 0.0 1.2 2684 480 ? S Mar06 0:40 /usr/sbin/sshd
root 9667 0.0 0.0 1212 0 tty1 SW Mar06 0:00 [getty]
root 17487 0.0 4.5 3488 1728 ? S 09:30 0:04 /usr/sbin/sshd
root 17497 0.0 3.8 2368 1464 pts/0 S 09:30 0:00 -bash
root 21808 0.0 3.2 2976 1220 pts/0 R 13:21 0:00 ps axu
> Finally could he post the output of stty -a < /dev/ttyXX and also
# stty -a < /dev/ttyS1
speed 9600 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^A; eol = <undef>; eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 0; time = 10;
-parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff -iuclc -ixany -imaxbel
-opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
-isig -icanon -iexten -echo -echoe echok -echonl -noflsh -xcase -tostop -echoprt -echoctl -echoke
> setserial -a, just to see if there are any weird line params set.
# setserial -a /dev/ttyS1
/dev/ttyS1, Line 1, UART: 16550A, Port: 0x02f8, IRQ: 3
Baud_base: 115200, close_delay: 50, divisor: 0
closing_wait: 3000
Flags: spd_normal skip_test
> PS Also try attaching the modem to another serial port if possible if he
> hasn't already tried that(need to eliminate faulty serial port hardware).
That's a bit of a problem since that would require another cable (9pin
instead of 25pin). And I think I have found the problem, I just don't
know how to solve it. The process that is put in the background in
the onDev function exits before any output is generated by the serial
port. Probably even before any data is sent to the serial port.
--
#!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