Hello,

I am trying to get sound working in FreeBSD. I read 9th chapter of FreeBSD handbook(https://docs.freebsd.org/en/books/handbook/multimedia/). I have succesfully configured the sound card, it shows in dmesg | grep pcm and also in cat /dev/sndstat. however when I try to use beep command to test the speaker, it doesn’t work ( I can’t hear anything from the sound card).

  • zer0@lemm.ee
    link
    fedilink
    arrow-up
    3
    ·
    5 days ago

    Hi,
    Don’t know if you already tried that, but you can select the one you want with:
    sysctl hw.snd.default_unit=number_you_see_in_sndstat.

    • whoareuOP
      link
      fedilink
      arrow-up
      1
      ·
      5 days ago

      Yes, I tried doing that but it didn’t work. It’s something related to my sound card. FreeBSD detects my sound card but it couldn’t play sound for some reason.

      • zer0@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        4 days ago

        Did you put yourself in the group operator?
        Also check if the sound is not muted with mixer.
        I know it’s basic stuff but sometimes we forget about simple things.

        • whoareuOP
          link
          fedilink
          arrow-up
          1
          ·
          4 days ago

          Did you put yourself in the group operator?

          no, but even when I did put my user into operator group it still doesn’t work.

          mixer command says the volume is 71%.

          I think something weird is going on since my sound card isn’t listed of the website but the kernel detects my sound card.

          • zer0@lemm.ee
            link
            fedilink
            arrow-up
            2
            ·
            4 days ago

            I think something weird is going on since my sound card isn’t listed of the website but the kernel detects my sound card

            Yes it’s possible, it can be a “too fresh hardware” situation for FreeBSD, what is your device?