ALSA PCM State Machine

Note to self   1. PCM state (snd_pcm_state_t) [1] SND_PCM_STATE_OPEN SND_PCM_STATE_SETUP SND_PCM_STATE_PREPARED SND_PCM_STATE_RUNNING SND_PCM_STATE_XRUN SND_PCM_STATE_DRAINING SND_PCM_STATE_PAUSED SND_PCM_STATE_SUSPENDED SND_PCM_STATE_DISCONNECTED   State Machine [2]     References [1] snd_pcm_state_t [2] ALSA project – the C library reference

Enabling Equalizer on Raspberry Pi using ALSA equal Plugin

This post shows how to setup a system wide equalizer on Raspberry Pi using ALSA equal plugin. Below are my setup. Raspberry Pi3 B+ with Raspbian Stretch (2018 April version) 3.5 mm plug Speaker   Contents – Assumptions – Steps 1. Equalizer Plugin Installation 2. ALSA Configuration 3. Play audio 4. Verify Equalizer – Notes – Reference  … Continue reading “Enabling Equalizer on Raspberry Pi using ALSA equal Plugin”

Auto Power On Bluetooth Adapter on Boot-up

By default, it’s automatically powered on with Raspberry Pi 3 and Raspbian Jessie on boot. But after I updated Bluez from 5.23 to 5.43, it’s not turning on automatically and I needed to do so manually by using hciconfig or bluetoothctl as below. Powering on manually by hciconfig: $ hciconfig hci0: Type: Primary Bus: USB… Continue reading “Auto Power On Bluetooth Adapter on Boot-up”

Installing software from source code with ‘checkinstall’

Even though your linux has a package management system, sometimes you may need to install a software from source code for some reason. And if you install the software by ‘make install’, you may have a little difficulty later on; You cannot use your package manager to uninstall it. This is where ‘checkinstall’ comes in.… Continue reading “Installing software from source code with ‘checkinstall’”