markwinger post at 2015-5-25 20:30:57

Audio not working

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



wolftronics post at 2015-5-26 19:58:25

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...

magicse post at 2015-9-26 01:04:15

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")!!

markwinger post at 2015-5-25 20:48:56

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 , device 0: SUNXI-CODEC sndcodec-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: sndhdmi , device 0: SUNXI-HDMIAUDIO sndhdmi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Set , device 0: 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.

wolftronics post at 2015-5-25 21:42:07

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...

markwinger post at 2015-5-25 21:47:03

I was not aware of this command, found at http://www.alsa-project.org/main/index.php/Matrix: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.

markwinger post at 2015-5-26 09:10:57

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.

fritz post at 2015-5-26 19:51:53

banana pro is A20 and no internal audio? this is strange.
audio should work on A20.

markwinger post at 2015-5-26 21:50:49

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.

comewe7091 post at 3 daybefore

I found that Mr. Suhu AI's predictions often matched the actual results.        https://ai-mr-suhu.org/
page: [1]
View full version: Audio not working