View: 47625|Reply: 13

Orange PI PC, No sound [RESOLVE]

[Copy link]

1

threads

7

posts

73

credits

Registered member

Rank: 2

credits
73
Published in 2015-10-25 06:21:51 | Show all floors |Read mode
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.

2

threads

42

posts

1640

credits

Gold member

Rank: 6Rank: 6

credits
1640
Published in 2015-11-7 00:00:04 | Show all floors
Edited by Fourdee at 2015-11-7 00:02

Did some work on this today:

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

  6. ctl.!default {
  7.    type hw
  8.    card 1
  9. }
  10. _EOF_
Copy code


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

  6. ctl.!default {
  7.    type hw
  8.    card 0
  9. }
  10. _EOF_
Copy code


Test with:
  1. speaker-test
Copy code


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



I get an error when using type plughw in asound.conf:
  1. 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
Copy code

However, i can run speaker test using plughw on both devices.
  1. speaker-test -Dplughw:1
  2. speaker-test -Dplughw:0
Copy code


DietPi - Lightweight justice for your Orange Pi. http://dietpi.com

0

threads

3

posts

54

credits

Registered member

Rank: 2

credits
54
Published in 2015-12-8 19:43:55 | Show all floors
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.




2

threads

4

posts

122

credits

Registered member

Rank: 2

credits
122
Published in 2015-10-25 08:28:20 | Show all floors
I'm facing the same problem. In my case I'm using HDMI video output without converters.

1

threads

7

posts

73

credits

Registered member

Rank: 2

credits
73
 Author| Published in 2015-10-25 09:22:57 | Show all floors
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.

9

threads

29

posts

329

credits

Intermediate member

Rank: 3Rank: 3

credits
329
Published in 2015-10-25 15:25:55 | Show all floors
Im working with OrangePI_Jessie.

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

1

threads

7

posts

73

credits

Registered member

Rank: 2

credits
73
 Author| Published in 2015-10-26 16:31:52 | Show all floors
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.

0

threads

3

posts

30

credits

Novice

Rank: 1

credits
30
Published in 2015-10-30 04:26:26 | Show all floors
Some channels are probably muted.
It helps https://www.youtube.com/watch?v=-FgMni9I374

1

threads

7

posts

73

credits

Registered member

Rank: 2

credits
73
 Author| Published in 2015-10-30 14:34:32 | Show all floors
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.

18

threads

303

posts

9897

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9897
Published in 2015-10-30 23:13:59 from mobile | Show all floors
Run alsamixer and set mm of lineout.

0

threads

6

posts

150

credits

Registered member

Rank: 2

credits
150
Published in 2015-11-5 23:59:18 | Show all floors
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?
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list