[mythtv-users] ALSA proc files and permissions

Robin Gilks g8ecj at gilks.org
Wed May 25 11:17:10 UTC 2011


If I run as an ordinary user I get the error

2011-05-25 23:07:29.616 ALSA, Error: Setting hardware audio buffer size to
128
2011-05-25 23:07:29.616 ALSA, Error: Error opening
/proc/asound/card0/pcm1p/sub0/prealloc: Permission denied.
2011-05-25 23:07:29.616 ALSA, Error: Try to manually increase audio buffer
with: echo 128 | sudo tee /proc/asound/card0/pcm1p/sub0/prealloc
2011-05-25 23:07:29.616 ALSA, Error: Unable to sufficiently increase ALSA
hardware buffer size - underruns are likely

This has been documented before but if I try running the frontend SUID
root then the BBC weather scripts fail due to perl getting huffy running
as root.

Is there a solution to this?

-- 
Robin Gilks





More information about the mythtv-users mailing list