No sound with ATI HD audio

Forum Forums New users New Users and General Questions No sound with ATI HD audio

  • This topic has 12 replies, 6 voices, and was last updated Nov 28-10:06 pm by stevesr0.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #66591
    Anonymous

      This rig (a laptop) seems to detect 2 sound cards.

      Control Center -> Hardware -> Set default sound card

      HDMI: HDA-Intel - HDA ATI HDMI
      Generic: HDA-Intel - HD-Audio Generic

      But only the second one works.
      The thing is, if booting the Antix live system, it always sets the first one as default, so I got curious.

      With the first device set:

      demo@antix1:~
      $ speaker-test
      
      speaker-test 1.1.8
      
      Playback device is default
      Stream parameters are 48000Hz, S16_LE, 1 channels
      Using 16 octaves of pink noise
      ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave
      Playback open error: -2,No such file or directory
      demo@antix1:~
      $

      Inxi output:

      demo@antix1:~
      $ inxi -Fxz
      System:
        Host: antix1 Kernel: 4.9.0-264-antix.1-amd64-smp x86_64 bits: 64 
        compiler: gcc v: 8.3.0 Desktop: IceWM 2.3.4 
        Distro: antiX-19.4_x64-base Grup Yorum 20 May 2021 
        base: Debian GNU/Linux 10 (buster) 
      Machine:
        Type: Laptop System: Gateway product: NE-522 v: V2.02 serial: <filter> 
        Mobo: Gateway model: NE-522 v: V2.02 serial: <filter> UEFI: Insyde v: 2.02 
        date: 05/03/2013 
      Battery:
        ID-1: BAT0 charge: 1.6 Wh condition: 23.4/37.0 Wh (63%) 
        model: SANYO AL12A32 status: Charging 
      CPU:
        Topology: Dual Core model: AMD E1-2500 APU with Radeon HD Graphics 
        bits: 64 type: MCP arch: Jaguar rev: 1 L2 cache: 1024 KiB 
        flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
        bogomips: 5589 
        Speed: 1200 MHz min/max: 800/1400 MHz Core speeds (MHz): 1: 800 2: 1000 
      Graphics:
        Device-1: AMD Kabini [Radeon HD 8240 / R3 Series] 
        vendor: Acer Incorporated ALI driver: radeon v: kernel bus ID: 00:01.0 
        Display: server: X.Org 1.20.4 driver: ati,radeon 
        unloaded: fbdev,modesetting,vesa resolution: 1366x768~60Hz 
        OpenGL: 
        renderer: AMD KABINI (DRM 2.49.0 4.9.0-264-antix.1-amd64-smp LLVM 7.0.1) 
        v: 4.5 Mesa 18.3.6 direct render: Yes 
      Audio:
        Device-1: AMD Kabini HDMI/DP Audio vendor: Acer Incorporated ALI 
        driver: snd_hda_intel v: kernel bus ID: 00:01.1 
        Device-2: AMD FCH Azalia vendor: Acer Incorporated ALI 
        driver: snd_hda_intel v: kernel bus ID: 00:14.2 
        Sound Server: ALSA v: k4.9.0-264-antix.1-amd64-smp 
      Network:
        Device-1: Qualcomm Atheros QCA8171 Gigabit Ethernet 
        vendor: Acer Incorporated ALI driver: alx v: kernel port: 2000 
        bus ID: 01:00.0 
        IF: eth0 state: down mac: <filter> 
        Device-2: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter 
        vendor: Lite-On driver: ath9k v: kernel port: 2000 bus ID: 05:00.0 
        IF: wlan0 state: up mac: <filter> 
        Device-3: Lite-On Atheros AR3012 Bluetooth type: USB driver: btusb 
        bus ID: 4-2:5 
      Drives:
        Local Storage: total: 223.57 GiB used: 591.6 MiB (0.3%) 
        ID-1: /dev/sda vendor: A-Data model: SU650 size: 223.57 GiB 
      Partition:
        ID-1: / size: 3.63 GiB used: 591.6 MiB (15.9%) fs: overlay source: ERR-102 
      Sensors:
        System Temperatures: cpu: 53.5 C mobo: 37.0 C gpu: radeon temp: 53 C 
        Fan Speeds (RPM): N/A 
      Info:
        Processes: 125 Uptime: 3h 19m Memory: 5.28 GiB used: 336.0 MiB (6.2%) 
        Init: SysVinit runlevel: 5 Compilers: gcc: 8.3.0 Shell: bash v: 5.0.3 
        inxi: 3.0.36 
      demo@antix1:~
      $

      Any advise by chance?
      Thanks beforehand.

      #66639
      Forum Admin
      rokytnji
        Helpful
        Up
        0
        ::

        Grabbed this from here

        https://www.icomputo.com/2019/02/sin-sonido-con-alsa-amd-fch-azalia.html

        what we have to do is add a line in a configuration file that would be the following:

        Too do a look see 1st.

        cat /etc/modprobe.d/50-alsa.conf
        `

        Then add this line. to file using preferred text editor.

        options snd-hda-intel index = 1.0

        Good luck. I always backup original root files by renaming them to .old

        cd /etc/modprobe.d

        Make sure it is there 1st

        ls

        Then to backup before editing

        sudo cp 50-alsa.conf 50-alsa.conf.old

        • This reply was modified 1 year, 8 months ago by rokytnji.

        Sometimes I drive a crooked road to get my mind straight.
        Not all who Wander are Lost.
        I'm not outa place. I'm from outer space.

        Linux Registered User # 475019
        How to Search for AntiX solutions to your problems

        #66763
        Anonymous
          Helpful
          Up
          0
          ::

          Had to create the file because it doesn’t exist by default.

          Tried both possibilities one at a time:

          options snd-hda-intel index = 1.0
          options snd-hda-intel index=1,0

          (because internet search suggest it’s actually the second one)

          Restarted desktop session…
          None worked in the end.

          Some other advise by chance?
          Thanks.

          By the way, what’s the command line equivalent for the Control Center -> Hardware -> Test sound option? I suspect it’s speaker-test but with some options…

          #66789
          Forum Admin
          rokytnji
            Helpful
            Up
            0
            ::

            I usually use man speaker-test or go over here for options
            https://linux.die.net/man/1/speaker-test

            Just wondering here since my suggestion was way off base before.

            Can you access Bios and enable/disable sound chips to test?

            I am kinda lost on what to suggest next also. These newer hardware is getting beyond my pay grade.

            Gateway hardware especially. Being that they are budget based high end newer gear.
            https://www.cnet.com/products/gateway-ne52204u-45004g50dnsk-15-6-a4-5000-4-gb-ram-500-gb-hdd/

            Sometimes I drive a crooked road to get my mind straight.
            Not all who Wander are Lost.
            I'm not outa place. I'm from outer space.

            Linux Registered User # 475019
            How to Search for AntiX solutions to your problems

            #66790
            Forum Admin
            rokytnji
              Helpful
              Up
              0
              ::

              Also curious

              sudo updatedb

              Wait to let it finish. Takes just a minute or 2.

              locate alsa.conf

              Since you said it was not in that location I referred to earlier.

              Sometimes I drive a crooked road to get my mind straight.
              Not all who Wander are Lost.
              I'm not outa place. I'm from outer space.

              Linux Registered User # 475019
              How to Search for AntiX solutions to your problems

              #66791
              Forum Admin
              rokytnji
                Helpful
                Up
                0
                ::

                Also, arecord comes with antix.

                https://www.cyberciti.biz/tips/howto-display-soundcards-digital-audio-devices.html

                Sometimes I drive a crooked road to get my mind straight.
                Not all who Wander are Lost.
                I'm not outa place. I'm from outer space.

                Linux Registered User # 475019
                How to Search for AntiX solutions to your problems

                #66795
                Member
                Xecure
                  Helpful
                  Up
                  0
                  ::

                  The “Choose Sound card” program should save the configuration in your home user folder when the card changes. It should create a file ~/.asoundrc to store the change.
                  If it didn’t, you can either create it manually or use this script to save the change permanently.

                  antiX Live system enthusiast.
                  General Live Boot Parameters for antiX.

                  #66841
                  Anonymous
                    Helpful
                    Up
                    0
                    ::

                    I think I may have not been able to explain myself since OP.

                    What I meant is, the second device -the “generic” one- does work. And yes, I did notice since the beginning that when choosing the sound card file ~/.asoundrc is created, while running speaker-test command creates file ~/.alsaequal.bin.

                    It’s the first device, the “HDMI” one, the one not working and giving the speaker-test error shown in OP. I know second one is seemingly working, but I was really curious about getting the first one to work…

                    Also, after another internet search, I understood that the only thing the 50-alsa.conf thing does is just setting that audio device as default. But what is it worth if device doesn’t even work at all to begin with?

                    By the way, I managed to solve my previous Control Center command line doubt; it’s in the antixcc.sh script.

                    #67026
                    Member
                    starnutter
                      Helpful
                      Up
                      0
                      ::

                      Could the solution be something as simple as using the commandline AlsaMixer app to unmute or to route the audio to the correct speaker outputs?

                      #67031
                      Member
                      ex_Koo
                        Helpful
                        Up
                        0
                        ::

                        Why do you want to get HDMI sound working in the first place. HDMI sound is mostly used to send sound to a TV from a movie playing on your computer. Also HDMI sound is controlled by your video card.
                        You will never hear hdmi sound on your laptop it is meant to send sound to another device from your laptop..

                        Graphics:
                        Device-1: AMD Kabini [Radeon HD 8240 / R3 Series]
                        Audio:
                        Device-1: AMD Kabini HDMI/DP Audio vendor: Acer Incorporated ALI
                        driver: snd_hda_intel v: kernel bus ID: 00:01.1

                        #67039
                        Forum Admin
                        rokytnji
                          Helpful
                          Up
                          0
                          ::

                          I use Pulse Audio when casting my AntiX 19 Acer C710 Chromebook to hdmi on my bedroom TV.

                          Because it lets you switch sound settings on the fly. I installed mine through the antix package manager. Since it comes packaged for our non systemd distro.
                          I did not synaptic package manager to install pulse audio.

                          Also to get things going. I need to hit chomebooks hot key combo to get off chromebook screen and project to TV through hdmi.

                          Sometimes I drive a crooked road to get my mind straight.
                          Not all who Wander are Lost.
                          I'm not outa place. I'm from outer space.

                          Linux Registered User # 475019
                          How to Search for AntiX solutions to your problems

                          #68738
                          Anonymous
                            Helpful
                            Up
                            0
                            ::

                            If HDMI audio is made to send sound *from* laptop to another different device, and *not* to be used by laptop itself, then why does ALSA list it always as *first* device then?

                            demo@antix1:~
                            $ aplay -l
                            **** List of PLAYBACK Hardware Devices ****
                            card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
                              Subdevices: 1/1
                              Subdevice #0: subdevice #0
                            card 1: Generic [HD-Audio Generic], device 0: ALC282 Analog [ALC282 Analog]
                              Subdevices: 1/1
                              Subdevice #0: subdevice #0
                            demo@antix1:~
                            $

                            Also evident in other ways:
                            Control Center -> Hardware -> Set default sound card, see order in which devices are listed; also seen in Inxi output (see this thread’s OP).

                            #71899
                            Member
                            stevesr0
                              Helpful
                              Up
                              0
                              ::

                              reply to October comment – it is NOT listed first on my system (AntiX-19 full).

                              stevesr0

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