[Users] SMS module modem diagnosis
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Jan 24 11:22:05 CET 2007
Hi Cristian,
the syscall "open" fails on the modem device:
open(mdm->device, O_RDWR | O_NOCTTY );
it might be a permission problem (not sure) or a concurrent access on
the device.
regards,
bogdan
Cristian Caprar wrote:
> How can I diagnose a problem in the SMS module when opening a modem?
>
> I see the following line in the log:
> DEBUG: modem_process: opening modem
>
> After about 5 minutes, I see the next one:
> ERROR:modem_process: cannot open modem Siemens_S45! Resource
> temporarily unavailable
>
> All happens in libsms_modem.c, line 423, where open() is called. The
> call blocks for about 5 minutes and afterwards I see the above error
> in the log.
>
> I tried to connect to the modem via minicom (on /dev/ttyS0) and
> everything is just fine.
>
>
>
> Thanks,
>
> Cristian
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Users mailing list
>Users at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>
>
More information about the Users
mailing list