marl post at 2015-10-25 06:21:51

Orange PI PC, No sound [RESOLVE]

Edited by marl at 2015-10-31 03:51

I tried OrangePI-PC_Ubuntu_Vivid_Mate and OrangePI_Jessie_Xfce images from here http://www.orangepi.org/orangepi ... d=342&extra=&page=1


All is working except no sound in AV port. I'm not using HDMI, I used HDMI to VGA converter coz my monitor don't have HDMI.

Fourdee post at 2015-11-7 00:00:04

Edited by Fourdee at 2015-11-7 00:02

Did some work on this today:

Set HDMI output as default:
cat << _EOF_ > /etc/asound.conf
pcm.!default {
   type hw
   card 1
}

ctl.!default {
   type hw
   card 1
}
_EOF_

Set 3.5mm as output:
cat << _EOF_ > /etc/asound.conf
pcm.!default {
   type hw
   card 0
}

ctl.!default {
   type hw
   card 0
}
_EOF_

Test with:
speaker-test

You can mute/unmute the 3.5mm (lineout) channel with:
amixer set -c 0 'Audio lineout' unmute
amixer set -c 0 'Audio lineout' mute


I get an error when using type plughw in asound.conf:
ALSA lib dlmisc.c:252:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/arm-linux-gnueabihf/alsa-lib/libasound_module_pcm_plughw.so
However, i can run speaker test using plughw on both devices.
speaker-test -Dplughw:1
speaker-test -Dplughw:0

jock post at 2015-12-8 19:43:55

It is a permissions problem.

Your user must be in the audio group to access the audio filesystem object. Normally "orangepi" user is not member of such group, in fact if you run speaker-test from root you should get audio from analog. More than this, as normal user you aren't even able to run alsamixer, because you don't have permissions.

To gain normal user access to audio, just add orangepi user to audio group in /etc/group, then log out and log in.
Nonetheless in my setup audio is quite low in volume when I run audio applications as standard user. It is ok when I run it as root.




Doumekxkai post at 2015-10-25 08:28:20

I'm facing the same problem. In my case I'm using HDMI video output without converters.

marl post at 2015-10-25 09:22:57

Doumekxkai replied at 2015-10-25 08:28
I'm facing the same problem. In my case I'm using HDMI video output without converters.
Fixed mine. I disabled HDMI audio output on settings.

linux34 post at 2015-10-25 15:25:55

Im working with OrangePI_Jessie.

I will play mp3 from AV port, I cant found seeting.alsamixer is ready. I need help plase.

marl post at 2015-10-26 16:31:52

linux34 replied at 2015-10-25 15:25
Im working with OrangePI_Jessie.

I will play mp3 from AV port, I cant found seeting.alsamixer is...

yes, i have same OS. i don't have the device right now, once i have it i will post a screenshot here. you can explore in the meantime. i think it was in the sound settings.

Tafka post at 2015-10-30 04:26:26

Some channels are probably muted.
It helps https://www.youtube.com/watch?v=-FgMni9I374

marl post at 2015-10-30 14:34:32

Tafka replied at 2015-10-30 04:26
Some channels are probably muted.
It helps https://www.youtube.com/watch?v=-FgMni9I374

Not muted. Just needed to disable the hdmi output so the other channel work. If two are enabled there is no output. That is what I have observe. So I fix mine by doing that. :)

jacer post at 2015-10-30 23:13:59

Run alsamixer and set mm of lineout.

elsid post at 2015-11-5 23:59:18

marl replied at 2015-10-30 14:34
Not muted. Just needed to disable the hdmi output so the other channel work. If two are enabled th ...

Hello!
What do you mean"disable HDMI output"? Should I mute it in alsamixer or make some changes in X settings?
page: [1] 2
View full version: Orange PI PC, No sound [RESOLVE]