0
otimp2

NanoPi-NEO-Core2, Armbian Stretch, H3 Audio Codec MIC Input Not working

Recommended Posts

I tested with Armbian Stretch image on NanoPi-NEO-Core2.


PJSIP VoIP Client. MIC input does not work.
Additional USB sound cards work well.

In FriendelyARM original firmware, MIC input works well.
I hope that this issue will be resolved.

Please help me.

Share this post


Link to post
Share on other sites

The NanoPiDuo board is the same symptom.
The following logs are left.

 

root@nanopiduo:~# arecord -vv -f dat /dev/null
Recording WAVE '/dev/null' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
Plug PCM: Hardware PCM card 0 'H3 Audio Codec' device 0 subdevice 0
Its setup is:
  stream       : CAPTURE
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 24000
  period_size  : 6000
  period_time  : 125000
  tstamp_mode  : NONE
  tstamp_type  : MONOTONIC
  period_step  : 1
  avail_min    : 6000
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 24000
  silence_threshold: 0
  silence_size : 0
  boundary     : 1572864000
  appl_ptr     : 0
  hw_ptr       : 0
arecord: pcm_read:2103: read error: Input/output error
root@nanopiduo:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Codec [H3 Audio Codec], device 0: CDC PCM Codec-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
root@nanopiduo:~#
 

Share this post


Link to post
Share on other sites
22 hours ago, Igor said:


어떤 커널 버전을 사용하고 있습니까?

I am useing "Armbian_5.59_Nanopineocore2_Debian_stretch_next_4.14.65.7z" image.

Share this post


Link to post
Share on other sites

 

On 8/22/2018 at 2:26 AM, otimp2 said:

In FriendelyARM original firmware, MIC input works well.

 

And which was the original firmware? Was it kernel 3.10.y?

Share this post


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

Perhaps we could use this for our NEXT/4.14.y branch? It shouldn't be worse

 

Well, I believe FriendlyELEC did as much as possible to support their own H3 and H5 boards (partially doing things incompatible to upstream kernel/u-boot -- see their way to define DRAM clockspeeds and automagically detect the boards based on specific pin settings) but I doubt they ever took care about other platforms than H3/H5.

 

So no idea how much efforts it would take for this stuff to work since some of their stuff relies on using their (patched) u-boot anyway (of course me not being that interested in Allwinner hardware any more -- my only hope is that Armbian follows a conservative upgrade policiy and bricked boards after kernel or u-boot updates will never happen again)

Share this post


Link to post
Share on other sites

The same problem is still continuing.

The first is the abnormal operation status log, and the second is the normal operation status log.

The first one works with the Armbian Debian_stretch_next_4.14.78 firmware and the second one with the FrandelyARM firmware.

Is there any way to improve this?

 


Log #1

root@nanopineo:~# arecord -vv -f dat /dev/null
Recording WAVE '/dev/null' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
Plug PCM: Hardware PCM card 0 'H3 Audio Codec' device 0 subdevice 0
Its setup is:
  stream       : CAPTURE
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 24000
  period_size  : 6000
  period_time  : 125000
  tstamp_mode  : NONE
  tstamp_type  : MONOTONIC
  period_step  : 1
  avail_min    : 6000
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 24000
  silence_threshold: 0
  silence_size : 0
  boundary     : 1572864000
  appl_ptr     : 0
  hw_ptr       : 0
arecord: pcm_read:2103: read error: Input/output error


Log #2

root@NanoPi-NEO-Core:~# arecord -vv -f dat /dev/null
Recording WAVE '/dev/null' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
Hardware PCM card 2 'H3 Audio Codec' device 0 subdevice 0
Its setup is:
  stream       : CAPTURE
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 24000
  period_size  : 6000
  period_time  : 125000
  tstamp_mode  : NONE
  tstamp_type  : MONOTONIC
  period_step  : 1
  avail_min    : 6000
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 24000
  silence_threshold: 0
  silence_size : 0
  boundary     : 1572864000
  appl_ptr     : 0
  hw_ptr       : 0
##+                                                | 02%^C
Aborted by signal Interrupt...
# +                                                | 02%
 

Share this post


Link to post
Share on other sites

This issue is common to the NanoPi NEO Duo (H2 + Core) / NanoPi NEO Core (H3 Core) / NanoPi NEO Core2 (H5 Core).

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