Skip to content

Enable Bluetooth on the NB200 / NB205

December 26, 2009

Bluetooth works for me in Ubuntu 9.10 on the NB200 after a little tweaking.
I’ve enjoyed using bluetooth to connect to my Motorola RAZR cellphone (V3 from 2005?). It wasn’t hard to get working. I used it to copy photos off the phone. But even more exciting is how I may this weekend be using bluetooth to ‘tether’ the phone to the netbook for unlimited (but only 5kbps) GSM web access. I’ll keep you posted how that goes, but for now here’s how I got bluetooth up and running….

I basically followed instructions posted on page 12 of the NB200 thread on Ubuntu forums by jeroenimo (with minor changes). Thanks for your help!

1) I downloaded and installed the omnibook-source package from here

2)Edit the source code to fix a pesky error:
cd /usr/src/
sudo tar xjf omnibook.tar.bz2
cd modules/omnibook/
sudo nano init.c
hit ctrl-w and search for this:
proc_entry->owner = THIS_MODULE;
when you get to that line add two // in front of it and make sure it look like this:
// proc_entry->owner = THIS_MODULE;
ctrl-o ctrl-x to save the file

3) compile and install the fixed source code
sudo m-a build omnibook-source -O
sudo m-a install omnibook-source

4) test it out. You should see a bluetooth icon appear in your system tray.
sudo modprobe omnibook ectype=12
entering the hciconfig command in the terminal should return some info, something like this if it’s been detected:
$ hciconfig
hci0: Type: USB
BD Address: 00:22:58:F3:46:F9 ACL MTU: 310:10 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:1035 acl:0 sco:0 events:41 errors:0
TX bytes:1370 acl:0 sco:0 commands:37 errors:0

5) Now make it run upon booting your netbook:
sudo nano /etc/modules
add this line and save the file
omnibook

sudo nano /etc/modprobe.d/omnibook.conf
add this line:
options omnibook ectype=12

save the file. Now when you reboot, the bluetooth icon should show that it is running.

6) after sleep or hibernate if it doesn’t reappear, you can reactivate it
by running in the terminal:

sudo rmmod -f omnibook && sudo modprobe omnibook ectype=12

You should see the bluetooth icon reappear. However you’ll want to make this automatic so create a file that restarts bluetooth, like this:

sudo nano /etc/pm/power.d/89bluetooth

and put this in:

#!/bin/bash
rmmod -f omnibook
modprobe omnibook ectype=12

Save the file and change the permissions so it can be run
sudo chmod +x /etc/pm/power.d/89bluetooth

Now after sleep and resume, you should see the bluetooth icon reload in the system tray.

Advertisements
8 Comments leave one →
  1. Herman Harperink permalink
    March 8, 2010 11:38 am

    A very big THANK YOU!

    Grtz from Germany,
    Herman

  2. PaoloVIP permalink
    March 18, 2010 5:20 pm

    Simply & perfect! Thank you.

  3. Mark permalink
    May 4, 2010 12:32 am

    thanks…i would never have figured this out

  4. Mohamed Hassan permalink
    May 16, 2010 7:38 pm

    thanks man, really appreciate the effort…

  5. Mohamed Hassan permalink
    June 2, 2010 6:33 pm

    Thanks been looking for an easy way to do it 😄

  6. guest permalink
    June 7, 2010 6:33 pm

    Thank you !

  7. November 26, 2010 5:56 am

    thaks a lot!!!!!!!!!!!!!!!!!!!!!

  8. dimeotane permalink*
    January 29, 2011 3:35 pm

    With the latest Ubuntu 10.10 Maverick, I found that bluetooth “just works”. If you have an older version of Ubuntu installed you might wish to just upgrade your version to the latest instead of what I posted here.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: