LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-03-2022, 06:01 PM   #16
rf99_
LQ Newbie
 
Registered: Apr 2022
Posts: 6

Original Poster
Rep: Reputation: 0

I can't find a solution to this problem, so I found a workaround. I have another computer that I use as a server, so I plugged the speakers to it and then sent the audio over the LAN with Pulseaudio/Pipewire.

I wish I knew better ways to debug this kind of problem and where to look for things...

Well... It works now. Should we mark this as solved? My problem is solved.
 
Old 05-03-2022, 08:58 PM   #17
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
If interested, read below, otherwise feel free to mark as solved
I may have (2) solutions, in the same post found by searching for your analog device 4383

https://forums.linuxmint.com/viewtopic.php?t=317775

solution (1) you will notice this post discuss a work around for hdmi not analog but claims there is a sleep command required due to video card (which uses hdmi) being too slow for the sound initialization.

solution (2) involves re-detecting a change in hdmi hw ids and me thinks we can ignore if you are happy with analog.
but it might be possible to mod that script to analog. Me thinks you could manually try the analog of this....so here is the original hdmi solution (1)
Quote:
bash -c "sleep 5 && pacmd load-module module-alsa-sink device=hw:1,3
Now we look at your aplay output for analog and we have hw:0.0 so maybe try creating a script called /usr/local/bin/sound-fix.sh, using root powers
Quote:
#!/bin/bash
[ -f /tmp/sound-pid ] || touch /tmp/sound-pid
bash -c "sleep 5 && pacmd load-module module-alsa-sink device=hw:0,0
use root powers to make it executable
Code:
chmod 755 /usr/local/bin/sound-fix.sh
Then in xfce....as local user create a file called
~/.config/autostart/sound-fix.desktop

with contents
Quote:
Exec=/usr/local/bin/sound-fix.sh

I want a file to be created in /tmp....is to prove the autostart file works,
but it only works for each boot....so logout and login....already has file if autostart worked the first time

On full reboot.....check for the existance of that file under /tmp first please
and if it exists....report if sound is good if you have the time to try this

Last edited by aus9; 05-03-2022 at 09:10 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Network constantly disconnecting and reconnecting tcnm Linux - Networking 6 06-25-2015 08:40 AM
USB drive keeps disconnecting and reconnecting, no idea why GuyGizmo Linux - Hardware 6 01-26-2014 02:10 PM
Disconnecting & Reconnecting jmccay Linux - Wireless Networking 7 12-23-2006 02:57 PM
disconnecting and reconnecting broadband without restarting Alex19ldr Linux - Newbie 2 05-11-2005 12:09 PM
Slackware and SSH - Keeps disconnecting me FxXP Linux - Software 1 03-31-2004 07:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration