How to get Bluetooth earbuds to work in BionicPup64?

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
User avatar
Jafadmin
Posts: 385
Joined: Tue Aug 04, 2020 4:51 pm
Has thanked: 68 times
Been thanked: 85 times

Re: How to get Bluetooth earbuds to work in BionicPup64?

Post by Jafadmin »

Here is the '/etc/asound.conf' that gets created.

Code: Select all

#pBluetooth send to 17:EC:5D:F2:4E:A6
   pcm.!default {
   type plug
   slave.pcm {
           type bluealsa
           device "17:EC:5D:F2:4E:A6"
           profile "a2dp"
  }
}
ctl.!default {
  type bluetooth
  interface "hci0"
}

Also, when I run command: 'aplay --list-devices' it only shows the internal speaker

mistfire
Posts: 718
Joined: Thu Jul 16, 2020 2:16 am
Location: CALABARZON, PH
Has thanked: 3 times
Been thanked: 173 times

Re: How to get Bluetooth earbuds to work in BionicPup64?

Post by mistfire »

@Jafadmin

Since your bluealsa was running nice. Try this configuration suggested on this link. Read the documentation very well

https://github.com/Arkq/bluez-alsa
https://github.com/Arkq/bluez-alsa/wiki ... pcm-plugin

In case that your Bluetooth headset works on your puppy. Show me your asound configuration here.

mistfire
Posts: 718
Joined: Thu Jul 16, 2020 2:16 am
Location: CALABARZON, PH
Has thanked: 3 times
Been thanked: 173 times

Re: How to get Bluetooth earbuds to work in BionicPup64?

Post by mistfire »

@Jafadmin

Try this configuration, copy this and save as /etc/asound.conf

Code: Select all

pcm.btreceiver { 
    type plug 
    slave.pcm { 
        type bluealsa 
        device "[ BLUETOOTH MAC ADDRESS HERE ]"
        profile "a2dp" 
    } 
    hint { 
        show on 
        description "Bluetooth Receiver" 
    } 
}

pcm.!default {
    type plug
    slave.pcm "btreceiver"
}

Right now, I'm revising my pBluetooth for BlueAlsa support

mistfire
Posts: 718
Joined: Thu Jul 16, 2020 2:16 am
Location: CALABARZON, PH
Has thanked: 3 times
Been thanked: 173 times

Re: How to get Bluetooth earbuds to work in BionicPup64?

Post by mistfire »

@Jafadmin

You can also try the newly released pBluetooth 4.0 alpha 5
viewtopic.php?f=89&t=1135

And to this procedure again
1. Go to pBluetooth > Paired Devices
2. On your paired bt headset click "Manage"
3. If you see about redirecting audio click it

User avatar
Jafadmin
Posts: 385
Joined: Tue Aug 04, 2020 4:51 pm
Has thanked: 68 times
Been thanked: 85 times

Re: How to get Bluetooth earbuds to work in BionicPup64?

Post by Jafadmin »

Uninstalled Alpha 4 and installed Alpha 5.
re-discovered and re-paired
Clicked "manage device" and clicked "stream to device"
Headset says, "Connected" in my earbuds.

Then nothing. Multiple Soundcard Wizard does not show any new devices
Neither aplay -l or aplay -L show the BT speakers.

There is a piece missing that creates the sound device. Sound does keep playing to the internal speaker.

In my opinion, the bluetooth part is working ok. The problem is that the script or whatever that is responsible for creating the new sound/audio device just isn't present, or doesn't work right.

In all other linuxes, the bt app creates a new sound device for the system to use. That just isn't happening here.

User avatar
Jafadmin
Posts: 385
Joined: Tue Aug 04, 2020 4:51 pm
Has thanked: 68 times
Been thanked: 85 times

Re: How to get Bluetooth earbuds to work in BionicPup64?

Post by Jafadmin »

I guess I'm going to have to shelve this project for now. No time for a deep dive on it. I'll solve this by using Mint, I guess.

Just in case there are others searching for why puppy can't do "user friendly" bluetooth, it seems to boil down to this; Puppy Linux has made an "all-in" commitment to "Direct to ALSA" sound architecture, and the Bluez (bluetooth) folks have made a commitment to the PulseAudio to ALSA to sound toolchain.

Back in the day, serious effort was put into bluetooth on Puppy Linux to the point where it could be used for file transfer, gps, and keyboards, but there has never been a serious effort to create a robust BT to speakers (headphones) solution.

