Stream Music from PC to Audio System via Bluetooth

Booting, installing, newbie
Message
Author
tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#41 Post by tempestuous »

Great news. Based on rcrsn51's results, I have created a "hotfix" dotpet from the following Trusty Tahr packages:
gir1.2-glib-2.0_1.40.0-1ubuntu0.2_i386
libgirepository-1.0-1_1.40.0-1ubuntu0.2_i386
python-dbus_1.2.0-2build2_i386
python-gi_3.12.0-1ubuntu1_i386

Download here -
http://www.smokey01.com/tempestuous/str ... fix-01.pet
For now you need to install this in addition to the original "bluez_4.101-for-streaming.pet"
Eventually I will repackage everything together.

My instructions appear to be correct. Refer earlier post -
http://www.murga-linux.com/puppy/viewto ... 646#822646
User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#42 Post by Semme »

Kattman, you may need this pkg to bring 6.0 up to speed..
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#43 Post by rcrsn51 »

tempestuous wrote:My instructions appear to be correct.
See my comment about possibly needing the hci0 argument with bluez-simple-agent. That was crucial with my speaker.
tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#44 Post by tempestuous »

OK, I have updated the instructions. Eventually I will create a new post in the "HOWTO" section.

A question, please; if you reboot, then start the bluetooth daemon,
will your Puppy computer then automatically pair with your bluetooth receiver?
Or do you have to run the "bluez-simple-agent ..." command again?
User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#45 Post by rcrsn51 »

tempestuous wrote:if you reboot, then start the bluetooth daemon,will your Puppy computer then automatically pair with your bluetooth receiver?
Yes.
Or do you have to run the "bluez-simple-agent ..." command again?
No.
tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#46 Post by tempestuous »

Useful information. Thanks.
rcrsn51 wrote:On the next reboot, the bluetooth service did not start automatically, so I had to run

Code: Select all

/etc/init.d/bluetooth start
Yes, very strange. I was thinking that the bluetooth daemon fails to start at bootup because maybe a bluetooth interface is not yet active ... but no, I can start the bluetooth daemon even when a bluetooth device is not present.

So maybe for the final dotpet package I should remove the bluetooth start script from /etc/init.d
and just have the end-user launch the daemon on-demand, possibly from a desktop icon??
User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#47 Post by rcrsn51 »

There is a lot of stuff in /etc/init.d/bluetooth that I don't understand and doesn't seem to be mission-critical. Maybe it could all be replaced with a line to start bluetoothd.
tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#48 Post by tempestuous »

Ideally I would like to have some form of tray button, to toggle the bluetooth daemon on and off.
tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#49 Post by tempestuous »

rcrsn51 has written a tray applet for this, and I have repackaged all files. Details here -
"Bluetooth + streaming for tahrpup 6.x"
http://www.murga-linux.com/puppy/viewtopic.php?t=97456
Post Reply