You are not logged in.

#1 2017-03-29 02:22

Pieater
Member
Registered: 2017-03-29
Posts: 12

Orange pi one no sound after installing Q4OS

hello,
after a fresh install of Q4os everything works great even the crappy wifi dongle...but no sound on the hdmi monitor. with the ubuntu image for the pi one sound and video were working great but the wifi dongle is not. as I prefer Q4os I am requesting help to solve it.
I have the speaker icon and I have tested all possible configurations from fresh installs, with no success, any help is very much apreciated big_smile

Offline

#2 2017-03-29 06:43

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: Orange pi one no sound after installing Q4OS

Please first try to follow recommendations here https://www.q4os.org/dqa011.html#install.3 and post results here.

Do you use 'Q4OS ARM port' https://www.q4os.org/dqa012.html or 'Raspberry Pi port' https://www.q4os.org/dqa010.html ?

Offline

#3 2017-03-29 19:03

Pieater
Member
Registered: 2017-03-29
Posts: 12

Re: Orange pi one no sound after installing Q4OS

hi
I did the instqllqtion in 2 steps
1st---Iinstallqtion of debian for the orange pi one server version downloaded from  https://www.armbian.com/orange-pi-one/

2nd---I used these lines :

$ wget q4os.org/downloads/q4os-setup.sh
$ su
# sh q4os-setup.sh

and voila I got Q4OS fully installed

Last edited by Pieater (2017-03-29 19:27)

Offline

#4 2017-03-29 19:27

Pieater
Member
Registered: 2017-03-29
Posts: 12

Re: Orange pi one no sound after installing Q4OS

after typping artsplay /opt/trinity/share/sounds/KDE_Startup.wav

text below appears

root@orangepione:/home/strongarm/Desktop# artsplay /opt/trinity/share/sounds/KDE_Startup.wav
bash: artsplay: command not found
root@orangepione:/home/strongarm/Desktop#

then :
root@orangepione:/home/strongarm/Desktop# artsshell terminate
bash: artsshell: command not found

i do not know if it is related but I click on log out and then turn off the orange pi reboots strange behavior
just in case :
root@orangepione:/home/strongarm/Desktop# uname -r
3.4.113-sun8i

root@orangepione:/home/strongarm/Desktop# cat /etc/issue
Debian GNU/Linux 8 \n \l

root@orangepione:/home/strongarm/Desktop# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 8.7 (jessie)
Release:        8.7
Codename:       jessie
Thanks for your help smile

Offline

#5 2017-03-29 19:41

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: Orange pi one no sound after installing Q4OS

You have incorrectly tried to run 'artsplay' as root. Please run commands as a user, if marked by '$', and as root if marked by '#'. So, try to follow steps in https://www.q4os.org/dqa011.html#install.3 once more, and paste output here to analyze.

Offline

#6 2017-03-30 19:12

Pieater
Member
Registered: 2017-03-29
Posts: 12

Re: Orange pi one no sound after installing Q4OS

Ok,
as I forgot the cable at the office I had to wait until today to test...


strongarm@orangepione:~/Desktop$ artsplay /opt/trinity/share/sounds/KDE_Startup.wav
strongarm@orangepione:~/Desktop$


no sound at all, no error message... nothing...

and then :

strongarm@orangepione:~/Desktop$ artsshell terminate
sound server terminated
strongarm@orangepione:~/Desktop$ aplay /opt/trinity/share/sounds/KDE_Startup.wav
Playing WAVE '/opt/trinity/share/sounds/KDE_Startup.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
strongarm@orangepione:~/Desktop$

It says Playing wave, but there is no sound even with loud volume...

Offline

#7 2017-03-30 19:33

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: Orange pi one no sound after installing Q4OS

Well, did you check mixer levels thoroughly as described in https://www.q4os.org/dqa011.html#install.3 ?

If so, try to run in terminal:
$ aplay -l
$ aplay -v /opt/trinity/share/sounds/KDE_Startup.wav
$ amixer
and post output here to analyze.

Offline

#8 2017-03-30 22:04

Pieater
Member
Registered: 2017-03-29
Posts: 12

Re: Orange pi one no sound after installing Q4OS

hello,
yes I triple checked mixers levels.

strongarm@orangepione:~/Desktop$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: audiocodec [audiocodec], device 0: SUNXI-CODEC sndcodec-0 []
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: sndhdmi [sndhdmi], device 0: SUNXI-HDMIAUDIO sndhdmi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
strongarm@orangepione:~/Desktop$

strongarm@orangepione:~/Desktop$ aplay -v /opt/trinity/share/sounds/KDE_Startup.wav
aplay: main:722: audio open error: Device or resource busy
strongarm@orangepione:~/Desktop$

strongarm@orangepione:~/Desktop$ amixer
Simple mixer control 'Lineout volume control',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 31
  Mono: 24 [77%]
Simple mixer control 'ADC input gain ctrl',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 7
  Mono: 3 [43%]
Simple mixer control 'Audio adda drc',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Audio adda loop',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Audio linein in',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Audio lineout',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'LINEIN_G boost stage output mixer control',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 7
  Mono: 3 [43%]
Simple mixer control 'MIC1 boost AMP gain control',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 7
  Mono: 5 [71%]
Simple mixer control 'MIC1_G boost stage output mixer control',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 7
  Mono: 3 [43%]
Simple mixer control 'MIC2 boost AMP gain control',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 7
  Mono: 4 [57%]
Simple mixer control 'MIC2_G boost stage output mixer control',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 7
  Mono: 3 [43%]
Simple mixer control 'audio capture mode',0
  Capabilities: enum
  Items: 'main mic' 'mic1_2' 'linein'
  Item0: 'main mic'
strongarm@orangepione:~/Desktop$

Offline

#9 2017-03-31 07:32

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: Orange pi one no sound after installing Q4OS

Please try to go to the mixer in systemtray once more. In top right corner, you should be able to switch between two sound cards. Please set mixer levels for both. If the sound will not work, run 'alsamixer' in terminal and try to tune mixer levels for both cards as well.

Offline

#10 2017-03-31 16:47

Pieater
Member
Registered: 2017-03-29
Posts: 12

Re: Orange pi one no sound after installing Q4OS

Card: audiocodec                                     F1:  Help               │
│ Chip:                                                F2:  System information │
│ View: F3:[Playback] F4: Capture  F5: All             F6:  Select sound card  │
│ Item: MIC1 boost AMP gain control                    Esc: Exit               │
│                                                                              │
│     ┌──┐     ┌──┐                                         ┌──┐     ┌──┐      │
│     │▒▒│     │▒▒│                                         │▒▒│     │▒▒│      │
│     │▒▒│     │▒▒│                                         │▒▒│     │▒▒│      │
│     │▒▒│     │▒▒│                                         │▒▒│     │▒▒│      →
│     │▒▒│     │▒▒│                                         │▒▒│     │▒▒│      →
│     │▒▒│     │▒▒│                                         │▒▒│     │▒▒│      →
│     │▒▒│     │▒▒│                                         │▒▒│     │▒▒│      →
│     │▒▒│     │▒▒│                                         │▒▒│     │▒▒│      →
│     │▒▒│     │▒▒│                                         │▒▒│     │▒▒│      →
│     │▒▒│     │▒▒│                                         │▒▒│     │▒▒│      →
│     │▒▒│     │▒▒│                                         │▒▒│     │▒▒│      │
│     │▒▒│     │▒▒│                                         │▒▒│     │▒▒│      │
│     └──┘     └──┘     ┌──┐     ┌──┐     ┌──┐     ┌──┐     └──┘     └──┘      │
│                       │MM│     │MM│     │MM│     │OO│                        │
│                       └──┘     └──┘     └──┘     └──┘                        │
│     100      100                                          100      100       │
│   Lineout  ADC inpu Audio ad Audio ad Audio li Audio li LINEIN_G<MIC1 boo>   │
│                                                                              │

all levels to the max, tv screen also to the max and...no sound sad

EDIT: code blocks edited by q4osteam

Last edited by q4osteam (2017-04-01 07:35)

Offline

#11 2017-03-31 16:51

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Orange pi one no sound after installing Q4OS

MM = mute, it's difficult to see from the post but if the MM is under Master or speaker or headphones (whichever you use) then you will hear no sound. I would unmute everything and see if that works.

And a tip, enclose your output above in code blocks and it will appear more readable put [ code ] at the beginning and [ /code ] at the end. Remove the spaces they are just to allow to display the command in the post. smile

Last edited by Dai_trying (2017-03-31 16:53)

Offline

#12 2017-03-31 22:14

Pieater
Member
Registered: 2017-03-29
Posts: 12

