Skip to content

Instantly share code, notes, and snippets.

@Sjoerd82
Created October 24, 2017 13:29
Show Gist options
  • Save Sjoerd82/de89e60e7a9bdf73be225a1b4936856b to your computer and use it in GitHub Desktop.
Save Sjoerd82/de89e60e7a9bdf73be225a1b4936856b to your computer and use it in GitHub Desktop.
python-pulse-control Segmentation fault
The distribution was build using Buildroot for the Raspberry Pi Zero-W.
Details:
# python -c 'import pulsectl; print(pulsectl)'
<module 'pulsectl' from '/usr/lib/python2.7/site-packages/pulsectl/__init__.pyc'>
# uname -a
Linux headunit 4.9.36 #1 Sun Oct 15 20:07:19 CEST 2017 armv6l GNU/Linux
# pulseaudio --version
pulseaudio 9.0
# python --version
Python 2.7.13
# cat /etc/pulse/system.pa
#!/usr/bin/pulseaudio -nF
#
# This startup script is used only if PulseAudio is started in system
# mode.
### Automatically load driver modules depending on the hardware available
### module-udev-detect
### Detects ALSA audio devices on the system using udev
###
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev/hal support)
load-module module-detect
.endif
### DEVICE DRIVERS (loaded via module-udev-detect)
###
### -alsa-card # Creates a PulseAudio card for an ALSA card.
### PROTOCOLS
###
load-module module-native-protocol-unix
### SAVE/RESTORE SETTINGS
###
load-module module-stream-restore
load-module module-device-restore
### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore
### BLUETOOTH
###
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif
.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif
### MISC.
###
### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams
load-module module-always-sink
load-module module-switch-on-connect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment