<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The HyRax Macrocosm &#187; Bluetooth</title>
	<atom:link href="http://www.serenux.com/tag/bluetooth/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.serenux.com</link>
	<description>Life, the Universe and Ubuntu.</description>
	<lastBuildDate>Tue, 10 Jan 2012 06:59:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>HowTo: Pair your Bluetooth mobile phone with Ubuntu Jaunty for file transfers etc.</title>
		<link>http://www.serenux.com/2009/08/howto-pair-your-bluetooth-mobile-phone-with-ubuntu-jaunty-for-file-transfers-etc/</link>
		<comments>http://www.serenux.com/2009/08/howto-pair-your-bluetooth-mobile-phone-with-ubuntu-jaunty-for-file-transfers-etc/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 01:53:19 +0000</pubDate>
		<dc:creator>HyRax</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Jaunty]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Nokia]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.serenux.com/?p=556</guid>
		<description><![CDATA[Following up my previous article of how to pair your Bluetooth mobile phone with Ubuntu Intrepid, I present this updated article for pairing your mobile phone using the updated version of the Bluez Bluetooth stack and the newer and better Blueman applet for Jaunty which greatly simplifies the process of pairing Bluetooth devices and transferring [...]]]></description>
			<content:encoded><![CDATA[<p>Following up my <a title="HowTo: Pair your Bluetooth mobile phone with Ubuntu Intrepid for file transfers, etc." href="http://www.serenux.com/2008/12/howto-pair-your-bluetooth-mobile-phone-with-ubuntu-intrepid-for-file-transfers-etc/" target="_blank">previous article of how to pair your Bluetooth mobile phone with Ubuntu Intrepid</a>, I present this updated article for pairing your mobile phone using the updated version of the Bluez Bluetooth stack and the newer and better Blueman applet for Jaunty which greatly simplifies the process of pairing Bluetooth devices and transferring files to your mobile phone.</p>
<p><span id="more-556"></span>First up, you need to follow the first 15 steps of my guide on <a title="HowTo: Setup a Nokia N95 as a Mobile Broadband Device in Ubuntu Jaunty" href="http://www.serenux.com/2009/08/howto-setup-your-nokia-n95-mobile-phone-as-a-mobile-broadband-device-via-bluetooth-in-ubuntu-jaunty/" target="_blank">how to seutp a Nokia N95 mobile phone as a Mobile Broadband Device</a> because we need to update the version of the Bluez Bluetooth stack and pair your mobile phone. Once you get to step 15 where it asks about connecting the phone as a dial-up networking device, you can either choose to continue setting that up all the way through to Step 22 (after all, you might find DUN to be of genuine use to you if you&#8217;re a Mobile Internet kind of guy), or choose &#8220;Don&#8217;t connect&#8221; instead and just finish at Step 15 and continue on with this article.</p>
<p>Once you&#8217;re Bluetooth stack is updated and your mobile phone is paired, transfrerring files is simplicity itself:</p>
<ol>
<li>Do a left-mouse click on the Bluetooth icon in your system tray. The Bluetooth Devices window will appear showing you your available or previously paired devices. Your mobile phone will be one of them.<br />
.<br />
<img class="aligncenter size-full wp-image-540" title="BTApplet" src="http://www.serenux.com/wp-content/uploads/2009/08/BTApplet.jpg" alt="BTApplet" width="265" height="62" />.</li>
<li>Do a right-mouse click on your mobile phone and choose &#8220;Browse&#8221; from the menu that appears (or select the mobile phone with the left-mouse button and then click on the &#8220;Browse&#8221; button in the toolbar).<br />
.<br />
<img class="aligncenter size-full wp-image-558" title="BTDevicesBrowseDevice" src="http://www.serenux.com/wp-content/uploads/2009/08/BTDevicesBrowseDevice.jpg" alt="BTDevicesBrowseDevice" width="512" height="392" />.<br />
<em>NOTE: If you get a &#8220;Could not display &#8216;obex://[xx:xx:xx:xx:xx:xx]/&#8217;.&#8221; error when trying to browse, it means that the Bluetooth connection has not re-established itself between your PC and your phone after a previous pairing (ie: &#8220;Host is down&#8221;). To fix this, click on the &#8220;Search&#8221; button in the toolbar which will &#8220;awaken&#8221; your phone&#8217;s Bluetooth awareness and then choose &#8220;Browse device&#8221; again. You should also set your PC and phone to be &#8220;trusted&#8221; or &#8220;authorised&#8221; on both sides to prevent timeouts caused by either end asking you for permission to establish the connection.</em><br />
.</li>
<li>If your PC is setup as being &#8220;trusted&#8221; or &#8220;authorised&#8221; on your phone, within a second or so a Nautilus window should appear showing you the content of your mobile phone, or in the case of my Nokia N95, two Windows-like folders named &#8220;C:&#8221; and &#8220;E:&#8221; which represent the phone&#8217;s internal memory and my 8GB SD card in the phone. You can browse them like any ordinary folders including copying and pasting files. An icon for the phone will also appear on the desktop (I&#8217;m using a custom icon here).<br />
.<br />
<img class="aligncenter size-full wp-image-560" title="BrowsingNokiaN95viaBluetooth" src="http://www.serenux.com/wp-content/uploads/2009/08/BrowsingNokiaN95viaBluetooth.jpg" alt="BrowsingNokiaN95viaBluetooth" width="733" height="465" />.</li>
<li>When you have finished dealing with the files on your phone, you need to cleanly disconnect the phone and end the Bluetooth session. You can do this one of two ways. Either click on the &#8220;Eject&#8221; triangle icon next to your phone&#8217;s name in the Places list of the Nautilus window, or in the Bluetooth Devices window, do a right-mouse click and choose &#8220;Disconnect Device&#8221; from the menu.<br />
.<br />
<img class="aligncenter size-full wp-image-565" title="BTDevicesDisconnectFromPhone" src="http://www.serenux.com/wp-content/uploads/2009/08/BTDevicesDisconnectFromPhone.jpg" alt="BTDevicesDisconnectFromPhone" width="514" height="392" />.</li>
<li>That&#8217;s it! Happy file transfers! <img src='http://www.serenux.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.serenux.com/2009/08/howto-pair-your-bluetooth-mobile-phone-with-ubuntu-jaunty-for-file-transfers-etc/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>HowTo: Setup your Nokia N95 mobile phone as a Mobile Broadband Device via Bluetooth in Ubuntu Jaunty</title>
		<link>http://www.serenux.com/2009/08/howto-setup-your-nokia-n95-mobile-phone-as-a-mobile-broadband-device-via-bluetooth-in-ubuntu-jaunty/</link>
		<comments>http://www.serenux.com/2009/08/howto-setup-your-nokia-n95-mobile-phone-as-a-mobile-broadband-device-via-bluetooth-in-ubuntu-jaunty/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 12:54:10 +0000</pubDate>
		<dc:creator>HyRax</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[Broadband]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Jaunty]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Nokia]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.serenux.com/?p=546</guid>
		<description><![CDATA[Following up my article of how to setup a Nokia N95 as a mobile broadband device using a USB cable, we&#8217;ve been waiting for the Network Manager and/or Bluetooth stack to be updated so we could do the same thing via Bluetooth &#8211; damn those pesky cables to hell! Well, it&#8217;s finally happened. While Ubuntu [...]]]></description>
			<content:encoded><![CDATA[<p>Following up my article of <a title="HowTo: Setup a Nokia N95 as a Broadband Device in Ubuntu Intrepid (via a USB cable)" href="http://www.serenux.com/2008/11/howto-setup-your-nokia-n95-mobile-phone-as-a-mobile-broadband-device-in-ubuntu-intrepid/" target="_blank">how to setup a Nokia N95 as a mobile broadband device using a USB cable</a>, we&#8217;ve been waiting for the Network Manager and/or Bluetooth stack to be updated so we could do the same thing via Bluetooth &#8211; damn those pesky cables to hell!</p>
<p>Well, it&#8217;s finally happened. While Ubuntu itself hasn&#8217;t been updated yet, the Bluetooth package that Ubuntu uses has been updated by the parent Blueman Project.</p>
<p>So here&#8217;s a guide on how to update your Ubuntu Jaunty installation to the latest version of the Bluez Bluetooth stack, pair your Nokia N95 and how to setup a Broadband connection to go through it.</p>
<p><span id="more-546"></span>If you&#8217;ve already updated your Bluetooth stack to the latest and greatest version, then you can immediately skip to Step 10.</p>
<p><img title="More..." src="http://www.serenux.com/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" alt="" /></p>
<ol>
<li>First we need to add the Blueman Project&#8217;s PPA to your Ubuntu Jaunty installation. Open a terminal and type in:
<pre><span style="color: #000080;">$ sudo gedit /etc/apt/sources.list.d/blueman.list</span></pre>
</li>
<li>You will be presented with a blank text editor. Type or copy &amp; paste the following lines in:
<pre><span style="color: #000080;">deb http://ppa.launchpad.net/blueman/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/blueman/ppa/ubuntu jaunty main</span></pre>
</li>
<li>Save your changes and exit the editor.<br />
.</li>
<li>Now update your package lists with:
<pre><span style="color: #000080;">$ sudo apt-get update</span></pre>
</li>
<li>At the end you will see a NO_PUBKEY error because your setup does not yet have the GPG key for the Blueman repository to authenticate the packages with. To fix this, import the key with:
<pre><span style="color: #000080;">$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B15AB91951DC1E2</span></pre>
</li>
<li>Update your package lists again as per Step 4 and you should find the NO_PUBKEY error is gone now.<br />
.</li>
<li>By now your system is probably prompting you that there are updates to the Bluetooth stack available to install. We may as well stay at the terminal and do the updates there:
<pre><span style="color: #000080;">$ sudo apt-get upgrade</span></pre>
</li>
<li>Once that completes, the Bluetooth stack is now up to date, but we now need to install the Blueman applet to replace the Gnome version of it:
<pre><span style="color: #000080;">$ sudo apt-get install blueman</span></pre>
<p>(this will automatically uninstall the <em>bluez-gnome</em> package as we don&#8217;t want it anymore)</li>
<li>Once that completes, logout and log back in again so that the new applet loads up to replace the old one.<br />
.</li>
<li>Do a right-mouse-click on the Bluetooth icon in your system tray and choose &#8220;Setup new device&#8221; from the menu that appears. The Bloetooth Assistant Wizard will appear.<br />
.<br />
<img class="aligncenter size-full wp-image-540" title="BTApplet" src="http://www.serenux.com/wp-content/uploads/2009/08/BTApplet.jpg" alt="BTApplet" width="265" height="62" />.</li>
<li>At the welcome page, click the &#8220;Next&#8221; button.<br />
.</li>
<li>You are shown a list of detected Bluetooth devices which should include your Nokia N95 and any other nearby Bluetooth devices. Choose your Nokia N95 from the list and then click on the Forward button.<br />
.<br />
<img class="aligncenter size-full wp-image-547" title="ChooseBTDeviceToPair" src="http://www.serenux.com/wp-content/uploads/2009/08/ChooseBTDeviceToPair.jpg" alt="ChooseBTDeviceToPair" width="388" height="455" />.</li>
<li>You are then asked how to do the pairing. Choose to &#8220;Use a Random Passkey&#8221; and then click the Forward button.<br />
.<br />
<img class="aligncenter size-full wp-image-551" title="GeneratePINNumber" src="http://www.serenux.com/wp-content/uploads/2009/08/GeneratePINNumber.jpg" alt="GeneratePINNumber" width="388" height="455" />.</li>
<li>You will be shown a generated PIN number and your Nokia N95 will prompt you for it. Type the number into your phone and click OK on the phone.<br />
.<br />
<img class="aligncenter size-full wp-image-550" title="EnterPINNumber" src="http://www.serenux.com/wp-content/uploads/2009/08/EnterPINNumber.jpg" alt="EnterPINNumber" width="388" height="455" />.</li>
<li>When your phone accepts the PIN, the Wizard will then ask you how you want to treat the device as. Choose &#8220;Dialup Networking (DUN)&#8221; and then click the Forward button.<br />
.<br />
<img class="aligncenter size-full wp-image-548" title="ChooseConnectionType" src="http://www.serenux.com/wp-content/uploads/2009/08/ChooseConnectionType.jpg" alt="ChooseConnectionType" width="388" height="455" />.</li>
<li>After a brief delay, you will be prompted for your password so a DUN adapter can be setup. Type it in and hit Enter or OK.<br />
.</li>
<li>When the connection has finished, you will be told that the device was added and connected as a DUN unit successfully.<br />
.<br />
<img class="aligncenter size-full wp-image-549" title="ConnectedSuccessfully" src="http://www.serenux.com/wp-content/uploads/2009/08/ConnectedSuccessfully.jpg" alt="ConnectedSuccessfully" width="388" height="455" />.</li>
<li>Within a couple of seconds of finishing, if you haven&#8217;t already got a Broadband Connection setup in the Network Manager, the &#8220;New Mobile Broadband Connection&#8221; wizard will appear. This part is really straight-forward, so I haven&#8217;t bothered doing any screenshots for it. Click on the Forward button.<br />
.</li>
<li>Choose your Country and Provider from the list shown, then click the Forward button.<br />
.</li>
<li>Finally, in the Summary, you are given the option to provide a custom name for the Broadband connection. When you&#8217;re happy, click the Apply button. The Wizard will finish and close.<br />
.</li>
<li>You can now do a left-mouse click on your Network icon in the system tray and you will see your chosen Provider&#8217;s name (or custom name if you chose something else) listed in the menu.<br />
.</li>
<li>Choose your provider name from the menu and after a brief moment, you will be connected!</li>
</ol>
<p>Happy surfing! <img src='http://www.serenux.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.serenux.com/2009/08/howto-setup-your-nokia-n95-mobile-phone-as-a-mobile-broadband-device-via-bluetooth-in-ubuntu-jaunty/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>HowTo: Get a Microsoft Bluetooth Notebook 5000 mouse working under Ubuntu Jaunty.</title>
		<link>http://www.serenux.com/2009/08/howto-get-a-microsoft-bluetooth-notebook-5000-mouse-working-under-ubuntu-jaunty/</link>
		<comments>http://www.serenux.com/2009/08/howto-get-a-microsoft-bluetooth-notebook-5000-mouse-working-under-ubuntu-jaunty/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 10:49:04 +0000</pubDate>
		<dc:creator>HyRax</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Jaunty]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.serenux.com/?p=533</guid>
		<description><![CDATA[The Microsoft Bluetooth Notebook 5000 mouse is an affordable, compact mouse that worked really well under Ubuntu up until Jaunty 9.04 when the Bluetooth stack changed so drastically that the mouse would not pair or work anymore. While the Ubuntu-provided Bluetooth stack has not been updated to correct this problem yet, the Blueman Project that [...]]]></description>
			<content:encoded><![CDATA[<p>The <a title="Mini-Review: The Microsoft Bluetooth Notebook 5000 mouse" href="http://www.serenux.com/2008/12/mini-review-microsoft-bluetooth-notebook-mouse-5000/" target="_blank">Microsoft Bluetooth Notebook 5000 mouse</a> is an affordable, compact mouse that worked really well under Ubuntu up until Jaunty 9.04 when the Bluetooth stack changed so drastically that the mouse would not pair or work anymore.</p>
<p>While the Ubuntu-provided Bluetooth stack has not been updated to correct this problem yet, the Blueman Project that Ubuntu uses keeps marching on in development and the latest version of of the Bluez stack and Blueman applet finally corrects this problem.</p>
<p>Here&#8217;s how to employ it on your own setup.</p>
<p><span id="more-533"></span></p>
<p><strong><em>EDIT October 2009: I have tested and found that the Microsoft Bluetooth Notebook 5000 mouse pairs and resumes successfully with the Ubuntu 9.10 Karmic Koala Beta release without any changes or upgrades required to the Bluetooth software. This HowTo therefore only applies to Ubuntu 9.04 Jaunty Jackalope.</em></strong></p>
<ol>
<li>First we need to add the Blueman Project&#8217;s PPA to your Ubuntu Jaunty installation. Open a terminal and type in:
<pre><span style="color: #000080;">$ sudo gedit /etc/apt/sources.list.d/blueman.list</span></pre>
</li>
<li>You will be presented with a blank text editor. Type or copy &amp; paste the following lines in:
<pre><span style="color: #000080;">deb http://ppa.launchpad.net/blueman/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/blueman/ppa/ubuntu jaunty main</span></pre>
</li>
<li>Save your changes and exit the editor.<br />
.</li>
<li>Now update your package lists with:
<pre><span style="color: #000080;">$ sudo apt-get update</span></pre>
</li>
<li>At the end you will see a NO_PUBKEY error because your setup does not yet have the GPG key for the Blueman repository to authenticate the packages with. To fix this, import the key with:
<pre><span style="color: #000080;">$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B15AB91951DC1E2</span></pre>
</li>
<li>Update your package lists again as per Step 4 and you should find the NO_PUBKEY error is gone now.<br />
.</li>
<li>By now your system is probably prompting you that there are updates to the Bluetooth stack available to install. We may as well stay at the terminal and do the updates there:
<pre><span style="color: #000080;">$ sudo apt-get upgrade</span></pre>
</li>
<li>Once that completes, the Bluetooth stack is now up to date, but we now need to install the Blueman applet to replace the Gnome version of it:
<pre><span style="color: #000080;">$ sudo apt-get install blueman</span></pre>
<p>(this will automatically uninstall the <em>bluez-gnome</em> package as we don&#8217;t want it anymore)</li>
<li>Once that completes, logout and log back in again so that the new applet loads up to replace the old one.<br />
.</li>
<li>Now, switch the mouse into paring mode by holding down the pairing button on the base of the mouse until the LED on top of the mouse starts to alternate between red and green illumination.<br />
.</li>
<li>Now do a left-click on the Bluetooth icon in the system tray. The Bluetooth Devices window should appear. Within a few seconds of that window opening, you should see your mouse and any other nearby Bluetooth devices listed in the window.<br />
.</p>
<p><img class="aligncenter size-full wp-image-540" title="BTApplet" src="http://www.serenux.com/wp-content/uploads/2009/08/BTApplet.jpg" alt="BTApplet" width="265" height="62" /><br />
<img class="aligncenter size-full wp-image-539" title="BTDevicesNotPairedYet" src="http://www.serenux.com/wp-content/uploads/2009/08/BTDevicesNotPairedYet.jpg" alt="BTDevicesNotPairedYet" width="502" height="382" />.</li>
<li>Do a right-mouse click on the Microsoft Mouse entry and choose &#8220;Bond&#8221; (or ensure the Microsoft Mouse entry is selected and click on the &#8220;Bond&#8221; button in the toolbar).<br />
.<img class="aligncenter size-full wp-image-535" title="BTDevicesBeginBonding" src="http://www.serenux.com/wp-content/uploads/2009/08/BTDevicesBeginBonding.jpg" alt="BTDevicesBeginBonding" width="512" height="392" /><br />
.</li>
<li>You will be prompted for the PIN number of the mouse. Like most accessory items, this is just &#8220;0000&#8243;, so type that in and hit Enter, or press OK.<br />
.</p>
<p><img class="aligncenter size-full wp-image-538" title="BTDevicesEnterPIN" src="http://www.serenux.com/wp-content/uploads/2009/08/BTDevicesEnterPIN.jpg" alt="BTDevicesEnterPIN" width="388" height="251" /><br />
.</li>
<li>Once the mouse is bonded, you will see some signal coloured bars appear next to the Microsoft Mouse entry in the Bluetooth Devices window (which represent the Received Signal Strength, Link Quality and the Transmit Power Level). But you can&#8217;t use the mouse just yet.<br />
.</p>
<p><img class="aligncenter size-full wp-image-536" title="BTDevicesBondedMouse" src="http://www.serenux.com/wp-content/uploads/2009/08/BTDevicesBondedMouse.jpg" alt="BTDevicesBondedMouse" width="502" height="382" /><br />
.</li>
<li>Click on the &#8220;Trust&#8221; button in the toolbar. This will allow your mouse to reconnect without prompting you for permission when you turn it off and back on again (or when you reboot).<br />
.</li>
<li>Now do a right-mouse click on the Microsoft Mouse entry again and choose &#8220;Connect to Input Service&#8221; (or click on the &#8220;Setup&#8221; button in the toolbar and follow the Wizard). After a brief delay, you should now find that your mouse now moves the mouse pointer!<br />
.<br />
<img class="aligncenter size-full wp-image-537" title="BTDevicesConnectInputService" src="http://www.serenux.com/wp-content/uploads/2009/08/BTDevicesConnectInputService.jpg" alt="BTDevicesConnectInputService" width="512" height="392" /><br />
.</li>
<li>You can now close the Bluetooth Devices window. Pat yourself on the back. You&#8217;re done.</li>
</ol>
<p>Your mouse should automatically reconnect upon reboot, PC or Mouse power saving events (such as suspend), and if you turn on the mouse after booting up your system.</p>
<p><span style="text-decoration: line-through;">I haven&#8217;t played with the Ubuntu Karmic Alpha yet to know if a more recent version of the Bluez Bluetooth stack is included. One presumes it will be, but if not, these instructions will probably work for Karmic as well.</span></p>
<p><em>EDIT October 2009: I have tested this mouse with the Ubuntu 9.10 Karmic Koala Beta release and it pairs first time perfectly and also resumes perfectly. There will be no need to use this HowTo with Karmic.</em></p>
<p><span style="text-decoration: line-through;"><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.serenux.com/2009/08/howto-get-a-microsoft-bluetooth-notebook-5000-mouse-working-under-ubuntu-jaunty/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Mini-Review: Microsoft Bluetooth Notebook Mouse 5000</title>
		<link>http://www.serenux.com/2008/12/mini-review-microsoft-bluetooth-notebook-mouse-5000/</link>
		<comments>http://www.serenux.com/2008/12/mini-review-microsoft-bluetooth-notebook-mouse-5000/#comments</comments>
		<pubDate>Fri, 26 Dec 2008 11:33:50 +0000</pubDate>
		<dc:creator>HyRax</dc:creator>
				<category><![CDATA[Review]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mice]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.serenux.com/?p=265</guid>
		<description><![CDATA[Well, it&#8217;s post-Xmas sales time again and vendors everywhere are struggling to get rid of their stock in readiness for 2009. Whilst I wasn&#8217;t in any specific need for something, I found JB Hi-Fi selling Microsoft&#8217;s Bluetooth Notebook Mouse 5000 series for AUD$45. This isn&#8217;t the cheapest I&#8217;ve seen it, mind you, only a few [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it&#8217;s post-Xmas sales time again and vendors everywhere are struggling to get rid of their stock in readiness for 2009. Whilst I wasn&#8217;t in any specific need for something, I found JB Hi-Fi selling Microsoft&#8217;s Bluetooth Notebook Mouse 5000 series for AUD$45. This isn&#8217;t the cheapest I&#8217;ve seen it, mind you, only a few months ago Officeworks sold them for a brief period for only $35 in conjunction with a Microsoft promo, but I digress &#8211; I decided to purchase one of these mice for my EeePC 701 since they&#8217;re some 35% cheaper than its nearest rivals such as Logitech. But does that cheaper price come at a cost?</p>
<p><span id="more-265"></span>So why would you want a Bluetooth mouse? Well, the obvious reason is the convenience of no cables. This mouse is primarily targeted at the notebook market where people cannot easily use, or just plain don&#8217;t like, the mouse touchpad or joystick. Being Bluetooth, you can connect it to any device that also has Bluetooth capability (which these days is just about every modern notebook, or desktop with a USB Bluetooth adapter). The only real con is having to charge or replace batteries.</p>
<p>The Microsoft Bluetooth Notebook Mouse 5000 comes packaged in one of those annoying difficult-to-open hard plastic packages &#8211; you know, the kind that usually draws blood. Thankfully, I think Microsoft have heeded the baying masses and have neatly provided little holes in the backside of the packaging for you to easily get a pair of scissors into as indicated by a couple of printed scissor icons, but then I discovered I didn&#8217;t even need to do that either &#8211; the plastic is perforated, allowing you to get a finger in and simply rip the packaging open &#8211; with no blood being drawn &#8211; extra points there.</p>
<p style="text-align: center;"><a title="Click for full size" href="http://www.serenux.com/~hyrax/pics/msbluetoothmouse5000/MSBTMouse_Packaging.jpg" target="_blank"><img title="Mouse packaging" src="http://www.serenux.com/~hyrax/pics/msbluetoothmouse5000/MSBTMouse_Packaging_thumb.jpg" alt="Click for full size" /></a><br />
Click for full size (210K)</p>
<p>So once you have playfully ripped into the packaging like a 10 year old on Xmas morning, this is what comes inside the retail package:</p>
<table border="0">
<tbody>
<tr>
<td>You get:</p>
<ul>
<li> The mouse</li>
<li> A trendy neoprene rubber carry pouch</li>
<li> Two AAA batteries</li>
<li> A quickstart guide, battery disposal disclaimer and a full instruction manual, neatly crushed into a triangle by the top side of the box packaging</li>
</ul>
</td>
<td style="text-align: center;"><a title="Click for full size" href="http://www.serenux.com/~hyrax/pics/msbluetoothmouse5000/MSBTMouse_Content.jpg" target="_blank"><img title="Mouse content" src="http://www.serenux.com/~hyrax/pics/msbluetoothmouse5000/MSBTMouse_Content_thumb.jpg" alt="Click for full size" /></a><br />
Click for full size (207K)</td>
</tr>
</tbody>
</table>
<p>The mouse is very lightweight and looks pretty stylish with an attractive combination of black underside and sideskirts, white top and a spine of gun-metal grey. The mouse wheel is transparent. The top side features a Bluetooth logo and a battery indicator. There are four buttons &#8211; two traditional left &amp; right mouse buttons, wheel button in the middle and a thumb button that is designed with right-handed users in mind. The wheel does not feature left &amp; right movement, but has a fairly notchy ratchet when rotating the wheel, but does not require much pressure to rotate.</p>
<p style="text-align: center;"><a title="Click for full size" href="http://www.serenux.com/~hyrax/pics/msbluetoothmouse5000/MSBTMouse_Front.jpg" target="_blank"><img title="Mouse front" src="http://www.serenux.com/~hyrax/pics/msbluetoothmouse5000/MSBTMouse_Front_thumb.jpg" alt="Click for full size" /></a><br />
Click for full size (141K)</p>
<p>The rear end resembles a Renault Megane &#8211; with a big arse and a star-zappy logo thing which is not a button and appears to be for decorative purposes only.</p>
<p style="text-align: center;"><a title="Click for full size" href="http://www.serenux.com/~hyrax/pics/msbluetoothmouse5000/MSBTMouse_Back.jpg" target="_blank"><img title="Mouse rear" src="http://www.serenux.com/~hyrax/pics/msbluetoothmouse5000/MSBTMouse_Back_thumb.jpg" alt="Click for full size" /></a><br />
Click for full size (125K)</p>
<p>The underside features the battery compartment, the laser unit, Bluetooth pairing button, a two-position sliding on-off switch, usual array of skidpads and a Gnuine Microsoft sticker.</p>
<p style="text-align: center;"><a title="Click for full size" href="http://www.serenux.com/~hyrax/pics/msbluetoothmouse5000/MSBTMouse_Underside.jpg" target="_blank"><img title="Mouse underside" src="http://www.serenux.com/~hyrax/pics/msbluetoothmouse5000/MSBTMouse_Underside_thumb.jpg" alt="Click for full size" /></a><br />
Click for full size (166K)</p>
<p>Overall, this mouse is roughly two-thirds the size of a regular adult desktop mouse. It&#8217;s even smaller than a CD-ROM disc! The size is deliberate, however &#8211; it makes for a more portable package in your laptop bag.</p>
<p style="text-align: center;"><a title="Click for full size" href="http://www.serenux.com/~hyrax/pics/msbluetoothmouse5000/MSBTMouse_Size.jpg" target="_blank"><img title="Mouse size" src="http://www.serenux.com/~hyrax/pics/msbluetoothmouse5000/MSBTMouse_Size_thumb.jpg" alt="Click for full size" /></a><br />
Click for full size (192K)</p>
<p>The neoprene rubber pouch provided is a snug fit for the mouse, but makes a good home for it when stashing it away in your bag. The pouch features a simple hook-tape seal and does the job. If you are an EeePC user, you will already be familiar with the good protection the neoprene rubber sleeve provides, so this mouse pouch will look right at home next to it. The pouch also has a red Microsoft logo tag on it to satisfy brand-toting users.</p>
<p style="text-align: center;"><a title="Click for full size" href="http://www.serenux.com/~hyrax/pics/msbluetoothmouse5000/MSBTMouse_Pouch.jpg" target="_blank"><img title="Mouse pouch" src="http://www.serenux.com/~hyrax/pics/msbluetoothmouse5000/MSBTMouse_Pouch_thumb.jpg" alt="Click for full size" /></a><br />
Click for full size (243K)</p>
<p>Inserting the batteries is a very straight-forward exercise without any difficulty. The battery is cover is easily removed by finger without needing a tool and the battery compartments are spacious and feature pull-up tabs to remove the batteries easily when they eventually need replacement.</p>
<p style="text-align: center;"><a title="Click for full size" href="http://www.serenux.com/~hyrax/pics/msbluetoothmouse5000/MSBTMouse_Batteries.jpg" target="_blank"><img title="Mouse battery fitment" src="http://www.serenux.com/~hyrax/pics/msbluetoothmouse5000/MSBTMouse_Batteries_thumb.jpg" alt="Click for full size" /></a><br />
Click for full size (283K)</p>
<p>Upon switching on the mouse, the battery indicator on top of the mouse turned green for a few seconds, then went out and started alternating between green and red flashes at a rate of one flash per second. It had immediately entered pairing mode without me having to manually trigger it. The Bluetooth logo does not light up.</p>
<table style="text-align: center;" border="0">
<tbody>
<tr>
<td><a title="Click for full size" href="http://www.serenux.com/~hyrax/pics/msbluetoothmouse5000/MSBTMouse_GreenLight.jpg" target="_blank"><img title="Mouse green light" src="http://www.serenux.com/~hyrax/pics/msbluetoothmouse5000/MSBTMouse_GreenLight_thumb.jpg" alt="Click for full size" /></a><br />
Click for full size (147K)</td>
<td><a title="Click for full size" href="http://www.serenux.com/~hyrax/pics/msbluetoothmouse5000/MSBTMouse_RedLight.jpg" target="_blank"><img title="Mouse red light" src="http://www.serenux.com/~hyrax/pics/msbluetoothmouse5000/MSBTMouse_RedLight_thumb.jpg" alt="Click for full size" /></a><br />
Click for full size (146K)</td>
</tr>
</tbody>
</table>
<p>Pairing the mouse with Ubuntu Intrepid is an incredibly simple four-step process:</p>
<p><em>EDIT August 2009: The Bluetooth stack in Ubuntu Jaunty changed such that the mouse will pair, but the mouse will not acknowledge the connection nor will the mouse ever work. As of August 2009, the latest version of the Bluez Bluetooth stack and the Blueman applet fix this problem. Refer to <a title="HowTo: Get the Microsoft Bluetooth Notebook 5000 Mouse working via Bluetooth in Ubuntu Jaunty" href="http://www.serenux.com/2009/08/howto-get-a-microsoft-bluetooth-notebook-5000-mouse-working-under-ubuntu-jaunty/" target="_blank">this article</a> for more information.<br />
</em></p>
<ol>
<li>Do a single right-mouse click on the Bluetooth icon in your system tray and choose &#8220;Setup new device&#8230;&#8221;.
<p style="text-align: center;"><img class="size-full wp-image-266 aligncenter" title="Setup New Bluetooth Device" src="http://www.serenux.com/wp-content/uploads/2008/12/bluetooth_setupnewdevice.jpg" alt="Setup New Bluetooth Device" width="222" height="174" /><br />
.</li>
<li>The Bluetooth Device Wizard will appear. Click &#8220;Forward&#8221;.<img class="aligncenter size-full wp-image-268" title="Start the Bluetooth Device Wizard" src="http://www.serenux.com/wp-content/uploads/2008/12/bluetooth_wizardstart.jpg" alt="Start the Bluetooth Device Wizard" width="474" height="469" />.</li>
<li>Your PC will query for local unpaired Bluetooth devices. After a brief delay, you will see the Microsoft Bluetooth Notebook Mouse 5000&#8242;s MAC address followed shortly by its actual name. Simply click on the name in the list and click &#8220;Forward&#8221;.<img class="aligncenter size-full wp-image-267" title="Selecting the Microsoft Mouse from the list of available devices" src="http://www.serenux.com/wp-content/uploads/2008/12/bluetooth_addmsmouse.jpg" alt="Selecting the Microsoft Mouse from the list of available devices" width="474" height="469" />.</li>
<li>Your PC will commence pairing with the mouse. You don&#8217;t have to do anything except wait a couple of seconds. Once the pairing is complete, the wizard will finish.<img class="aligncenter size-full wp-image-269" title="Finishing the New Bluetooth Device wizard" src="http://www.serenux.com/wp-content/uploads/2008/12/bluetooth_wizardfinish.jpg" alt="Finishing the New Bluetooth Device wizard" width="474" height="469" />.</li>
</ol>
<p>The mouse is now immediately usable and you can also keep using your original mouse at the same time as well (if you like fighting over one mouse pointer, that is). At this time, the indicator on the top of the mouse switches off as well. The only time I should see it next illuminate is during power-on self-test or when the battery starts running low.</p>
<p>In operation, the mouse feels reasonably comfortable and is easy to maneuver. Button clicks are clear and responsive, although the fourth thumb button was technically non-functional, though pressing it brought focus upon whatever you were hovering over without actually performing a left-mouse click.  It&#8217;s not too heavy but not too light either, though with prolonged use, I suspect those with relatively big hands will find the apparent gap underneath the palm of your hand to get annoying and the mouse is a good third smaller than a regular sized mouse (remember it&#8217;s intended to be carried by notebook users, not used on a desktop). Those with smaller hands such as most female adults and early-teen children, may probably find this mouse to be more comfortable than a regularly-sized mouse for western adult hands.</p>
<p>I found that the mouse was quite sensitive compared to my regular desktop mouse, as though mouse-acceleration had been increased by a small percentage in my system&#8217;s configuration. If this proves annoying, you would have to adjust your desktop mouse preferences a bit to compensate.</p>
<p>Rather interestingly, the laser is completely invisible. There is no red glow emanating from the mouse at all, even if you lift the mouse slightly off the table. There are no blingy glowy bits on the top side of the mouse to waste battery either.</p>
<p>Unfortunately I cannot gauge the expected battery life until I&#8217;ve made prolonged use of the mouse, and the manual provided does not provide any indication as to the expected battery life nor does it mention any potential power-saving features of the mouse such as power-down due to in activity, etc (however the quick-start guide makes reference to switching off the mouse when in transit). In fact, I found it amusing to read in the manual protective advisories not to &#8220;walk on power cords&#8221; in relation to the mouse &#8211; it appears this is a generic peripheral manual that Microsoft supply with all their gear.</p>
<p>Anyway, I went on to test the reconnection speed of the mouse now that it was paired. I switched off the mouse for a few seconds and then turned it back on and started moving the mouse until I saw the mouse pointer moving on-screen. Disappointingly, Ubuntu did not reconnect with the mouse. In fact, I wasn&#8217;t able to reconnect to it until I had deleted the pairing and re-paired it again.</p>
<p>A system restart after having successfully paired the mouse earlier also failed to reconnect it when the desktop reappeared again.</p>
<p><em>EDIT August 2009: The latest version of the Bluez Bluetooth stack and the Blueman applet fixes this re-connection problem under Ubuntu Intrepid and Ubuntu Jaunty without the need to do the manual fix below.</em></p>
<p>This is contrary to previous versions of Ubuntu where reconnection occurred without a problem. As it turns out, the HIDD application and corresponding hcid.conf file are not employed anymore by Ubuntu Intrepid, having been replaced by the Bluetooth applet we&#8217;re using today. It appears Intrepid does not actively scan for Bluetooth devices to &#8220;re-activate&#8221; them upon a restart.</p>
<p>So with that in mind, I tried issuing the following command in a terminal:</p>
<pre><span style="color: #000080;">$ sudo hciconfig hci0 pscan</span></pre>
<p>&#8230;which tells my Bluetooth adapter at hci0 to switch to &#8220;scanning&#8221; mode. Within about 10 seconds, the mouse pointer started moving again!</p>
<p>Another reboot still failed to have the mouse reconnect automatically again, so I decided to add the command into my /etc/rc.local file which is executed every time the system reboots.</p>
<p>Edit it with:</p>
<pre><span style="color: #000080;">$ sudo gedit /etc/rc.local</span></pre>
<p>&#8230;and in the editor, add it anywhere BEFORE the last <em>exit 0</em> line, eg:</p>
<pre><span style="color: #000080;">#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.</span><span style="color: #000080;">

sudo hciconfig hci0 pscan
exit 0</span></pre>
<p>Save your changes and reboot. When the system restarted, the mouse still failed to move, however turning the mouse off and then on again without another reboot did make the mouse start moving again within 10 seconds, so the reconnection process relies on the rodent&#8217;s current connection status to be &#8220;deleted&#8221; before Ubuntu will reconnect to it. This is annoying, but for the moment switching the mouse off and then on is a helluva lot less painful than having to delete and re-pair the mouse manually every reboot. A number of bug reports have already been listed on Launchpad in relation to this problem, so no doubt it will be rectified in due course.</p>
<p><strong>Conclusion</strong></p>
<p>This is a reasonably comfortable, sturdy mouse with a robust feel to it that I believe would survive being knocked about a few times. It is compact and does not have unnecessary design features that would waste battery life. It meets the requirements to be portable and is simple to use.</p>
<p>The manual is generic and not very helpful in relation to the nature of the product (with the exception of the quick-start guide), however I think in this day and age most people have a good basic understanding of mouse concepts to not need a manual.</p>
<p>I&#8217;d have liked to have been given a written reference to the expected battery life, and it would have been nice to have a plug-in USB recharge feature or a docking station of some sort, however such features would have increased the cost of the product.</p>
<p>While not a feature-rich mouse in general given the target audience for a simple &#8220;it just works&#8221; device, this is a great value-for-money product and I would have no hesitation in recommending it to prospective users. At AUD$45, it&#8217;s a bargain compared to its nearest rivals who list for AUD$65 or more for the same featureset.</p>
<p><span style="color: #0000ff;"><strong>Review score: 8 out of 10</strong></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.serenux.com/2008/12/mini-review-microsoft-bluetooth-notebook-mouse-5000/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>HowTo: Pair your Bluetooth mobile phone with Ubuntu Intrepid for file transfers etc.</title>
		<link>http://www.serenux.com/2008/12/howto-pair-your-bluetooth-mobile-phone-with-ubuntu-intrepid-for-file-transfers-etc/</link>
		<comments>http://www.serenux.com/2008/12/howto-pair-your-bluetooth-mobile-phone-with-ubuntu-intrepid-for-file-transfers-etc/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 21:59:03 +0000</pubDate>
		<dc:creator>HyRax</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Intrepid]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Nokia]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.serenux.com/?p=187</guid>
		<description><![CDATA[While connecting a Bluetooth mobile phone to Ubuntu was not terribly difficult, Ubuntu Intrepid brings with it a new Wizard for connecting all manner of Bluetooth devices without the user having to touch the command line at all. So, to that end, here is an update to my previous HowTo for connecting a Bluetooth mobile [...]]]></description>
			<content:encoded><![CDATA[<p>While connecting a Bluetooth mobile phone to Ubuntu was not terribly difficult, Ubuntu Intrepid brings with it a new Wizard for connecting all manner of Bluetooth devices without the user having to touch the command line at all.</p>
<p>So, to that end, here is an update to my previous HowTo for <a title="HowTo: Connect a Bluetooth Mobile Phone to Ubuntu Gutsy or Ubuntu Hardy." href="http://www.serenux.com/?p=10">connecting a Bluetooth mobile phone to Ubuntu Gusty or Ubuntu Hardy</a>.</p>
<p><span id="more-187"></span></p>
<p><em><strong>EDIT August 2009: If you are wanting to connect your phone using Ubuntu Jaunty or later, you should <a title="HowTo: Pair your Bluetooth mobile phone with Ubuntu Jaunty for file transfers, etc." href="http://www.serenux.com/2009/08/howto-pair-your-bluetooth-mobile-phone-with-ubuntu-jaunty-for-file-transfers-etc/" target="_blank">follow these updated instructions</a> instead of this article.</strong></em></p>
<p>Pre-requisites:</p>
<ul>
<li>Bluetooth-enabled mobile phone (I&#8217;m using a Nokia N95 in this guide).</li>
<li>USB Bluetooth adapter or PC with built-in Bluetooth such as a modern-day notebook. Your adapter must be Bluetooth 1.2 compliant or higher.</li>
<li>A PC with Ubuntu Linux 8.10 Intrepid Ibex installed.</li>
</ul>
<p>Difficulty level: Mind-bogglingly easy. Point and click, essentially!</p>
<ol style="list-style-type: decimal;">
<li>First, plug in your USB Bluetooth adapter or enable it on your notebook. Ubuntu should recognise it immediately with no need for additional drivers. You can optionally confirm that by jumping into a terminal as issuing the lsusb command to list your USB devices:
<pre><span style="color: #333399;">$ lsusb | grep tooth
Bus 001 Device 005: ID 1310:0001 Roper Class 1 Bluetooth Dongle
$</span></pre>
</li>
<li>You’ll be happy to know that Ubuntu comes pre-installed with everything you need to get Bluetooth running, and if the driver is loaded successfully, you will see a Bluetooth icon appear in your system tray, awaiting your bidding.<br />
.</li>
<p style="text-align: center;"><img class="alignnone size-full wp-image-196" title="Bluetooth System Tray" src="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothsystemtray.jpg" alt="" width="177" height="66" /></p>
<li>Do a single left-mouse click on the Bluetooth icon and a menu appears showing &#8220;Setup new device&#8230;&#8221;.<br />
.<br />
<a href="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothsetupnewdevice.jpg"></a></li>
<p style="text-align: center;"><img class="alignnone size-full wp-image-194" title="Bluetooth Setup New Device" src="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothsetupnewdevice.jpg" alt="" width="188" height="68" /></p>
<li>Once you choose the menu option, the Bluetooth Device Wizard will appear.<br />
.<br />
<a href="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothsetupwizardstart.jpg"><img class="alignnone size-full wp-image-195" title="Bluetooth Setup Wizard Start" src="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothsetupwizardstart.jpg" alt="" width="474" height="469" /><br />
</a>.<a href="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothsetupwizardstart.jpg"><br />
</a></li>
<li>Click Forward and your system will begin scanning for local Bluetooth devices. Whatever it finds will be shown in the list (note that this may take a few seconds to update). One of them should be your Bluetooth-enabled mobile phone (which will initially appears as its MAC address, but then after a few seconds will change to the name assigned to that device). If you cannot see your phone after a few seconds, make sure that Bluetooth is enabled on your handset and try again from Step 3.<br />
.<br />
<a href="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothsetupdeviceselection.jpg"><img class="alignnone size-full wp-image-193" title="Bluetooth Setup Device Selection" src="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothsetupdeviceselection.jpg" alt="" width="474" height="469" /><br />
</a>.<br />
<a href="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothsetupdeviceselection.jpg"><br />
</a></li>
<li>Select your phone and his Forward. Ubuntu will then generate a random PIN number and commence a pairing request with your phone. Your phone handset, meantime, should immediately prompt you to enter the randomly-generated PIN number.<br />
.<br />
<a href="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothdevicesetupenteringpin.jpg"><img class="alignnone size-full wp-image-190" title="Bluetooth Device Setup Entering Pin" src="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothdevicesetupenteringpin.jpg" alt="" width="474" height="469" /><br />
</a>.<a href="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothsetupwizardstart.jpg"><br />
</a><a href="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothdevicesetupenteringpin.jpg"></a></li>
<li>Once you have entered the PIN code on your phone, Ubuntu will complete the pairing request and that&#8217;s it &#8211; pairing done!<br />
.<br />
<a href="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothdevicesuccessfullyconfigured.jpg"><img class="alignnone size-full wp-image-191" title="Bluetooth Device Successfully Configured" src="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothdevicesuccessfullyconfigured.jpg" alt="" width="474" height="469" /><br />
</a>.<a href="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothdevicesuccessfullyconfigured.jpg"><br />
</a></li>
<li>Now we can start doing things, such as file transfers. Go back to the Bluetooth icon in your System Tray and this time do a single right-mouse click on it. A new menu appears. Go to &#8220;Browse files on device&#8230;&#8221;.<br />
.<br />
<a href="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothbrowsedevice.jpg"><img class="alignnone size-full wp-image-188" title="Bluetooth browse Device" src="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothbrowsedevice.jpg" alt="" width="252" height="177" /></a><br />
.</li>
<li>You will be asked which of your paired Bluetooth devices you wish to browse. Choose your phone from the list and click the &#8220;Connect&#8221; button.<br />
.<br />
<a href="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothselectdevicetobrowse.jpg"><img class="alignnone size-full wp-image-192" title="Bluetooth Select Device to Browse" src="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothselectdevicetobrowse.jpg" alt="" width="458" height="429" /><br />
</a>.<a href="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothselectdevicetobrowse.jpg"><br />
</a></li>
<li>After a brief delay, a Nautilus window should pop up showing your phone&#8217;s &#8220;drives&#8221;. In the case of my Nokia N95, the phone&#8217;s internal memory is presented a Windows-esque C: drive and the memory card is presented as E: drive. What appears here is ultimately down to how your phone manufacturer has implemented the filesystem.<br />
.<br />
<img class="alignnone size-full wp-image-189" title="Bluetooth device browsing" src="http://www.serenux.com/wp-content/uploads/2008/12/bluetoothdevicebrowsing.jpg" alt="" width="500" height="380" /><br />
.</li>
<li>At this time, an icon for your phone will also be added to your desktop (I use a custom icon on mine):<br />
.<br />
<a href="http://www.serenux.com/wp-content/uploads/2008/12/mynokian95mountedicon.jpg"><img class="alignnone size-full wp-image-197" title="My Nokia N95 mounted icon" src="http://www.serenux.com/wp-content/uploads/2008/12/mynokian95mountedicon.jpg" alt="" width="206" height="234" /></a><br />
.</li>
<li>Browse and copy files as normal. When you are done, you should disconnect your phone by unmounting it with the Unmount or Eject right-mouse menu options (or the Eject icon next to your phone&#8217;s name in the Bookmark list).<br />
.<br />
<a href="http://www.serenux.com/wp-content/uploads/2008/12/unmountingmynokian95.jpg"><img class="alignnone size-full wp-image-198" title="Unmounting my Nokia N95" src="http://www.serenux.com/wp-content/uploads/2008/12/unmountingmynokian95.jpg" alt="" width="298" height="482" /></a><br />
.</li>
<li>And that&#8217;s it! Pat yourself on the back. Job done. <img src='http://www.serenux.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.serenux.com/2008/12/howto-pair-your-bluetooth-mobile-phone-with-ubuntu-intrepid-for-file-transfers-etc/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>HowTo: Use a Bluetooth headset with Ubuntu Hardy</title>
		<link>http://www.serenux.com/2008/10/howto-use-a-bluetooth-headset-with-ubuntu-hardy/</link>
		<comments>http://www.serenux.com/2008/10/howto-use-a-bluetooth-headset-with-ubuntu-hardy/#comments</comments>
		<pubDate>Sun, 05 Oct 2008 00:12:41 +0000</pubDate>
		<dc:creator>HyRax</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Audio]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.serenux.com/?p=40</guid>
		<description><![CDATA[Recently I went and bought myself a cheap Bluetooth stereo headset for using with my Nokia N95 to make calls and listen to music and it occurred to me that I could also use it to listen to music from my Ubuntu desktop, so here&#8217;s a HowTo on how to hook it up to Ubuntu [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I went and bought myself a cheap Bluetooth stereo headset for using with my Nokia N95 to make calls and listen to music and it occurred to me that I could also use it to listen to music from my Ubuntu desktop, so here&#8217;s a <span class="highlight">HowTo</span> on how to hook it up to Ubuntu and redirect your music and media players to it.</p>
<p><span id="more-40"></span><strong></strong></p>
<p>This guide is based on the guides at Ubuntu Forums with some modifications to be more step-explicit and thus newbie-friendly. This is a re-post of my guide from Overclockers Australia with updates and screenshots.</p>
<p><strong>Purpose:</strong> To play your audio such as MP3&#8242;s and movie output through a Bluetooth-connected audio headset.</p>
<p><strong>Scenario:</strong> You are too lazy to plug in a cable to your PC. You want to walk around your house without a long cable after you. You want to look cool to your mates. You want to psyche out your non-tech parents by listening to music without any audio device or cables attached to you. Problem is, very few Linux apps have direct support for directing sound to any other device.</p>
<p><strong>Solution:</strong> Redirect all audio using the PulseAudio Server on Ubuntu Hardy.</p>
<p><span style="text-decoration: underline;">Prerequisites:</span></p>
<ul>
<li>Bluetooth interface to your PC. This can be inbuilt, such as on a modern notebook PC, or a USB dongle such as the <a href="http://www.jaycar.com.au/productView.asp?ID=XC4892&amp;CATID=&amp;keywords=bluetooth&amp;SPECIAL=&amp;form=KEYWORD&amp;ProdCodeOnly=&amp;Keyword1=&amp;Keyword2=&amp;pageNumber=&amp;priceMin=&amp;priceMax=&amp;SUBCATID=" target="_blank">one I use</a>. Your adapter must support Bluetooth 1.2 or higher.</li>
<li>Ubuntu Hardy 8.04 (I&#8217;m using 8.04.1 64-bit in this example).</li>
<li>Internet access or other such access to the Ubuntu repositories to install extra software from.</li>
<li>Suitable Bluetooth headset. The unit I bought is a TDK BT100 pair of buds. Supports Bluetooth 1.2 and 2.0, does headset, handsfree A2DP and AVRCP functions (typical function set of any headset/handsfree unit these days). Though the sound quality of these things isn&#8217;t that great, it was only $49 at my local PC shop. You can get cheaper units through sites such as <a href="http://www.catchoftheday.com.au/Philips_SwitchStream_BlueTooth_Headsets-p-677.html" target="_blank">Catch of the Day</a></li>
</ul>
<p><strong>Pros:</strong></p>
<ul>
<li>You are cable free! You can walk around the house (as far as the range of your Bluetooth adapter goes) and listen to music/movies.</li>
<li>If your headset also has a mic, you can use that too for VOIP apps and the like.</li>
</ul>
<p><strong>Cons:</strong></p>
<ul>
<li>A Bluetooth headset is generally more expensive than a cabled one.</li>
<li>Most headset batteries only last four hours in continuous use before needing a recharge (though the TDK unit I have plugs into mini-USB to recharge and can still be used whilst recharging, which is convenient).</li>
<li>Audio quality is generally not as good as a dedicated cabled headset.</li>
<li>For those headsets that have battery-saving functions when idle, some are known to clip the start of the audio playback when turning back on (my set causes Ubuntu to wait until it&#8217;s up and running before streaming the audio, thus no clipping).</li>
<li>There are some known issues with using this method with 32-bit Skype under 64-bit Ubuntu, which I won&#8217;t go into detail here (since I don&#8217;t use Skype). Refer to the Ubuntu Forums for more details about it.</li>
<li>At least on my headset, there is an ever-so-slight delay in audio sync when watching video.</li>
</ul>
<p>These instructions should be adaptable to other distributions.</p>
<ol style="list-style-type: decimal;">
<li>Fire up/install Ubuntu as normal.</li>
<li> Plug in or enable your Bluetooth adapter. Your Bluetooth adapter will be automatically detected and drivers loaded &#8211; there is nothing for you to do manually here.</li>
<li>If you have NEVER used Bluetooth on your Ubuntu setup before, then go to the next step, otherwise skip to Step 11 because you&#8217;re probably already setup properly.</li>
<li>Get into a terminal.</li>
<li>Verify that your Bluetooth adapter is running with:
<pre><span style="color: #333399;">$ hciconfig -a</span></pre>
<p>If you get details about hci0 listed including manufacturer&#8217;s name, then your adapter is working.</li>
<li>Type in the following to edit your Bluetooth configuration file:
<pre><span style="color: #333399;">$ sudo gedit /etc/bluetooth/hcid.conf</span></pre>
<p>This will bring up the Bluetooth configuration into the GEdit text editor.</li>
<li>Near the top of the file you will see the following:
<pre><span style="color: #333399;"># HCId options
</span><span style="color: #333399;">options {
</span><span style="color: #333399;">       # Automatically initialise new devices</span><span style="color: #333399;">
       autoinit yes;

       # Security Manager mode
       #   none - Security manager disabled
       #   auto - Use local PIN for incoming connections
       #   user - Always ask user for a PIN
       #
       security user;</span></pre>
<p>Change the <strong>security user</strong> line to <strong>security auto</strong></li>
<li>A few lines beneath this is a section that reads as follows:
<pre><span><span style="color: #333399;">       # Default PIN code for incoming connections
       passkey "1234";
</span></span></pre>
<p>Change the <strong>1234</strong> to something else, eg: <strong>4493</strong>. This is the pin number required for other Bluetooth devices to connect to you and it would be insecure to leave it at the default.</li>
<li>Save and exit.</li>
<li>Now restart Bluetooth by typing in:
<pre><span style="color: #333399;">$ sudo /etc/init.d/bluetooth restart</span></pre>
<p>When you do this, an informational bubble will appear in your task bar saying <strong>&lt;hostname&gt;-0 Device has been made connectable</strong>, eg: if your PC&#8217;s name is &#8220;gordon&#8221;, the message would say &#8220;gordon-0 Device has been made connectable&#8221;.</li>
<li>Turn on your Bluetooth headset, but don&#8217;t go into pairing mode just yet.</li>
<li>In your terminal, type in the following:
<pre><span style="color: #333399;">$ hcitool scan</span></pre>
<p>Your PC will now scan for local Bluetooth devices and your headset should appear in the resulting list after a few seconds (along with anyone&#8217;s Bluetooth-enabled mobile phones that are in range). The output will look something like:</p>
<pre><span style="color: #333399;">$ hcitool scan
Scanning ...
       00:11:22:AA:BB:CC        Nokia N95
       00:33:44:DD:EE:FF        BT81
$
</span></pre>
<p>In this example, my PC has found my Nokia mobile phone and my Bluetooth headset and shown me the MAC addresses for both of them.</p>
<p>NOTE: If your headset does NOT appear, you probably already have it paired with something else, like your mobile phone. In this case, switch the headset to pairing mode and then run the scan again.</li>
<li>Highlight and copy the MAC address of the headset to the clipboard using your mouse and CTRL + SHIFT + C.</li>
<li>Now type in:
<pre><span style="color: #333399;">$ gedit ~/.asoundrc</span></pre>
<p><strong>Note the period before &#8220;asoundrc&#8221;.</strong> This will create a new hidden text file called .asoundrc in the root of your Home directory and open GEdit so you can add to it. The file is hidden because of the leading period.</li>
<li>In the text editor, type in the following, replacing the MAC address with the one you copied earlier (paste with CTRL + V):
<pre><span style="color: #333399;">pcm.btheadset {
  type bluetooth
  device 00:33:44:DD:EE:FF
  profile "auto"
}
</span></pre>
<p><em>NOTE: In this example, I am naming the device &#8220;btheadset&#8221;. Yopu can put anything you like here, but avoid using just the word &#8220;bluetooth&#8221; as depending on your distro, you may find that word is reserved.</em></li>
<li>Save and exit.</li>
<li>Now type in:
<pre><span style="color: #333399;">$ sudo hciconfig hci0 voice 0x0060</span><span style="color: #333399;">
$ sudo modprobe snd_bt_sco
$ sudo modprobe sco</span></pre>
<p>This will enable the sound transport on your Bluetooth adapter and load the modules necessary to carry Bluetooth audio. Note that the two modprobe lines will only enable Bluetooth audio temporarily until you reboot. If you would like to load the drivers automatically on each boot, we need to add the modules to the /etc/modules file as follows:</p>
<pre><span style="color: #333399;">$ sudo gedit /etc/modules</span></pre>
<p>Scroll right to the bottom and add the following two lines right on the end:</p>
<pre><span style="color: #333399;">snd_bt_sco
sco</span></pre>
<p>Save &amp; exit.</li>
<li>Now we need to tell PulseAudio that your Bluetooth headset exists:
<pre><span style="color: #333399;">$ pactl load-module module-alsa-sink device=btheadset
$ pactl load-module module-alsa-source device=btheadset</span></pre>
<p>Again this enables your Bluetooth headset for PulseAudio only temporarily. To enable it permanently, we would normally create a new file using <strong>gedit ~/.pulse/default.pa</strong> and paste <span style="color: #000000;">the two lines above into it and then save, however </span><span style="color: red;"><span style="color: #000000;">I&#8217;ve found that this tends to break PulseAudio because the bonding of your headset needs to have occured <strong>before</strong> issuing the above commands, or PulseAudio refuses to start upon reboot. To keep using your Bluetooth headset, you need to execute these commands manually after booting up and pairing. Probably the easiest is to knock up a quick shell script as follows:<br />
</span></span></p>
<pre><span style="color: #333399;">$ gedit "~/Desktop/Setup my headset.sh"</span></pre>
<p><span style="color: red;"><span style="color: #000000;">&#8230;and in the blank text editor, type in the following:<br />
</span></span></p>
<pre><span style="color: #333399;">#!/bin/bash
$ pactl load-module module-alsa-sink device=btheadset
</span><span style="color: #333399;">$ pactl load-module module-alsa-source device=btheadset</span></pre>
<p>Save it, exit and then make it executable with:</p>
<pre><span style="color: #333399;">$ chmod a+x "~/Desktop/Setup my headset.sh"
</span></pre>
<p><span style="color: #000000;">Now you can double-click it on the desktop.</span></li>
<li>We&#8217;re almost ready to pair with the headset and hear some basic audio, but before we do that, do a right-mouse click on the Bluetooth icon in your system tray and choose &#8220;Preferences&#8221;.
<p><div id="attachment_26" class="wp-caption alignnone" style="width: 456px"><a href="http://www.serenux.com/wp-content/uploads/2008/10/bluetoothprefs.png"><img class="size-full wp-image-26" title="Bluetooth Preferences" src="http://www.serenux.com/wp-content/uploads/2008/10/bluetoothprefs.png" alt="Bluetooth Preferences" width="446" height="578" /></a></dt>
</dl>
</div>
</li>
<li>Now click on the Services tab and ensure Audio Service is enabled. If not, check the box and then close the window.
<div class="mceTemp">
<dl id="attachment_27" class="wp-caption alignnone" style="width: 456px;">
<dt class="wp-caption-dt"><a href="http://www.serenux.com/wp-content/uploads/2008/10/bluetoothservicesprefs.png"><img class="size-full wp-image-27" title="Bluetooth Services Preferences" src="http://www.serenux.com/wp-content/uploads/2008/10/bluetoothservicesprefs.png" alt="Bluetooth Services Preferences" width="446" height="578" /></a><p class="wp-caption-text">Bluetooth Services Preferences</p></div></li>
<li>Now type in:
<pre><span style="color: #333399;">$ cat /proc/asound/cards</span></pre>
<p>&#8230;and you should see output similar to the following:</p>
<pre><span style="color: #333399;"> 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xea400000 irq 22</span><span style="color: #333399;">
 1 [Headset        ]: Bluetooth SCO - BT Headset
                      BT Headset 1</span></pre>
<p>This shows us that the system is ready to use the Bluetooth headset as device 1 (but we haven&#8217;t paired it yet, so technically it won&#8217;t be able to use it just yet).</li>
<li> The best way to trigger a pairing is to provoke the unit into a response as the normal methods don&#8217;t always work. Switch your headset into pairing mode (refer to your headset&#8217;s manual).</li>
<li>While the headset it in pairing mode, type in the following:
<pre><span style="color: #333399;">$ aplay -D btheadset -f s16_le /usr/share/sounds/login.wav</span></pre>
<p>This will attempt direct communication with your headset, and within a second or so, an information bubble will appear under the Bluetooth icon in the system tray asking you for the PIN number to access the headset.</p>
<p><div id="attachment_29" class="wp-caption alignnone" style="width: 359px"><a href="http://www.serenux.com/wp-content/uploads/2008/10/pairingrequesttoheadset.png"><img class="size-full wp-image-29" title="Pairing Request to Headset" src="http://www.serenux.com/wp-content/uploads/2008/10/pairingrequesttoheadset.png" alt="Pairing Request to Headset" width="349" height="144" /></a><p class="wp-caption-text">Pairing Request to Headset</p></div></li>
<li>Click on the &#8220;Enter passkey&#8221; button to enter the PIN and then type it in. For most headsets, the PIN is <strong>0000</strong>, but refer to your headset&#8217;s manual.
<div id="attachment_30" class="wp-caption alignnone" style="width: 352px"><a href="http://www.serenux.com/wp-content/uploads/2008/10/pairingwithheadsetcomplete.png"><img class="size-full wp-image-30" title="Pairing with Bluetooth Headset Complete" src="http://www.serenux.com/wp-content/uploads/2008/10/pairingwithheadsetcomplete.png" alt="Pairing with Bluetooth Headset Complete" width="342" height="114" /></a><p class="wp-caption-text">Pairing with Bluetooth Headset Complete</p></div>
<p>Ubuntu should soon after confirm that it has &#8220;bonded&#8221; with the headset and you should suddenly hear the familiar Ubuntu login sound play through your headset! Hooray! We have sound!</p>
<p>Unfortunately only Aplay will play anything through your headset. All other sounds are still coming through your speakers. Unless the application in question can redirect audio to another detected device, it will always play through the standard-out, so applications such as Totem and Rhythmbox will still output via your speakers and not give a hoot about your Bluetooth headset. To fix this, we need to make use of the PulseAudio Server which can redirect output to another device.</li>
<li>The PulseAudio Server is already installed by default in Ubuntu Hardy, so we just need to install some tools to manipulate it. Go back to your terminal and type in the following:
<pre><span style="color: #333399;">$ sudo apt-get install paprefs paman padevchooser</span></pre>
<p>This will install the PulseAudio Preferences GUI app, the PulseAudio Manager GUI app and the PulseAudio Device Chooser GUI app.</li>
<li>Go to Applications-&gt;Sound &amp; Video-&gt;PulseAudio Device Chooser. This will add a black microphone jack icon to your system tray.</li>
<li>Do a left-click on the jack icon and a menu appears. In this menu, choose &#8220;Manager&#8221;. A new window appears.
<p><div id="attachment_34" class="wp-caption alignnone" style="width: 262px"><a href="http://www.serenux.com/wp-content/uploads/2008/10/pulseaudiosystemtraymenu.png"><img class="size-full wp-image-34" title="PulseAudio System Tray Menu" src="http://www.serenux.com/wp-content/uploads/2008/10/pulseaudiosystemtraymenu.png" alt="PulseAudio System Tray Menu" width="252" height="309" /></a><p class="wp-caption-text">PulseAudio System Tray Menu</p></div></li>
<li>If it&#8217;s not already connected, click on the &#8220;Connect&#8221; button to connect to your local PulseAudio server. When connected, you will see details about it listed.
<p><div id="attachment_36" class="wp-caption alignnone" style="width: 510px"><a href="http://www.serenux.com/wp-content/uploads/2008/10/pulseaudiomanager.png"><img class="size-full wp-image-36" title="PulseAudio Manager" src="http://www.serenux.com/wp-content/uploads/2008/10/pulseaudiomanager.png" alt="PulseAudio Manager" width="500" height="446" /></a><p class="wp-caption-text">PulseAudio Manager</p></div></li>
<li>Click on the Devices tab. Under &#8220;Sinks&#8221; you should see an entry for &#8220;alsa_output.btheadset&#8221;. This is picked up directly from your ~/.asoundrc file.
<p><div id="attachment_35" class="wp-caption alignnone" style="width: 509px"><a href="http://www.serenux.com/wp-content/uploads/2008/10/pulseaudiodevicelist.png"><img class="size-full wp-image-35" title="PulseAudio Device List" src="http://www.serenux.com/wp-content/uploads/2008/10/pulseaudiodevicelist.png" alt="PulseAudio Device List" width="499" height="297" /></a><p class="wp-caption-text">PulseAudio Device List</p></div></li>
<li>Now go to the Sample Cache tab. At the bottom is a &#8220;Playback on&#8221; drop-down. Choose <strong>alsa_output.btheadset</strong> from this list and click on the Play button. You should hear the Ubuntu login sound through your headset. This proves to us that PulseAudio can play through your Bluetooth headset (but this is NOT the redirection &#8211; this is just a test).
<p><div id="attachment_37" class="wp-caption alignnone" style="width: 510px"><a href="http://www.serenux.com/wp-content/uploads/2008/10/pulseaudiosamplecache.png"><img class="size-full wp-image-37" title="PulseAudio Sample Cache" src="http://www.serenux.com/wp-content/uploads/2008/10/pulseaudiosamplecache.png" alt="PulseAudio Sample Cache" width="500" height="446" /></a><p class="wp-caption-text">PulseAudio Sample Cache</p></div></li>
<li>Close the PulseAudio Manager.</li>
<li>Do another left-click on the mic jack icon in your system tray.</li>
<li>Go to &#8220;Default Sink&#8221; and then choose &#8220;Other&#8221; from the sub-menu. A window appears.</li>
<li>In this window, type in &#8220;alsa_output.bluetooth&#8221; and click OK.
<p><div id="attachment_38" class="wp-caption alignnone" style="width: 336px"><a href="http://www.serenux.com/wp-content/uploads/2008/10/choosingpulseaudiosink.png"><img class="size-full wp-image-38" title="Choosing PulseAudio Sink" src="http://www.serenux.com/wp-content/uploads/2008/10/choosingpulseaudiosink.png" alt="Choosing PulseAudio Sink" width="326" height="163" /></a><p class="wp-caption-text">Choosing PulseAudio Sink</p></div></li>
<li>Play a sound from somewhere, eg: MP3 or movie in Totem. You should now hear your audio coming through your Bluetooth headset!</li>
<li>To switch back to your speakers, simply click on the mic jack icon again, choose &#8220;Default Sink&#8221; and choose &#8220;Default&#8221; from the sub-menu. The next audio stream played will go back through your speakers.</li>
<li>To make the PulseAudio Device Chooser start automatically on startup, click on the mic jack icon again, choose Preferences from the menu and then click on &#8220;Start applet on Session Login&#8221; in the window.
<p><div id="attachment_39" class="wp-caption alignnone" style="width: 378px"><a href="http://www.serenux.com/wp-content/uploads/2008/10/pulseaudiostartupprefs.png"><img class="size-full wp-image-39" title="PulseAudio Startup Prefs" src="http://www.serenux.com/wp-content/uploads/2008/10/pulseaudiostartupprefs.png" alt="PulseAudio Startup Prefs" width="368" height="374" /></a><p class="wp-caption-text">PulseAudio Startup Prefs</p></div></li>
<li>Enjoy! <img src='http://www.serenux.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.serenux.com/2008/10/howto-use-a-bluetooth-headset-with-ubuntu-hardy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HowTo: Pair your bluetooth phone with Ubuntu Gutsy or Ubuntu Hardy for file transfers etc.</title>
		<link>http://www.serenux.com/2008/10/howto-pair-your-bluetooth-phone-with-ubuntu-for-file-transfers-etc/</link>
		<comments>http://www.serenux.com/2008/10/howto-pair-your-bluetooth-phone-with-ubuntu-for-file-transfers-etc/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 22:33:08 +0000</pubDate>
		<dc:creator>HyRax</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.serenux.com/?p=10</guid>
		<description><![CDATA[To get my blog started, I&#8217;m duplicating my HowTo guides that I wrote on Overclockers Australia here, but updating or modifying them in the process with improvements or snapshots that I didn&#8217;t have before. We&#8217;ll start with my guide on how to pair your Bluetooth phone with Ubuntu Linux. Connecting your phone via Bluetooth has [...]]]></description>
			<content:encoded><![CDATA[<p>To get my blog started, I&#8217;m duplicating my HowTo guides that I wrote on <a title="Go to the Overclockers Australia forums!" href="http://forms.overclockers.com.au" target="_blank">Overclockers Australia</a> here, but updating or modifying them in the process with improvements or snapshots that I didn&#8217;t have before. We&#8217;ll start with my guide on how to pair your Bluetooth phone with Ubuntu Linux.</p>
<p>Connecting your phone via Bluetooth has many advantages including basic file transfer and synchronising your phone contacts and calendar with your PIM.</p>
<p>But how do you do it? If you&#8217;ve never had any idea how to do connect something via Bluetooth, then read this guide. It is based on the guide on LinuxQuestions.org, but with some minor changes to make it easier for novices. You can read the original guide <a href="http://www.linuxquestions.org/linux/answers/Hardware/Bluetooth_Transferring_and_receiving_files_under_Ubuntu" target="_blank">here</a> otherwise step inside my office. <img src='http://www.serenux.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span id="more-10"></span></p>
<p>Prerequisites:</p>
<ul>
<li>Bluetooth-enabled mobile phone (I used a Nokia N95 in this guide).</li>
<li>USB Bluetooth adapter or PC with built-in Bluetooth such as a modern notebook. Your adapter must be Bluetooth 1.2 compliant or higher.</li>
<li>Ubuntu Linux (this guide was built using Gutsy Gibbon 7.10 but also works for Hardy Heron 8.04). <em>NOTE: If you are using Ubuntu Intrepid Ibex or later, <a title="HowTo: Pairing a Bluetooth phone with Ubuntu Intrepid Ibex" href="http://www.serenux.com/?p=187" target="_self">you should use this guide instead</a>.</em></li>
</ul>
<p>Difficulty level: Easy-peasy. Your pet rock could do this.</p>
<ol style="list-style-type: decimal;">
<li>First, plug in your USB Bluetooth adapter or enable it on your notebook. Ubuntu should recognise it immediately with no need for additional drivers. You can confirm that by jumping into a terminal as issuing the lsusb command to list your USB devices:
<pre><span style="color: #333399;">$ lsusb | grep tooth
Bus 001 Device 005: ID 1310:0001 Roper Class 1 Bluetooth Dongle
$</span></pre>
</li>
<li>You&#8217;ll be happy to know that Ubuntu comes pre-installed with everything you need to get Bluetooth running (but not the apps to run on top of it), so it&#8217;s just a case of configuring it. Open up the /etc/bluetooth/hcid.conf file in your favourite text editor:
<pre><span style="color: #333399;">$ sudo nano /etc/bluetooth/hcid.conf</span></pre>
<p>&#8230;and look for the line that has &#8220;security user&#8221; in it and change it to &#8220;security auto&#8221;.</li>
<li>Now we need to change the security PIN number. By default Ubuntu uses &#8220;1234&#8243; which is obviously not very secure. Scroll further down until you see a line with &#8220;passkey &#8220;1234&#8243;;&#8221; and change the number to be any preferred PIN, eg: if you wanted to use 1337 as your PIN, you&#8217;d change the line to look like:
<pre><span style="color: #333399;">passkey "1337";</span></pre>
</li>
<li>Save and close the file.</li>
<li>Now we restart the Bluetooth services to read our changed configuration with:
<pre><span style="color: #333399;">$ sudo /etc/init.d/bluetooth restart</span></pre>
<p>&#8230;and your PC is now ready for being connected to.</li>
<li>It is easier to pair from the phone than it is from the PC, so grab yer phone and open up the Bluetooth Connections option. On my Nokia N95, this is Menu-&gt;Tools-&gt;Bluetooth. Ensure that Bluetooth is turned on.</li>
<li>Open your &#8220;paired devices&#8221; list and select the menu option to add a new device. Allow the phone to begin a search and your PC should come up on your phone with a &#8220;-0&#8243; on the end of the name. Eg: If your PC was called &#8220;gordon&#8221;, it would appear on your phone as &#8220;gordon-0&#8243;.</li>
<li>Choose your PC&#8217;s name in the list. After a second you should get prompted for your PC&#8217;s PIN number. Enter the one you did earlier.</li>
<li>Once connected, your phone may ask you if you want to authorise your PC to make automatic connections to your phone without prompting. Choose what you&#8217;d prefer here.</li>
<li>We&#8217;re nearly done! Ubuntu Hardy users do NOT need to do this step. For Ubuntu Gutsy users ONLY, to get file transfer support going. Open a terminal and enter:
<pre><span style="color: #333399;">$ sudo apt-get install gnome-bluetooth</span></pre>
</li>
<li>Next we need to install a quick workaround for a bug in gnome-bluetooth that affects Bluetooth 1.1 devices. We need to set your Bluetooth adapter back into inquiry results mode so it can find remote devices properly. This has to be executed everytime you restart, so we&#8217;re going to add it to the /etc/rc.local file:
<pre><span style="color: #333399;">$ sudo nano /etc/rc.local</span></pre>
</li>
<li>This is a short file where the last line reads &#8220;exit 0&#8243;. Above this line enter:
<pre><span style="color: #333399;">hciconfig hci0 inqmode 0</span></pre>
<p>&#8230;and then save and exit.</li>
<li>Reboot your PC.</li>
<li>If you are using Ubuntu Gutsy: Go to Applications-&gt;Accessories-&gt;Bluetooth File Sharing. An icon will appear in your tray ready to accept incoming file transfer requests from your phone. To transfer files from your phone to Ubuntu, simply grab your phone and &#8220;Send via Bluetooth&#8221;. If your PC and phone are paired, the transfer will happen without confirmation and get put into your Home directory. If you are not paired, then Ubuntu will prompt you to accept the transfer.If you are using Ubuntu Hardy: Things are even simpler. Up in your system tray is a Bluetooth icon. Simply do a right-mouse click on this icon and choose either &#8220;Send File&#8230;&#8221; (see below) or &#8220;Browse Device&#8230;&#8221; (step 15).
<div id="attachment_13" class="wp-caption alignnone" style="width: 382px"><a href="http://www.serenux.com/wp-content/uploads/2008/10/bluetoothsystemtray.png"><img class="size-full wp-image-13" title="Bluetooth in the System Tray" src="http://www.serenux.com/wp-content/uploads/2008/10/bluetoothsystemtray.png" alt="Bluetooth in the System Tray" width="372" height="167" /></a><p class="wp-caption-text">Bluetooth in the System Tray</p></div>
<p>&#8220;Send File&#8230;&#8221; will bring up a file requester for you to choose a file from. This is what you want to send to your phone.</p>
<div id="attachment_16" class="wp-caption alignnone" style="width: 510px"><a href="http://www.serenux.com/wp-content/uploads/2008/10/filerequester.png"><img class="size-full wp-image-16" title="File Requester" src="http://www.serenux.com/wp-content/uploads/2008/10/filerequester.png" alt="File Requester" width="500" height="317" /></a><p class="wp-caption-text">File Requester</p></div>
<p>Once chosen, you will then be prompted for what Bluetooth device you want to send to. Select your mobile phone from the list and click &#8220;Connect&#8221;.</p>
<div id="attachment_15" class="wp-caption alignnone" style="width: 486px"><a href="http://www.serenux.com/wp-content/uploads/2008/10/deviceselection.png"><img class="size-full wp-image-15" title="Bluetooth Device Selection" src="http://www.serenux.com/wp-content/uploads/2008/10/deviceselection.png" alt="Bluetooth Device Selection" width="476" height="447" /></a><p class="wp-caption-text">Bluetooth Device Selection</p></div>
<p>The File Transfer window will appear showing you the progress of your transferred file. Once complete, your phone should acknowledge the file transfer by advertising that it received a new message like an SMS. Cool, huh?</p>
<p><div id="attachment_12" class="wp-caption alignnone" style="width: 436px"><a href="http://www.serenux.com/wp-content/uploads/2008/10/bluetoothfiletransfer.png"><img class="size-full wp-image-12" title="Transferring a file via Bluetooth" src="http://www.serenux.com/wp-content/uploads/2008/10/bluetoothfiletransfer.png" alt="Transferring a file via Bluetooth" width="426" height="253" /></a><p class="wp-caption-text">Transferring a file via Bluetooth</p></div></li>
<li>Choosing &#8220;Browse Device&#8230;&#8221; from the Bluetooth icon menu will make the device selection window appear. Choose your mobile phone from the list and click on &#8220;Connect&#8221;.
<p><div id="attachment_15" class="wp-caption alignnone" style="width: 486px"><a href="http://www.serenux.com/wp-content/uploads/2008/10/deviceselection.png"><img class="size-full wp-image-15" title="Bluetooth Device Selection" src="http://www.serenux.com/wp-content/uploads/2008/10/deviceselection.png" alt="Bluetooth Device Selection" width="476" height="447" /></a><p class="wp-caption-text">Bluetooth Device Selection</p></div></li>
<li>After a brief delay, a Nautilus window will pop up showing you your phone&#8217;s memory as drives. In my case, my phone&#8217;s internal memory and its memory card appear as two separate drives, presented in the Windows style of C: and E: drives. This allows you to browse your phone as though it were any ordinary USB flash or hard-drive. You can perform all the standard drag &amp; drop or copy &amp; paste file operations now.
<p><div id="attachment_14" class="wp-caption alignnone" style="width: 510px"><a href="http://www.serenux.com/wp-content/uploads/2008/10/browsebluetoothdevice.png"><img class="size-full wp-image-14" title="Browsing my phone via Bluetooth" src="http://www.serenux.com/wp-content/uploads/2008/10/browsebluetoothdevice.png" alt="Browsing my phone via Bluetooth" width="500" height="319" /></a><p class="wp-caption-text">Browsing my phone via Bluetooth</p></div></li>
<li>Finally, you will notice on your desktop a new icon for your phone which will open a Nautilus window when clicked on. I made a custom icon for my Nokia using a reference photo.
<div id="attachment_11" class="wp-caption alignnone" style="width: 187px"><a href="http://www.serenux.com/wp-content/uploads/2008/10/n95desktopicon.png"><img class="size-full wp-image-11" title="n95desktopicon" src="http://www.serenux.com/wp-content/uploads/2008/10/n95desktopicon.png" alt="My Nokia N95's desktop icon" width="177" height="222" /></a><p class="wp-caption-text">My Nokia N95</p></div>
<p>That&#8217;s essentially it! You are now a Bluetooth pro. <img src='http://www.serenux.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ol>
<p>The link to the original LinuxQuestions.org guide also has additional instructions for creating a Launcher to transfer files dropped on its icon to any Bluetooth device and also instructions for hooking up a Bluetooth mouse and keyboard. Worth a read.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.serenux.com/2008/10/howto-pair-your-bluetooth-phone-with-ubuntu-for-file-transfers-etc/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

