Tiny Core Extensions > TCE Q&A Forum

bluetooth

<< < (2/3) > >>

Juanito:
With your bluetooth device plugged-in and/or enabled, one of these two commands should help identify it:
--- Code: ---$ lspci
$ lsusb
--- End code ---

Note that for "lsusb" to work, you will need to load the usb-utils extension.

As an example, on my laptop:
--- Code: ---$ lsusb
...
Bus 002 Device 004: ID 413c:8140 Dell Computer Corp. Wireless 360 Bluetooth

--- End code ---

eclectic-os:
lsusb shows a Cambridge Silicon Radio bluetooth dongle (HCI mode).

(Just for curiousity, why not integrate in cpanel?)

Juanito:
I'd hazard a guess that your bluetooth dongle would work with the same modules as mine, but you might also need hci_vhci.ko.gz and/or hci_uart.ko.gz and/or led-class.ko.gz

You could give this a go:

First use the appbrowser or load the extensions manually (bluetooth-2.6.26.tcem, usb-utils.tcel, dbus_glib.tcel, glib2.tcel, bt.tcel, gtk2.tcel, atk.tcel, cairo.tcel, pango.tcel, pixman.tcel, expat2.tcel, graphics-libs-1.tcel, libxml2.tcel, fontconfig.tcel, ttf-bitstream-vera.tce)

Then try this:
--- Code: ---$ sudo modprobe bluetooth
$ sudo modprobe hci_usb
$ sudo modprobe l2cap 
$ sudo modprobe rfcomm
$ sudo modprobe bnep 
$ sudo modprobe sco
$ 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 ---

Then see if you see anything in the bluez-gnome window. If it works then great, if it doesn't work, it would be useful if you could paste any error messages and the results of "dmesg | tail -25" here for troubleshooting purposes.

eclectic-os:
Thank you, phone gets connected  ;D

Remember I used some gui to transfer files, can't remember it's name now, browsing the extensions doesn't give me a hint. Is there a gui available?

Juanito:

--- Quote ---Remember I used some gui to transfer files, can't remember it's name now, browsing the extensions doesn't give me a hint. Is there a gui available?
--- End quote ---

That depends  :)

You can use the obex and fuse extensions to transfer files to/from a phone/pda/etc from a terminal window. In some cases you can "mount" your phone/pda file system in tinycore and then use the emelfm/emelfm2 extensions as a gui to transfer files.

With my old se p900 I used to be able to mount its file system, but with my new se p1i, I cannot - this is apparently due to the way obex is implemented on the p1i.

With the obex and fuse extensions loaded in addition to all of the bt/bluez-gnome extensions, something like this might work:
--- Code: ---$ sudo mkdir /mnt/pda
$ sudo obexfs -b 00:1E:45:8B:2A:33 /mnt/pda
$ ls /mnt/pda                     
External D  Internal
$ ls /mnt/pda/Internal
Music     Picture   Video     document  other
--- End code ---
..where 00:1E:45:8B:2A:33 is the bt address of your phone/pda

Once the mount point /mnt/pda is established, you can use emelfm to transfer files.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version