Re: Orange pi one no sound after installing Q4OS

┌───────────────────────────── AlsaMixer v1.0.28 ──────────────────────────────┐
│ Card: audiocodec                                     F1:  Help               │
│ Chip:                                                F2:  System information │
│ View: F3: Playback  F4:[Capture] F5: All             F6:  Select sound card  │
│ Item: MIC2_G boost stage output mixer control        Esc: Exit               │
│                                                                              │
│                                                                              │
│    ┌──┐       ┌──┐       ┌──┐       ┌──┐       ┌──┐       ┌──┐       ┌──┐    │
│    │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│    │
│    │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│    │
│    │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│    │
│    │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│    │
│    │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│    │
│    │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│    │
│    │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│    │
│    │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│    │
│    │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│    │
│    │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│    │
│    │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│    │
│    │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│       │▒▒│    │
│    └──┘       └──┘      └──┘       └──┘      └──┘       └──┘      └──┘    │
│    100              100         100          100          100          100           100     │
│ Lineout vo ADC input  LINEIN_G b MIC1 boost MIC1_G boo MIC2 boost<MIC2_G boo>│
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘
┌───────────────────────────── AlsaMixer v1.0.28 ──────────────────────────────┐
│ Card: sndhdmi                                        F1:  Help               │
│ Chip:                                                F2:  System information │
│ View: F3:[Playback] F4: Capture  F5: All             F6:  Select sound card  │
│ Item: hdmi audio format Function [pcm]               Esc: Exit               │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                     pcm                                      │
│                         <hdmi audio format Function>                         │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘
 

I have the OPi connected to the tv screen by HDMI.

Thanks for the tips..I have put all the volume up at 100% even the one of the tv screen I am using...and still no sound... Thanks for any help smile

EDIT: code blocks edited by q4osteam

Last edited by q4osteam (2017-04-01 07:35)

Offline

#13 2017-03-31 22:23

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Orange pi one no sound after installing Q4OS

If you remove the spaces from the code tags your output will look like this below, Much easier to read. smile

┌─────────────────────────────────── AlsaMixer v1.1.3 ───────────────────────────────────┐
│ Card: HDA Intel PCH                                            F1:  Help               │
│ Chip: Realtek ALC3234                                          F2:  System information │
│ View: F3:[Playback] F4: Capture  F5: All                       F6:  Select sound card  │
│ Item: Master [dB gain: -27.75]                                 Esc: Exit               │
│                                                                                        │
│      ┌──┐     ┌──┐     ┌──┐     ┌──┐     ┌──┐     ┌──┐              ┌──┐               │
│      │  │     │▒▒│     │  │     │  │     │▒▒│     │▒▒│              │  │               │
│      │  │     │▒▒│     │  │     │  │     │▒▒│     │▒▒│              │  │               │
│      │  │     │▒▒│     │  │     │  │     │▒▒│     │▒▒│              │  │               →
│      │  │     │▒▒│     │  │     │  │     │▒▒│     │▒▒│              │  │               →
│      │  │     │▒▒│     │  │     │  │     │▒▒│     │▒▒│              │  │               →
│      │  │     │▒▒│     │  │     │  │     │▒▒│     │▒▒│              │  │               →
│      │  │     │▒▒│     │  │     │  │     │▒▒│     │▒▒│              │  │               →
│      │  │     │▒▒│     │  │     │  │     │▒▒│     │▒▒│              │  │               →
│      │▒▒│     │▒▒│     │  │     │  │     │▒▒│     │▒▒│              │  │               →
│      │▒▒│     │▒▒│     │  │     │  │     │▒▒│     │▒▒│              │  │               │
│      │▒▒│     │▒▒│     │  │     │  │     │▒▒│     │▒▒│              │  │               │
│      ├──┤     ├──┤     ├──┤     └──┘     ├──┤     └──┘     ┌──┐     ├──┤   Enabled     │
│      │OO│     │OO│     │MM│              │OO│              │OO│     │OO│               │
│      └──┘     └──┘     └──┘              └──┘              └──┘     └──┘               │
│       29    100<>100   0<>0     0<>0   100<>100 100<>100            0<>0               │
│   < Master >Headphon Headphon Headphon Speaker    PCM     S/PDIF    Beep   Auto-Mut    │

Last edited by Dai_trying (2017-03-31 22:23)

Offline

#14 2017-03-31 23:49

