[mythtv-users] Permissions on devices?
Joe Schmidt
joe_schmidt at nospammail.net
Thu May 8 02:59:36 EDT 2003
Thanks for the reply! I'm using devfs, so maybe that handles symbolic
links in /dev a bit differently. *shrug*
I now receive the following errors flooded through my screen when I try
to watch live TV.
only read -1 from 4096 bytes from '/dev/dsp'
read audio: File descriptor in bad state
ran out of free AUDIO buffers :-(
I'm not sure what I'm doing wrong. Maybe I messed up installing ALSA
somehow? I followed the instructions to the letter (I think..)
Thanks for the continued help from everyone. :-)
Ray Olszewski wrote:
> At 11:50 PM 5/7/2003 -0400, Joe Schmidt wrote:
> [...]
>
>> Thanks to the advice of someone else on the list, I think I have my
>> sound card set up properly. However, I receive errors while trying to
>> watch Live TV, and then exiting from LiveTV:
>> [...]
>>
>> Here are the permissions on the two dvices mentioned:
>> $ ls dsp -l && ls mixer -l
>> lr-xr-xr-x 1 root audio 9 May 8 11:24 dsp -> /dev/dsp0
>> lr-xr-xr-x 1 root root 11 May 8 11:24 mixer ->
>> /dev/mixer0
>>
>> I tried changing dsp to group audio and making sure I was a member of
>> audio, but it did not seem to make a difference. (Later, I noticed
>> that all users have read and execute permissions anyway).
>>
>> How does everyone else have their permissions set up?
>
>
> The permissions you are listing are associated with the symlink, not
> the underlying device. (And they look unlike any symlink permissions I
> have ever seen ... on my systems, symlinks always show up as
> "lrwxrwxrwx" ... perhaps someone can clarify that part?)
>
> Anyway ... check the permissions on the /dev/dsp0 and /dev/mixer0 .
> They need to be mode 660 (you need write permission in order to use
> /dev/dsp0 for output) with group audio and the mythtv userid part of
> group audio. (Obvious other variants are possible, such as mode 666,
> but that's the setup I usually use.)
>
More information about the mythtv-users
mailing list