The problem is that now, the "older" computers are all BT capable, and many expect you to use an add-on speaker setup. USB earbuds are everywhere, but puppy has his paws over his eyes on the subject.

All that said, Bluetooth in general is the most convoluted mess I've seen since Windows Millennium Edition. I've never seen a technology before that is so dependent on so many moving pieces and parts. It's like trying to juggle cups of coffee. :?

Last edited by Jafadmin on Sun Jan 03, 2021 8:57 pm, edited 1 time in total.
User avatar
greengeek
Posts: 1384
Joined: Thu Jul 16, 2020 11:06 pm
Has thanked: 535 times
Been thanked: 192 times

Re: How to get Bluetooth earbuds to work in BionicPup64?

Post by greengeek »

I think it is common to have too much Bluetooth stuff going on at once.

And I think pulse audio has the potential to complicate matters further if you are aiming for a simple connection that is completely understood and transparent to manage. Not really in the Puppy tradition.

I have seen most success when Bluetooth functionality is limited to alsa connection to audio headset only - leaving out obex etc capability.

But how to strip modern BT down to audio only?

It would be nice to see a simple module for pairing, a simple module for creating a new default alsa device, and a simple method for switching each audio utility to that new audio default device.

I had that functionality running fine on Slacko 5.6 but newer BT utilities seem to complicate things rather than modularise them.

For some reason I found that certain browsers would find (and stream to...) my BT headphones where no other audio utility would. Seemed to be something to do with asound.conf, asoundrc or similar files that define the default audio device. Some utilities allow selection of audio device from a list but others grab only the alsa default.

I would like to see more investigation around identifying what are the most minimal requirements for alsa definition of a bluetooth pairing as default audio device. Once that is understood the headset connection and selection should be easier.

User avatar
Jafadmin
Posts: 385
Joined: Tue Aug 04, 2020 4:51 pm
Has thanked: 68 times
Been thanked: 85 times

Re: How to get Bluetooth earbuds to work in BionicPup64?

Post by Jafadmin »

This was my final solution for this problem. Easy-peasy .. Works like a charm ..

taotronics.jpg
taotronics.jpg (22.12 KiB) Viewed 1687 times

It's a little smaller than a cigarette lighter.

Last edited by Jafadmin on Wed Sep 01, 2021 4:16 pm, edited 1 time in total.
User avatar
wizard
Posts: 1987
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2655 times
Been thanked: 693 times

Re: How to get Bluetooth earbuds to work in BionicPup64?

Post by wizard »

@Jafadmin

Does your TaoTronics Portable Bluetooth Transmitter for TV have low enough latency to work with videos and not produce lip sync problems? I've tried several and all failed that test.

Thanks
wizard

Big pile of OLD computers

User avatar
Jafadmin
Posts: 385
Joined: Tue Aug 04, 2020 4:51 pm
Has thanked: 68 times
Been thanked: 85 times

Re: How to get Bluetooth earbuds to work in BionicPup64?

Post by Jafadmin »

wizard wrote: Sat Apr 24, 2021 6:21 pm

@Jafadmin

Does your TaoTronics Portable Bluetooth Transmitter for TV have low enough latency to work with videos and not produce lip sync problems? I've tried several and all failed that test.

Thanks
wizard

That's hard for me to accurately gauge. I primarily use it with web browsing. The bluetooth earbuds have a certain amount of latency no matter what. I seriously doubt this setup would be suitable for video editing and production work. Hardwired is the only sane solution for that.

That said, I tried playing some mp4 music videos of live performances and noticed no discernible lag induction.

User avatar
wizard
Posts: 1987
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2655 times
Been thanked: 693 times

Re: How to get Bluetooth earbuds to work in BionicPup64?

Post by wizard »

@Jafadmin
Thanks, my use is for mp4 movies, netflix, and TV so will give it try and let you know.

wizard

Big pile of OLD computers

User avatar
wizard
Posts: 1987
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2655 times
Been thanked: 693 times

Re: How to get Bluetooth earbuds to work in BionicPup64?

Post by wizard »

@Jafadmin

Took me a while, but got a TaoTronics Bluetooth Transmitter and Receiver 2-in-1 Wireless Adapter TT-BA07 from ebay and it does work well with my TV/puppy laptop/bluetooth speaker. Thanks for the tip.

wizard

Big pile of OLD computers

Post Reply

Return to “Users”