Author |
Post |
|
#1 Thu May 03, 2012 21:03, 152 months ago.
|
Member
Registered: May 2012
Location: Turku, Finland
|
Operating system name and version: Debian 6 Version of smsd: Version 3.1.11 Smsd installed from: Package repository (smstools 3.1.11-1) Name and model of a modem / phone: Huawei E180 (reported by lsusb as E1552) Interface: USB I'm trying to receive / send SMS's, but for some reason it seems that although smstools detects the message, it doesn't do anything to deliver it – I'm not sure how to interpret the log. Can someone tell me what might be wrong in my configuration / what's going on with smstools? It seems that PIN code etc. should be correct (and actually they are, because inserting the modem in my laptop it works fine with the given PIN code – on laptop I'm not using any sms tools though, just networkmanager.) Edit: Replaced the log text with a new one, there was another issue with the previous. « Last edit by ZeiP on Thu May 03, 2012 21:06, 152 months ago. »
|
|
#2 Thu May 03, 2012 21:48, 152 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Instead of the first serial port, /dev/ttyS0, try to use USB port, like /dev/ttyUSB0. Use dmesg to see what USB ports are connected to the modem. In the case of multiple ports, try the first and if it does not work completely, try the next one.
|
|
#3 Thu May 03, 2012 22:00, 152 months ago.
|
Member
Registered: May 2012
Location: Turku, Finland
Topic owner
|
Yeah, I was wondering about that... There are no ttyUSBx ports there, only /dev/ttyS0 and /dev/ttyS1. When I tried modprobe -v usbserial for the device, I got two more (ttyS2 and ttyS3), which give an Input/output error when I try to socat them – for the two first ports (ttyS0 and ttyS1) I can socat but they don't seem to reply anything. Am I doing something wrong here or should there be a reply when I do ”sudo socat - /dev/ttyS0” and enter ”AT[enter]” to the prompt?
|
|
#4 Thu May 03, 2012 22:07, 152 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Disconnect the modem, then dmesg -c, then reconnect and after about 15 seconds, what is the listing for dmesg?
|
|
#5 Thu May 03, 2012 22:11, 152 months ago.
|
Member
Registered: May 2012
Location: Turku, Finland
Topic owner
|
The dmesg reply is Does this mean that the modem functionality isn't recognised at all?
|
|
#6 Fri May 04, 2012 19:01, 152 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
ZeiP wrote Does this mean that the modem functionality isn't recognised at all?
Yes, operating system does not recognize it. You need to install/adjust some hotplug, usb-modeswitch or something. I believe that instructions can be found on Debian forums. This issue is slightly off-topic here, but I have seen this kind of a problem before and fixed it. I just do not remember how it was exactly fixed, and I have no link to good instructions, sorry .
|
|
#7 Fri May 04, 2012 19:37, 152 months ago.
|
Member
Registered: May 2012
Location: Turku, Finland
Topic owner
|
Thanks! The only thing required was installing package usb-modeswitch and then reconnecting the device, after that I got the correct device to show up. I dumped the correct configuration on the sample setup forum, so that other people don't need to look for confirmation on functionality and exact config Keke, many thanks for the prompt and helpful replies!
|