Comment 30 for bug 1091663

Revision history for this message
Ivan Kisjes (ivan-6) wrote : Re: 3G is non-functional on 32GB+3G Nexus 7

I'm trying to use that packaging and copying in Alexanders code, and I can get it to build. I'm now however running into issues because modemmanager 0.8 doesn't seem to play well with my DBUS version (1.6.8) -starting the modem manager gives:
 "[main.c:114] name_lost_cb(): Could not acquire the 'org.freedesktop.ModemManager1' service name"

At first I thought that was happening because I screwed up a modem manager installation (I installed and removed a few versions), but after purging all modem managers, removing all redundant org.freedesktop.ModemManager1.confs and having ps aux | grep -i modem not having any results, I started to doubt that. So I checked the code, and found it was crashing on gbus_own_name() in the main() in main.c. Main() differs quite a bit between the .6 and .8 versions, and as I understand it somewhere between .6 and .8 the manager was adapted to fit a wholly new DBus API. Would it be a good idea to try to adapt it to fit the older API?

Rewriting Alexanders code to fit the 0.6 version seems like another option but also like a daunting task, as the internals of the modem manager also seem to have changed quite a bit since 0.6 (no bearers etc). But maybe that is still the easier way to try?

The modem seems to be working in principle though, with wvdial I've been able to connect to a Vodafone APN by changing the dial command to AT+CGDATA= and the phone number to PPP and turning off the PIN, but the modem hung up after connecting and starting ppp (citing "User request" as the reason for the hangup). I'm probably screwing up the authentication or something there.