From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: Re: Connecting with Huawei E226
Date: Fri, 27 Aug 2010 22:51:06 +0200 [thread overview]
Message-ID: <1282942266.6841.81.camel@localhost.localdomain> (raw)
In-Reply-To: <AANLkTi=zGHmLy0y1FdJvDY7-4=_OFt0Vs0O6CC-osPYW@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2794 bytes --]
Hi Thiago,
> >> I understand. I mixed up two problems and that got confusing. The ZTE
> >> modem is not showing the race condition issue. It didn't showed up
> >> when I called list-modems. That is why I tested it with other
> >> software, just to be sure it works with linux (MeeGo in this case). I
> >> will test again with the ZTE modem and send the logs to the list.
> >
> > my ZTE modem works, but you need the latest oFono and its udev rules to
> > make it detect.
>
> I'm using ofono from git (last commit from yesterday) and the udev
> rules are installed and loaded. The ZTE is a MF110.
>
> When I plug the device, I need to call eject /dev/sr0, only after that
> it is recognized correctly. After that, the following appears on ofono
> log:
just install usb_modeswitch package and it will do this for you.
> ofonod[1632]: src/modem.c:ofono_modem_create() name: P671A2VIVD010000, type: zte
> ofonod[1632]: src/modem.c:set_modem_property() modem 0x87ca1b0 property Path
> ofonod[1632]: src/modem.c:set_modem_property() modem 0x87ca1b0
> property Registered
> ofonod[1632]: plugins/udev.c:add_modem()
> /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0/ttyUSB0/tty/ttyUSB0
> (zte)
> ofonod[1632]: plugins/udev.c:add_zte() modem 0x87ca1b0
> ofonod[1632]: src/modem.c:get_modem_property() modem 0x87ca1b0
> property ModemRegistered
> ofonod[1632]: src/modem.c:get_modem_property() modem 0x87ca1b0
> property AuxRegistered
> ofonod[1632]: src/modem.c:get_modem_property() modem 0x87ca1b0 property Path
> ofonod[1632]: plugins/udev.c:add_modem()
> /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.3/ttyUSB2/tty/ttyUSB2
> (zte)
> ofonod[1632]: plugins/udev.c:add_zte() modem 0x87ca1b0
> ofonod[1632]: src/modem.c:get_modem_property() modem 0x87ca1b0
> property ModemRegistered
> ofonod[1632]: src/modem.c:get_modem_property() modem 0x87ca1b0
> property AuxRegistered
> ofonod[1632]: src/modem.c:get_modem_property() modem 0x87ca1b0 property Path
> ofonod[1632]: plugins/udev.c:add_modem()
> /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.1/ttyUSB1/tty/ttyUSB1
> (zte)
> ofonod[1632]: plugins/udev.c:add_zte() modem 0x87ca1b0
> ofonod[1632]: src/modem.c:get_modem_property() modem 0x87ca1b0
> property ModemRegistered
> ofonod[1632]: src/modem.c:get_modem_property() modem 0x87ca1b0
> property AuxRegistered
>
> After that, if I run list-modems nothing happens.
>
> I don't know if it is related, but I'm getting lots of error messages
> from option driver:
>
> option: option_instat_callback: error -2
>
> They appear as soon as the modem is detected (after eject /dev/sr0).
Sounds like a kernel bug. Which one are you using?
However show us your /proc/bus/usb/devices content for this modem.
Regards
Marcel
next prev parent reply other threads:[~2010-08-27 20:51 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-17 20:31 Connecting with Huawei E226 Thiago Cangussu de Castro Gomes
2010-08-18 1:45 ` Denis Kenzior
2010-08-18 14:06 ` Thiago Cangussu de Castro Gomes
2010-08-18 17:02 ` Denis Kenzior
2010-08-18 22:26 ` Thiago Cangussu de Castro Gomes
2010-08-18 22:31 ` Denis Kenzior
2010-08-24 20:25 ` Thiago Cangussu de Castro Gomes
2010-08-24 22:16 ` Denis Kenzior
2010-08-24 22:58 ` Thiago Cangussu de Castro Gomes
2010-08-24 23:45 ` Denis Kenzior
2010-08-26 21:24 ` Thiago Cangussu de Castro Gomes
2010-08-27 8:02 ` Marcel Holtmann
2010-08-27 12:58 ` Thiago Cangussu de Castro Gomes
2010-08-27 18:14 ` Marcel Holtmann
2010-08-27 18:57 ` Thiago Cangussu de Castro Gomes
2010-08-27 20:51 ` Marcel Holtmann [this message]
2010-08-27 21:53 ` Thiago Cangussu de Castro Gomes
2010-08-28 6:21 ` Marcel Holtmann
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=1282942266.6841.81.camel@localhost.localdomain \
--to=marcel@holtmann.org \
--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.