Re: Gammu config Nokia 6300

Roy via Gammu-users <[email protected]> Tue, 30 Jun 2020 10:52:59 +0930
Newsgroups gmane.linux.drivers.gammu
Message-ID <[email protected]>
On 2020-06-27 22:33, Benjamin . wrote:
> [gammu1]
> device = /dev/ttyS0
> name = Phone on serial port 0
> connection = at
> 
> [gammu2]
> device = /dev/ttyS1
> name = Phone on serial port 1
> connection = at
> 
> [gammu3]
> device = /dev/ttyS2
> name = Phone on serial port 2
> connection = at
> 
> [gammu4]
> device = /dev/ttyS3
> name = Phone on serial port 3
> connection = at

I'd remove any device from your config that isn't the Nokia.

> Sat 2020/06/27 13:58:19: Init:Phone->GetModel failed with error TIMEOUT[14]: No response in specified timeout. Probably the phone is not connected.

Does the service user accessing the modem have write permission on the 
device? Consider writing a custom udev rule based on hardware IDs so 
that the device gets the correct user and group assigned to it, and a 
consistent symlink like /dev/ttyNOKIA6300 (create a new file under 
/etc/udev/rules.d/). I don't know if that's the cause of your issue, but 
it's worth checking.


_______________________________________________
Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users