As I wrote yesterday, I was having trouble connecting my Mac OS X
10.4.10 Server machine to a Multitech MTCBA-G-F2 modem (Wavecom
Chipset). Whenever it tried to connect I got:
2008-03-19 19:04:41 [451] [6] ERROR: AT2[/dev/tty.USA19QWfd433P1.1]:
Couldnot write to device.
2008-03-19 19:04:41 [451] [6] ERROR: System error 35: Resource
temporarily unavailable
I played around with it a bit and I got it running on my bench machine
(OSX 10.5.2, same modem) just now.
Change line 146 of smsc_at.c
from:
tios.c_cflag |= CREAD; /* enable receiver */
to:
tios.c_cflag |= CREAD | CLOCAL; /* enable receiver */
then do a clean make
and it works now. I've only run it through the preliminary smoke test
(I can send and receive messages without any problem). I'm going to
work on it some more and i'll post if anything noteworthy happens.
Cheers--
bh