**** BEGIN LOGGING AT Fri Jul 09 02:59:57 2010 Jul 09 19:40:48 hi, does anybody knows if the huawei E226 modem is supported by ofono? Jul 09 19:44:08 Nobody has reported for sure, but it should be Jul 09 19:44:50 I'm trying to make it work on meego, but no success so far Jul 09 19:45:08 Meego might not ship with a version of oFono recent enough Jul 09 19:45:37 What version do you have? Jul 09 19:45:40 it's 0.20 Jul 09 19:46:18 on the netbook image Jul 09 19:46:28 Yeah, 0.23 or 0.24 is better Jul 09 19:46:51 I think 0.23 is where Huawei was more or less working well Jul 09 19:48:13 I tried the 0.23 version and the meego panel showed a 3g device, but the connection failed Jul 09 19:49:47 is there some kind of howto or guide on how to test/debug ofono? Jul 09 19:49:47 Can't say without logs Jul 09 19:50:51 The best way is to export OFONO_AT_DEBUG=1 Jul 09 19:51:08 Then run it with full debugging turned on, see HACKING for details Jul 09 19:52:43 ok, I'll give it a try Jul 09 19:52:44 thiago__: What is the USB VID/PID of this one. Jul 09 19:53:39 sudo env OFONO_AT_DEBUG=1 ./src/ofonod -n Jul 09 19:53:46 That is what I am doing. Jul 09 19:54:18 And then just enable-modem, list-modems etc. test tools from test/ directory. Jul 09 19:54:39 ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem Jul 09 19:54:54 How many TTY ports do you get? Jul 09 19:55:14 The E220 is basically an E160G Jul 09 19:55:19 So it should just work Jul 09 19:55:44 Just paste us the log with what holtmann said onto pastebin or mail to the mailing list Jul 09 19:55:47 thiago__: Don't forgot to have the latest version of ofono.rules udeve rules installed. Jul 09 19:56:49 ok, the output of running with OFONO_AT_DEBUG=1 is sufficient info? Jul 09 19:57:25 Most times, yes. Jul 09 19:58:43 great. I will try to do as you said and post the results on the mailing list Jul 09 20:36:32 is it possible to disable a plugin via configuration? Jul 09 20:38:41 Depends on which one Jul 09 20:39:14 However, it sounds like the solution is something else. What are you trying to accomplish? Jul 09 20:51:41 the goal is to connect to the internet using this modem. I think I'm so lost here I can't even ask the right questions :) Jul 09 20:52:18 I got some AT commands on the screen using 0.20 that ships with meego (running with -d ) Jul 09 20:52:19 thiago__: Actually when using oFono and ConnMan on MeeGo that should just work. Jul 09 20:52:31 You need the 0.24 of oFono. Jul 09 20:53:23 with the 0.20 version, ./list-modem shows my modem Jul 09 20:53:34 with 0.24 it doesn't Jul 09 20:53:55 I compiled 0.24 using the meego sdk Jul 09 20:53:58 Hah. Funny. So that needs fixing then. Install the ofono.rules file in /etc/udev/rules.d/ Jul 09 20:54:09 And the one from 0.24 of course. Jul 09 20:56:51 Yep that's the one as E160G Jul 09 20:57:00 So it should work no prob Jul 09 20:57:41 ok. is there any problem if I try the git version? Jul 09 20:57:52 or should I stick with the 0.24 release? Jul 09 20:58:32 Doesn't matter, nothing changed for Huawei since then Jul 09 20:58:34 No. Trying the git version should be just fine. Jul 09 20:58:42 I am always using the git version. Jul 09 21:02:07 ok, I put the rules file in /etc/udev/rules.d/ Jul 09 21:02:38 list-modems still shows nothing Jul 09 21:03:28 unplug your card and plug it back in Jul 09 21:06:44 ok, I see some messages on dmesg but nothing on ofono output. is that expected? Jul 09 21:08:23 does list-modems show your modem now? Jul 09 21:08:42 no Jul 09 21:08:49 it still shows nothing Jul 09 21:10:52 I don't know if this is relevant, but this modem has a Mass Storage device too Jul 09 21:11:14 Do you need to usb_modeswitch first? Jul 09 21:12:58 I'm not sure. I think this modem works with networkmanager/modemmanager without usb_modeswitch Jul 09 21:15:44 holtmann asked me before about TTY, I have ttyUSB0 and ttyUSB1 Jul 09 21:16:57 so usb_modeswitch is not the issue Jul 09 21:17:39 Have you restarted oFono since installing ofono.rules? Jul 09 21:19:03 yes Jul 09 21:25:07 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Jul 09 21:25:07 Bus 001 Device 003: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem Jul 09 21:25:07 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Jul 09 21:25:32 Same exact id, recognized by oFono here on Ubuntu Jul 09 21:26:01 You sure your ofono.rules isn't clashing with something else? Jul 09 21:26:28 Maybe a stale set from an earlier version? Jul 09 21:28:09 I'll check Jul 09 21:32:59 there is only one file under /etc/udev/rules.d/ with this id Jul 09 21:38:22 there is a strange thing going on here. with the 0.20 meego version, list-modems shows my modem Jul 09 21:39:02 I tryed to compile that version from the tarball, and list-modems shows nothing Jul 09 21:39:51 (sorry for my bad english) Jul 09 21:39:57 That is pretty strange Jul 09 21:40:24 did you kill all ofonod instances? Jul 09 21:40:52 yes Jul 09 21:41:43 What does your 12d1:1003 rule look like? Jul 09 21:43:43 ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1003", ENV{OFONO_IFACE_NUM}=="00", ENV{OFONO_HUAWEI_TYPE}="Modem" Jul 09 21:43:50 ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1003", ENV{OFONO_IFACE_NUM}=="01", ENV{OFONO_HUAWEI_TYPE}="Pcui" Jul 09 21:44:47 I just installed the 0.23 package I found here: http://repo.meego.com/MeeGo/builds/1.0.80/1.0.80.9.20100706.1/core/repos/ia32/packages/i586/ Jul 09 21:45:04 and now the modem shows up on the meego panel Jul 09 21:47:21 Well see if it works with 0.23 Jul 09 21:48:50 However, you do want the 0.24 release, it fixes some serious bugs Jul 09 21:50:01 I have to figure out what is the difference between the meego package and the binary I'm compiling Jul 09 21:50:23 That would help as well Jul 09 21:50:55 is there any configure parameter that I should use? Jul 09 21:51:43 Generally the same as in bootstrap-configure Jul 09 21:51:54 Just maybe leaving out maintainer-mode Jul 09 21:52:53 Make sure you are getting the udev plugin compiled in Jul 09 21:53:03 Otherwise all USB dongles won't work Jul 09 21:54:18 ok Jul 09 22:00:25 I think I was missing UDEV and CAPNG Jul 09 22:03:31 Figured :) Jul 09 22:04:07 ok, now I compiled with udev, but seems the same Jul 09 22:06:22 when I run the version I compile, I see some output related to bluetooth that do not shows up on the meego version Jul 09 22:06:47 plugins/bluetooth.c:adapter_properties_cb() Adapter Address: 00:25:D3:A1:56:92, Path: /org/bluez/1076/hci0 Jul 09 22:08:18 yeah ignore that Jul 09 22:08:28 you still don't get huawei0 in list-modems? Jul 09 22:08:57 yes Jul 09 22:12:40 I'm kind of out of time here. I'll review all steps and try again on monday. Jul 09 22:12:50 I'll also try from another distro, maybe ubuntu 10.04 Jul 09 22:14:06 do I need to make clean after a configure change? Jul 09 22:14:16 doesn't hurt Jul 09 22:14:55 :) will try Jul 09 22:16:48 cool, list-modems worked now Jul 09 22:17:31 yay ;) Jul 09 22:18:08 you were right, udev was the problem Jul 09 22:19:22 list-modems shows more information now then it does with the 0.23 version Jul 09 22:19:59 Probably connman turned on your modem Jul 09 22:20:37 next step is to figure out how to make it work from the meego panel Jul 09 22:21:15 tks a lot denkenz and holtmann Jul 09 22:22:26 no prob Jul 09 22:28:49 have to go now, see ya **** ENDING LOGGING AT Sat Jul 10 02:59:56 2010