I don't have sound on main speaker,

Hello, I don’t have sound on my main speaker, but after injecting headphones and sucking them out it appears. I think the problem is in incorrectly detecting sound device. How to solve problem ?

Welcome to ask :fedora:

Please provide more info.
We need to know if this is laptop or desktop?
is it fully updated?
What is your main speaker? integrated as a laptop or external as most desktops, or in the monitor via hdmi?

Please run sudo dnf upgrade to make sure everything is the latest version, then post the output of inxi -Fzxx in the </> Preformatted text tags available on the menu bar above.

There are some other commands related to audio that others may ask for, but this will get us the hardware and software starting point.