Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: jur 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.)
-
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?
-
I read up some at launchpad https://bugs.launchpad.net/ubuntu/+source/bluez-gnome/+bug/284994 (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.
-
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 (http://forum.tinycorelinux.net/index.php?topic=1414.msg8129#msg8129)
You can access your smart phones files by using obex and/or fuse, eg: $ 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=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=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=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=17777;st=0)
http://damnsmalllinux.org/cgi-bin/forums/ikonboard.cgi?act=ST;f=26;t=18247;hl=part+and+bluetooth+and+dsl (http://damnsmalllinux.org/cgi-bin/forums/ikonboard.cgi?act=ST;f=26;t=18247;hl=part+and+bluetooth+and+dsl)
-
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.
-
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
-
Thanks for the suggestion - I appear to have blueman working, so let me persevere with this first and then try connman next.
-
blueman posted
-
Thanks, I'll try blueman tonight.