0
Starbeamrainbowlabs

Sound only coming out of 1 speaker

Recommended Posts

Armbianmonitor:

I'm testing out the Orange Pi 3 Ubuntu 18.04 image (Link: https://www.armbian.com/orange-pi-3/), and I'm trying to play some sound using a USB adapter (Link: https://www.amazon.co.uk/gp/product/B000R5NJD8/).

 

I originally posted this as a question on Ask Ubuntu (link: https://askubuntu.com/questions/1163369/sound-only-1-speaker-is-working), but I was advised to file a bug report about the issue.

 

I'm acutely aware that this post belongs in the Allwinner H6 forum (Link: https://forum.armbian.com/forum/18-allwinner-h6/), but it would appear that there are restrictions in place to prevent me from posting there.

 

It works...... but only through the left speaker. If I do this:

speaker-test --test wav --channels 2

...I hear "front right" out of the front-left speaker, and I do not hear "front left" at all. If I instead test just 1 channel:

speaker-test --test wav --channels 1

...then I hear "front left" out of the front-left speaker.

The same goes for if I play some music with `aplay`:

aplay test.wav

I ran the `alsa-info` program, and got this link, which contains a bunch of useful information: https://alsa-project.org/db/?f=39d0b2d680cd04a510e0bc0615d7ba771f4b29d2

I've checked the levels in `alsamixer` already: https://i.stack.imgur.com/N7U0f.png (Link to screenshot of the terminal)

alsamixer -c1

Additionally, I checked the USB adapter in question on another (also Ubuntu) machine (that has a GUI) (`alsa-info` link: https://alsa-project.org/db/?f=2f7f9550539333685966e7fd35ace8524281ba40). Both channels worked flawlessly as intended.

I do have PulseAudio installed, but playing through that yields the exact same problem.

Does anyone know what's gone wrong? I'd very much like to listen to things through both speakers.

Share this post


Link to post
Share on other sites
1 hour ago, Starbeamrainbowlabs said:

but I was advised to file a bug report about the issue


We don't file 3rd party hardware bugs neither. Armbian is small amateur based project focused to onboard hw, which is hard enough, with virtually no budget for R&D.

 

1 hour ago, Starbeamrainbowlabs said:

I'm acutely aware that this post belongs

 

Not anymore. But that does not change anything for you - it was only to lower our costs.

 

1 hour ago, Starbeamrainbowlabs said:

I'd very much like to listen to things through both speakers.

 

This issue is more or less generic (moving to peer to peer section) and tied to this particular (5.1.y) kernel I would guess. Most simple thing which you can do is to compare kernel configurations between working and non-working one, especially in sound section. Then check LKML for alsa related bugs ... and if/when you find a problem, submit a patch.

Share this post


Link to post
Share on other sites

Hey! Many thanks for the reply, @Igor. I tried my best to find the most appropriate place, but I must have gotten confused :P

 

5 hours ago, Igor said:

compare kernel configurations between working and non-working one, especially in sound section

 

I see. How would I go about doing that? Where can I find the appropriate kernel configurations to compare please?

 

5 hours ago, Igor said:

Then check LKML for alsa related bugs

 

Not sure I know what "LKML" refers to, sorry.

 

5 hours ago, Igor said:

and if/when you find a problem, submit a patch

 

I assume that would be against a git repository somewhere? I'm certainly open to doing so, but it sounds rather intimidated at the moment :P

Share this post


Link to post
Share on other sites

Solution is not simple. Not for me and I guess also not for you.

 

1 minute ago, Starbeamrainbowlabs said:

appropriate kernel configurations


Ours: https://github.com/armbian/build/tree/master/config/kernel

General: https://www.google.com/search?q=how+to+obtain+a+kernel+config+from+running

 

4 minutes ago, Starbeamrainbowlabs said:

Not sure I know what "LKML" refers to, sorry.

 

Google. You won't believe, 1st hit ;)

 

5 minutes ago, Starbeamrainbowlabs said:

I assume that would be against a git repository somewhere?


https://docs.armbian.com/Process_Contribute/

It could be something like this: https://github.com/armbian/build/pull/1403

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0