Pieater
Member
Registered: 2017-03-29
Posts: 12

Re: Orange pi one no sound after installing Q4OS

People from UK make the classiest cars and screen captures ever wink

Offline

#15 2017-04-01 07:51

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: Orange pi one no sound after installing Q4OS

@Pieater
Alsa and TDE configuration looks well. Does audio work within plain 'Armbian' https://www.armbian.com/orange-pi-one/ setup ?

Offline

#16 2017-04-01 07:59

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: Orange pi one no sound after installing Q4OS

@Pieater

Please run another commands in terminal:
$ artsshell terminate
$ aplay -v -D plughw:0,0 /opt/trinity/share/sounds/KDE_Startup.wav
$ aplay -v -D plughw:1,0 /opt/trinity/share/sounds/KDE_Startup.wav

and post results here to analyze.

Offline

#17 2017-04-01 13:30

Pieater
Member
Registered: 2017-03-29
Posts: 12

Re: Orange pi one no sound after installing Q4OS

with armbia the sound does not work, how ever with ubuntu the sound of the OPi works...with armbian the wifi dongle works but with ubuntu in spite of the 10+ methods tried to install the drivers, there was no way to make the wifi dongle work.

sound server terminated
strongarm@orangepione:~/Desktop$ aplay -v -D plughw:0,0 /opt/trinity/share/sounds/KDE_Startup.wav
Playing WAVE '/opt/trinity/share/sounds/KDE_Startup.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
Plug PCM: Hardware PCM card 0 'audiocodec' device 0 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 1
  rate         : 22050
  exact rate   : 22050 (22050/1)
  msbits       : 16
  buffer_size  : 11024
  period_size  : 2756
  period_time  : 124988
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 2756
  period_event : 0
  start_threshold  : 11024
  stop_threshold   : 11024
  silence_threshold: 0
  silence_size : 0
  boundary     : 1444937728
  appl_ptr     : 0
  hw_ptr       : 0

aplay -v -D plughw:1,0 /opt/trinity/share/sounds/KDE_Startup.wav
strongarm@orangepione:~/Desktop$ aplay -v -D plughw:1,0 /opt/trinity/share/sounds/KDE_Startup.wav
Playing WAVE '/opt/trinity/share/sounds/KDE_Startup.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
Plug PCM: Hardware PCM card 1 'sndhdmi' device 0 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 1
  rate         : 22050
  exact rate   : 22050 (22050/1)
  msbits       : 16
  buffer_size  : 11024
  period_size  : 2756
  period_time  : 124988
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 2756
  period_event : 0
  start_threshold  : 11024
  stop_threshold   : 11024
  silence_threshold: 0
  silence_size : 0
  boundary     : 1444937728
  appl_ptr     : 0
  hw_ptr       : 0
strongarm@orangepione:~/Desktop$               

BIG SURPRISE!!! NOW there was sound!!!



BIG SURP

Offline

#18 2017-04-01 13:32

Pieater
Member
Registered: 2017-03-29
Posts: 12

Re: Orange pi one no sound after installing Q4OS

Just aftre the succesfully sound played, I went to youtube and there was no sound on youtube

Offline

#19 2017-05-03 23:33

Pieater
Member
Registered: 2017-03-29
Posts: 12

Re: Orange pi one no sound after installing Q4OS

Sorry to keep asking for help...but still no sound...I can just hear one sound that is played by:
aplay -v -D plughw:1,0 /opt/trinity/share/sounds/KDE_Startup.wav

after that, no sound at all in any application, is there a command line instruction so the setup that is able to play sound keeps working AFTER the command aplay -v -D plughw:1,0 /opt/trinity/share/sounds/KDE_Startup.wav ?

Thanks a lot for helping me smile

Offline

#20 2017-05-04 16:11

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: Orange pi one no sound after installing Q4OS

Please try to create file '~/.asoundrc' with contents:

pcm.!default {
  type plug
  slave {
    pcm "hw:1,0"
  }
}
ctl.!default {
  type hw
  card 1
}

reboot your OPi and check the audio in terminal:
$ aplay /opt/trinity/share/sounds/KDE_Startup.wav

Offline

#21 2017-05-07 18:07

Pieater
Member
Registered: 2017-03-29
Posts: 12

Re: Orange pi one no sound after installing Q4OS

Hello operations were done, no sound, and no error message...

Offline

Board footer

Powered by FluxBB