Tiny Core Extensions > TCE 2.x

bluez

<< < (2/2)

Juanito:
Hmm - 'don't know what happened there - it should be OK now.

Juanito:
adjusted start-up script so it does not start bluez when the extension is loaded - use /usr/local/etc/init.d/bluez:
--- Code: ---Title:          bluez.tcz
Description:    bluez for tinycore
Version:        4.53
Author:         see list of sites below
Original-site:  see list of sites below
Copying-policy: see list of sites below
Size: 484KB
Extension_by:   juanito
Comments:       bluez for tc 2.x
                Requires the bt-2.6.29.1-tinycore, libusb, dbus, dbus-glib,
                glib2 and expat2 extensions.
                Optionally can use the alsa and alsa-modules-2.6.29.1-tinycore..
                ..extensions for sound over bluetooth.
                Optionally can use the obex and fuse extensions to transfer files
                ..and mount file systems over bluetooth.
                Optionally can use the bluez-gnome extension and deps to pair
                Optionally can use the python, dbus-python and pygobject..
                extensions with simple-agent to pair
                ----------
                This extension contains:
                bluez-4.53 - GPLv2 - http://www.kernel.org/pub/linux/bluetooth/bluez-4.53.tar.bz2
                ----------
                Howto:
                load the appropriate bt modules for your hardware, then
                $ sudo /usr/local/etc/init.d/bluez [start|stop|restart|status]
                ----------
                Howto pair:
                $ sudo simple-agent hci0 00:12:EE:A6:1D:F4
                ...
                Enter PIN Code: XXXX (0000 for a bluetooth headset)
                ----------
                To enable sound:
                $ cp /etc/alsa/example_.asoundrc /home/tc
                edit the bluetooth address
                ..to test bt headphones
                $ aplay -Dplug:bluetooth -v /usr/local/share/sounds/alsa/Noise.wav
                ..to test bt headset "testing, testing, 1, 2, 3.."
                $ arecord -D bluetooth -f S16_LE | aplay -D bluetooth -f S16_LE
                ----------
Change-log:     2009/05/01
                Added simple-agent and other applets, updated 4.37 -> 4.41
                2009/06/17
                Added pand support, updated 4.41 -> 4.43
                bluez now contains a udev rule that might start bluetooth on..
                ..its own as long as dbus is started. If dbus is not started..
                ..start it and then "sudo udevtrigger --subsystem-match=bluetooth"
                2009/06/17
                updated 4.43 -> 4.53, moved /etc/bluetooth, dbus-1, udev -> /usr/local
                added bluetooth cups printer support
                2009/09/22
                removed start on loading extension
Current:        2010/01/31

--- End code ---

Juanito:
updated extension posted:
--- Code: ---Title:          bluez.tcz
Description:    bluetooth stack
Version:        4.63
Author:         see list of sites below
Original-site:  see list of sites below
Copying-policy: see list of sites below
Size: 508KB
Extension_by:   juanito
Comments:       Official Linux Bluetooth protocol stack
                ----------
                Optionally can use the alsa and alsa-modules-2.6.29.1-tinycore..
                ..extensions for sound over bluetooth.
                Optionally can use the gstreamer and gstplugins-base extensions
                Optionally can use the obex and fuse extensions to transfer files
                ..and mount file systems over bluetooth.
                Optionally can use the bluez-gnome extension and deps to pair
                Optionally can use the python, dbus-python and pygobject..
                extensions with simple-agent to pair
                ----------
                This extension contains:
                bluez-4.63 - GPLv2 - http://www.kernel.org/pub/linux/bluetooth/bluez-4.63.tar.bz2
                ----------
                Howto:
                $ sudo /usr/local/etc/init.d/bluez [start|stop|restart|status]
                ..in my case, this loads all required modules
                ----------
                Howto pair:
                $ sudo simple-agent hci0 00:12:EE:A6:1D:F4
                ...
                Enter PIN Code: XXXX (0000 for a bluetooth headset)
                ----------
                To enable sound:
                $ cp /etc/alsa/example_.asoundrc /home/tc
                edit the bluetooth address
                ..to test bt headphones
                $ aplay -Dplug:bluetooth -v /usr/local/share/sounds/alsa/Noise.wav
                ..to test bt headset "testing, testing, 1, 2, 3.."
                $ arecord -D bluetooth -f S16_LE | aplay -D bluetooth -f S16_LE
                ----------
Change-log:     2009/05/01
                Added simple-agent and other applets, updated 4.37 -> 4.41
                2009/06/17
                Added pand support, updated 4.41 -> 4.43
                2009/06/17
                updated 4.43 -> 4.53, moved /etc/bluetooth, dbus-1, udev -> /usr/local
                added bluetooth cups printer support
                2009/09/22
                removed start on loading extension
                2010/01/31
                updated 4.53 -> 4.63, added gstreamer support
Current:        2010/04/11

--- End code ---

Navigation

[0] Message Index

[*] Previous page

Go to full version