Forum › Forums › antiX-development › Development › [SOLVED] Split: Bluetooth testing
- This topic has 22 replies, 4 voices, and was last updated Jan 20-11:42 pm by Brian Masinick.
-
AuthorPosts
-
January 8, 2021 at 10:06 pm #49412Member
Xecure
If you have any ideas or see any clear issues, let me know and I’ll try again soon.
I would start with a new thread, and first test:
1. With a similar kernel to EndeavourOS (5.8 antiX kernel, for example).
2. Copy the corresponding firmware file from EndeavourOS to your antiX system.
3. Start debugging with sudo dmesg and see if there are any errors there.- This topic was modified 2 years, 3 months ago by Brian Masinick.
- This topic was modified 2 years, 3 months ago by Brian Masinick.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.January 9, 2021 at 3:47 am #49423Moderator
Brian Masinick
::I’m wondering if the firmware is messed up.
I’m going to reinstall the firmware and check out /lib to make sure all the right files are in place.
The message suggested that the protocol is incorrect and that suggests that something previously there is missing. I’m going to investigate there first. All of the usual programs are there. I’m guessing library corruption.
--
Brian MasinickJanuary 9, 2021 at 8:18 am #49426ModeratorBobC
::I did get anti’s packages installed and got bluetooth to pair with my phone and headphones without the policykit-1 getting installed.
I did not get the headphones to work and couldn’t figure out how to configure them. I tested them from my phone and they worked fine from there. Perhaps there is some other package needed or something that I need to do that isn’t on the menu?
PS: I was able to send a file to my phone but didn’t see a way to send one from the phone to my computer via bluetooth…
Pss: i was able to send a file from the phone to the pc also.
- This reply was modified 2 years, 3 months ago by BobC.
- This reply was modified 2 years, 3 months ago by BobC.
January 9, 2021 at 10:59 am #49434Moderator
caprea
::BobC, until now for getting audio-bluetooth devices to work, pulseaudio-module-bluetooth needs to be installed.and for that pulseaudio.(Otherwise you have to compile bluez-alsa, sounds like Xecure is working on a deb-package))
Tested the only bluetooth- device I own, a nice bluetooth-speaker and this worked without any problems with the new version.(pulseaudio is installed now ,though)
$ LANG=C apt policy policykit-1 policykit-1: Installed: (none) Candidate: 0.105-29+antix1 Version table: 0.105-29+antix1 500 500 http://ftp.halifax.rwth-aachen.de/mxlinux/packages/antix/testing testing/nosystemd amd64 Packages 0.105-29 500 500 http://ftp.de.debian.org/debian bullseye/main amd64 Packages helga@antix1:~ $ LANG=C apt policy blueman blueman: Installed: 2.1.4-1.0antix1 Candidate: 2.1.4-1.0antix1 Version table: *** 2.1.4-1.0antix1 100 100 /var/lib/dpkg/status 2.1.4-1+b1 500 500 http://ftp.de.debian.org/debian bullseye/main amd64 Packages 2.0.8-1.antix1 500 500 http://ftp.halifax.rwth-aachen.de/mxlinux/packages/antix/testing testing/main amd64 PackagesJanuary 9, 2021 at 3:54 pm #49449Moderator
Brian Masinick
::I’m pretty sure that we need the Bluetooth/Wireless firmware installed for our specific devices.
For me, I think it is the Intel Wifi package; I’ll get the name and also the specific library files necessary within the package and check BOTH.
Hopefully that will restore access.--
Brian MasinickJanuary 9, 2021 at 5:19 pm #49462Moderator
Brian Masinick
::pulseaudio-module-bluetooth installed is not the only factor. I have done this without success.
--
Brian MasinickJanuary 9, 2021 at 6:03 pm #49466Moderator
caprea
January 9, 2021 at 9:36 pm #49492Moderator
Brian Masinick
::I’m wondering if the firmware is messed up.
I’m going to reinstall the firmware and check out /lib to make sure all the right files are in place.
The message suggested that the protocol is incorrect and that suggests that something previously there is missing. I’m going to investigate there first. All of the usual programs are there. I’m guessing library corruption.
--
Brian MasinickJanuary 10, 2021 at 3:47 am #49541Moderator
Brian Masinick
::Brian, is pulseaudio running ?
In Debian and MX Linux, yes.
I suspect a defect that affects access to the Bluetooth library calls.
Everything except the actual Bluetooth connect command works.
--
Brian MasinickJanuary 14, 2021 at 8:00 pm #49851Moderator
Brian Masinick
::I have tested several things over the past week.
As I mentioned last week Bluetooth headphones, specifically my Soundcore Life Q10 Bluetooth headphones and I checked another pair of Bluetooth earphones. Both still work fine with my Google Pixel 3 Android phone. They both also work with Endeavor OS as previously discussed.
I tried adding the BlueZ package and the firmware that goes with it. So far no luck. I have problems with it on MX Linux and Debian. It definitely used to work with MX Linux.
However I got it to work with another Linux distribution, openSUSE, suggesting that the RPM and Arch .bz2 packages work. I still think that there is an unresolved Debian package regression, probably in the firmware library.
On Debian when I added the BlueZ package and firmware, then invoked the bluetoothctl command, just after starting the command I had a fatal program error that kills the command but doesn’t crash the entire system. That’s a new problem.
Once I am able to repeat the steps I will create a defect report to either Debian or the package team after checking for existing defects.
This one doesn’t appear to be caused by anything we build in antiX.
--
Brian MasinickJanuary 14, 2021 at 8:18 pm #49854Member
Xecure
::We can try to figure this out if you can share with us the bluetooth device information and the dmesg error outputs related to bluetooth.
I can tell you that I got bluetooth+headset to work on antiX, but my bluetooth device is different than yours. As you say, it could be firmware related (we could compare firmware files for your specific bluetooth device between antiX/Debian and arch), driver related (Depending on the kernel version, we could explore if there were any changes) or, as you suspect, related to the bluetooth Bluez package.We should first diagnose and discard other reasons. If it is in fact as you say, Bluez related, then we can better report the error to Debian maintainers, but I think we should try to diagnose it ourselves first.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.January 14, 2021 at 8:39 pm #49857Moderator
Brian Masinick
::I agree with you. I am not satisfied that I have found the actual issue, though the failure of the bluetoothctl program on Debian provided me with the best clue so far.
My intention is to chase this on Debian because I am almost certain that Bluetooth headphones used to work with MX Linux.
Only a couple of weeks ago I was listening to programs on MX Linux.
When I noticed it not working there I don’t suspect a regression just in our code, I’m seeing it in each Debian based distribution I currently have installed.I may pull in one of the *buntu varieties to further confirm my suspicion and double check exactly what was failing on Debian and check for recent Bluetooth defect reports in their reporting system.
I’m definitely not seeing this confined to antiX, I’m seeing it across each Debian-based distribution I have installed on my Dell Inspiron laptop.
I’ll pursue this, report anything I can actually and accurately reproduce, assuming that I don’t find any existing, recently reported defects.
--
Brian MasinickJanuary 14, 2021 at 8:52 pm #49861Moderator
Brian Masinick
::By the way I listened to programs this past weekend too. I think that I was using my phone. The Acer Chromebook 715 handles Bluetooth well and it is faster than my Dell Inspiron laptop, which is about 5 years old, but the Dell is fast enough and has enough memory and available disk and CPU resources.
The fact that I found another working distribution helps.
I’m not home right now to test so I am researching over the Internet for others who have similar issues.
I will share the results of my findings.
- This reply was modified 2 years, 3 months ago by Brian Masinick.
--
Brian MasinickJanuary 19, 2021 at 7:55 pm #50164Moderator
Brian Masinick
::Has anyone tried a USB Bluetooth dongle with antiX or any other Linux distribution?
I was considering the possibility of getting one of these to try them out.
Here is a link containing some recommendations. I am interested in those who have actually used these.
https://www.addictivetips.com/ubuntu-linux-tips/best-usb-bluetooth-adapters/
--
Brian MasinickJanuary 19, 2021 at 8:14 pm #50166Anonymous
::The user product reviews at amazon.com (and, it’s been a while, but I had a habit of also checking at newegg.com) are often enlightening. I learned to skim the 2,3,4 star (of 5) reviews and avoid the 0 and 5 reviews (0 often indicates PEBCAK, and 5 too often indicates the reviewer either is a “shill”, or was motivated to post a review due to need for self-validation/justification of a purchased item).
-
AuthorPosts
- You must be logged in to reply to this topic.