Jump to content

No Sound on NanoPI M1


Wazou

Recommended Posts

Hi,

 

I've recently acquired some nanoPi M1, and just about now installed ARMBIAN. However I can't seem to get any sound working via 3.5 analog jack.

 

Volume is set right on alsamixer

Speaker are working and volume is set at max

Soundcard is listed

 

but yet I have absolutely no sound ... any ideas ?

root@user:~# 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
root@user:~# cat /proc/asound/cards
 0 [audiocodec     ]: audiocodec - audiocodec
                      audiocodec
 1 [sndhdmi        ]: sndhdmi - sndhdmi
                      sndhdmi
root@user:~# aplay  /usr/share/sounds/alsa/Noise.wav
Playing WAVE '/usr/share/sounds/alsa/Noise.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
Link to comment
Share on other sites

I assume you are using legacy kernel, I have the same issue.

asoc: sndcodec <-> sunxi-codec mapping ok
[    1.622219] [DAUDIO]sunxi-daudio cannot find any using configuration for controllers, return directly!
[    1.622593] [I2S]snddaudio cannot find any using configuration for controllers, return directly!
[    1.622624] [DAUDIO0] driver not init,just return.
[    1.628874] asoc: sndhdmi <-> sunxi-hdmiaudio.0 mapping ok

[    1.679706] ALSA device list:
[    1.679722]   #0: audiocodec
[    1.679736]   #1: sndhdmi

let's see if sound work with hdmi

Link to comment
Share on other sites

It looks as an interesting alternative to the orange PI one

http://www.friendlyarm.com/index.php?route=product/product&product_id=109

 

Regarding available connectors it's more like OPi PC, size of DRAM is your choice and you should keep in mind that NanoPi M1 uses the more primitive voltage regulator known from One/Lite and unfortunately shows also strange overheating behaviour compared to the various Oranges (almost as bad as the worst H3 device in this area: BPi M2+). But fortunately FriendlyARM just recently reduced shipping costs from $10 to $5 :)

 

http://forum.armbian.com/index.php/topic/1015-nanopi-m1/ (info that's missing there is that you can power the board also through the 4 pin header next to the 40 pin GPIO header)

Link to comment
Share on other sites

Thanks for the link I missed it .

Yes that is mainly the connectors that I like.

Having most of them ,RJ45,HDMI,USB  on the same side of the board simplifies the design

of a decent box.

Cooling of the CPU is another drawback of most of those boards.

IMHO it would be much easier if the CPU was on the other side of the board.

Link to comment
Share on other sites

Good night, I have the sound problem but with hdmi audio, de default is the 3.5 mm audio jack, then I looked for the asound.conf in /etc, then I found that this file doesn't exist and after that I've created it with the following content:

 

pcm.!default {
    type hw
    card 1
    device 0
}
 
ctl.!default {
    type hw
    card 1
}

the problem is that even created this way the sound output still being the 3.5 mm jack and I don't know if I need to change some setting to mpv player to output the sound through hdmi.

 

What else can I do to change the sound from audio jack to hdmi?

 

Edited by vr@m
forgot to write something
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines