Tiny Core Extensions > TCE Q&A Forum

bluetooth

(1/3) > >>

eclectic-os:
Installed bluez-tce, pair-icon is visible, but what's next?

Expected clicking on icon would start a window to enter pincode, to search for devices etc.? But nothing shows up  :-\

(Have no problem with phone connecting to same box using windows, once spent a  lot of time in connecting bluetooth-phone to another linux, but can't recall steps undertaken).

Who is willing to help me get connected?

Juanito:
As per the bt.tcel.info file:
--- Code: ---Requires bluetooth-2.6.26.tcem, usb-utils.tcel, dbus_glib.tcel
                and glib2.tcel
                Optionally can use alsa.tcel, obex.tcel and fuse.tcel
                ----------
                Howto:
                load the appropriate bt modules for your hardware, then
                $ sudo mkdir -p /var/lib/dbus
                $ sudo dbus-uuidgen --ensure
                $ sudo mkdir /var/run/dbus
                $ sudo dbus-daemon --system
                $ sudo mkdir /etc/dbus-1/session.d
                $ sudo bluetoothd
--- End code ---

..and as per bluez-gnome.tcel.info:
--- Code: ---Requires bt-4.17.tcel, dbus_glib.tcel and gtk+-2.12.11.tcel
--- End code ---
..so i need to update the .info file, but the .dep file is OK.

In my case "load the appropriate bt modules for your hardware" means:
--- Code: ---$ sudo modprobe bluetooth
$ sudo modprobe hci_usb
$ sudo modprobe l2cap 
$ sudo modprobe rfcomm
$ sudo modprobe bnep 
$ sudo modprobe sco
--- End code ---

If you downloaded bt.tcel and bluez-gnome.tcel via the appbrowser then you will have all the neccessary extensions loaded.

Does this make things a little clearer?

eclectic-os:
Thanks for reply, clicking on bt-icon shows a window. Now I'm stuck because my phone doesn't show up (yet)  :(

I'm having some questions though. As I wrote in my first line, thought I installed bluez.tce. But of course, that was wrong, I installed bluez-gnome.tcel, a library. Bluez-gnome loads bt.tcel, but as a user I won't read the bt.tcel info, so I will not be aware of issuing commands (because I'm spoiled  ;), I don't even expect to issue a command, especially because I use TCL without any persistency)?

What I expected, is an install like the other exensions, for example 'bluetooth.tce' which gets everything done in one 'user-step'. Don't know if that's possible, or someone can make this happen?



 

Juanito:
I thought about making a script for this, but the problem is that it is (probably) not possible to know what modules a user would need for his/her bluetooth hardware in advance.

If the bluez-gnome window is blank, then I would guess that either your machines bluetooth is not activated, or your phone is not "discoverable".

Once you know which modules work for your hardware, it is not too difficult to make a bluetooth start-up script (this is what I do).

What bluetooth hardware do you have?

eclectic-os:

--- Quote from: Juanito on April 11, 2009, 01:34:24 PM ---If the bluez-gnome window is blank, then I would guess that either your machines bluetooth is not activated, or your phone is not "discoverable".
--- End quote ---
My machines bluetooth is no activated because I didn't load modules yet.


--- Quote ---What bluetooth hardware do you have?

--- End quote ---
Don't know, remember there was a command to find out ....

Navigation

[0] Message Index

[#] Next page

Go to full version