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] Waiting for modem to come ready
On 12/6/06,
Lee Howard <
faxguy@xxxxxxxxxxxxxxxx> wrote:
Forgive the top-post, but I wanted to quote the entirety of your
message, because it seemed relevant for future archive searches.
You are the first person that I've heard of to get as far as you have
with an i536ep modem for HylaFAX use. Normally people have trouble at
the driver-install portion.
In any case the prototype that faxaddmodem pulled was most likely not
right for your modem. Take your modem config file and strip it down to
the bare minimum as far as the modem configuration items generally found
at the bottom of the modem config file... to this:
ModemType: Class1
Yes, just that one line for the modem configuration part. Then restart
faxgetty and see how things go.
Lee.
Thanks for the quick reply. That didn't seem to do the trick. I also
did a "strace faxgetty 536ep0" (I saw this suggested somewhere in the
archives) but the output goes to the terminal despite pipes, etc. The
tail end of it (long) follows.
Ted
open("/etc/localtime", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f72000
read(5, "TZif\0\0\0\0\0\0\0\0\0\0\0\0
\0\0\0\0\0\0\0\4\0\0\0\4\0"..., 4096) = 1267
close(5) = 0
munmap(0xb7f72000, 4096) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
getpid() = 2042
socket(PF_FILE, SOCK_DGRAM, 0) = 5
fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
connect(5, {sa_family=AF_FILE, path="/dev/log"}, 16) = 0
send(5, "<30>Dec 6 23:49:08 FaxGetty[204"..., 78, MSG_NOSIGNAL) = 78
read(4, "ASS=1\t# command to enter class 1"..., 4096) = 729
read(4, "", 4096) = 0
close(4) = 0
munmap(0xb7f73000, 4096) = 0
open("etc/dialrules", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=1904, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f73000
read(4, "! $Id: dialrules,v 1.4 2003/05/1"..., 4096) = 1904
read(4, "", 4096) = 0
close(4) = 0
munmap(0xb7f73000, 4096) = 0
uname({sys="Linux", node="degas", ...}) = 0
mknod("FIFO.536ep0", S_IFIFO|0600) = -1 EEXIST (File exists)
open("FIFO.536ep0", O_RDWR|O_NONBLOCK) = 4
fstat64(4, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
fcntl64(4, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
open("/etc/passwd", O_RDONLY) = 6
fcntl64(6, F_GETFD) = 0
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
_llseek(6, 0, [0], SEEK_CUR) = 0
fstat64(6, {st_mode=S_IFREG|0644, st_size=1788, ...}) = 0
mmap2(NULL, 1788, PROT_READ, MAP_SHARED, 6, 0) = 0xb7f73000
_llseek(6, 1788, [1788], SEEK_SET) = 0
munmap(0xb7f73000, 1788) = 0
close(6) = 0
brk(0x8097000) = 0x8097000
brk(0x8096000) = 0x8096000
open("FIFO", O_WRONLY|O_NONBLOCK) = 6
fcntl64(6, F_GETFL) = 0x801 (flags O_WRONLY|O_NONBLOCK)
fcntl64(6, F_SETFL, O_WRONLY) = 0
write(6, "+536ep0:N+1.410.235.5005\0", 25) = 25
time([1165466948]) = 1165466948
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
send(5, "<30>Dec 6 23:49:08 FaxGetty[204"..., 80, MSG_NOSIGNAL) = 80
geteuid32() = 10
setresuid32(-1, 0, -1) = 0
gettimeofday({1165466948, 611781}, NULL) = 0
open("/var/lock//TM.faxdW1K7N", O_RDWR|O_CREAT|O_EXCL, 0600) = 7
write(7, " 2042\n", 11) = 11
fchmod(7, 0444) = 0
fchown32(7, 10, 10) = 0
close(7) = 0
link("/var/lock//TM.faxdW1K7N", "/var/lock/LCK..536ep0") = 0
unlink("/var/lock//TM.faxdW1K7N") = 0
setresuid32(-1, 10, -1) = 0
stat64("etc/config.536ep0", {st_mode=S_IFREG|0644, st_size=4825, ...}) = 0
geteuid32() = 10
setresuid32(-1, 0, -1) = 0
open("/dev/536ep0", O_RDWR|O_NONBLOCK|O_NOCTTY) = 7
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({1, 0}, {1, 0}) = 0
fcntl64(7, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl64(7, F_SETFL, O_RDWR) = 0
fstat64(7, {st_mode=S_IFCHR|0600, st_rdev=makedev(240, 1), ...}) = 0
fchown32(7, 10, 20) = 0
fchmod(7, 0600) = 0
setresuid32(-1, 10, -1) = 0
brk(0x80bb000) = 0x80bb000
ioctl(7, TIOCMBIC, [TIOCM_DTR]) = -1 EINVAL (Invalid argument)
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(7, SNDCTL_TMR_START or TCSETS, {B0 -opost -isig -icanon -echo ...}) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B0 -opost -isig -icanon -echo ...}) = 0
select(0, NULL, NULL, NULL, {0, 75000}) = 0 (Timeout)
ioctl(7, TIOCMBIS, [TIOCM_DTR]) = -1 EINVAL (Invalid argument)
select(0, NULL, NULL, NULL, {2, 600000}) = 0 (Timeout)
close(7) = 0
geteuid32() = 10
setresuid32(-1, 0, -1) = 0
open("/dev/536ep0", O_RDWR|O_NONBLOCK|O_NOCTTY) = 7
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({1, 0}, {1, 0}) = 0
fcntl64(7, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl64(7, F_SETFL, O_RDWR) = 0
fstat64(7, {st_mode=S_IFCHR|0600, st_rdev=makedev(240, 1), ...}) = 0
fchown32(7, 10, 20) = 0
fchmod(7, 0600) = 0
setresuid32(-1, 10, -1) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(7, SNDCTL_TMR_START or TCSETS, {B19200 -opost -isig -icanon -echo ...}) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B19200 -opost -isig -icanon -echo ...}) = 0
select(0, NULL, NULL, NULL, {0, 10000}) = 0 (Timeout)
ioctl(7, TCFLSH, 0) = 0
write(7, "ATZ", 3) = 3
write(7, "\r", 1) = 1
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={30, 0}}, NULL) = 0
read(7, "ATZ\r", 1024) = 4
read(7, "\r\nOK\r\n", 1024) = 6
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={30, 0}}, NULL) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
select(0, NULL, NULL, NULL, {3, 0}) = 0 (Timeout)
ioctl(7, TCFLSH, 0) = 0
write(7, "ATS0=0", 6) = 6
write(7, "\r", 1) = 1
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={5, 0}}, NULL) = 0
read(7, "ATS0=0\r", 1024) = 7
read(7, "\r\nOK\r\n", 1024) = 6
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={5, 0}}, NULL) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(7, "ATE0", 4) = 4
write(7, "\r", 1) = 1
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={5, 0}}, NULL) = 0
read(7, "ATE0\r", 1024) = 5
read(7, "\r\nOK\r\n", 1024) = 6
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={5, 0}}, NULL) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(7, "ATV1", 4) = 4
write(7, "\r", 1) = 1
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={5, 0}}, NULL) = 0
read(7, "\r\nOK\r\n", 1024) = 6
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(7, "ATQ0", 4) = 4
write(7, "\r", 1) = 1
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={5, 0}}, NULL) = 0
read(7, "\r\nOK\r\n", 1024) = 6
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(7, "ATS8=2", 6) = 6
write(7, "\r", 1) = 1
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={5, 0}}, NULL) = 0
read(7, "\r\nOK\r\n", 1024) = 6
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(7, "ATS7=60", 7) = 7
write(7, "\r", 1) = 1
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={5, 0}}, NULL) = 0
read(7, "\r\nOK\r\n", 1024) = 6
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(7, "AT+FCLASS=?", 11) = 11
write(7, "\r", 1) = 1
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 500000}}, NULL) = 0
read(7, "\r\n0,1,8\r\n", 1024) = 9
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn() = ? (mask now [])
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
brk(0x8096000) = 0x8096000
ioctl(7, TIOCMBIC, [TIOCM_DTR]) = -1 EINVAL (Invalid argument)
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B19200 -opost -isig -icanon -echo ...}) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B19200 -opost -isig -icanon -echo ...}) = 0
ioctl(7, SNDCTL_TMR_START or TCSETS, {B0 -opost -isig -icanon -echo ...}) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B0 -opost -isig -icanon -echo ...}) = 0
close(7) = 0
time([1165466964]) = 1165466964
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
send(5, "<30>Dec 6 23:49:24 FaxGetty[204"..., 74, MSG_NOSIGNAL) = 74
geteuid32() = 10
setresuid32(-1, 0, -1) = 0
unlink("/var/lock/LCK..536ep0") = 0
setresuid32(-1, 10, -1) = 0
flock(3, LOCK_EX) = 0
_llseek(3, 0, [0], SEEK_SET) = 0
write(3, "Waiting for modem to come ready\n", 32) = 32
_llseek(3, 0, [32], SEEK_CUR) = 0
ftruncate(3, 32) = 0
flock(3, LOCK_UN) = 0
gettimeofday({1165466964, 269392}, NULL) = 0
gettimeofday({1165466964, 269426}, NULL) = 0
select(5, [4], [], [], {29, 999966}) = 0 (Timeout)
gettimeofday({1165466994, 267035}, NULL) = 0
gettimeofday({1165466994, 267116}, NULL) = 0
gettimeofday({1165466994, 267192}, NULL) = 0
select(5, [4], [], [], {0, 2200}) = 0 (Timeout)
gettimeofday({1165466994, 276875}, NULL) = 0
gettimeofday({1165466994, 276949}, NULL) = 0
geteuid32() = 10
setresuid32(-1, 0, -1) = 0
open("/var/lock//TM.faxJ7MXSx", O_RDWR|O_CREAT|O_EXCL, 0600) = 7
write(7, " 2042\n", 11) = 11
fchmod(7, 0444) = 0
fchown32(7, 10, 10) = 0
close(7) = 0
link("/var/lock//TM.faxJ7MXSx", "/var/lock/LCK..536ep0") = 0
unlink("/var/lock//TM.faxJ7MXSx") = 0
setresuid32(-1, 10, -1) = 0
stat64("etc/config.536ep0", {st_mode=S_IFREG|0644, st_size=4825, ...}) = 0
geteuid32() = 10
setresuid32(-1, 0, -1) = 0
open("/dev/536ep0", O_RDWR|O_NONBLOCK|O_NOCTTY) = 7
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({1, 0}, {1, 0}) = 0
fcntl64(7, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl64(7, F_SETFL, O_RDWR) = 0
fstat64(7, {st_mode=S_IFCHR|0600, st_rdev=makedev(240, 1), ...}) = 0
fchown32(7, 10, 20) = 0
fchmod(7, 0600) = 0
setresuid32(-1, 10, -1) = 0
brk(0x80bb000) = 0x80bb000
ioctl(7, TIOCMBIC, [TIOCM_DTR]) = -1 EINVAL (Invalid argument)
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(7, SNDCTL_TMR_START or TCSETS, {B0 -opost -isig -icanon -echo ...}) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B0 -opost -isig -icanon -echo ...}) = 0
select(0, NULL, NULL, NULL, {0, 75000}) = 0 (Timeout)
ioctl(7, TIOCMBIS, [TIOCM_DTR]) = -1 EINVAL (Invalid argument)
select(0, NULL, NULL, NULL, {2, 600000}) = 0 (Timeout)
close(7) = 0
geteuid32() = 10
setresuid32(-1, 0, -1) = 0
open("/dev/536ep0", O_RDWR|O_NONBLOCK|O_NOCTTY) = 7
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({1, 0}, {1, 0}) = 0
fcntl64(7, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl64(7, F_SETFL, O_RDWR) = 0
fstat64(7, {st_mode=S_IFCHR|0600, st_rdev=makedev(240, 1), ...}) = 0
fchown32(7, 10, 20) = 0
fchmod(7, 0600) = 0
setresuid32(-1, 10, -1) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(7, SNDCTL_TMR_START or TCSETS, {B19200 -opost -isig -icanon -echo ...}) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B19200 -opost -isig -icanon -echo ...}) = 0
select(0, NULL, NULL, NULL, {0, 10000}) = 0 (Timeout)
ioctl(7, TCFLSH, 0) = 0
write(7, "ATZ", 3) = 3
write(7, "\r", 1) = 1
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={30, 0}}, NULL) = 0
read(7, "ATZ\r", 1024) = 4
read(7, "\r\nOK\r\n", 1024) = 6
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={30, 0}}, NULL) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
select(0, NULL, NULL, NULL, {3, 0}) = 0 (Timeout)
ioctl(7, TCFLSH, 0) = 0
write(7, "ATS0=0", 6) = 6
write(7, "\r", 1) = 1
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={5, 0}}, NULL) = 0
read(7, "ATS0=0\r", 1024) = 7
read(7, "\r\nOK\r\n", 1024) = 6
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={5, 0}}, NULL) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(7, "ATE0", 4) = 4
write(7, "\r", 1) = 1
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={5, 0}}, NULL) = 0
read(7, "ATE0\r", 1024) = 5
read(7, "\r\nOK\r\n", 1024) = 6
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={5, 0}}, NULL) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(7, "ATV1", 4) = 4
write(7, "\r", 1) = 1
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={5, 0}}, NULL) = 0
read(7, "\r\nOK\r\n", 1024) = 6
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(7, "ATQ0", 4) = 4
write(7, "\r", 1) = 1
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={5, 0}}, NULL) = 0
read(7, "\r\nOK\r\n", 1024) = 6
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(7, "ATS8=2", 6) = 6
write(7, "\r", 1) = 1
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={5, 0}}, NULL) = 0
read(7, "\r\nOK\r\n", 1024) = 6
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(7, "ATS7=60", 7) = 7
write(7, "\r", 1) = 1
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={5, 0}}, NULL) = 0
read(7, "\r\nOK\r\n", 1024) = 6
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(7, "AT+FCLASS=?", 11) = 11
write(7, "\r", 1) = 1
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 500000}}, NULL) = 0
read(7, "\r\n0,1,8\r\n", 1024) = 9
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn() = ? (mask now [])
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
brk(0x8096000) = 0x8096000
ioctl(7, TIOCMBIC, [TIOCM_DTR]) = -1 EINVAL (Invalid argument)
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B19200 -opost -isig -icanon -echo ...}) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B19200 -opost -isig -icanon -echo ...}) = 0
ioctl(7, SNDCTL_TMR_START or TCSETS, {B0 -opost -isig -icanon -echo ...}) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B0 -opost -isig -icanon -echo ...}) = 0
close(7) = 0
geteuid32() = 10
setresuid32(-1, 0, -1) = 0
unlink("/var/lock/LCK..536ep0") = 0
setresuid32(-1, 10, -1) = 0
gettimeofday({1165467009, 916613}, NULL) = 0
gettimeofday({1165467009, 916656}, NULL) = 0
select(5, [4], [], [], {29, 999957}) = 0 (Timeout)
gettimeofday({1165467039, 914498}, NULL) = 0
gettimeofday({1165467039, 914530}, NULL) = 0
gettimeofday({1165467039, 914559}, NULL) = 0
select(5, [4], [], [], {0, 2054}) = 0 (Timeout)
gettimeofday({1165467039, 924450}, NULL) = 0
gettimeofday({1165467039, 924476}, NULL) = 0
geteuid32() = 10
setresuid32(-1, 0, -1) = 0
open("/var/lock//TM.faxx0DWL3", O_RDWR|O_CREAT|O_EXCL, 0600) = 7
write(7, " 2042\n", 11) = 11
fchmod(7, 0444) = 0
fchown32(7, 10, 10) = 0
close(7) = 0
link("/var/lock//TM.faxx0DWL3", "/var/lock/LCK..536ep0") = 0
unlink("/var/lock//TM.faxx0DWL3") = 0
setresuid32(-1, 10, -1) = 0
stat64("etc/config.536ep0", {st_mode=S_IFREG|0644, st_size=4825, ...}) = 0
geteuid32() = 10
setresuid32(-1, 0, -1) = 0
open("/dev/536ep0", O_RDWR|O_NONBLOCK|O_NOCTTY) = 7
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({1, 0}, {1, 0}) = 0
fcntl64(7, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl64(7, F_SETFL, O_RDWR) = 0
fstat64(7, {st_mode=S_IFCHR|0600, st_rdev=makedev(240, 1), ...}) = 0
fchown32(7, 10, 20) = 0
fchmod(7, 0600) = 0
setresuid32(-1, 10, -1) = 0
brk(0x80bb000) = 0x80bb000
ioctl(7, TIOCMBIC, [TIOCM_DTR]) = -1 EINVAL (Invalid argument)
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(7, SNDCTL_TMR_START or TCSETS, {B0 -opost -isig -icanon -echo ...}) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B0 -opost -isig -icanon -echo ...}) = 0
select(0, NULL, NULL, NULL, {0, 75000}) = 0 (Timeout)
ioctl(7, TIOCMBIS, [TIOCM_DTR]) = -1 EINVAL (Invalid argument)
select(0, NULL, NULL, NULL, {2, 600000}) = 0 (Timeout)
close(7) = 0
geteuid32() = 10
setresuid32(-1, 0, -1) = 0
open("/dev/536ep0", O_RDWR|O_NONBLOCK|O_NOCTTY) = 7
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({1, 0}, {1, 0}) = 0
fcntl64(7, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl64(7, F_SETFL, O_RDWR) = 0
fstat64(7, {st_mode=S_IFCHR|0600, st_rdev=makedev(240, 1), ...}) = 0
fchown32(7, 10, 20) = 0
fchmod(7, 0600) = 0
setresuid32(-1, 10, -1) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(7, SNDCTL_TMR_START or TCSETS, {B19200 -opost -isig -icanon -echo ...}) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B19200 -opost -isig -icanon -echo ...}) = 0
select(0, NULL, NULL, NULL, {0, 10000}) = 0 (Timeout)
ioctl(7, TCFLSH, 0) = 0
write(7, "ATZ", 3) = 3
write(7, "\r", 1) = 1
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={30, 0}}, NULL) = 0
read(7, "ATZ\r", 1024) = 4
read(7, "\r\nOK\r\n", 1024) = 6
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={30, 0}}, NULL) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
select(0, NULL, NULL, NULL, {3, 0}) = 0 (Timeout)
ioctl(7, TCFLSH, 0) = 0
write(7, "ATS0=0", 6) = 6
write(7, "\r", 1) = 1
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={5, 0}}, NULL) = 0
read(7, "AT", 1024) = 2
read(7, "S0=0\r", 1024) = 5
read(7, "\r\nOK\r\n", 1024) = 6
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={5, 0}}, NULL) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(7, "ATE0", 4) = 4
write(7, "\r", 1) = 1
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={5, 0}}, NULL) = 0
read(7, "ATE0\r", 1024) = 5
read(7, "\r\nOK\r\n", 1024) = 6
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={5, 0}}, NULL) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(7, "ATV1", 4) = 4
write(7, "\r", 1) = 1
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={5, 0}}, NULL) = 0
read(7, "\r\nOK\r\n", 1024) = 6
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(7, "ATQ0", 4) = 4
write(7, "\r", 1) = 1
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={5, 0}}, NULL) = 0
read(7, "\r\nOK\r\n", 1024) = 6
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(7, "ATS8=2", 6) = 6
write(7, "\r", 1) = 1
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={5, 0}}, NULL) = 0
read(7, "\r\nOK\r\n", 1024) = 6
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(7, "ATS7=60", 7) = 7
write(7, "\r", 1) = 1
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={5, 0}}, NULL) = 0
read(7, "\r\nOK\r\n", 1024) = 6
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(7, "AT+FCLASS=?", 11) = 11
write(7, "\r", 1) = 1
rt_sigaction(SIGALRM, {0xb7eb2870, [], SA_INTERRUPT}, NULL, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 500000}}, NULL) = 0
read(7, "\r\n0,1,8\r\n", 1024) = 9
--- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn() = ? (mask now [])
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
brk(0x8096000) = 0x8096000
ioctl(7, TIOCMBIC, [TIOCM_DTR]) = -1 EINVAL (Invalid argument)
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B19200 -opost -isig -icanon -echo ...}) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B19200 -opost -isig -icanon -echo ...}) = 0
ioctl(7, SNDCTL_TMR_START or TCSETS, {B0 -opost -isig -icanon -echo ...}) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B0 -opost -isig -icanon -echo ...}) = 0
close(7) = 0
geteuid32() = 10
setresuid32(-1, 0, -1) = 0
unlink("/var/lock/LCK..536ep0") = 0
setresuid32(-1, 10, -1) = 0
time([1165467055]) = 1165467055
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
send(5, "<30>Dec 6 23:50:55 FaxGetty[204"..., 100, MSG_NOSIGNAL) = 100
write(6, "+536ep0:W\0", 10) = 10
write(6, "+536ep0:D\0", 10) = 10
time([1165467055]) = 1165467055
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
send(5, "<30>Dec 6 23:50:55 FaxGetty[204"..., 53, MSG_NOSIGNAL) = 53
close(6) = 0
geteuid32() = 10
setresuid32(-1, 0, -1) = 0
open("/var/lock//TM.faxLYBYeb", O_RDWR|O_CREAT|O_EXCL, 0600) = 6
write(6, " 2042\n", 11) = 11
fchmod(6, 0444) = 0
fchown32(6, 10, 10) = 0
close(6) = 0
link("/var/lock//TM.faxLYBYeb", "/var/lock/LCK..536ep0") = 0
unlink("/var/lock//TM.faxLYBYeb") = 0
setresuid32(-1, 10, -1) = 0
geteuid32() = 10
setresuid32(-1, 0, -1) = 0
unlink("/var/lock/LCK..536ep0") = 0
setresuid32(-1, 10, -1) = 0
gettimeofday({1165467055, 558007}, NULL) = 0
close(3) = 0
munmap(0xb7f74000, 4096) = 0
exit_group(0) = ?