Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misleading error: No response in specified timeout. Probably the phone is not connected. #510

Open
minfrin opened this issue Dec 21, 2019 · 0 comments

Comments

@minfrin
Copy link

@minfrin minfrin commented Dec 21, 2019

I have been trying to get gammu to identify a Huawei E1750 modem, with no luck.

Strace shows the modem is responding and a conversation is occurring, but with long delays on the gammu side. Gammu eventually fails saying "No response in specified timeout. Probably the phone is not connected.", however strace shows that the modem is connected and is responding:

[root@emma ~]# strace gammu -s 0 --identify 2>&1 | grep -e read -e write
[snip]
read(3, "nodev\tsysfs\nnodev\trootfs\nnodev\tr"..., 1024) = 294
read(3, "", 1024)                       = 0
read(3, "LegacySigningMDs md5\n", 4096) = 21
read(3, "", 4096)                       = 0
read(3, "[gammu]\ndevice = /dev/ttyUSB0\nna"..., 4096) = 463
read(3, "", 4096)                       = 0
read(3, "", 4096)                       = 0
read(3, "# Locale name alias data base.\n#"..., 4096) = 2502
read(3, "", 4096)                       = 0
write(3, "\33", 1)                      = 1
write(3, "\r", 1)                       = 1
write(3, "A", 1)                        = 1
write(3, "T", 1)                        = 1
write(3, "\r", 1)                       = 1
read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\7\0\0\0\7\0\0\0\0"..., 4096) = 3661
read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\10\0\0\0\0"..., 4096) = 2338
read(3, "\r\nOK\r\n", 65536)            = 6
write(3, "A", 1)                        = 1
write(3, "T", 1)                        = 1
write(3, "E", 1)                        = 1
write(3, "1", 1)                        = 1
write(3, "\r", 1)                       = 1
read(3, "\r\nOK\r\n", 65536)            = 6
write(3, "A", 1)                        = 1
write(3, "T", 1)                        = 1
write(3, "+", 1)                        = 1
write(3, "M", 1)                        = 1
write(3, "O", 1)                        = 1
write(3, "D", 1)                        = 1
write(3, "E", 1)                        = 1
write(3, "=", 1)                        = 1
write(3, "2", 1)                        = 1
write(3, "\r", 1)                       = 1
read(3, "\r\nERROR\r\n", 65536)         = 9
write(3, "A", 1)                        = 1
write(3, "T", 1)                        = 1
write(3, "+", 1)                        = 1
write(3, "C", 1)                        = 1
write(3, "M", 1)                        = 1
write(3, "E", 1)                        = 1
write(3, "E", 1)                        = 1
write(3, "=", 1)                        = 1
write(3, "1", 1)                        = 1
write(3, "\r", 1)                       = 1
read(3, "\r\nOK\r\n", 65536)            = 6
write(3, "A", 1)                        = 1
write(3, "T", 1)                        = 1
write(3, "+", 1)                        = 1
write(3, "C", 1)                        = 1
write(3, "M", 1)                        = 1
write(3, "E", 1)                        = 1
write(3, "E", 1)                        = 1
write(3, "=", 1)                        = 1
write(3, "2", 1)                        = 1
write(3, "\r", 1)                       = 1
read(3, "\r\nOK\r\n", 65536)            = 6
write(3, "A", 1)                        = 1
write(3, "T", 1)                        = 1
write(3, "+", 1)                        = 1
write(3, "C", 1)                        = 1
write(3, "S", 1)                        = 1
write(3, "C", 1)                        = 1
write(3, "S", 1)                        = 1
write(3, "?", 1)                        = 1
write(3, "\r", 1)                       = 1
read(3, "\r\n+CSCS: \"IRA\"\r\n\r\nOK\r\n", 65536) = 22
write(1, "No response in specified timeout"..., 71No response in specified timeout. Probably the phone is not connected.
[root@emma ~]# 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.