All of lore.kernel.org
 help / color / mirror / Atom feed
From: nicolas.bertrand <nicolas.bertrand@linux.intel.com>
To: ofono@ofono.org
Subject: Re: setup ofono for telit h910 on embedded system
Date: Tue, 07 Feb 2012 18:34:17 +0100	[thread overview]
Message-ID: <4F316099.8090005@linux.intel.com> (raw)
In-Reply-To: <op.v83xfep0yxxkfz@localhost.localdomain>

[-- Attachment #1: Type: text/plain, Size: 4688 bytes --]

Hello Jan,

On 02/03/2012 03:34 PM, Jan Pohanka wrote:
> Hello,
>
> I'm working on embedded system with dm365 processor (arm926ej-s) and I
> want to use ofono with a Telit h910 modem connected by usb. The module
> works, I can make a calls using AT commands on /dev/ttyACM3 (or ttyS1),
> but I'm not able to register it with ofono.
>
> I have added following line to /lib/udev/rules.d/ofono.rules
> KERNEL=="ttyACM3", ENV{OFONO_DRIVER}="telit" (I have tried atgen also)
>
> After enabling the modem I'm getting following debug messages...
> ofonod[133]: plugins/udevng.c:udev_start()
> ofonod[133]: plugins/udevng.c:enumerate_devices()
> ofonod[133]: plugins/udevng.c:check_usb_device() MOSCHIP usb-ethernet
> driver [9710:7830]
> usb 1-1.3: new high speed USB device using musb_hdrc and address 5
> usb 1-1.3: config 1 interface 0 altsetting 0 endpoint 0x81 has an
> invalid bInterval 255, changing t
> o 11
> usb 1-1.3: New USB device found, idVendor=058b, idProduct=0041
> usb 1-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
> usb 1-1.3: configuration #1 chosen from 1 choice
> usb 1-1.3: USB disconnect, address 5
> usb 1-1.3: new high speed USB device using musb_hdrc and address 6
> usb 1-1.3: New USB device found, idVendor=1bc7, idProduct=0021
> usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> usb 1-1.3: Product: Telit Wireless Module
> usb 1-1.3: Manufacturer: Telit wireless solutions
> usb 1-1.3: SerialNumber: 357164040028220
> usb 1-1.3: configuration #1 chosen from 1 choice
> cdc_acm 1-1.3:1.0: This device cannot do calls on its own. It is not a
> modem.
> cdc_acm 1-1.3:1.0: ttyACM0: USB ACM device
> cdc_acm 1-1.3:1.2: This device cannot do calls on its own. It is not a
> modem.
> cdc_acm 1-1.3:1.2: ttyACM1: USB ACM device
> cdc_acm 1-1.3:1.4: This device cannot do calls on its own. It is not a
> modem.
> cdc_acm 1-1.3:1.4: ttyACM2: USB ACM device
> cdc_acm 1-1.3:1.6: This device cannot do calls on its own. It is not a
> modem.
> cdc_acm 1-1.3:1.6: ttyACM3: USB ACM device
> cdc_acm 1-1.3:1.8: This device cannot do calls on its own. It is not a
> modem.
> cdc_acm 1-1.3:1.8: ttyACM4: USB ACM device
> cdc_acm 1-1.3:1.10: This device cannot do calls on its own. It is not a
> modem.
> cdc_acm 1-1.3:1.10: ttyACM5: USB ACM device
> cdc_acm 1-1.3:1.12: This device cannot do calls on its own. It is not a
> modem.
> cdc_acm 1-1.3:1.12: ttyACM6: USB ACM device
> ofonod[133]: plugins/udevng.c:check_usb_device() cdc_acm [1bc7:0021]
> ofonod[133]: plugins/udev.c:udev_event() subsystem tty add
> ofonod[133]: plugins/udev.c:udev_event() subsystem tty finished
> ofonod[133]: plugins/udevng.c:check_usb_device() cdc_acm [1bc7:0021]
> ofonod[133]: plugins/udev.c:udev_event() subsystem tty add
> ofonod[133]: plugins/udev.c:udev_event() subsystem tty finished
> ofonod[133]: plugins/udevng.c:check_usb_device() cdc_acm [1bc7:0021]
> ofonod[133]: plugins/udev.c:udev_event() subsystem tty add
> ofonod[133]: plugins/udev.c:udev_event() subsystem tty finished
> ofonod[133]: plugins/udevng.c:check_usb_device() cdc_acm [1bc7:0021]
> ofonod[133]: plugins/udev.c:udev_event() subsystem tty add
> ofonod[133]: src/modem.c:ofono_modem_create() name: (null), type: atgen
> ofonod[133]: src/modem.c:set_modem_property() modem 0xeebb0 property Path
> ofonod[133]: plugins/udev.c:add_modem()
> /devices/platform/musb_hdrc/usb1/1-1/1-1.3/1-1.3:1.6/tty/ttyACM3 (atgen)
> ofonod[133]: plugins/udev.c:udev_event() subsystem tty finished
> ofonod[133]: plugins/udevng.c:check_usb_device() cdc_acm [1bc7:0021]
> ofonod[133]: plugins/udev.c:udev_event() subsystem tty add
> ofonod[133]: plugins/udev.c:udev_event() subsystem tty finished
> ofonod[133]: plugins/udevng.c:check_usb_device() cdc_acm [1bc7:0021]
> ofonod[133]: plugins/udev.c:udev_event() subsystem tty add
> ofonod[133]: plugins/udev.c:udev_event() subsystem tty finished
> ofonod[133]: plugins/udevng.c:check_usb_device() cdc_acm [1bc7:0021]
> ofonod[133]: plugins/udev.c:udev_event() subsystem tty add
> ofonod[133]: plugins/udev.c:udev_event() subsystem tty finished
> ofonod[133]: plugins/udevng.c:check_modem_list()
>
>
> Unfortunately list-modems command still return nothing.
> Could please anybody here give me some advice how to solve the problem?
>
> best regards
> Jan
>
>

What is your version of ofono?

The log is not complete and so we can't see this information.

Some features about telit devices have been implemented recently, using 
a ofono version >= 1.1 should be better and then you won't need 
ofono.rules anymore , it's a deprecated file.

-- 
regards,
Nico

  reply	other threads:[~2012-02-07 17:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-03 14:34 setup ofono for telit h910 on embedded system Jan Pohanka
2012-02-07 17:34 ` nicolas.bertrand [this message]
2012-02-08  6:38   ` Jan Pohanka
2012-02-09 10:28     ` nicolas.bertrand
2012-02-09 11:39       ` Jan Pohanka
2012-02-09 12:02       ` Jan Pohanka

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=4F316099.8090005@linux.intel.com \
    --to=nicolas.bertrand@linux.intel.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.