Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > General Help
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

General Help
All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old October 14th, 2005   #1
joker667
First Cup of Ubuntu
 
Join Date: Oct 2005
Beans: 3
Thumbs up HOWTO: Using Bluetooth to acces Mobile Phone and use BT-Headset to use Skype

I just dont know where to post it, so please feel free to move it. Comments appreaciated


Mission: Use Bluetooth to access the Files on my Mobile Phone, and to use my Bluetooth Headset with Skype - in 3 Chapters


PART 1: Copy Files from and to Mobile Phone (K700i) - simple

1. Install bluez-utils
2. Install kdebluetooth (gnome bluetooth is not as far developed as kde I think), libopenobex, qobex
3. Install konqueror
4. Check /etc/bluetooth/hcid.conf:
security should be user
pairing should be multi
pin_helper should be /usr/bluez-pin
5. restart bluez-utils /etc/init.d/bluez-utils restart
6. start kbluetoothd (it sometimes needs to be startet twice on my machine until the icon shows up in the System Notifications Tray)
7. Enable Bluetooth on your Device (Mobile Phone etc.)
8. If you click on the kbluetoothd Icon, konqueror will show up with "bluetooth:/" location, listing all BT Devices found
9. Click on your Device (sometimes only the MAC-Adress shows up), konqui will list all supported Services, and start using the Service (for my Mobile, K700i its obex File Transfer, then I can browse my Mobile like a Disk Drive, copying what I want). Previous to that, my phone wants to pair with my PC, aksing for a PIN. Just guess one (1234), after that a popup on the PC should occour, asking for the same PIN.
10. You could also send Files from the Phone to your PC, then a popup will show up, asking you, if you wish to receive the file.



PART 2: Using a Bluetooth Headset - tricky, but also easy when knowing how

1. Load Kernel Module for btsco: "sudo modprobe btsco", checking "dmesg" if it runs. To load it permanently add it to /etc/modules, just write "btsco" at the end of the File
2. Install the following missing (at least on my system) packages needed by the btsco Userspace driver. Easy, because you have apt-get or synaptic:
gcc
gcc-4.0
altgcc
libc6-dev
linux-kernel-headers
libasound2-dev
libao-dev
libbluetooth1-dev
3. Download latest btsco from http://sourceforge.net/projects/bluetooth-alsa/, unzip to Desktop perhaps
4. Time for the shell!
cd btsco-0.4
./configure
make
sudo make install
5. Now pair your Headset with your PC (as above with the Mobile):
- Headset needs to be in pairing-mode (often this is accomplished with holding the on buttons for a looong time)
- start kbluetoothd, click on it, in the opened konqueror window click on the headset (sometimes the MAC-Adress shows up)
- a popup should request the PIN for the Headset from you (mostly "0000" or "1234")
6. Start the btsco Userspace Program: "btsco -v 00:00:00:00:00" replace the zeros with the MAC Adress of your Headset (right click on kbluetoothd icon, connection details)
7. Verify its working:
- "aplay -B 1000000 -D plughw:Headset sound.wav" (replace sound.wav with a Wave-File of your choice. An MP3 also works, but you will only hear strange noise
- Use XMMS: Options -> Preferences -> Audio I/O -> Output Plugin. Select ALSA -> configure, and select your Headset as Audiodevice. Restart XMMS and you should hear the music with the Headset.
- You can use the VolumeManager from gnome to adjust the volume, right click on the speaker in the tray -> Settings -> File -> Change Device

Everyday Use: If you load the Kernelmodule automatically, you just need to execute "btsco -v your_headsets_mac_adress" - really easy for everyday use. You can optional start kbluetoothd to check Signalstreght etc.



PART 3: Using Skype

1. In Breezy, there is currently no easy way to install Skype (broken dependencies,you can just grab an older Version from here: http://www.mneylon.com/blog/archives...ype-on-breezy/ , http://www.mneylon.com/blog/go.php?h....0.11_i386.deb. Install it via "sudo dpkg -i skype_1.2.0.11_i386.deb
Alternative: http://www.ubuntuforums.org/showthread.php?t=75107, or

2. Launch Skype, go to options Headset and select "/dev/dsp1" as device

3. Try to call "echo123" to check it, when you just hear garbage, turn your headset off and on again, and start "btsco -v 00:00:00:00:00" again. This happens on my Machine every second time I try to use my Headset - also under WindowsXP!
joker667 is offline   Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:05 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry