UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    OTG DAC support needed

    Scheduled Pinned Locked Moved Google Nexus 5
    16 Posts 7 Posters 1.2k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • CiberSheepC Offline
        CiberSheep @ierihon
        last edited by

        @ierihon Hello. I have moved your post under Nexus 5 category πŸ˜‰

        Another planet, another time, another universe!

        ierihonI KenedaK 2 Replies Last reply Reply Quote 0
        • ierihonI Offline
          ierihon @CiberSheep
          last edited by

          @cibersheep OK. Thanks. πŸ˜‰

          1 Reply Last reply Reply Quote 0
          • KenedaK Offline
            Keneda @CiberSheep
            last edited by

            @cibersheep Not sure this lack of support for his DAC is only on N5.

            2015-2023 : Meizu MX4 ☠️⚰️✝️
            2023-2024 : Nexus 5 ☠️⚰️✝️
            2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
            πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

            PhoenixLandPiratP 1 Reply Last reply Reply Quote 0
            • PhoenixLandPiratP Offline
              PhoenixLandPirat @Keneda
              last edited by

              @keneda all my devices support my usb-c earphoes on android but none on Ubuntu Touch, so it isnt just a nexus issue, howeber, I dothink its specifically a porting issue, and since only a minority of people have or use usb-c dacs, its either over looked, or difficult to debug.

              1 Reply Last reply Reply Quote 0
              • LuksusL Offline
                Luksus
                last edited by

                I assume it is a kernel issue.
                The kernel used by the ubuntu touch port is just too old (3.16 -> Android 5.1) to contain the needed kernel modules, while the nexus 5 already recieved Android 11, which means a much more current kernel.

                ierihonI C flohackF 3 Replies Last reply Reply Quote 0
                • ierihonI Offline
                  ierihon @Luksus
                  last edited by

                  @luksus For info: my DAC work well on Android 6.0.1. I not tested in on older Android Phones.

                  The CM108 interface chip (C-Media CM108) is used for maximum compatibility.

                  LuksusL 1 Reply Last reply Reply Quote 0
                  • LuksusL Offline
                    Luksus @ierihon
                    last edited by Luksus

                    @ierihon
                    Mh. I think even if it is recognized, it will not be used automatically.

                    You could check if pulseaudio is seeing your device:

                    pacmd list-sinks | grep -e 'name:' -e 'index:'
                    

                    And if it gets listed, try to set it as default using the name (i.e.: <my_ext_device>):

                    pacmd "set-default-sink my_ext_device"
                    
                    ierihonI 2 Replies Last reply Reply Quote 0
                    • ierihonI Offline
                      ierihon @Luksus
                      last edited by

                      @luksus Thanks a lot! I will try it later.

                      1 Reply Last reply Reply Quote 0
                      • ierihonI Offline
                        ierihon @Luksus
                        last edited by

                        @luksus there is result:

                        Filed to create secure directory (/root/.config/pulse): No such file or directory
                        There is no PulseAudio daemon running, or it is not running as a session daemon.
                        

                        All settings is default.

                        LuksusL C 2 Replies Last reply Reply Quote 0
                        • LuksusL Offline
                          Luksus @ierihon
                          last edited by Luksus

                          @ierihon did you execute it with sudo? That should not be necessary.
                          Do you have a pulse-directory in your /home/phablet/.config/ ?

                          It is also possible, that your phone with an older halium-port is just not using pulse for audio.
                          I believe there should already be a halium7.1 port for the nexus5. Perhaps it is worth a try...

                          1 Reply Last reply Reply Quote 0
                          • C Offline
                            cavedweller @Luksus
                            last edited by

                            @luksus I think it's a rule/routing issue, I'm on the Vollaphone and I'm facing the same problem, I'm actually dual booting because of it, I use them daily con android.

                            1 Reply Last reply Reply Quote 0
                            • C Offline
                              cavedweller @ierihon
                              last edited by

                              @ierihon Thanks, I'll also test it, because it is properly recognized by pulse and by alsa-utils using aplay -L

                              1 Reply Last reply Reply Quote 0
                              • flohackF Offline
                                flohack @Luksus
                                last edited by

                                @luksus sorry to say but you are wrong, in general vendors do not upgrade the underlying kernel with a newer Android version, they try to stay as much as possible on the one they made already. Thats also the reason why on LineageOS trees you can live comfortably across 5 or 6 Android versions with the same kernel repo πŸ™‚

                                • No security updates or bugfixes
                                • No support for newer hardware

                                Thats what you get with Android. You are suppsed to throw away your device every other year.

                                My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                                LuksusL 1 Reply Last reply Reply Quote 0
                                • LuksusL Offline
                                  Luksus
                                  last edited by

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • LuksusL Offline
                                    Luksus @flohack
                                    last edited by Luksus

                                    @flohack Yes, I forgot that the rootfs is the same across different halium versions.
                                    But I wonder if it still isn't possible, that some components like pulse are used differently.
                                    For example, why does it claim, that no pulseaudio deamon is running for ierihon, while it lists sinks for me on bq 4.5 and FP3?

                                    And isn't it also about kernel modules for a common audiochip, which could be supported by a newer kernel?

                                    Edit:
                                    Ah, you said that they do not upgrade the kernel,
                                    I thought you was talking about vendor blobs.

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post