Jump to content

OrangePiPC + Armbian embedded microphone issue


Mr. Fennec

Recommended Posts

Hi there, I am trying to build a voice assistant using OrangePiPc. This is not orangepi zero, but I am posting it here, because there is no subthread for orangepipc. OrangePiPc has an embedded microphone, but for some reason it doesn't work. When I run arecord, I get an input/output error. Any ideas?

 

image.thumb.png.f610f0427f31765037882a5409c428c5.png

 

Here is a board description: http://www.orangepi.org/orangepiwiki/index.php/Orange_Pi_PC

arecord -l

card 0: Codec [H3 Audio Codec], device 0: CDC PCM Codec-0 [CDC PCM Codec-0]

Subdevices: 1/1

Subdevice #0: subdevice #0

root@orangepipc:~# aplay -l

**** List of PLAYBACK Hardware Devices ****

card 0: Codec [H3 Audio Codec], device 0: CDC PCM Codec-0 [CDC PCM Codec-0]

Subdevices: 1/1

Subdevice #0: subdevice #0

card 1: sun9ihdmi [sun9i-hdmi], device 0: SUN9I-HDMI PCM i2s-hifi-0 [SUN9I-HDMI PCM i2s-hifi-0]

Subdevices: 1/1

Subdevice #0: subdevice #0


 

root@orangepipc:~# arecord -d 5 -f cd -t wav hello.wav

Recording WAVE 'hello.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereoarecord: pcm_read:2221: read error: Input/output error


root@orangepipc:~# cat /etc/issue

Armbian 23.11.1 Bookworm \l


root@orangepipc:~# uname -a

Linux orangepipc 6.1.63-current-sunxi #1 SMP Mon Nov 20 10:52:19 UTC 2023 armv7l GNU/Linux

 

Link to comment
Share on other sites

Armbian & Khadas are rewarding contributors

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...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines