The officially official Devuan Forum!

You are not logged in.

#1 2022-10-06 18:13:09

tux
Member
Registered: 2022-10-01
Posts: 45  

No Sound ALSA

No sound since installation.

packages Pulse Audio, Pavacontrol deleted, intend to keep it ALSA only along with Qasmixer, alsamixergui and amixer-gtk

pulseaudio, pavacontrol and firmware-non-free at installation had no sound.

drivers not support, driver is on ALSA list of unsupported drivers.

the notorious intel Cirrus Logic Generic

full .config

[code]/etc/asound.conf

defaults.pcm.card 1
defaults.pcm.device 0
defaults.ctl.card 1[/code]
cat /proc/asound/cards
 1 [PCH            ]: HDA-Intel - HDA Intel PCH
                           HDA Intel PCH at 0x92720000 irq 59
lspci -nn |grep -i audio
00:1f.3 Audio device [0403]: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller [8086:a170] (rev 31)
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X] [1002:aae0]
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: PCH [HDA Intel PCH], device 0: Generic Analog [Generic Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
/etc/modprobe.d/options                          
options snd-hda-intel model=imac18,2
!!Amixer output
!!-------------

!!-------Mixer controls for card PCH

Card hw:1 'PCH'/'HDA Intel PCH at 0x92720000 irq 57'
  Mixer name	: 'Cirrus Logic Generic'
  Components	: 'HDA:10138409,106b0f00,00100100'
  Controls      : 16
  Simple ctrls  : 2
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 0 [0%] [-30.00dB]
  Front Right: Capture 0 [0%] [-30.00dB]

sudo amixer-gtk gives error, no sound when gui open.

ALSA lib pcm_hw.c:1829:(_snd_pcm_hw_open) Invalid value for card
Simple mixer control 'PCM',0
Simple mixer control 'Digital',0
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 62 [52%] [1.00dB]
  Front Right: Capture 62 [52%] [1.00dB]

no sound from changing volume of qasmixer, alsamixergui and alsa cli

Last edited by tux (2022-10-06 19:43:52)

Offline

#2 2022-10-06 19:03:26

golinux
Administrator
Registered: 2016-11-25
Posts: 3,137  

Re: No Sound ALSA

Please use "code" tags. Legend is available above the edit window.  smile

Online

#3 2022-10-06 22:07:51

hunter0one
Member
Registered: 2021-12-31
Posts: 68  

Re: No Sound ALSA

Is Pulseaudio showing "Dummy Output"? I'm having the same issue on a Core 2 Duo machine I have set up with Devuan.

EDIT: Re-read it, forget about the above

Last edited by hunter0one (2022-10-07 14:17:51)

Offline

#4 2022-10-06 23:03:23

golinux
Administrator
Registered: 2016-11-25
Posts: 3,137  

Re: No Sound ALSA

@tux . . . Thanks for the edit. Do you have apulse installed? Needed when pulseaudio is removed. Not sure of the details.

Online

#5 2022-10-07 15:45:23

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: No Sound ALSA

tux wrote:

drivers not support, driver is on ALSA list of unsupported drivers.

Please provide a link to support this statement.

My research indicates both cards should have drivers:

https://linux-hardware.org/index.php?id … -1043-1d8d

https://linux-hardware.org/?id=pci:1002-aae0-1002-aae0

And you do have an analogue output device listed in the aplay output so clearly something has a driver.

Please post the full output of

speaker-test # in the alsa-utils package

Has the sound ever worked on this machine? Are you sure it's not broken?

EDIT: try the firmware-misc-nonfree, firmware-sof-signed and firmware-intel-sound packages.

EDIT2: or use the isenkram package to determine any needed firmware.

Last edited by Head_on_a_Stick (2022-10-07 17:13:31)


Brianna Ghey — Rest In Power

Offline

#6 2022-10-07 18:47:32

tux
Member
Registered: 2022-10-01
Posts: 45  

Re: No Sound ALSA

apulse installed

no sound after running
speaker-test # in the alsa-utils package

OS the desktop comes with had sound
is bluetooth required?

firmware-sof-signed and firmware-intel-sound
output is

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package firmware-intel-sound

debian packages only?

List of ALSA drive unsupported is on alsa wiki
also here
https://alsa.opensrc.org/Sound_cards

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
 0 - Front Left
Time per period = 2.651964
 0 - Front Left
Time per period = 2.986003
 0 - Front Left
Time per period = 2.987338
 0 - Front Left
Time per period = 2.986686

Last edited by tux (2022-10-07 18:55:37)

Offline

#7 2022-10-07 19:19:45

golinux
Administrator
Registered: 2016-11-25
Posts: 3,137  

Re: No Sound ALSA

My old Intel Haswell needed an .asoundrc file to sort the 2 chips on the board.  Maybe that's an option? Or more likely this is just noise and apologies for that . . .

Online

#8 2022-10-07 19:39:05

tux
Member
Registered: 2022-10-01
Posts: 45  

Re: No Sound ALSA

asoundrc not something i have tried

modprobe.d incorrectly set?

is devuan going to support firmware-sof-signed and firmware-intel-sound?

Offline

#9 2022-10-08 06:57:37

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: No Sound ALSA

tux wrote:

no sound after running
speaker-test # in the alsa-utils package

I didn't ask if that command produced sound.

I asked for the full output from that command. I need to see the full error message, if there is one.

tux wrote:

firmware-sof-signed and firmware-intel-sound
output is

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package firmware-intel-sound

debian packages only?

Nope:

https://pkginfo.devuan.org/cgi-bin/poli … d&x=submit

https://pkginfo.devuan.org/cgi-bin/poli … d&x=submit

Fix /etc/apt/sources.list and update then try those packages again. If your sources are incomplete then *many* other packages might be missing.


Brianna Ghey — Rest In Power

Offline

#10 2022-10-08 08:27:55

tux
Member
Registered: 2022-10-01
Posts: 45  

Re: No Sound ALSA

sudo '/usr/sbin/isenkram-autoinstall-firmware'

at end of output, not includeing amddrivers it found.

info: unable to find any local firmware info for dist chimaera, using info for sid
info: locating packages with the requested firmware files
info: determining whether enabling other components is required
info: No new firmware package with requested firmware detected.

sudo alsamixer set to
Card: HDA INTEL PCH
CHip: Cirrus Logic Generic

with only 1 volume PCH bar set to max%

sudo aplay /usr/share/sounds/alsa/*.wav output

Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
Playing WAVE '/usr/share/sounds/alsa/Front_Left.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
Playing WAVE '/usr/share/sounds/alsa/Front_Right.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
Playing WAVE '/usr/share/sounds/alsa/Noise.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
Playing WAVE '/usr/share/sounds/alsa/Rear_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
Playing WAVE '/usr/share/sounds/alsa/Rear_Left.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
Playing WAVE '/usr/share/sounds/alsa/Rear_Right.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
Playing WAVE '/usr/share/sounds/alsa/Side_Left.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
Playing WAVE '/usr/share/sounds/alsa/Side_Right.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono

speaker-test # in the alsa-utils package command nevers stops giving output

installed both firmware-sof and firmware-intel
still no sound

Last edited by tux (2022-10-08 08:30:25)

Offline

#11 2022-10-08 08:29:57

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: No Sound ALSA

tux wrote:

speaker-test # in the alsa-utils package command nevers stops giving output

Please provide that output. This is the last time I will ask.


Brianna Ghey — Rest In Power

Offline

#12 2022-10-08 08:38:57

tux
Member
Registered: 2022-10-01
Posts: 45  

Re: No Sound ALSA

how to copy full output while still running? keeps deselecting and jumping back to latest

0 - Front Left
Time per period = 2.986367
0 - Front Left
Time per period = 2.994606
0 - Front Left
Time per period = 2.978713
0 - Front Left
Time per period = 2.973439
0 - Front Left
Time per period = 2.999882
0 - Front Left
Time per period = 2.986659
0 - Front Left
Time per period = 2.986763
0 - Front Left
Time per period = 2.974354
0 - Front Left
Time per period = 2.998743
0 - Front Left
Time per period = 2.973441
0 - Front Left
Time per period = 2.999887
0 - Front Left
Time per period = 2.986530
0 - Front Left
Time per period = 2.986885
0 - Front Left
Time per period = 2.986628
0 - Front Left
Time per period = 2.979631
0 - Front Left
Time per period = 2.993528
0 - Front Left
Time per period = 2.986423
0 - Front Left
Time per period = 2.986678
0 - Front Left
Time per period = 2.986663
0 - Front Left
Time per period = 2.986716
0 - Front Left
Time per period = 2.995805
0 - Front Left
Time per period = 2.977301
0 - Front Left
Time per period = 2.986938
0 - Front Left
Time per period = 2.986406
0 - Front Left
Time per period = 2.973497
0 - Front Left
Time per period = 2.999753
0 - Front Left
Time per period = 2.986713
0 - Front Left
Time per period = 2.986560
0 - Front Left
Time per period = 2.986683
0 - Front Left
Time per period = 2.986770
0 - Front Left
Time per period = 2.986408
0 - Front Left
Time per period = 2.986693
0 - Front Left
Time per period = 2.986644
0 - Front Left

Last edited by tux (2022-10-08 08:39:24)

Offline

#13 2022-10-08 09:02:03

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: No Sound ALSA

Thank you. That output indicates that the software side of things is working. A driver is assigned and the output is correct.

So are you sure the speakers actually work? When was the last time they produced sound? Do they work with any other live ISO?


Brianna Ghey — Rest In Power

Offline

#14 2022-10-08 12:07:43

tux
Member
Registered: 2022-10-01
Posts: 45  

Re: No Sound ALSA

Desktop default OS sound always worked and sound for virtualbox antix and other os hopping tryouts.
After installing Devuan no sound.

Backported ALSA to get latest. Might Daedalus upgrade fix? blacklist driver?

Last edited by tux (2022-10-08 12:28:16)

Offline

#15 2022-10-08 14:19:55

Camtaf
Member
Registered: 2019-11-19
Posts: 408  

Re: No Sound ALSA

I had a problem with sound, I switched over from a VGA monitor to a HDMI without built in speakers, but when I went back to the VGA monitor, everything was working fine - I don't think pulseaudio takes that fact into consideration, because I had it set to analogue stereo, which should have worked via the audio out socket.

Offline

#16 2022-10-08 15:49:26

tux
Member
Registered: 2022-10-01
Posts: 45  

Re: No Sound ALSA

aplay -L

null
    Discard all samples (playback) or generate zero samples (capture)
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pulse
    PulseAudio Sound Server
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
hw:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    Direct hardware device without any conversions
plughw:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    Hardware device with all software conversions
default:CARD=PCH
    HDA Intel PCH, Generic Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, Generic Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    Front output / input
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
dmix:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    Direct sample mixing device
usbstream:CARD=PCH
    HDA Intel PCH
    USB Stream Output

lsmod | grep snd

snd_hda_codec_generic    98304  1
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_intel          57344  2
snd_intel_dspcfg       28672  1 snd_hda_intel
soundwire_intel        45056  1 snd_intel_dspcfg
snd_soc_core          319488  1 soundwire_intel
snd_compress           32768  1 snd_soc_core
snd_hda_codec         176128  2 snd_hda_codec_generic,snd_hda_intel
snd_hda_core          110592  3 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec
snd_hwdep              16384  1 snd_hda_codec
snd_pcm_oss            65536  0
snd_mixer_oss          28672  1 snd_pcm_oss
snd_pcm               143360  7 snd_hda_intel,snd_hda_codec,soundwire_intel,snd_compress,snd_pcm_oss,snd_soc_core,snd_hda_core
snd_timer              49152  1 snd_pcm
snd                   110592  14 snd_hda_codec_generic,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_compress,snd_pcm_oss,snd_soc_core,snd_pcm,snd_mixer_oss
soundcore              16384  1 snd

below are config suggestions foun don web, from people dealing with no sound output and ALSA only software.

cat /etc/modprobe.d/alsa.conf

options snd_hda_intel index=1,0
options snd-intel-dspcfg dsp_driver=1

nano /etc/modprobe.d/alsa-base.conf   
                   

options snd_hda_intel enable=1 index=0
options snd-hda-intel index=1,0
options snd-hda-intel dmic_detect=0
options snd-hda-intel model=pch position_fix=1
options snd-hda-intel model=mbp3
options snd-hda-intel model=imac18_2
options snd-hda-intel model=auto

inxi -F

Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio 
  driver: snd_hda_intel 
  Device-2: AMD Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X] 
  driver: N/A 
  Sound Server: ALSA

below is snd blacklist to prevent conflict with othe snd settings.
/etc/modprobe.d/blacklist.conf                       

blacklist snd_soc_skl

This config file was empty.
/etc/modprobe.d/options *                       

options snd-hda-intel model=imac18_2

jack setting are unmodified but might be conflicting with othe settings.
/etc/modprobe.d/hda-jack-retask.conf

options snd-hda-intel patch=hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retak-retask.fw,hda-jack-retask.fw

Last edited by tux (2022-10-09 08:45:07)

Offline

#17 2022-10-08 23:04:11

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 582  

Re: No Sound ALSA

I can redirect > the output to a file and then use the file.

CTRL+C ENTER will stop the pink noise when the buffer is empty (takes a couple of secs).

glenn@GamesBox ~ $ speaker-test > /home/glenn/Downloads/soundtest.txt
^C
glenn@GamesBox ~ $ 
## I had to hit enter after ctrl+c 

/home/glenn/Downloads/soundtest.txt

speaker-test 1.2.7

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 192 to 2097152
Period size range from 64 to 699051
Using max buffer size 2097152
Periods = 4
was set period_size = 524288
was set buffer_size = 2097152
 0 - Front Left
Time per period = 10.952028

hth

tux wrote:

sudo '/usr/sbin/isenkram-autoinstall-firmware'

at end of output, not includeing amddrivers it found.

info: unable to find any local firmware info for dist chimaera, using info for sid
info: locating packages with the requested firmware files
info: determining whether enabling other components is required
info: No new firmware package with requested firmware detected.

sudo alsamixer set to
Card: HDA INTEL PCH
CHip: Cirrus Logic Generic

with only 1 volume PCH bar set to max%

sudo aplay /usr/share/sounds/alsa/*.wav output

Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
Playing WAVE '/usr/share/sounds/alsa/Front_Left.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
Playing WAVE '/usr/share/sounds/alsa/Front_Right.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
Playing WAVE '/usr/share/sounds/alsa/Noise.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
Playing WAVE '/usr/share/sounds/alsa/Rear_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
Playing WAVE '/usr/share/sounds/alsa/Rear_Left.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
Playing WAVE '/usr/share/sounds/alsa/Rear_Right.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
Playing WAVE '/usr/share/sounds/alsa/Side_Left.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
Playing WAVE '/usr/share/sounds/alsa/Side_Right.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono

speaker-test # in the alsa-utils package command nevers stops giving output

installed both firmware-sof and firmware-intel
still no sound

Last edited by GlennW (2022-10-08 23:08:35)


pic from 1993, new guitar day.

Offline

#18 2022-10-08 23:17:23

ralph.ronnquist
Administrator
From: Clifton Hill, Victoria, AUS
Registered: 2016-11-30
Posts: 1,106  

Re: No Sound ALSA

@tux perhaps you could describe briefly what the various snd-hda-intel options do for you?

Offline

#19 2022-10-09 08:48:15

tux
Member
Registered: 2022-10-01
Posts: 45  

Re: No Sound ALSA

Ralph I edit ealier post and added reasons.

removed alsaplayer-oss know in rare cases of no sound

below is asound.state

state.PCH {
	control.1 {
		iface CARD
		name 'Internal Mic Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.2 {
		iface CARD
		name 'Mic Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.3 {
		iface CARD
		name 'Speaker Front Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.4 {
		iface CARD
		name 'Speaker Surround Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.5 {
		iface CARD
		name 'Headphone Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.6 {
		iface PCM
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		value.2 0
		value.3 0
		comment {
			access read
			type INTEGER
			count 4
			range '0 - 36'
		}
	}
	control.7 {
		iface PCM
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.8 {
		iface PCM
		device 2
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.9 {
		iface PCM
		device 2
		name 'Capture Channel Map'
		index 1
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.10 {
		iface PCM
		device 2
		name 'Capture Channel Map'
		index 2
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.11 {
		iface PCM
		device 2
		name 'Capture Channel Map'
		index 3
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.12 {
		iface PCM
		device 2
		name 'Capture Channel Map'
		index 4
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.13 {
		iface PCM
		device 2
		name 'Capture Channel Map'
		index 5
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.14 {
		iface PCM
		device 2
		name 'Capture Channel Map'
		index 6
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.15 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 255
		value.1 255
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 255'
			tlv '0000000100000008ffffec1400000014'
			dbmin -5100
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.16 {
		iface MIXER
		name 'Digital Capture Volume'
		value.0 60
		value.1 60
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 120'
			tlv '0000000100000008fffff44800000032'
			dbmin -3000
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
}

speaker-test -Dplug:surround51 -c6 -twav

Playback device is plug:surround51
Stream parameters are 48000Hz, S16_LE, 6 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 32 to 262144
Period size range from 16 to 131072
Using max buffer size 262144
Periods = 4
was set period_size = 65536
was set buffer_size = 262144
 0 - Front Left
 1 - Front Right
 3 - Rear Right
 2 - Rear Left
 4 - Unused
 5 - Unused
Time per period = 13.707691
 0 - Front Left
 1 - Front Right
 3 - Rear Right
 2 - Rear Left
 4 - Unused
 5 - Unused
Time per period = 13.715830

Last edited by tux (2022-10-09 10:24:37)

Offline

#20 2022-10-09 10:59:04

tux
Member
Registered: 2022-10-01
Posts: 45  

Re: No Sound ALSA

amixer

Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 0 [0%] [-30.00dB]
  Front Right: Capture 0 [0%] [-30.00dB]

amixer contents

numid=1,iface=CARD,name='Internal Mic Phantom Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=on
numid=3,iface=CARD,name='Line Out Phantom Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=on
numid=2,iface=CARD,name='Mic Phantom Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=on
numid=4,iface=CARD,name='Speaker Front Phantom Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=on
numid=5,iface=CARD,name='Speaker Surround Phantom Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=on
numid=15,iface=MIXER,name='PCM Playback Volume'
  ; type=INTEGER,access=rw---RW-,values=2,min=0,max=255,step=0
  : values=255,255
  | dBscale-min=-51.00dB,step=0.20dB,mute=0
numid=16,iface=MIXER,name='Digital Capture Volume'
  ; type=INTEGER,access=rw---RW-,values=2,min=0,max=120,step=0
  : values=0,0
  | dBscale-min=-30.00dB,step=0.50dB,mute=0
numid=7,iface=PCM,name='Capture Channel Map'
  ; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
  : values=0,0
  | container
    | chmap-fixed=FL,FR
numid=6,iface=PCM,name='Playback Channel Map'
  ; type=INTEGER,access=r----R--,values=4,min=0,max=36,step=0
  : values=0,0,0,0
  | container
    | chmap-fixed=FL,FR
    | chmap-fixed=FL,FR,RL,RR
numid=8,iface=PCM,name='Capture Channel Map',device=2
  ; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
  : values=0,0
  | container
    | chmap-fixed=FL,FR
numid=9,iface=PCM,name='Capture Channel Map',index=1,device=2
  ; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
  : values=0,0
  | container
    | chmap-fixed=FL,FR
numid=10,iface=PCM,name='Capture Channel Map',index=2,device=2
  ; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
  : values=0,0
  | container
    | chmap-fixed=FL,FR
numid=11,iface=PCM,name='Capture Channel Map',index=3,device=2
  ; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
  : values=0,0
  | container
    | chmap-fixed=FL,FR
numid=12,iface=PCM,name='Capture Channel Map',index=4,device=2
  ; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
  : values=0,0
  | container
    | chmap-fixed=FL,FR
numid=13,iface=PCM,name='Capture Channel Map',index=5,device=2
  ; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
  : values=0,0
  | container
    | chmap-fixed=FL,FR
numid=14,iface=PCM,name='Capture Channel Map',index=6,device=2
  ; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
  : values=0,0
  | container
    | chmap-fixed=FL,FR

amixer scontents

Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 0 [0%] [-30.00dB]
  Front Right: Capture 0 [0%] [-30.00dB]

amixer sget Master

amixer: Unable to find simple control 'Master',0

what is debian command for pacmd link-sinks?

Offline

#21 2022-10-09 11:45:02

tux
Member
Registered: 2022-10-01
Posts: 45  

Re: No Sound ALSA

mute button grey out in top left PNMixer, how unmute?

hotkey set to unmute not working

devuan comes without xfce4-mixer?

Offline

#22 2022-10-10 02:06:22

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 582  

Re: No Sound ALSA

I resorted to .asoundrc to stop hdmi being loaded (on my desktop PC). Reliable...

golinux wrote:

My old Intel Haswell needed an .asoundrc file to sort the 2 chips on the board.  Maybe that's an option? Or more likely this is just noise and apologies for that . . .


pic from 1993, new guitar day.

Offline

#23 2022-10-10 16:50:21

tux
Member
Registered: 2022-10-01
Posts: 45  

Re: No Sound ALSA

GlennW wrote:

I resorted to .asoundrc to stop hdmi being loaded (on my desktop PC). Reliable...

golinux wrote:

My old Intel Haswell needed an .asoundrc file to sort the 2 chips on the board.  Maybe that's an option? Or more likely this is just noise and apologies for that . . .

Glenn do have a config exsample to blacklist hdmi?

Offline

#24 2022-10-10 23:24:14

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 582  

Re: No Sound ALSA

tux wrote:
GlennW wrote:

I resorted to .asoundrc to stop hdmi being loaded (on my desktop PC). Reliable...

golinux wrote:

My old Intel Haswell needed an .asoundrc file to sort the 2 chips on the board.  Maybe that's an option? Or more likely this is just noise and apologies for that . . .

Glenn do have a config exsample to blacklist hdmi?

Yes I do. I'll put it here but be warned there are many modules that rely/depend on hdmi.

I stopped using the blacklist when I was trying to get BT sound reliably configured.

here is a copy...

/home/glenn/My_system/backup-sys-default/etc/blacklist.conf

# blacklisted modules for PCI coldplug
# see also /etc/modprobe.d/blacklist-compat
blacklist edac_mce_amd
blacklist edac
## Best not to blacklist modules that depend on eachother
blacklist snd_hda_codec_hdmi  #hdmi nvidia digital stereo
#blacklist snd_hda_codec_realtek #hda onboard 5.1 surround
#blacklist snd_hda_intel
#blacklist snd_hda_codec
#blacklist snd_usb_audio

blacklist rivatv
blacklist bluetooth
# For some bridges both intel-agp and i82875p_edac are loaded. If i82875p_edac
# is loaded first it will grab the device. Then intel-agp doesn't work.
# Therefore we disable automatic loading of 82875p_edac. (Bug 213840)
# https://bugzilla.novell.com/show_bug.cgi?id=213840
blacklist i82875p_edac

# do not use "Boot Protocol" drivers, we prefer usbhid
# and they cause problems when loaded together with usbhid (#37726, #40861)
blacklist usbkbd
blacklist usbmouse

# disable PC speaker by default
# pcspkr is the standard driver, while snd-pcsp is the ALSA driver
blacklist pcspkr
blacklist snd-pcsp
blacklist nouveau
blacklist nv

# Prevent conflicts with nvidiabl
blacklist nvidia_bl
blacklist nvbacklight
blacklist mbp_nvidia_bl
# End of entries added for nvidiabl

...in it's totallity... I think that file maybe a leftover from another distro.

I did this instead so the snd-hda* dependants satisfied
/home/glenn/My_system/backup-sys-default/etc/modprobe.d/snd-options

options snd-usb-audio index=0 bdl_pos_adj=16,16
options snd-cmipci mpu_port=0x330 fm_port=0x388
options snd-hda-intel index=1
options snd_hda_codec_hdmi index=-2
options snd-pcsp index=-2

current /home/glenn/.asoundrc

#defaults.pcm.!card 0 #hdmi
#defaults.ctl.!card 0 #hdmi

# card 1 #usb-audio
#defaults.pcm.card 1 #usb-audio
#defaults.ctl.card 1 #usb-audio
# Generic_1
defaults.pcm.Generic_1 #usb-audio
defaults.ctl.Generic_1 #usb-audio

I don't have it blacklisted anymore.

current /etc/modules

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
snd-usb-audio
asus-wmi-sensors
#rtk_btusb
snd-pcm-oss
snd-mixer-oss
#snd-seq-oss
snd_seq

Hope this helps.

Last edited by GlennW (2022-10-10 23:29:16)


pic from 1993, new guitar day.

Offline

#25 2022-10-13 20:52:11

tux
Member
Registered: 2022-10-01
Posts: 45  

Re: No Sound ALSA

glenn blacklist no sound after reboot.

/etc/modprobe.d/blacklist.conf   
                   

blacklist snd_soc_skl
blacklist snd_hda_codec_hdmi

Offline

Board footer