Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Can not start Alsa

Featured Replies

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

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

  • Author

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.

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.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.