LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > slarm64
User Name
Password
slarm64 This forum is for the discussion of slarm64.

Notices


Reply
  Search this Thread
Old 04-16-2022, 10:58 AM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,454

Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
RazPi 4 sound issue


RazPi on Slarm64-15.0. Yesterday I had sound.

Today, it's weird. aplay plays wav files, but vlc, chromium are silent. Everything looks good in pavucontrol, alsa is ok, but no noise. Restarting services
  • Alsa complains about failing to import hw configuration use cases
  • /etc/rc.d/rc.pulseaudio returns "command not found." But it's there!

Any ideas?
 
Old 04-16-2022, 12:28 PM   #2
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,919

Rep: Reputation: Disabled
/etc/rc.d/rc.pulseaudio is disabled.
do
Code:
chmod 755 /etc/rc.d/rc.pulseaudio
cp /etc/asound.conf.new /etc/asound.conf
/etc/rc.d/rc.alsa stop
/etc/rc.d/rc.pulseaudio start
 
Old 04-16-2022, 01:09 PM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,454

Original Poster
Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
Hi, & thanks for the prompt reply.

I tried that, but no joy. I dislike pulseaudio because it's so difficult to diagnose.

I have Covid atm, so the only thing that could have gone wrong is a rough power down. I will try a disk check. Other ideas welcome
 
Old 04-16-2022, 03:05 PM   #4
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,919

Rep: Reputation: Disabled
try to run one application using sound output, you may need to configure alsa dmixer.
vlc, chromium compilation to current.
you can also check ldd executable files.

Last edited by sndwvs; 04-16-2022 at 03:10 PM.
 
Old 04-17-2022, 05:38 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,454

Original Poster
Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
Quote:
Originally Posted by sndwvs View Post
try to run one application using sound output, you may need to configure alsa dmixer.
vlc, chromium compilation to current.
you can also check ldd executable files.
Look, this was all working the day before yesterday - I shouldn't need to change stuff on the SSD, I have
  1. sda1 = /boot
  2. sda2 = root (/)
  3. sda3 = /home

I'm up today. The disk check revealed a load of orphaned inodes on sda2, but of course there's no way of telling where they were.

So I've restored a backup of the sda2 partition on my pc and will try it later. I'll just mark this solved after I try it or post again.

Last edited by business_kid; 04-17-2022 at 05:44 AM.
 
Old 04-18-2022, 03:17 PM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,454

Original Poster
Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
I restored a backup from when everything was perfect, but still no sound. But if I use an sdcard instead of disk drive, I have sound This should not be happening, but it is
 
Old 04-19-2022, 01:39 AM   #7
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,919

Rep: Reputation: Disabled
check the kernel you are using, is it from the distribution or from images_build_kit (image)
 
Old 04-19-2022, 05:13 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,454

Original Poster
Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
The kernel is from the distribution.

The probable cause of this is a rough power down. I found a bundle or orphaned inodes. So I deleted /boot and / (but not /home), remade the filesystems, and am restoring again. We'll see if THAT sorts it.

Last edited by business_kid; 04-19-2022 at 05:22 AM.
 
Old 04-19-2022, 06:14 AM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,454

Original Poster
Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
Right, I did all that, and I have a little progress, but no sound.

In pavucontrol, there's a sort of 'VU Meter' on the "Playback" & "Output Devices" tabs. Now I have sound on the "Playback" tab, but not the "Output Devices." Is that in the least way diagnostic?
 
Old 04-24-2022, 01:59 PM   #10
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,454

Original Poster
Rep: Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353Reputation: 2353
I FINALLY got this.

I had vu displays in pavucontrol/playback, but none in output devices. I was trawling through that, and discovered a 3rd icon to the left of the lock symbol. I clicked on it, and sound was restored. It was some sort of mute thing. How it got there I don't know.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Weird USB behaviour on RazPi 4 business_kid Linux - Embedded & Single-board computer 18 10-28-2020 12:44 PM
[SOLVED] WIFI on/off magic pls on RazPi 4 business_kid Slackware - ARM 3 10-17-2020 12:07 PM
[SOLVED] Wifi missing on Sarpi (32bit) with RazPi 4 business_kid Slackware - ARM 21 06-26-2020 12:38 PM
[SOLVED] Fedora 32 out now. how on a RazPi 4? business_kid Fedora - Installation 12 05-02-2020 08:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > slarm64

All times are GMT -5. The time now is 02:03 PM.

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