pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/31931: No connection between kannel and a motorola E398 GSM through usb
>Number: 31931
>Category: pkg
>Synopsis: No connection between kannel and a motorola E398 GSM through
>usb
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: support
>Submitter-Id: net
>Arrival-Date: Thu Oct 27 18:07:00 +0000 2005
>Originator: Konstantin Kabassanov
>Release: 3.99.10 NetBSD 3.99.10 (GENERIC) #2: Thu Oct 27 19:30:39 UTC
>2005
>Organization:
LIP6/CNRS
>Environment:
NetBSD pc-wireless.ipv6.lip6.fr 3.99.10 NetBSD 3.99.10 (GENERIC) #2: Thu Oct 27
19:30:39 UTC 2005
root%pc-wireless.ipv6.lip6.fr@localhost:/usr/obj/sys/arch/i386/compile/GENERIC
i386
>Description:
The problem appears when I try to use kannel with Motorola E398 GSM through usb
cable. The modem is recognized as:
Oct 27 19:33:14 pc-wireless /netbsd: uhub1: device problem, disabling port 2
Oct 27 19:33:15 pc-wireless /netbsd: umodem0 at uhub1 port 2 configuration 1
interface 0
Oct 27 19:33:15 pc-wireless /netbsd:
Oct 27 19:33:15 pc-wireless /netbsd: umodem0: Motorola Inc. Motorola Phone
(E398), rev 1.10/0.01, addr 2, iclass 2/2
Oct 27 19:33:15 pc-wireless /netbsd: umodem0: data interface 1, has CM over
data, has no break
Oct 27 19:33:15 pc-wireless /netbsd: umodem0: status change notification
available
Oct 27 19:33:15 pc-wireless /netbsd: ucom0 at umodem0
Using "cu" allows to correctly communicate with the GSM modem (using AT
commands). The system device for that is /dev/ttyU0.
When I try to start kannel (bearerbox) the communication with the modem fails:
2005-10-27 19:41:30 [524] [0] INFO: DLR rerouting for smsc id <(null)> disabled.
2005-10-27 19:41:30 [524] [0] INFO: AT2[/dev/ttyU0]: configuration shows
modemtype <motorola>
2005-10-27 19:41:30 [524] [0] DEBUG: AT2[/dev/ttyU0]: Reading modem definitions
from </usr/pkg/etc/kannel.conf>
2005-10-27 19:41:30 [524] [0] DEBUG: AT2[/dev/ttyU0]: Found <1> modems in config
2005-10-27 19:41:30 [524] [0] INFO: AT2[/dev/ttyU0]: read modem definition for
<motorola>
2005-10-27 19:41:30 [524] [0] DEBUG: Started thread 9
(gw/smsc/smsc_at.c:at2_device_thread)
2005-10-27 19:41:30 [524] [0] DEBUG: Started thread 10
(gw/bb_smscconn.c:sms_router)
2005-10-27 19:41:30 [524] [0] INFO: ----------------------------------------
2005-10-27 19:41:30 [524] [0] INFO: Kannel bearerbox II version 1.4.0 starting
2005-10-27 19:41:30 [524] [0] INFO: Loading store file `kannel.store'
2005-10-27 19:41:30 [524] [0] INFO: Store-file size 0, starting to unpack
2005-10-27 19:41:30 [524] [0] INFO: Retrieved 0 messages, non-acknowledged
messages: 0
2005-10-27 19:41:30 [524] [9] DEBUG: Thread 9
(gw/smsc/smsc_at.c:at2_device_thread) maps to pid 524.
2005-10-27 19:41:30 [524] [9] INFO: AT2[/dev/ttyU0]: trying to use speed <9600>
from modem definition
2005-10-27 19:41:30 [524] [9] INFO: AT2[/dev/ttyU0]: opening device
2005-10-27 19:41:30 [524] [10] DEBUG: Thread 10 (gw/bb_smscconn.c:sms_router)
maps to pid 524.
2005-10-27 19:41:30 [524] [10] DEBUG: sms_router: time to sleep
2005-10-27 19:41:30 [524] [9] DEBUG: AT2[/dev/ttyU0]: device opened
2005-10-27 19:41:30 [524] [0] INFO: MAIN: Start-up done, entering mainloop
2005-10-27 19:41:30 [524] [0] DEBUG: AT2[/dev/ttyU0]: start called
2005-10-27 19:41:30 [524] [10] DEBUG: sms_router: list_len = 0
2005-10-27 19:41:31 [524] [9] DEBUG: AT2[/dev/ttyU0]: device opened
2005-10-27 19:41:31 [524] [9] INFO: AT2[/dev/ttyU0]: speed set to 9600
2005-10-27 19:41:31 [524] [9] DEBUG: AT2[/dev/ttyU0]: --> ^M
2005-10-27 19:41:31 [524] [9] ERROR: AT2[/dev/ttyU0]: Couldnot write to device.
2005-10-27 19:41:31 [524] [9] ERROR: System error 5: Input/output error
2005-10-27 19:41:33 [524] [9] DEBUG: AT2[/dev/ttyU0]: --> AT^M
2005-10-27 19:41:33 [524] [9] ERROR: AT2[/dev/ttyU0]: Couldnot write to device.
2005-10-27 19:41:33 [524] [9] ERROR: System error 5: Input/output error
>How-To-Repeat:
Try to start kannel with the GSM over usb.
>Fix:
Home |
Main Index |
Thread Index |
Old Index