clockworkpi

Bluetooth Scan finds nothing?

I have a pair of Bluetooth headphones that would be nice to use for the Gameshell, but I go into Bluetooth and press the button to scan and it just scans seemingly endlessly, finding nothing/ I have tried while connected to both Wifi and USB Ethernet. Is there any way to make this work? If not, I have wired headphones I can use but Bluetooth would be nicer.

1 Like

Have you ever tried to search answer befor creating new thread?!

I did. Unless I looked wrong, nothing came up.

1 Like

bluetooth headphones are not available for gameshell

only mouse,keyboard ,all small data transfer devices

1 Like

Dang. Any word on when or if that feature will exist?

1 Like

maybe in the next version of gameshell

1 Like

Blockquote
are you sure? https://forum.clockworkpi.com/search?q=bluetooth

Actually, asking about Bluetooth audio now is actually something that could very well be applicable now, given the recent advances. A lot has changed since the posts relating to Bluetooth quotes as a search query.

Now with this;

we may very well be able to do more with the Bluetooth stack, possibly incorporating something like this:

I’m curious to see if this goes further.

I managed to get audio over Bluetooth working with pulseaudio. The problem is that it is stuttering and the sound comes out unstable. I didn’t put much effort on it anyway. If one want to try, can start from here:

https://wiki.debian.org/BluetoothUser/a2dp

https://wiki.debian.org/BluetoothUser

https://wiki.archlinux.org/index.php/Bluetooth_headset

Remember to add the user to the bluetooth group, and don’t run pulseaudio as root.

I don’t like pulseaudio because it gets more processing power than just alsa. I won’t work on it for now. It is open if someone wants to help :smiley:

Why you say this? Does the BT interface have some speed limitation that cannot handle audio well? I managed to get audio, but somehow stuttering.

The Bluetooth module is the bcm43430, the same that Raspberry Pi3 has. I don’t know if there is another way to connect it to the SOC instead of SDIO, but If they get sound over bluetooth we should get as well, no?

To be honest I just tried the BT sound quickly with my Debian image because you said “not available”, or impossible… I like these words. :upside_down_face: Now you need to give me a hardware limitation for this not work, and I believe on you :grin:

4 Likes

lol, great work
I am very sorry if I give any misleading advices
the way I see is that the bluetooth on gameshell we managed is just a serial port

so I think, I thought, that the speed of the data transfer can not handle the audio well

2 Likes

Hi @guu,

didn’t want to say that, your help is very valuable :slight_smile:. I’m just curious and you are probably correct about the speed limit.

I don’t know, but maybe there is a way to get audio working properly if we can change the speed. In the datasheet of the AP6212 we see that the BT can transfer data up to 4Mbps using UART http://wiki.friendlyarm.com/wiki/images/5/57/AP6212_V1.1_09022014.pdf

This is probably enough for audio, but I don’t know, and I have no experience with it. The problem (I think) is that with the binary we have to upload the firmware (brcm_patchran_plus) we don’t specify the speed, maybe there is a way to increase it with another firmware loader or an argument.

The Rpi3 uses another method to load the firmware, and I couldn’t make it work with our firmware using their utility.

Unfortunately, I cannot work on it at the moment and I don’t see it as important as getting the HDMI audio working with my image. Bluetooth audio will always consume processing power that is very limited on the Gameshell. It would be great to listen to music, not for gaming, but it would be nice to have it anyway.

2 Likes

Somewhat related, but I know that for my raspberry pi 3 that issue set up to stream my Vita to my TV, I need to have an external USB Bluetooth dongle attached despite it having Bluetooth onboard.

I can’t recall if it was a bus speed limitation issue, or just an outdated A2DP profile or something.

Regardless! If that is at all a solution of sorts, perhaps having an option to use a USB Bluetooth dongle could bring some light to audio; both sending and receiving. (Over Bluetooth)

2 Likes

I managed to make it :grinning:. I’m still testing with my image, the thing is just increasing the baudrate.

2 Likes