From: Jean-Christian de Rivaz <jc@eclis.ch>
To: ofono@ofono.org
Subject: Re: Some experiments with the SIMCOM SIM5216E modem on a ARM926 board
Date: Fri, 13 Jan 2012 05:39:39 +0100 [thread overview]
Message-ID: <4F0FB58B.6020607@eclis.ch> (raw)
In-Reply-To: <1326427044.6454.256.camel@aeonflux>
[-- Attachment #1: Type: text/plain, Size: 3224 bytes --]
Hi Marcel,
>> the USB interface index is:
>> > 0- DIAG
>> > 1- NMEA
>> > 2- AT
>> > 3- MODEM
>> > 4- Ethernet
>> > So, the port index 2 and port index 3 exposes a working AT command
>> > interface.
> okay then, run ofonod -n -d '*udev*' and see if you get proper debug
> output for your modem. Just pushed a udev patch that does the detection.
Thanks for it. Seem to be ok:
ofonod[484]: oFono version 1.2
ofonod[484]: plugins/udevng.c:udev_start()
ofonod[484]: plugins/udevng.c:enumerate_devices()
ofonod[484]: plugins/udevng.c:check_usb_device() option [05c6:9000]
ofonod[484]: plugins/udevng.c:add_device()
/sys/devices/platform/ohci.0/usb1/1-1/1-1:1.0/ttyUSB0/tty/ttyUSB0
ofonod[484]: plugins/udevng.c:add_device() /dev/ttyUSB0 (simcom)
255/255/255 [00] ==> (null) (null)
ofonod[484]: plugins/udevng.c:check_usb_device() option [05c6:9000]
ofonod[484]: plugins/udevng.c:add_device()
/sys/devices/platform/ohci.0/usb1/1-1/1-1:1.1/ttyUSB1/tty/ttyUSB1
ofonod[484]: plugins/udevng.c:add_device() /dev/ttyUSB1 (simcom)
255/255/255 [01] ==> (null) (null)
ofonod[484]: plugins/udevng.c:check_usb_device() option [05c6:9000]
ofonod[484]: plugins/udevng.c:add_device()
/sys/devices/platform/ohci.0/usb1/1-1/1-1:1.2/ttyUSB2/tty/ttyUSB2
ofonod[484]: plugins/udevng.c:add_device() /dev/ttyUSB2 (simcom)
255/255/255 [02] ==> (null) (null)
ofonod[484]: plugins/udevng.c:check_usb_device() option [05c6:9000]
ofonod[484]: plugins/udevng.c:add_device()
/sys/devices/platform/ohci.0/usb1/1-1/1-1:1.3/ttyUSB3/tty/ttyUSB3
ofonod[484]: plugins/udevng.c:add_device() /dev/ttyUSB3 (simcom)
255/255/255 [03] ==> (null) (null)
ofonod[484]: plugins/udevng.c:check_usb_device() option [05c6:9000]
ofonod[484]: plugins/udevng.c:add_device()
/sys/devices/platform/ohci.0/usb1/1-1/1-1:1.4/ttyUSB4/tty/ttyUSB4
ofonod[484]: plugins/udevng.c:add_device() /dev/ttyUSB4 (simcom)
255/255/255 [04] ==> (null) (null)
ofonod[484]: plugins/udevng.c:create_modem()
/sys/devices/platform/ohci.0/usb1/1-1
ofonod[484]: plugins/udevng.c:create_modem() driver=simcom
ofonod[484]: plugins/udevng.c:setup_simcom()
/sys/devices/platform/ohci.0/usb1/1-1
ofonod[484]: plugins/udevng.c:setup_simcom() /dev/ttyUSB0 255/255/255 00
(null)
ofonod[484]: plugins/udevng.c:setup_simcom() /dev/ttyUSB1 255/255/255 01
(null)
ofonod[484]: plugins/udevng.c:setup_simcom() /dev/ttyUSB2 255/255/255 02
(null)
ofonod[484]: plugins/udevng.c:setup_simcom() /dev/ttyUSB3 255/255/255 03
(null)
ofonod[484]: plugins/udevng.c:setup_simcom() /dev/ttyUSB4 255/255/255 04
(null)
ofonod[484]: plugins/udevng.c:setup_simcom() modem=/dev/ttyUSB3
aux=/dev/ttyUSB2 gps=/dev/ttyUSB1 diag=/dev/ttyUSB0
But of course, since the "simcom" driver don't exists yet, there is
nothing after this:
ofonod[1019]: src/modem.c:set_modem_property() modem 0xfbcf8 property Modem
ofonod[1019]: src/modem.c:set_modem_property() modem 0xfbcf8 property Data
ofonod[1019]: src/modem.c:set_modem_property() modem 0xfbcf8 property GPS
ofonod[1019]: src/modem.c:ofono_modem_register() 0xfbcf8
What is the best driver to fork as a base for the simcom driver ?
Regards,
Jean-Christian
next prev parent reply other threads:[~2012-01-13 4:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-10 3:21 Some experiments with the SIMCOM SIM5216E modem on a ARM926 board Jean-Christian de Rivaz
2012-01-10 6:03 ` Marcel Holtmann
2012-01-12 4:08 ` Jean-Christian de Rivaz
2012-01-12 5:12 ` Marcel Holtmann
2012-01-13 3:13 ` Jean-Christian de Rivaz
2012-01-13 3:19 ` Jean-Christian de Rivaz
2012-01-13 3:57 ` Marcel Holtmann
2012-01-13 4:39 ` Jean-Christian de Rivaz [this message]
2012-01-13 3:51 ` Marcel Holtmann
2012-01-13 4:54 ` Jean-Christian de Rivaz
2012-01-13 6:23 ` Jean-Christian de Rivaz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F0FB58B.6020607@eclis.ch \
--to=jc@eclis.ch \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox