Showing posts with label Verizon Wireless. Show all posts
Showing posts with label Verizon Wireless. Show all posts

Monday, November 9, 2009

Bitpim & Bluetooth Under Ubuntu Karmic

Last week, I gleefully installed Ubuntu 9.10, the Karmic Koala, on a new laptop. One of the first things on my to-do list was getting Bitpim set up so I could transfer ringtones & contacts between my laptop and my cell phone (a Verizon Wireless LG Dare).

To accomplish this, I looked up an old tutorial I had followed a while back for setting everything up on my old desktop machine.

I have found that a couple of things have changed since that guide has written, so I thought it would be worthwhile to post an updated version and share my findings.

Getting Started

Everything in this tutorial is possible under Karmic without installing any packages that aren't installed by default (except for Bitpim, of course).

This works for my LG Dare (Firmware version 05) and should work for many/most/all other Verizon LG phones that support the proper Bluetooth profiles -- possibly many more beyond that.

Just to keep things relatively short, we will assume that you have already managed to pair your phone with your computer.

Unless otherwise specified, assume any commands I ask you to issue will be done in Terminal.

Step 1: Find your phone's MAC address

The easiest way to do this is to browse the device via Nautilus: from the Bluetooth icon in the Gnome Panel, choose your device and then choose Browse Files. This will open a new Nautilus window and your phone's MAC address will be displayed in the address bar in the format obex://[mac:address:here]/.

Step 2: Find the channel used by the Bluetooth Serial Port service

Issue the command: sdptool browse mac:address:here.

My Dare uses Channel 5 for Serial Port as shown here:

Service Name: Serial Port
Service RecHandle: 0x10006
Service Class ID List:
  "Serial Port" (0x1101)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 5

Note: Some phones may not show anything labeled "Serial Port". In the case of my old phone (an LG VX9900), for example, I used the BT DIAG service instead and it worked. If you don't have a Serial Port section, you may have to try another service instead (but no guarantees it works).


Step 3: Create an RFCOMM binding by editing the appropriate config file

Open the config file by running: gksudo gedit /etc/bluetooth/rfcomm.conf

Uncomment the rfcomm0 section (remove the # from each line) and change it to look like this:

rfcomm0 {
    # Automatically bind the device at startup
    bind yes;

    # Bluetooth address of the device
    device mac:address:here;
    # RFCOMM channel for the connection
    channel 5;

    # Description of the connection
    comment "Needed by BitPim";
}


Step 4: Make sure your bluetooth bindings are added at startup

Due to a bug in 9.10, the rfcomm bindings that we specified above (in rfcomm.conf) will probably be ignored at startup. Reply #5 in the LP bug report provides a workaround for this issue. The instructions there are written for users who have upgraded to 9.10-- on my fresh 9.10 installation however, I needed only to follow step 3, which I will repeat here.

Open rc.local (gksudo gedit /etc/rc.local) and add the line:

rfcomm bind yes

Above the last line (which should say exit 0).

Step 5: Restart the Bluetooth service


Issue the commands:

sudo /etc/init.d/bluetooth stop
sudo /etc/init.d/bluetooth start

Note: running sudo /etc/init.d/bluetooth restart did not work for me: this caused the BT service to stop, but it wouldn't start again on its own. I had to issue "start" to get it to start again.

Step 6: Start Bitpim and check available com ports


Start Bitpim and go into Settings, then click the Browse... button to the right of "Com Port". You should see "Bluetooth (/dev/rfcomm0) listed under Available Ports. If you do, you are all set! You can now start reading/writing your phone data using Bitpim. If not, you may have done something wrong. Double check your work above and try again before continuing.

Step 7: Have fun hacking away at your phone!

If you have any questions or run into problems, please be as specific as possible when asking for help.

Thanks to:

Ars Technica
Tony

Friday, November 30, 2007

Somebody Check the Temperature in Hell...

It was announced early yesterday that Verizon Wireless plans to open its network to "any apps, any device" in 2008. All I can say is it's about damn time.

What this means is that any company (heck, even any individual with the means) can produce devices for direct-to-consumer sales, provided that said devices meet the technical standards to be set forth by the carrier. This of course is welcome news to many technophiles out there. Many of us have a bit of a love/hate relationship with VZW in that while we love the wide coverage area and solid network performance, we hate Verizon's history of removing/disabling features from phones as well as replacing elegant manufacturer-designed interfaces with their own God-awful UI.

Now with this announcement Verizon has pledged to work with anyone who chooses to purchase a compatible phone from a source other than directly from the wireless company. New Android-powered über handset out? No problem. Just ask Verizon to activate the phone for you. What I wonder though is how much this would cost. Right now, customers in many places (maybe the whole country) are subject to a $20 charge just for activating a phone on their existing phone number (a process which basically entails the Verizon rep keying in the ESN/MEID of the phone to be activated, a process which takes about 30 seconds in most cases). Would this charge (and only this charge) apply? Time will tell. Let's just hope Verizon makes good on what could really be some truly pro-consumer pledges.

Ideally this could usher in a new era of competition and innovation among handset makers, which should result in more choice for Joe Consumer. Of course the downside is that device prices could be substantially higher (Verizon subsidizes the prices of the handsets it sells). Again, time will tell. I believe it will be quite some time before we see any great selection of available "open" phones on the market. I will be watching and waiting with great interest.