Date: Wed, 17 Nov 2021 13:36:12 +0100 From: Ludovit Koren <ludovit.koren@gmail.com> To: Hans Petter Selasky <hps@selasky.org> Cc: freebsd-current@freebsd.org Subject: Re: sound on FreeBSD 14.0-CURRENT Message-ID: <86mtm33qo3.fsf@gmail.com> In-Reply-To: <ce0e08ee-1b75-638e-dc3b-b43be77023e7@selasky.org> (Hans Petter Selasky's message of "Wed, 17 Nov 2021 11:50:20 %2B0100") References: <86h7cc5tgq.fsf@gmail.com> <8e946cd7-6380-87cc-9f9d-f624717a0954@selasky.org> <86czn05rcb.fsf@gmail.com> <6c443abb-2d0f-ab04-2d8f-16e74323f4af@selasky.org> <868rxo59ey.fsf@gmail.com> <0bc2da89-337b-c6ed-fd41-0e31f6fde1ae@selasky.org> <86zgq350ty.fsf@gmail.com> <17bb4c38-18d1-ac26-2bfe-d55ba3a23641@selasky.org> <86v90r4y7e.fsf@gmail.com> <093f0d18-c538-9b08-313f-70f9184ad072@selasky.org> <86r1bf3xr0.fsf@gmail.com> <ce0e08ee-1b75-638e-dc3b-b43be77023e7@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86mtm33qo3.fsf>