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

Disabling Bluetooth on Raspberry Pi

This post shows steps to 1) disable on-board Bluetooth and 2) disable Bluetooth completely. I tested the steps with Raspbian Stretch (November 2017 version). Update (Jul 9, 2019): Tested with Raspbian Buster 2019-07-10.   Disabling on-board Bluetooth The steps below shows how to disable on-board Bluetooth and related services. Those steps also disable loading the related kernel… Continue reading “Disabling Bluetooth on Raspberry Pi”

Lightning Bolt (Under-Voltage Warning) on Raspberry Pi

If a lightning bolt image appears in the top-right corner of the screen, it means Raspberry Pi is not getting enough voltage (4.65V according to this forum post). To prevent it from showing up, there are two options.   1) Replace Power Supply and/or Cable (Recommended) In most cases, it’s due to the power supply and/or… Continue reading “Lightning Bolt (Under-Voltage Warning) on Raspberry Pi”

Disabling IPv6 Kernel Module on Raspbian Stretch

I’m using Raspbian Stretch Lite (September 2017 version) and for some reason, wanted to disable IPv6 kernel module, which is loaded by default. Basically, it can be done by blacklisting the kernel module. [1] Here is steps I took.   1. Check already loaded modules (Optional) You can check already loaded modules by ‘lsmod’ command.… Continue reading “Disabling IPv6 Kernel Module on Raspbian Stretch”