David Hearn
Forum Replies Created
-
AuthorPosts
-
David HearnParticipant
ANy ideas on this? SHould I open a ticket with Multitech support?
Thanks
David HearnParticipantYes, that is correct. Only trying to send SMS -or- running PPP at any given time.
Thanks
David HearnParticipantJesse,
Yes, the same happens with the original binary. Running as “/usr/bin/sms -d /dev/ttyUSB3 –verbose send -f /tmp/junk 4146598013”, we see the same read timeout from atcmd.c, about 20% of the time:
preparing for send…
[ERROR] phonebook.c:phonebook_list_get:294: listing failed
[WARNING] sms_send.c:do_send:252: failed to get phonebook list
sending message to 4146598013
[NOTICE] atcmd.c:atcmd_read:284: read timeout
sending message to 4146598013 failed
#
The error happens after the PDU is written to the modem, and as I mentioned, the message is received on the handset.
I have also since noticed very similar behavior with pppd. I have a chat script called ‘gsm’ in /etc/ppp/peers correctly configured to use the GSM modem on /dev/ttyUSB3. It also fails a certin percentage of times:
# pppd call gsm
GSM chat
Connect script failed
#
Resulting fro mthe above, we see this in /var/log/messages:
Jul 4 08:41:38 mtcdp daemon.notice pppd[3132]: pppd 2.4.3 started by root, uid 0
Jul 4 08:41:39 mtcdp local2.err chat[3136]: Can’t get terminal parameters: Input/output error
Jul 4 08:41:39 mtcdp daemon.err pppd[3132]: Connect script failed
Jul 4 08:41:39 mtcdp daemon.info pppd[3132]: Exit.
It feels like there’s an issue with the USB device driver. I don’t have another version of the CDP to play with to see if the problem exists unsing a different port.
Thanks
David HearnParticipantWhere does it stop for you? For me, the initial build creates a whole lot of other packages also (libpam, mysql, etc).
For me it stops while building mysql5-native. A call to do_abi_check fails, and the make stops due to some newer change in gcc. There’s some patches out there on mysql.com that I’m looking at.
-
AuthorPosts