WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: bluez  (Read 5361 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
bluez
« on: May 02, 2009, 03:27:48 AM »
bluez tcel/tczl extensions posted:
Code: [Select]
Title:          bluez.tcel
Description:    bluez for tinycore
Version:        4.37
Author:         see list of sites below
Original-site:  see list of sites below
Copying-policy: see list of sites below
Size: 367KB
Extension by:   juanito
Comments:       bluez for tinycore
                Requires bt-2.6.29.1-tinycore.tcem, usb-utils.tcel, dbus_glib.tcel
                and glib2.tcel
                Optionally can use alsa.tcel, bluez-gnome.tcel, obex.tcel and fuse.tcel
                ----------
                This extension contains:
                bluez-4.37 - GPLv2 - http://www.kernel.org/pub/linux/bluetooth/bluez-4.37.tar.gz
                ----------
                Howto:
                load the appropriate bt modules for your hardware, then
                click on the bt-start menu item/icon
                ----------
                ..or $ sudo /etc/init.d/bluez start|restart|stop|status
                ----------
                To enable sound:
                $ cat ~/.asoundrc
                pcm.bluetooth {
                type bluetooth
                device "00:12:EE:A6:1D:F4"
                profile "auto"
                }

                ctl.bluetooth {
                type bluetooth
                }
                ..to test bt headphones
                $ aplay -Dbluetooth -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:     First version
Current:        2009/05/01

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: bluez
« Reply #1 on: June 19, 2009, 11:07:37 AM »
updated bluez tcel/tczl extensions posted:
Code: [Select]
Title:          bluez.tcel
Description:    bluez for tinycore
Version:        4.41
Author:         see list of sites below
Original-site:  see list of sites below
Copying-policy: see list of sites below
Size: 381KB
Extension by:   juanito
Comments:       bluez for tc 2.x
                Requires the bt-2.6.29.1-tinycore, usb-utils, 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.41 - GPLv2 - http://www.kernel.org/pub/linux/bluetooth/bluez-4.41.tar.bz2
                ----------
                Howto:
                load the appropriate bt modules for your hardware, then
                click on the bt-start menu item/icon
                ----------
                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
Current:        2009/06/17

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: bluez
« Reply #2 on: July 06, 2009, 02:36:01 AM »
Updated bluez tcel/tczl posted. Note that the extension now contains "pand" and a udev rule to start bluetooth. I gave this a go on my laptop, which has a hardware switch to enable/disable bluetooth:

Case 1
Boot with hw switch off
Load all required extensions
Start dbus manually (menu item/icon will start dbus and bluetooth)
hw switch on

Result: All required modules load, bluetooth starts and is ready to pair.

Case 2
Boot with hw switch on
Load all required modules except bt-2.6.29.1-tinycore
Start dbus manually
load bt-2.6.29.1-tinycore

Result: All required modules load, bluetooth starts and is ready to pair.

Case 3
Boot with hw switch on
Load all required modules
[udev loads bluetooth and btusb modules]
Start dbus manually
"sudo udevtrigger --subsystem-match=bluetooth"

Result: The rest of the required modules load, bluetooth starts and is ready to pair.

Note that I left the menu item/icon to start dbus/bluetooth in the extension as I am not sure that the udev rule will work with various bluetooth dongles, pcmcia, etc

Code: [Select]
Title:          bluez.tcel
Description:    bluez for tinycore
Version:        4.43
Author:         see list of sites below
Original-site:  see list of sites below
Copying-policy: see list of sites below
Size: 394KB
Extension_by:   juanito
Comments:       bluez for tc 2.x
                Requires the bt-2.6.29.1-tinycore, usb-utils, 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.43 - GPLv2 - http://www.kernel.org/pub/linux/bluetooth/bluez-4.43.tar.bz2
                ----------
                Howto:
                load the appropriate bt modules for your hardware, then
                click on the bt-start menu item/icon
                ----------
                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"
Current:        2009/06/17

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: bluez
« Reply #3 on: September 22, 2009, 09:41:33 AM »
updated bluez.tczl posted.

A start-up script has been added to the extension.

As long as the extensions are loaded in the order in which they are listed in the dep file, the dbus daemon will start, the bt modules will load and the bluetooth daemon will start automatically

Note:
1. For versions of tc earlier than 2.4rc1, the automatic start-up will not occur if the extensions and dep files are in /tce because the boot process loads the extensions in alphabetical order.
2. The automatic start-up will occur if the various extensions and dep files are placed in /tce/optional (or any other folder) and the appbrowser is used to load the bluez.tczl extension.

Note also:
The bluez.tcel extension has not been modified.

Code: [Select]
Title:          bluez.tczl
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: 424KB
Extension_by:   juanito
Comments:       bluez for tc 2.x
                Requires the bt-2.6.29.1-tinycore, usb-utils, 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:
                If your bluetooth hardware is enabled in bios and/or..
                hardware, then the start-up script should take care of..
                loading the bt modules and starting bluetooth
                ----------
                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 /usr/local/etc/alsa/example_.asoundrc /home/tc/.asoundrc
                edit the bluetooth address and start alsa
                ..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 and start-up script
Current:        2009/09/22
« Last Edit: September 23, 2009, 09:33:48 AM by Juanito »

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: bluez
« Reply #4 on: October 11, 2009, 06:18:00 AM »
Tried to install the bluez, but I get messages about the MD5sum not matching, and it mentions xxx.tcel instead of xxx.tczl.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: bluez
« Reply #5 on: October 11, 2009, 06:24:35 AM »
Hmm - 'don't know what happened there - it should be OK now.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: bluez
« Reply #6 on: January 31, 2010, 02:01:59 PM »
adjusted start-up script so it does not start bluez when the extension is loaded - use /usr/local/etc/init.d/bluez:
Code: [Select]
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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: bluez
« Reply #7 on: April 13, 2010, 07:45:19 AM »
updated extension posted:
Code: [Select]
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