The officially official Devuan Forum!

You are not logged in.

#1 2023-11-18 14:29:52

nahkhiirmees
Member
Registered: 2022-07-24
Posts: 261  

[SOLVED] Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)

It has been a while since i had any audio-related problems with linux.
About 12 years ago, i upgraded Debian 4 to 5 or 6 and sometimes i couldn't get any sound out. I fixed that by saying "chmod o+rw /dev/dsp" as root.

Now it seems that there is no such thing as /dev/dsp anymore.

And the problem is, with this Fujitsu Lifebook U728 machine+Devuan Chimaera as OS,i can't get any sound out of it.
Audio mixer->Output Devices->show hardware outpur devices doesn't show any device at all.
Once played around with alsamixer. Didn't do anything at all.

Found this: https://bbs.archlinux.org/viewtopic.php?id=265211 , tried that "options snd-intel-dspcfg dsp_driver=1"-thing. Still hearing only the sound of silence.

Any ideas what to try next?

"lspci | grep -i audio" says:

00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)

"lspci | grep -i sunrise" says also:

00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)

those lines may have something to do with that "dsp_driver=1"-thing.

"lsmod | grep snd" says:

snd_hda_codec_hdmi     73728  1
snd_hda_codec_realtek   167936  1
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_soc_skl           180224  0
snd_soc_hdac_hda       24576  1 snd_soc_skl
snd_hda_ext_core       36864  2 snd_soc_hdac_hda,snd_soc_skl
snd_soc_sst_ipc        20480  1 snd_soc_skl
snd_soc_sst_dsp        36864  1 snd_soc_skl
snd_soc_acpi_intel_match    45056  1 snd_soc_skl
snd_soc_acpi           16384  2 snd_soc_acpi_intel_match,snd_soc_skl
snd_hda_intel          57344  0
snd_intel_dspcfg       28672  2 snd_hda_intel,snd_soc_skl
soundwire_intel        45056  1 snd_intel_dspcfg
snd_soc_core          319488  3 soundwire_intel,snd_soc_hdac_hda,snd_soc_skl
snd_compress           32768  1 snd_soc_core
snd_hda_codec         176128  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
snd_hda_core          110592  8 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_soc_skl
snd_hwdep              20480  1 snd_hda_codec
snd_pcm               143360  8 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core
snd_timer              49152  1 snd_pcm
snd                   110592  10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
soundcore              16384  1 snd

So, any ideas how to make xfce's audio mixer find that sunrise audio device?

Quick solution would be to buy an usb soud card. I know one card that Just Works or at least it used to.
But it would be better to make the internal sound chip work.

Offline

#2 2023-11-18 15:10:44

nahkhiirmees
Member
Registered: 2022-07-24
Posts: 261  

Re: [SOLVED] Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)

also:

dmesg | grep -i snd

[   65.384762] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   65.468638] snd_hda_codec_realtek hdaudioC0D0: ALC255: SKU not ready 0x909701f0
[   65.468758] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC255: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[   65.468760] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   65.468761] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[   65.468763] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[   65.468764] snd_hda_codec_realtek hdaudioC0D0:    inputs:

maybe the second line is a good starting point, maybe not.

Offline

#3 2023-11-18 17:00:32

aluma
Member
Registered: 2022-10-26
Posts: 646  

Re: [SOLVED] Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)

A similar issue was discussed two weeks ago. Maybe you can read it?
https://dev1galaxy.org/viewtopic.php?pid=45221#p45221

Offline

#4 2023-11-18 22:05:48

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

Re: [SOLVED] Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)

Hi, I use the same tech to keep hdmi out of my way.

.asoundrc overrides the automagic. No sound for other users incl root unless I add the rc file to their accounts.


pic from 1993, new guitar day.

Offline

#5 2023-11-20 17:53:39

nahkhiirmees
Member
Registered: 2022-07-24
Posts: 261  

Re: [SOLVED] Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)

Guess i'll look into that asound-thing some day. I may get bored booting with "super grub disk"-method, and kill 2 birds with 1 stone.
Not yet fully convinced that this sound problem is about configuration, but i'll find out soon enough.

Last edited by nahkhiirmees (2023-11-20 17:54:16)

Offline

#6 2024-03-17 21:04:03

nahkhiirmees
Member
Registered: 2022-07-24
Posts: 261  

Re: [SOLVED] Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)

Tried to boot Fujitsu with devuan live. It worked. And after that, tried youtube. I got sounds out of my hardware. So the silence may be a problem with configuration after all.

Offline

#7 2024-03-18 01:49:41

stultumanto
Member
Registered: 2023-12-12
Posts: 68  

Re: [SOLVED] Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)

Now it seems that there is no such thing as /dev/dsp anymore.

PulseAudio can still emulate it, but virtually nothing uses it anymore. (I think NAS does, but NAS is itself a relic.) Pretty much every piece of Linux software written this millennium uses ALSA, either directly, or through an intermediary such as Pipewire or Jack.

Offline

#8 2024-03-18 13:47:31

aluma
Member
Registered: 2022-10-26
Posts: 646  

Re: [SOLVED] Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)

Now it seems that there is no such thing as /dev/dsp anymore.

In any case, the command 

cat /usr/share/sounds/alsa/Front_Center.wav>/dev/dsp

does not work in Daedalus. Maybe it's just me?

Offline

#9 2024-03-18 18:01:13

nahkhiirmees
Member
Registered: 2022-07-24
Posts: 261  

Re: [SOLVED] Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)

Either there were no /dev/dsp in my Chimaera install or "chmod o+rw /dev/dsp" as root didn't help. Not quite sure anymore which one was the case. Should document better.

Offline

#10 2024-03-25 02:58:04

nahkhiirmees
Member
Registered: 2022-07-24
Posts: 261  

Re: [SOLVED] Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)

Yep, still no /dev/dsp in Daedalus.
But installing wireplumber seemed to be the easy way out of silence.
https://www.youtube.com/watch?v=lL6NUBk_j6M

Offline

#11 2024-03-25 03:21:16

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,251  

Re: [SOLVED] Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)

The device node /dev/dsp which belonged to the OSS (Open Sound System) was dropped from linux kernel more than 14 years ago. Since then sound has been ALSA (Advanced Linux Sound Architecture).

edit: I guess you could roll your own /dev/dsp with:

daemon -r socat pipe:/dev/dsp,umask=000 exec:aplay

wink

Offline

#12 2024-03-25 10:31:33

aluma
Member
Registered: 2022-10-26
Posts: 646  

Re: [SOLVED] Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)

There's something missing in my Devuan.

root@devuan:/# daemon -r socat pipe:/dev/dsp,umask=000 exec:aplay
bash: daemon: command not found

P.S. This is purely for fun, probably not worth attention

Last edited by aluma (2024-03-25 10:35:20)

Offline

#13 2024-03-25 22:03:03

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,251  

Re: [SOLVED] Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)

apt-get install daemon

Offline

#14 2024-03-25 23:24:07

nahkhiirmees
Member
Registered: 2022-07-24
Posts: 261  

Re: [SOLVED] Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)

There's no .asoundrc  or asound.conf nor alsamixergui in my system. I'll have to install some packages. But anyways, wireplumber was the quick fix.

Offline

#15 2024-03-26 02:29:49

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

Re: [SOLVED] Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)

Yes, wireplumber acts as the (multimedia) server for pipewire that pulse did before.


pic from 1993, new guitar day.

Offline

Board footer