WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Is bluetooth working at all?  (Read 3257 times)

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Is bluetooth working at all?
« on: April 07, 2010, 05:14:52 AM »
I am trying to get bluetooth working and finally, after doing bluez start, have managed to get bluez-wizard to see a remote device in a list. However, the passkey is a problem - no passkey is prompted for; has this issue been solved yet? Or is bluetooth not a going concern due to the passkey issue? (I have not yet seen any of the devices I have paired, not ask for a passkey, so that seems a major stumbling block.)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Is bluetooth working at all?
« Reply #1 on: April 07, 2010, 09:34:51 AM »
Bluetooth is working fine for me on a couple of machines and with various bluetooth devices - headset, headphones, smart phone.

Both bluez-gnome and the passkey agent work for pairing - bluez-gnome automatically recognises whether the other device is dumb (i.e. headset with code 0000) or smart (i.e. smart phone where you can echo a random code).

What does "hcitool scan" show?

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: Is bluetooth working at all?
« Reply #2 on: April 07, 2010, 06:04:59 PM »
I read up some at launchpad https://bugs.launchpad.net/ubuntu/+source/bluez-gnome/+bug/284994 and found there are a number of devices with fixed passcodes such as my Holux GPS module that do not pair - these need the facility in the wizard for their passkey to be inputted. So I am out of luck with the Holux which is OK, I wasn't intending to use it anyway. I subsequently tried my phone and was able to pair.

I mounted fuse and obex - could I access my phone's files? So far I haven't found info on how to proceed.

Once I have ll this down I will update the wiki.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Is bluetooth working at all?
« Reply #3 on: April 07, 2010, 11:32:31 PM »
You could probably use simple-agent instead of bluez-gnome to pair to a device with a fixed PIN - see info for syntax and this thread:

http://forum.tinycorelinux.net/index.php?topic=1414.msg8129#msg8129

You can access your smart phones files by using obex and/or fuse, eg:
Code: [Select]
$ obexftp -b 00:1E:45:8B:2A:33 -p /mnt/sda1/docs/tools            
Browsing 00:1E:45:8B:2A:33 ...
Connecting...done
Sending "/mnt/sda1/docs/tools"...\done
Disconnecting...done

Edit: and these might help:

http://damnsmalllinux.org/cgi-bin/forums/ikonboard.cgi?act=ST;f=26;t=17073;hl=part+and+bluetooth+and+dsl
http://damnsmalllinux.org/cgi-bin/forums/ikonboard.cgi?act=ST;f=26;t=17173;hl=part+and+bluetooth+and+dsl
http://damnsmalllinux.org/cgi-bin/forums/ikonboard.cgi?act=ST;f=26;t=17437;hl=part+and+bluetooth+and+dsl
http://damnsmalllinux.org/cgi-bin/forums/ikonboard.cgi?act=ST;f=26;t=17777;st=0
http://damnsmalllinux.org/cgi-bin/forums/ikonboard.cgi?act=ST;f=26;t=18247;hl=part+and+bluetooth+and+dsl
« Last Edit: April 07, 2010, 11:58:52 PM by Juanito »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Is bluetooth working at all?
« Reply #4 on: April 12, 2010, 04:22:48 AM »
I'll try to see if I can get blueman to work - maybe it will help make the whole bluetooth thing more accessible.

..at the cost of a dep list worthy of rhythmbox.

Online curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11050
Re: Is bluetooth working at all?
« Reply #5 on: April 12, 2010, 06:40:43 AM »
Juanito, IIRC connman has bluetooth support, maybe it would be lighter?

It would appear that connman-gnome doesn't actually need gnome:
http://gpo.zugaina.org/gnome-extra/connman-gnome/Dep#ptabs
« Last Edit: April 12, 2010, 06:45:00 AM by curaga »
The only barriers that can stop you are the ones you create yourself.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Is bluetooth working at all?
« Reply #6 on: April 13, 2010, 01:45:21 AM »
Thanks for the suggestion - I appear to have blueman working, so let me persevere with this first and then try connman next.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Is bluetooth working at all?
« Reply #7 on: April 15, 2010, 08:56:25 AM »
blueman posted

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: Is bluetooth working at all?
« Reply #8 on: April 15, 2010, 09:00:45 PM »
Thanks, I'll try blueman tonight.