Linux Lite Forums
Sem som quando reinicia - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Languages (https://www.linuxliteos.com/forums/forumdisplay.php?fid=9)
+--- Forum: Other (https://www.linuxliteos.com/forums/forumdisplay.php?fid=44)
+--- Thread: Sem som quando reinicia (/showthread.php?tid=9695)

Pages: 1 2


RE: Sem som quando reinicia - di0lh0 - 11-14-2025

[Image: gM9GyFbBLfXH.png]
There's a popping sound coming from the amplified speaker. However, no sound came out because when I checked the settings, it still shows as headphones.


RE: Sem som quando reinicia - stevef - 11-14-2025

OK. Thank you for your patience.
I am looking for terminal commands that will do the equivalent of the fix you make with the GUI.

I need a bit more time and information to look for better terminal commands.
When you have the popping sound, can you run this command ?
Code:
pacmd list-sinks
Then use the GUI to switch from headphone to speakers
Then run the same command again.
Code:
pacmd list-sinks
and post the results back.

If you post terminal results as text rather than pictures, it makes it easier to translate.
Thank you.


RE: Sem som quando reinicia - di0lh0 - 11-14-2025

pactl list sinks | grep Nome

Nome: auto_null
 
pacmd set-card-profile 0 output:analog-stereo+input:analog-stereo


pacmd list-sinks
1 sink(s) available.
  * index: 1
name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9039
volume: front-left: 17039 /  26% / -35.10 dB,  front-right: 17039 /  26% / -35.10 dB
        balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 1
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
            Estéreo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
card: 0 <alsa_card.pci-0000_00_1b.0>
module: 7
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "VT1705 Analog"
alsa.id = "VT1705 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xfe500000 irq 29"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "1c20"
device.product.name = "6 Series/C200 Series Chipset Family High Definition Audio Controller"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "352800"
device.buffering.fragment_size = "176400"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Estéreo analógico"
device.description = "Áudio interno Estéreo analógico"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-output-lineout: Line Out (priority 9000, latency offset 0 usec, available: no)
properties:

analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output-headphones>

**********************************************************************
pacmd list-sinks
1 sink(s) available.
  * index: 1
name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: IDLE
suspend cause: (none)
priority: 9039
volume: front-left: 22937 /  35% / -27.36 dB,  front-right: 22937 /  35% / -27.36 dB
        balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 37.53 ms
max request: 6 KiB
max rewind: 6 KiB
monitor source: 1
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
            Estéreo
used by: 0
linked by: 1
configured latency: 40.00 ms; range is 0.50 .. 2000.00 ms
card: 0 <alsa_card.pci-0000_00_1b.0>
module: 7
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "VT1705 Analog"
alsa.id = "VT1705 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xfe500000 irq 29"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "1c20"
device.product.name = "6 Series/C200 Series Chipset Family High Definition Audio Controller"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "352800"
device.buffering.fragment_size = "176400"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Estéreo analógico"
device.description = "Áudio interno Estéreo analógico"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-output-lineout: Line Out (priority 9000, latency offset 0 usec, available: no)
properties:

analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output-lineout>
 raz  ~ 


RE: Sem som quando reinicia - stevef - 11-14-2025

Thank you
Boot the system.
Ensure your speakers are connected, powered up and volume set to normal level.

Open a terminal by pressing Ctrl, Alt and T
In the terminal enter these commands followed by return.
Code:
pacmd set-card-profile 0 output:analog-stereo+input:analog-stereo
Code:
pacmd set-sink-port 0 analog-output-lineout
Then without trying the GUI workaround, check to see if the system audio works.
Let us know the result.


RE: Sem som quando reinicia - di0lh0 - 11-14-2025

[Image: LTW6jVdYFJeY.png]


RE: Sem som quando reinicia - stevef - 11-14-2025

Thank you
Boot the system.
Ensure your speakers are connected, powered up and volume set to normal level.

Open a terminal by pressing Ctrl, Alt and T
In the terminal enter these commands followed by return.
Code:
pacmd set-card-profile 0 output:analog-stereo+input:analog-stereo
Code:
pacmd set-sink-port alsa_card.pci-0000_00_1b.0 analog-output-lineout
Then without trying the GUI workaround, check to see if the system audio works.
Let us know.


RE: Sem som quando reinicia - di0lh0 - 11-14-2025

[Image: qchTcKxH1LWF.png]

I sent this command and the negative response to MetaAI, and it gave me this answer, and when I executed the first command, it changed.

The output shows that the sound device is currently set to use the "Headphones" port. To switch to the "Line Out" port, try this command:

pacmd set-sink-port 1 analog-output-lineout

If that doesn't work, you can also try:

pactl set-sink-port 1 analog-output-lineout


RE: Sem som quando reinicia - di0lh0 - 11-15-2025

Thank you for your help, which led me to the code to initialize the sound.
I created a .sh file, put the commands in it, gave it permissions, and placed it in the launcher.


RE: Sem som quando reinicia - stevef - 11-15-2025

You're welcome. The intention was to put the 'fix' commands into a pulseaudio configuration file, but a launcher does the same. It is a workaround - we still don't understand why the problem happens on your system.
Thank you for your cooperation and patience.


RE: Sem som quando reinicia - di0lh0 - 11-15-2025

I was using Linux Antix and had the same problem.

I also had a problem with the LED light settings; they remained on at maximum brightness even using the f.lux application. I tried Linux Lite and was able to control the LED lights using f.lux.

Although Linux Antix uses much less memory and allows me to open more programs, that backlight was driving me crazy.

I'll post this solution on my X and on my Telegram channel.