Phong Posted May 9, 2016 Posted May 9, 2016 hi all, My Orange Pi PC here: uname -a Linux orangepipc 3.4.112-sun8i #30 SMP PREEMPT Sat Apr 30 19:49:10 CEST 2016 armv7l GNU/Linux and dmeg like this [ 1.017014] asoc: sndcodec <-> sunxi-codec mapping ok [ 1.017964] [DAUDIO]sunxi-daudio cannot find any using configuration for controllers, return directly! [ 1.018158] [I2S]snddaudio cannot find any using configuration for controllers, return directly! [ 1.018174] [DAUDIO0] driver not init,just return. [ 1.021480] asoc: sndhdmi <-> sunxi-hdmiaudio.0 mapping ok and I check status of ALSA lib # systemctl status alsa-state.service ◠alsa-state.service - Manage Sound Card State (restore and store) Loaded: loaded (/lib/systemd/system/alsa-state.service; static) Active: active (running) since Sun 2016-05-08 23:09:42 ICT; 11h ago Main PID: 453 (alsactl) CGroup: /system.slice/alsa-state.service └─453 /usr/sbin/alsactl -E HOME=/var/run/alsa -s -n 19 -c rdaemon May 08 23:09:42 orangepipc alsactl[453]: alsactl 1.0.28 daemon started May 08 23:09:42 orangepipc systemd[1]: Started Manage Sound Card State (restore and store). May 08 23:09:42 orangepipc alsactl[453]: /usr/sbin/alsactl: set_controls:1482snd_ctl_open error: Invalid argument May 08 23:09:42 orangepipc alsactl[453]: /usr/sbin/alsactl: set_controls:1482snd_ctl_open error: Invalid argument May 08 23:09:42 orangepipc alsactl[453]: /usr/sbin/alsactl: set_controls:1482snd_ctl_open error: Invalid argument May 08 23:09:42 orangepipc alsactl[453]: /usr/sbin/alsactl: set_controls:1482snd_ctl_open error: Invalid argument May 08 23:09:42 orangepipc alsactl[453]: /usr/sbin/alsactl: set_controls:1482snd_ctl_open error: Invalid argument May 08 23:09:42 orangepipc alsactl[453]: /usr/sbin/alsactl: set_controls:1482snd_ctl_open error: Invalid argument That why I can not list devices: arecord -l **** List of CAPTURE Hardware Devices **** arecord: device_list:277: control open (0): Invalid argument arecord: device_list:277: control open (1): Invalid argument arecord: device_list:277: control open (2): Invalid argument How can I fix this? Thank
Da Alchemist Posted May 9, 2016 Posted May 9, 2016 Please tell us what you want to achieve, so we can help you . There are no errors in your outputs. OpiPC has only got two PlayBack Devices, HDMI and Analog Out via 3,5mm Jack. I have checked Things on my OPiPC and now I think your Problem could be, that you are not part of the Group "audio". Regards
Phong Posted May 9, 2016 Author Posted May 9, 2016 As I posted, I can not list device hardware with: arecord or aplay aplay -l **** List of PLAYBACK Hardware Devices **** aplay: device_list:277: control open (0): Invalid argument aplay: device_list:277: control open (1): Invalid argument aplay: device_list:277: control open (2): Invalid argument Segmentation fault Always return: Segmentation fault And that why I can not hear anything from speaker or record anything via mic. In history, I installed alsalib 1.1.1 from: ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.1.1.tar.bz2 After that alsalib load fail.
rodolfo Posted May 9, 2016 Posted May 9, 2016 I've just successfully set up alsa on a clean armbian_5.10 jessie server based LXDE-desktop install on OPI ONE. Configure sound card used (system-wide) : sudo nano /etc/asound.conf -------------------- pcm.!default { type hw card sndhdmi}ctl.!default { type hw card sndhdmi} -------------------- Restart and enjoy HDMI sound.
Recommended Posts