From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============0117813612777433938==" MIME-Version: 1.0 From: Marcel Holtmann Subject: Re: Connecting with Huawei E226 Date: Fri, 27 Aug 2010 22:51:06 +0200 Message-ID: <1282942266.6841.81.camel@localhost.localdomain> In-Reply-To: List-Id: To: ofono@ofono.org --===============0117813612777433938== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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, ty= pe: zte > ofonod[1632]: src/modem.c:set_modem_property() modem 0x87ca1b0 property P= ath > 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 P= ath > 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 P= ath > 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 --===============0117813612777433938==--