Re: sound on FreeBSD 14.0-CURRENT
- Reply: Hans Petter Selasky : "Re: sound on FreeBSD 14.0-CURRENT"
- In reply to: Hans Petter Selasky : "Re: sound on FreeBSD 14.0-CURRENT"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 17 Nov 2021 12:36:12 UTC
>>>>> Hans Petter Selasky <hps@selasky.org> writes:
    > Hi Ludovit,
    >> It does not work automatically on the new notebook. I suppose pcm1,
    >> is
    >> the output for the jack headphones.
    >> I just tried without virtual_oss, with virtual_oss, starting with -f
    >> /dev/dsp0; /dev/dsp1; /dev/dsp2; /dev/dsp1.0; /dev/dsp2.0; then using
    >> virtual_oss_cmd using different devices and using virtual_oss_cmd as you
    >> mentioned in the email.
    >> Still no success... (and next I would like to run bluetooth
    >> headphones....)
    > Again, please show all the commands you try and the output from
    > them. Else I cannot help you figure this out!
    > Your setup should be like this:
    > mixer -f /dev/mixer0 -s vol 100
    > mixer -f /dev/mixer0 -s pcm 100
>mixer -f /dev/mixer0 -s vol 100
pcm0:mixer: mic
>mixer -f /dev/mixer0 -s pcm 100
pcm0:mixer: mic
    > mixer -f /dev/mixer1 -s vol 100
    > mixer -f /dev/mixer1 -s pcm 100
>mixer -f /dev/mixer1 -s vol 100
>mixer -f /dev/mixer1 -s pcm 100
(no output)
    > killall virtual_oss
    > virtual_oss \
    >   -B -S -Q 1 -C 2 -c 2 \
    >   -T /dev/sndstat \
    >   -r 48000 \
    >   -b 24 \
    >   -s 8.0ms \
    >   -R /dev/dsp0 \
    >   -P /dev/dsp0 \
    >   -c 2 \
    >   -d dsp \
    >   -t vdsp.ctl
    > # if you play something now, do you have sound in your regular speakers?
firefox, chrome both play via speakers
    > virtual_oss_cmd /dev/vdsp.ctl -P /dev/dsp1
    > # if you play something now, do you have sound in your headphone jack?
firefox plays via speakers
chrome plays via headphones (heureka)
Difference is pulseaudio in default settings...?! (and jack)
    > If the answer is "no" to the last question and "yes" to the first
    > question, there may be some quirks needed for the sound card:
    > Please read through:
    > man snd_hda
I wil read and try some setup...
    > First and then try to search the FreeBSD forums for similar issues.
Thank you.
lk