Page 1 of 1

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

Posted: Sat Dec 19, 2020 8:28 pm
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


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

Posted: Sun Dec 20, 2020 1:09 am
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.


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

Posted: Sun Dec 20, 2020 9:57 am
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


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

Posted: Sun Dec 20, 2020 10:41 am
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


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

Posted: Mon Dec 21, 2020 9:33 pm
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.


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

Posted: Sun Jan 03, 2021 5:05 pm
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. :?


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

Posted: Sun Jan 03, 2021 6:17 pm
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.


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

Posted: Wed Jan 27, 2021 11:28 pm
by Jafadmin

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

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

It's a little smaller than a cigarette lighter.


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

Posted: Sat Apr 24, 2021 6:21 pm
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


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

Posted: Sun Apr 25, 2021 5:18 pm
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.


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

Posted: Sun Apr 25, 2021 8:36 pm
by wizard

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

wizard


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

Posted: Sun May 23, 2021 1:01 am
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