gammu / gammu

Gammu All Mobile Management Utilities
https://wammu.eu/gammu/
GNU General Public License v2.0
515 stars 151 forks source link

gammu identify fail when using Huawei E169 in openSUSE 12.3 (32-bit) #33

Closed ali-irawan closed 9 years ago

ali-irawan commented 10 years ago

When calling

gammu idenfity

using gammu config placed in /root/.gammurc

[gammu]

port = /dev/ttyUSB0
connection = at115200
synchronizetime = no
logfile = /home/wenxiong/bin/gammu.log
logformat = textalldate
use_locking =
gammuloc =

It show errors No response in specified timeout. Probably phone not connected.

I check that my modem is connected to my laptop correctly

lsusb

Output as

Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 035: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem
Bus 003 Device 002: ID 04f2:b3bb Chicony Electronics Co., Ltd 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 001 Device 005: ID 0cf3:3004 Atheros Communications, Inc. 
Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
ls /dev/serial/by-id -l

Output as

lrwxrwxrwx 1 root root 13 Oct 31 13:49 usb-HSDPA_USB_Modem_HSDPA_USB_Modem-if00-port0 -> ../../ttyUSB0
lrwxrwxrwx 1 root root 13 Oct 31 13:49 usb-HSDPA_USB_Modem_HSDPA_USB_Modem-if01-port0 -> ../../ttyUSB1
lrwxrwxrwx 1 root root 13 Oct 31 13:49 usb-HSDPA_USB_Modem_HSDPA_USB_Modem-if02-port0 -> ../../ttyUSB2
lrwxrwxrwx 1 root root 13 Oct 31 13:49 usb-HSDPA_USB_Modem_HSDPA_USB_Modem-if03-port0 -> ../../ttyUSB3

Environment:

mmarzantowicz commented 10 years ago

Do you have another instance of Gammu running (e.g. gammu-smsd)? I'm getting the same error message with Huawei E173 3G Modem when I have gammu-smsd running at the same time I issue gammu identify. gammu-smsd might acquire modem device exclusively or it might be some other system daemon.

ali-irawan commented 10 years ago

Hi, again I don't have gammu-smsd running. Since i do not install gammu-smsd. But a good thing that I need to check which system daemon using it. Thanks. Any suggestions or help would be very good. Because I still cannot run gammu identify.

ali-irawan commented 10 years ago

I try to use other modem ZTE MF288. and it works just fine. I still cannot configure Huawei E169 to work.

nijel commented 9 years ago

It's usually best to use the user interfafce of the modem, what in this case should be /dev/ttyUSB2. See http://www.dd-wrt.com/wiki/index.php/Mobile_Broadband for more information.