View: 16222|Reply: 8

Audio not working

[Copy link]

1

threads

39

posts

137

credits

Registered member

Rank: 2

credits
137
Published in 2015-5-25 20:30:57 | Show all floors |Read mode
I just got my Orange pi plus yesterday and installed ubuntu.  I am trying get audio to work on it but have been unsuccessfull so far.  I am using asla with jack.  Here is an example:
---------------------------------------
orangepi@orangepi:~$ speaker-test -D hw:0,0

speaker-test 1.0.27.2

Playback device is hw:0,0
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Broken configuration for playback: no configurations available: Inappropriate ioctl for device
Setting of hwparams failed: Inappropriate ioctl for device
---------------------------------------

I cannot get any audio to work.  Is audio even enabled in the kernel?

Thanks.  Mark



4

threads

65

posts

260

credits

Intermediate member

Rank: 3Rank: 3

credits
260
Published in 2015-5-26 19:58:25 | Show all floors
fritz replied at 2015-5-26 19:51
banana pro is A20 and no internal audio? this is strange.
audio should work on A20.

http://www.igorpecovnik.com/2014/09/07/banana-pi-debian-sd-image/
Known bugs or limitations
  • No audio driver, IR, HW video, I2C and SPI untested on new kernel

H3 dac audio not work...

18

threads

200

posts

888

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
888
Published in 2015-9-26 01:04:15 | Show all floors

0.

Edited by magicse at 2015-9-25 19:15

Audio worked on 3.5 jack on Lubuntu 1404 0.9.0!!
Start alsamixer in console and enable Item: Audio lineout (select 6 item and press there key "m")!!
Orange PI 2
www.orangepi.pp.ua

1

threads

39

posts

137

credits

Registered member

Rank: 2

credits
137
 Author| Published in 2015-5-25 20:48:56 | Show all floors
I cannot even get my usb audio dongle to work.  Here is the aplay -l output:
orangepi@orangepi:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: audiocodec [audiocodec], device 0: SUNXI-CODEC sndcodec-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sndhdmi [sndhdmi], device 0: SUNXI-HDMIAUDIO sndhdmi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Set [C-Media USB Headphone Set], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

speaker-test does the same thing.
orangepi@orangepi:~$ speaker-test -d hw:2,0

speaker-test 1.0.27.2

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Broken configuration for playback: no configurations available: Inappropriate ioctl for device
Setting of hwparams failed: Inappropriate ioctl for device

I have this working on all other fruits (raspberry pi b+ rev 2, banana pro), but not on an orange.

4

threads

65

posts

260

credits

Intermediate member

Rank: 3Rank: 3

credits
260
Published in 2015-5-25 21:42:07 | Show all floors
Edited by wolftronics at 2015-5-25 23:25
markwinger replied at 2015-5-25 20:48
I cannot even get my usb audio dongle to work.  Here is the aplay -l output:
orangepi@orangepi:~$ ap ...

Orange Pi Plus Bugs,featured,etc.
http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=245&extra=page%3D1
no DAC audio driver in kernel ...
usb soundcard not work debian...

1

threads

39

posts

137

credits

Registered member

Rank: 2

credits
137
 Author| Published in 2015-5-25 21:47:03 | Show all floors
I was not aware of this command, found at http://www.alsa-project.org/main ... ix:Module-usb-audio
--------------------------
Most modern distros come with soundcore compiled as a module. You can check this in numerous ways. The easiest way is to type:

       modinfo soundcore

If this command returns that you have this module, then you don't need to recompile your kernel.
-----------------------------
when I run it I get this:
-----------------------------
orangepi@orangepi:~$  modinfo soundcore
libkmod: ERROR ../libkmod/libkmod.c:507 kmod_lookup_alias_from_builtin_file: could not open builtin file '/lib/modules/3.4.39/modules.builtin.bin'
modinfo: ERROR: Module soundcore not found.
------------------------------

Do I need to rebuild the kernel myself?  (I would prefer not to as my past experiences for other 'fruit' has been long and painful)
It seems to me that this should be included by default.

Mark.

1

threads

39

posts

137

credits

Registered member

Rank: 2

credits
137
 Author| Published in 2015-5-26 09:10:57 | Show all floors
wolftronics.

I have a banana-pro running ubuntu.  I can confirm that the internal audio does not work. (Igorpec said there is no driver available yet).  But the usb audio does work, but I had to build a kernel with it enabled.

Mark.

5

threads

354

posts

2731

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
2731
Published in 2015-5-26 19:51:53 | Show all floors
banana pro is A20 and no internal audio? this is strange.
audio should work on A20.
Boards:
orangepi plus, olinuxino A20, cubieboard A10, mele A2000 .....

1

threads

39

posts

137

credits

Registered member

Rank: 2

credits
137
 Author| Published in 2015-5-26 21:50:49 | Show all floors
wolftronics replied at 2015-5-26 19:58
http://www.igorpecovnik.com/2014/09/07/banana-pi-debian-sd-image/
Known bugs or limitations
  • No  ...

  • According to Igorpec, the audio uses dma but drivers to support that are not ready.

    Note: for the banana.  Don't know if the Orange is the same issue.

    Mark.

    You need to log in before you can reply login | Register

    Points Rule

    Quick reply Top Return list