Archive for the 'ming' Category

Disappointing news

I’m in Berlin at LinuxTag and was very excited to hear updates on both OpenMoko and the OpenEZX projects. OpenMoko is a project that aims at providing a complete open source phone (including open source friendly hardware), while OpenEZX aims to free the existing Motorola EZX phones like the A780 or the A1200/Ming by providing completely open source software stacks for these phones.

But in all honesty, the talks were both rather disappointing. OpenMoko is way behind schedule for their updates and still isn’t able to provide reliable phone functionality. Lots of cool stuff you can do with the device – but it simply isn’t a phone.

And OpenEZX in a way is even worse. If I try to summarize progress since last year all I can say is “marginal”. It still can’t run most of the hardware including the GSM/EDGE radio in the A1200. It basically can boot a 2.6 Linux kernel and not much more. And here as well there is no phone functionality in sight.

Oh well.

Thanks for visiting!
I hope this was helpful - if not, please leave a comment and let me know why! Were you searching for something else? Did I miss an important aspect?

Motorola Ming as GPRS Modem for the EeePC

This is something that I wanted to work on for a while but I always got distrated. It’s still not perfect, but it works well enough that I want to share it here.

From what I understand this should work with all of the Linux based Motorola smartphones and actually might work with many other smartphones that can be programmed to work as USB modems. As written here it has been tested on a Motorola A1200 / Ming using the T-Mobile US EDGE network; pointers on how to use this on other carriers are at the end of this post.

Let’s start. You need an EeePC and a Motorola phone like the Ming and a USB cable. Make sure that the USB mode of the phone is set to USB Modem.

You also need to have wvdial and pppd installed on your EeePC. I might add a section on how to do this under the default Xandros version of Linux if people are interested; on EeeDora it’s just a yum install wvdial away.

On the EeePC you need to edit two files (I’ll simply assume that you know how to do this – there are many ways, for example sudo vi FILENAME)

/etc/ppp/options has only one line:
:192.168.0.254
which defines the default address to be used for the peer that the pppd will connect to.

/etv/wvdial/wvdial.conf takes a little more work:
[Dialer Defaults]
Baud = 460800
Modem Type = USB Modem
[Dialer MingUSB]
Modem = /dev/ttyACM0
Init1 = ATZ
Init2 = AT&FE0V1&C1S0=0
Init3 = AT+CGDCONT=1,\34IP\34,\34wap.voicestream.com\34,,0,0
Carrier Check = no
Stupid Mode = no
Phone = *99***1#
Username = tmobile
Password = tmobile

The Init3 string is one thing you need to change for different network providers (see below), the phone number seems to work for almost all carriers and and username and password appear to be arbitrary – Google is your friend if you run into a provider that actually checks them.

Now call wvdial USBMing (depending on the permissions in the distribution that you use, you may have to do this as root) and you should see something like this:
[hohndel@Eee linux-2.6]$ sudo wvdial MingUSB
--> WvDial: Internet dialer version 1.60
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: AT&FE0V1&C1S0=0
AT&FE0V1&C1S0=0
OK
--> Sending: AT+CGDCONT=1,"IP","wap.voicestream.com",,0,0
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
CONNECT
--> Carrier detected. Waiting for prompt.
~[7f]}#@!}!}!} }< }!}$}%\}"}&} } } } }#}$@#}%}&h}#} } }'}"}(}"}#}<~
--> PPP negotiation detected.
--> Starting pppd at Sat Feb 16 21:20:06 2008
--> Pid of pppd: 2825
--> Using interface ppp0
--> pppd: �-8[08]h-8[08]
--> pppd: �-8[08]h-8[08]
--> pppd: �-8[08]h-8[08]
--> pppd: �-8[08]h-8[08]
--> local IP address 10.173.197.5
--> pppd: �-8[08]h-8[08]
--> remote IP address 192.168.0.254
--> pppd: �-8[08]h-8[08]
--> primary DNS address 66.94.9.120
--> pppd: �-8[08]h-8[08]
--> secondary DNS address 66.94.25.120
--> pppd: �-8[08]h-8[08]

The responses from the phone that look like garbage will likely differ when you try it; I included them here so you aren’t surprised when you see them.

There’s one problem remaining that I haven’t figured out, yet. After I kill wvdial in oder to interrupt the connection the phone doesn’t appear to interrupt the GPRS or EDGE connection to the network. A new attempt to connect will fail with a BUSY error. Unplugging and re-plugging the USB cable gets everything back to normal, but there has to be a better way to do this… please comment below if you have solution!

Finally, in order to use this with a different network provider, you need to change the the Init3 string. The format is AT+CGDCONT=1,\34IP\34,\34APN\34,,0,0; your provider will give you the Access Point Name (APN) to use and in most cases all you need to do is to insert that in the second set of double quotes (which are encoded as \34 to avoid cut and paste problems). Much more on this topic can be found in this article on GPRS, you may also want to look at a detailed explanation of the GPRS specific AT commands and finally at this PDF that has a lengthy list of possible settings (but interestingly enough doesn’t include T-Mobile US).

Modem scripts for Mac OS 10.5 Leopard

It seems lots of people find this site looking for modem scripts for their devices, now that Leopard has changed the script format.

While I have written about the necessary modifications to have your Motorola Ming work with Leopard I don’t know much about any other device. But it turns out that Apple actually has a really useful tool to simply convert what you have for Tiger! Go, check out their CCL Modem Scripting Release Notes – it’s all explained there.

Hope this helps some of you.

Motorola A1200 T-Mobile Settings

I could have sworn that I posted this a while ago, but when I told someone to look for the information here on this site he informed me that I was wrong. Oops.

It’s quite simple to get the Ming to work with T-Mobile’s data network in the US:

  • Start the setup app (normally under Home->Extra, but this depends on the theme that you use)
  • Scroll down and click on “Data network” (almost at the bottom)
  • Click the menu icon and “New”
  • Name the profile to your liking (how about “T-Mobile”?)
  • Leave GPRS settings blank
  • Set APN to wap.voicestream.com
  • Leave User name and Password blank
  • The default Timeout of 15 minutes works for me
  • Primary gateway IP is 216.155.165.50, Port: 8080
  • Secondary gateway IP is 216.155.165.51, Port: 8080
  • Select DNS server and fill out the following two servers
  • 216.155.175.40
  • 216.155.175.170
  • CSD setting dial in number is +19132440821
  • Don’t select Query at Logon and leave User name and Password blank again
  • Baud rate is Auto
  • Line type is Modem
  • Timeout once again 15 minutes
  • Same DNS servers as above
  • Click Save and you are done

Now whenever the phone tries to open a data connection (for example when you use it as GPRS/EDGE modem for your Mac), T-Mobile will be one of the options presented to you.

The settings above have worked for me for more than a year now – and once you have enabled the EDGE hack you get pretty decent throughput!

Syncing the Motorola A1200 (Ming) with iTunes

I still haven’t caved in and bought an iPhone. Basically I prefer the smaller size and the clamshell form factor of the Motorola Ming. And of course it can play music and videos and anything you want (well, anything that isn’t to DRM’ed – basically only the RealPlayer compatible DRM formats play on the Ming).

But one of the real values of the iPhone is that it’s connected to the iTunes infrastructure. And that really has been a key reason why people keep buying iPods… you can’t simply sync other devices with iTunes!

BadApple tried to do this a couple of years ago but went nowhere. iTunes Sync appears to be able to sync to some MP3 players, but it looks rather kludgy and even worse, it’s Windows only and I don’t own a Windows machine anymore (haven’t in a while).

Yes, you can burn your music on CDs, rip them back and then sync that with some other software to the Ming. But nothing comes close to the iTunes experience.

Darn.

Using the Motorola Ming (A1200) as GPRS / EDGE modem on a Mac running Leopard

This is an update to an older post of mine that dealt with this same issue under Tiger. Since I wrote that post I have upgraded to Leopard and found out that things are once again different. So her are the instructions for Leopard.

Let’s start with something that has nothing to do with the OS your are running on your Mac. The Motorola Ming (or A1200) supports EDGE! It seems all phones shipped so far have this feature disabled, but there’s a detailed post that explains how to enable EDGE on Motorolahelper. Using EDGE appears to drain the battery even faster than using GPRS, but it does give you a nice speed boost (still nowhere near 3G speed, but at least now you are on par with an iPhone…).

But let’s get to the real story – making this work with Leopard!

Leopard changed the format of the Modem Scripts and brings many new configuration options. That’s all nice and well, except that the initialization sequence it uses for Motorola GPRS phones is simply wrong! So the first thing you need to do is to update the modem properties in
/Library/Modem Scripts/Generic GPRS.ccl/Contents/Info.plist. Double click it in Finder and the Property List Editor will open. Click on the little triangle in front of Root, then on the little triangle in front of CCL Personalities and then on the one in front of Motorola GPRS and finally CCL Parameters.

Now double click on the value that is there and replace it with &FE0V1&C1S0=0 and hit return. Click Save in the File menu and close the application.

Next you go through the steps to pair with the phone and setup the connection details.

  1. Enable Bluetooth on your Ming (you can do this with the Bluetooth application that you can find in the Home folder or via the the status screen that you get when clicking on the status bar that includes the battery indicator and time). Make sure you set it to be discoverable.
  2. On the Mac, open System Preferences -> Bluetooth.
  3. Click on the ‘+’ sign in the lower left corner which opens the Bluetooth Setup Assistant. Click Continue, select Mobile Phone and again click Continue
  4. You should now see your phone listed – if not, make sure it is still discoverable (that lasts only for 3 minutes) and make sure Bluetooth is turned on on your Mac.

  5. With your Ming highlighted click on Continue again. The Mac is “gathering information on your device”. If this is the first time you pair the computer with the phone via Bluetooth you’ll be asked to enter a numeric passphrase on the phone. Once that is done once again click Continue.
  6. On the next screen make sure that “Access the Internet with your phone’s data connection” is enabled and click Continue again.
  7. Now you are at the “Bluetooth Mobile Phone Set Up” screen. Select Phone Vendor Motorola, Phone Model GPRS (GSM/3G) (that’s the one we just fixed). Username tmobile, Password tmobile, APN internet2.voicestream.com and CID 2. Make sure that “Show Modem status in the menu bar” is selected.

The screen should look like this:

Bluetooth Mobile Phone Set Up

Clicking Continue again gets you to the final screen that sums up your settings.

Now you can click on the little phone symbol in your menu bar, select Bluetooth and connect to the internet!

Free and closed

As a strong believer in open source I might be a bit biased here, but there’s one thing that puzzles me. Why aren’t companies more eager to have people innovate on top of their products?

Look for example at Intel. Back in 1990 they published complete instructions how to program the 80386 processor and accompanying chipset. The result? A young Finish student started to play with his new system and started a little project that went on to change the world of computing – Linux. Today Intel is still the most open and active supporter of open source out there (and yes, I might be even less objective here, given that I work for Intel – on the other hand it means that I know exactly what I am talking about when I say this).

Understanding the huge success that was caused by this openness, I am completely stunned to see other companies go out of their way to prevent people from innovating on their platform. Take Motorola. The Ming is a great phone, but there is no working SDK. Or even worse the iPhone. Where Apple is actively trying to prevent people from running third party software on the phone, to the extend of bricking phones that had non-Apple software installed on them.

That has two consequences. First, many innovators (and, btw, potential customers) are scared away and will simply not buy the product. That seems dumb. And second, the most enthusiastic people who aren’t scared off by these tactics are now wasting their time hacking the firmware over and over again (and they are succeeding, mind you… regardless how many smart people are working for a company, there will always be more smart people outside that company). These smart, enthusiastic people could instead be spending their time on creating the next killer application – which likely would even more increase the market for the product.

As I said, I don’t get it.

Here’s your accessory of choice for the iPhone

While waiting for that über-phone to arrive, let’s look at the key accessories to get as well… the external case that turns your phone into a 1990 style brick is a clear must have!

Too bad it won’t work with a flip phone like my Motorola Ming – I’d get one for sure!

More on Motorola A1200 (Ming) open source project

Five weeks ago I decried that there is no open source project for the Ming. It turns out I was wrong! Johann pointed out in a comment that there’s OpenEZX, a project that is working on several of the Motorola Linux phones, including the Ming.

I haven’t spent enough time looking at what is there, yet, but it all looks mighty promising. Stay tuned, in my infinite spare time I certainly will play with this.

Apple phone, part two

Ok, we got some new information to work with:

  • Cisco decided to sue Apple for using their iPhone trademark without permission.
  • You can’t buy / download iTunes over the phone.
  • You can’t sync wirelessly with your computer.
  • You can’t load applications of your choice (with the exception of Java applets in the browser).
  • Most likely that means you can’t use the email provider of your choice (again, with the exception of browser based email).

I’m beginning to be less excited – and back to wanting to figure out how to fix the few issues that annoy me about the Motorola Ming… it’s not looking that bad in comparison

I’m sure we’ll learn more in the coming days (and then again in a few months when this finally becomes available as a product). Let’s see if they allow real “tests” before then (and not just fan-boy-writeups).

Next Page »