[SOLVED] Split: Bluetooth testing

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.
Viewing 15 posts - 1 through 15 (of 23 total)
  • Author
    Posts
  • #49412
    Member
    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, 4 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.

      #49423
      Moderator
      Brian Masinick
        Helpful
        Up
        0
        ::

        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 Masinick

        #49426
        Moderator
        BobC
          Helpful
          Up
          0
          ::

          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, 4 months ago by BobC.
          • This reply was modified 2 years, 4 months ago by BobC.
          #49434
          Moderator
          caprea
            Helpful
            Up
            0
            ::

            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 Packages
            
            #49449
            Moderator
            Brian Masinick
              Helpful
              Up
              0
              ::

              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 Masinick

              #49462
              Moderator
              Brian Masinick
                Helpful
                Up
                0
                ::

                pulseaudio-module-bluetooth installed is not the only factor. I have done this without success.

                --
                Brian Masinick

                #49466
                Moderator
                caprea
                  Helpful
                  Up
                  0
                  ::

                  Brian, is pulseaudio running ?

                  #49492
                  Moderator
                  Brian Masinick
                    Helpful
                    Up
                    0
                    ::

                    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 Masinick

                    #49541
                    Moderator
                    Brian Masinick
                      Helpful
                      Up
                      0
                      ::

                      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 Masinick

                      #49851
                      Moderator
                      Brian Masinick
                        Helpful
                        Up
                        0
                        ::

                        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 Masinick

                        #49854
                        Member
                        Xecure
                          Helpful
                          Up
                          0
                          ::

                          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.

                          #49857
                          Moderator
                          Brian Masinick
                            Helpful
                            Up
                            0
                            ::

                            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 Masinick

                            #49861
                            Moderator
                            Brian Masinick
                              Helpful
                              Up
                              0
                              ::

                              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 Masinick

                              #50164
                              Moderator
                              Brian Masinick
                                Helpful
                                Up
                                0
                                ::

                                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 Masinick

                                #50166
                                Anonymous
                                  Helpful
                                  Up
                                  0
                                  ::

                                  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).

                                Viewing 15 posts - 1 through 15 (of 23 total)
                                • You must be logged in to reply to this topic.