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

    No Call or Media Audio Output (F5121)

    Scheduled Pinned Locked Moved Sony Xperia X (F5121 & F5122)
    21 Posts 2 Posters 3.3k Views 1 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.
      • L Offline
        ledfloyd1984
        last edited by

        Hello there,

        I just recently purchased an Xperia X (F5121) on eBay with the intention of installing Ubuntu Touch. Everything seemed to install smoothly, but I am unable to playback any type of audio. I cant even listen to the ringtones in the system settings. Also my audio settings dont appear in the quick settings menu. It just says indicator-sounds (see screenshot).

        Any ideas?

        screenshot20210414_235943578.png

        1 Reply Last reply Reply Quote 0
        • c4pp4C Offline
          c4pp4
          last edited by

          Hi, what is the output of the terminal command:

          pactl info
          
          L 2 Replies Last reply Reply Quote 0
          • L Offline
            ledfloyd1984 @c4pp4
            last edited by

            @c4pp4 Here is the output:

            phablet@ubuntu-phablet:~$ pactl info
            Server String: /run/user/32011/pulse/native
            Library Protocol Version: 30
            Server Protocol Version: 30
            Is Local: yes
            Client Index: 7
            Tile Size: 65496
            User Name: phablet
            Host Name: ubuntu-phablet
            Server Name: pulseaudio
            Server Version: 8.0
            Default Sample Specification: s16le 2ch 44100Hz
            Default Channel Map: front-left,front-right
            Default Sink: sink.fake.sco
            Default Source: source.fake.sco
            Cookie: 0c36:41d0

            1 Reply Last reply Reply Quote 0
            • L Offline
              ledfloyd1984 @c4pp4
              last edited by

              @c4pp4 One thing I failed to mention. I also tried plugging in headphones, and there still wasn't any sound. Afterwards, I tried connecting to a bluetooth speaker, and it worked! I'm beginning to think there is an odd hardware problem here.

              1 Reply Last reply Reply Quote 0
              • c4pp4C Offline
                c4pp4
                last edited by c4pp4

                Another one:

                pacmd list-sinks | grep -E "index:|name:"
                
                L 1 Reply Last reply Reply Quote 0
                • L Offline
                  ledfloyd1984 @c4pp4
                  last edited by

                  @c4pp4 Here's the output:
                  hablet@ubuntu-phablet:~$ pacmd list-sinks | grep -E "index:|name:"

                  • index: 0
                    name: <sink.fake.sco>
                  1 Reply Last reply Reply Quote 0
                  • c4pp4C Offline
                    c4pp4
                    last edited by c4pp4

                    Looks like there is missing a primary sink, the output should be:

                    * index: 0
                          name: <sink.primary>
                      index: 1
                          name: <sink.fake.sco>
                    

                    Another one:

                    pacmd list-modules | grep "name:"
                    
                    L 1 Reply Last reply Reply Quote 0
                    • c4pp4C Offline
                      c4pp4
                      last edited by

                      and

                      pacmd list-cards
                      
                      L 1 Reply Last reply Reply Quote 0
                      • L Offline
                        ledfloyd1984 @c4pp4
                        last edited by

                        @c4pp4 That's weird. Here is the output:

                        phablet@ubuntu-phablet:~$ pacmd list-modules | grep "name:"
                        name: <module-stream-restore>
                        name: <module-augment-properties>
                        name: <module-switch-on-port-available>
                        name: <module-switch-on-connect>
                        name: <module-droid-discover>
                        name: <module-trust-store>
                        name: <module-null-sink>
                        name: <module-null-source>
                        name: <module-bluetooth-policy>
                        name: <module-bluez5-discover>
                        name: <module-native-protocol-unix>
                        name: <module-default-device-restore>
                        name: <module-rescue-streams>
                        name: <module-always-sink>
                        name: <module-suspend-on-idle>
                        name: <module-systemd-login>
                        name: <module-position-event-sounds>
                        name: <module-role-cork>
                        name: <module-role-ducking>
                        name: <module-dbus-protocol>
                        name: <module-filter-heuristics>
                        name: <module-filter-apply>
                        name: <module-cli-protocol-unix>

                        1 Reply Last reply Reply Quote 0
                        • L Offline
                          ledfloyd1984 @c4pp4
                          last edited by

                          @c4pp4 Looks like there aren't any cards:

                          phablet@ubuntu-phablet:~$ pacmd list-cards
                          0 card(s) available.

                          1 Reply Last reply Reply Quote 0
                          • c4pp4C Offline
                            c4pp4
                            last edited by

                            Another one:

                            aplay -l
                            
                            L 1 Reply Last reply Reply Quote 0
                            • L Offline
                              ledfloyd1984 @c4pp4
                              last edited by

                              @c4pp4 Nothing:

                              hablet@ubuntu-phablet:~$ aplay -l
                              aplay: device_list:268: no soundcards found...

                              1 Reply Last reply Reply Quote 0
                              • c4pp4C Offline
                                c4pp4
                                last edited by c4pp4

                                Have you tried to reinstall UT?

                                Another one:

                                cat /proc/asound/cards
                                
                                L 2 Replies Last reply Reply Quote 0
                                • L Offline
                                  ledfloyd1984 @c4pp4
                                  last edited by

                                  @c4pp4 Yes, multiple times. I mainly wanted to see if anybody else experienced this. I now really do think the sound chip is fried. How that happened, I have no clue.

                                  c4pp4C 1 Reply Last reply Reply Quote 0
                                  • c4pp4C Offline
                                    c4pp4 @ledfloyd1984
                                    last edited by

                                    @ledfloyd1984 What channel are you using?

                                    L 1 Reply Last reply Reply Quote 0
                                    • L Offline
                                      ledfloyd1984 @c4pp4
                                      last edited by

                                      @c4pp4 Same thing:

                                      phablet@ubuntu-phablet:~$ cat /proc/asound/cards
                                      --- no soundcards ---

                                      1 Reply Last reply Reply Quote 0
                                      • L Offline
                                        ledfloyd1984 @c4pp4
                                        last edited by

                                        @c4pp4 I selected the dev channel that is selected by default for the Xperia X. Cant remember the exact name.

                                        c4pp4C 1 Reply Last reply Reply Quote 0
                                        • c4pp4C Offline
                                          c4pp4 @ledfloyd1984
                                          last edited by

                                          @ledfloyd1984 Can you try stable?

                                          L 1 Reply Last reply Reply Quote 1
                                          • L Offline
                                            ledfloyd1984 @c4pp4
                                            last edited by

                                            @c4pp4 Yeah, I tried that as well. No results. Not sure whats going on here.

                                            c4pp4C 1 Reply Last reply Reply Quote 0
                                            • c4pp4C Offline
                                              c4pp4 @ledfloyd1984
                                              last edited by c4pp4

                                              @ledfloyd1984 Maybe syslog can help:

                                              cat /var/log/syslog | grep -E "audio|tasha"
                                              

                                              Or you can try to manually load missing modules:

                                              pacmd load-module module-droid-card-24 rate=44100 quirks=+unload_call_exit
                                              pacmd load-module module-droid-glue-24
                                              

                                              You can try to install back an android rom to test audio.

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