Page 1 of 1

audio on NanoPi NEO Air V1.0

Posted: Tue Jan 29, 2019 2:33 pm
by Raymond Day
I solder wires to 2 of the 4 pads on this small board. I test for sound but get none.

Edit the "nano /etc/asound.conf" and do aplay /root/Music/test.wav and don't play any sound. I can only set the /etc/asound.conf to card 1 else the aplay will error.

What is the right setting to use the built in audio?

Got this photo of the solder job I did hard to get a good photo of it because so small.

NanoPi Neo Air audio built in2.jpg
NanoPi Neo Air audio built in2.jpg (144.3 KiB) Viewed 846 times


Any one else do this and got the audio working?

How can you by the NanoPi NEO Air V1.1 were it has the audio on pins you can solder in holes.

-Raymond Day

Re: audio on NanoPi NEO Air V1.0

Posted: Tue Jan 29, 2019 3:31 pm
by igorp
Raymond Day wrote:
I solder wires to 2 of the 4 pads on this small board. I test for sound but get none.

Edit the "nano /etc/asound.conf" and do aplay /root/Music/test.wav and don't play any sound. I can only set the /etc/asound.conf to card 1 else the aplay will error.

What is the right setting to use the built in audio?

Got this photo of the solder job I did hard to get a good photo of it because so small.

NanoPi Neo Air audio built in2.jpg


Any one else do this and got the audio working?

How can you by the NanoPi NEO Air V1.1 were it has the audio on pins you can solder in holes.

-Raymond Day


It depends of the OS. At least on Armbian you need to enable audio codec in armbian-config -> hardware ... I am not sure its enabled by default. Also not sure it this is the case on stock images.

Re: audio on NanoPi NEO Air V1.0

Posted: Tue Jan 29, 2019 3:46 pm
by Raymond Day
Because I can't get sound like that I thought I try blue tooth. But it seems like it will not connect like that ether.

Here is the command line looks good but the blue tooth speaker never says connected. I tested it with a Amazon tablet and when it connects the speaker will say "blue tooth connected" But it don't with this NanoPi NEO Air.

Welcome to Ubuntu 16.04.5 LTS 3.4.39-h3
System load: 1.60 Up time: 31 sec
Memory usage: 45 % of 494Mb IP: 192.168.86.250
CPU temp: 50°C
Usage of /: 15% of 29G

* Documentation: http://wiki.friendlyarm.com/Ubuntu
* Forum: http://www.friendlyarm.com/Forum/

pi@NanoPi-NEO-Air:~$ su root
Password:
root@NanoPi-NEO-Air:/home/pi# bluetoothctl
[NEW] Controller 20:F5:E9:2F:71:9D NanoPi-NEO-Air [default]
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# agent on
Agent registered
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# scan on
Discovery started
[CHG] Controller 20:F5:E9:2F:71:9D Discovering: yes
[NEW] Device 2E:D5:F1:80:AC:DF BS-28B
[NEW] Device 00:0D:4B:D0:C3:5E Roku Player
[NEW] Device 00:04:4B:73:A5:2A SHIELD
[bluetooth]# pair 2E:D5:F1:80:AC:DF
Attempting to pair with 2E:D5:F1:80:AC:DF
[CHG] Device 2E:D5:F1:80:AC:DF Class: 0x340404
[CHG] Device 2E:D5:F1:80:AC:DF Icon: audio-card
[CHG] Device 2E:D5:F1:80:AC:DF Connected: yes
[CHG] Device 2E:D5:F1:80:AC:DF UUIDs: 00001101-0000-1000-8000-00805f9b34fb
[CHG] Device 2E:D5:F1:80:AC:DF UUIDs: 0000110b-0000-1000-8000-00805f9b34fb
[CHG] Device 2E:D5:F1:80:AC:DF UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
[CHG] Device 2E:D5:F1:80:AC:DF UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[CHG] Device 2E:D5:F1:80:AC:DF Paired: yes
Pairing successful
[CHG] Device 2E:D5:F1:80:AC:DF Connected: no
[bluetooth]# scan off
[CHG] Device 00:04:4B:73:A5:2A RSSI is nil
[CHG] Device 00:0D:4B:D0:C3:5E RSSI is nil
[CHG] Device 2E:D5:F1:80:AC:DF RSSI is nil
[CHG] Controller 20:F5:E9:2F:71:9D Discovering: no
Discovery stopped
[bluetooth]# exit
Agent unregistered
[DEL] Controller 20:F5:E9:2F:71:9D NanoPi-NEO-Air [default]
root@NanoPi-NEO-Air:/home/pi#



Am I doing something wrong? Any one else got this working on audio blue tooth? if so how?

I still like the audio to work on the little pads I solder wires too.

-Raymond Day

Re: audio on NanoPi NEO Air V1.0

Posted: Tue Jan 29, 2019 5:44 pm
by igorp
Bluetooth is ... problematic. I did have some success with our Bionic desktops and with Cubietruck (which has similar chip) and Tinkerboard ... I could easily connect audio sink to my BT speaker and sound worked instantly.

Try Armbian, enable codec (that's support for analog audio which you are trying to use) and it might just work. Haven't tried on this board but if it is wired properly, there are no reasons why it doesn't work.

Re: audio on NanoPi NEO Air V1.0

Posted: Fri Mar 15, 2019 6:28 am
by auto3000
Yes Audio (in and out) are working on nanopi neo air v1. I got mainly software problems to make it working on my specific setup (need to patch the kernel and configure alsa). You may find some info I wrote at https://github.com/auto3000/meta-nanopi-neo-air