Page 1 of 1

[Solved] No sound on a mini-pc connected via HDMI...

Posted: 08 May 2018, 14:09
by casystems
I have a mini pc(Intel Atom x5-Z8350)
https://www.ebuyer.com/810799-chillblas ... m-cbfuswap
connected to a Viewsonic touchscreen ; USB (for the touch) and HDMI (for video/sound).

I have setup a trial of porteus on a mini pc, and while the touchscreen works perfectly, the sound is not working (I pointed to a simple HTML 5 webpage containing audio).

I don't know a lot about Linux but have been brought up on a diet of DOS 3.x-6.22, Windows and coding and I have managed to SSH to the device and done these steps:

First I needed a file to test the sound, so I did this:

Code: Select all

find / -name "*.wav"
(only finds one ; /usr/share/sounds/alert.wav)

Then I needed to list sound devices:

Code: Select all

aplay -l
which shows:

Code: Select all

**** List of PLAYBACK Hardware Devices ****
card 0: Audio [Intel HDMI/DP LPE Audio], device 0: HdmiLpeAudio [Intel HDMI/DP LPE Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 1: HdmiLpeAudio [Intel HDMI/DP LPE Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 2: HdmiLpeAudio [Intel HDMI/DP LPE Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: bytcrrt5651 [bytcr-rt5651], device 0: Audio (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: bytcrrt5651 [bytcr-rt5651], device 1: Deep-Buffer Audio (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
I tried this

Code: Select all

aplay -D plughw:0,0 /usr/share/sounds/alert.wav
and this

Code: Select all

aplay -D plughw:0,1 /usr/share/sounds/alert.wav
and both displayed "Playing...underrun!!!" and take a while to return the command prompt.

but when I try this

Code: Select all

aplay -D plughw:0,2 /usr/share/sounds/alert.wav
It does plays the sound but only once (if I try the same command again, it outputs no sound)

PS. I have also tried youtube but *wow* it plays videos without sound and at twice the normal speed!?

Can anyone help?

No sound on a mini-pc connected via HDMI...

Posted: 08 May 2018, 14:42
by fanthom
As far as i know ALSA does not support these devices yet.

You'll need a customized build with pulseaudio and 3rd party UCM drivers:
https://github.com/plbossart/UCM/tree/m ... tcr-rt5651

If you are interested then please contact '[email protected]' as per:
http://porteus-kiosk.org/builds.html

Thanks

No sound on a mini-pc connected via HDMI...

Posted: 08 May 2018, 14:55
by casystems
If it is only a matter of adding 3 files (as per the github), is this not something I can do? I have already told the boss it will cost 300EUR per year

No sound on a mini-pc connected via HDMI...

Posted: 08 May 2018, 16:06
by fanthom
You will also need:

a) pulseaudio and dependencies (this part is already difficult enough for most people)
b) select default sound device (HDMI?) in pavucontrol then hardcode its settings in the ISO (files must be copied from kiosk over SSH)
c) if you want to change sound output from HDMI to speakers on demand then you need bottom panel with pavucontrol launcher or keyboard shortcut to start pavucontrol app

300 euros is for a server which is optional (although recommended).
Custom build is one time payment for unlimited installations.

Thanks

No sound on a mini-pc connected via HDMI...

Posted: 09 May 2018, 06:41
by casystems
Ok - I'll send an email...

I have also found that a ./reboot doesn''t reboot the device - it just black screens. Do you think this be related to the sound issue?

No sound on a mini-pc connected via HDMI...

Posted: 09 May 2018, 07:18
by fanthom
Please try this parameter to fix the rebooting issues:

Code: Select all

kernel_parameters=reboot=efi,pci,force
Thanks

No sound on a mini-pc connected via HDMI...

Posted: 09 May 2018, 15:23
by casystems
The kernel_parameters worked a treat.

No sound on a mini-pc connected via HDMI...

Posted: 10 May 2018, 11:43
by casystems
I might be being a bit thick but how do I edit the thread title?

No sound on a mini-pc connected via HDMI...

Posted: 10 May 2018, 18:14
by fanthom
You need to edit your first post.

No sound on a mini-pc connected via HDMI...

Posted: 11 May 2018, 06:02
by casystems
I can't *SEE* how to edit the post...clicking on the title just positions it in the browser and I only have 2 icons on the right (a ! and ")