Re: Trouble running 'alsamixer' as normal user on headless box with minimal system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Jul 6, 2009 at 2:42 PM, Niki Kovacs<contact@xxxxxxxxxxxxx> wrote:
> Lucian@xxxxxxxxxxx a écrit :
>>
>> ls -al /dev/{dsp,audio} ?
>
> On my laptop:
>
> [kikinovak@lifebook ~]$ ls -al /dev/{dsp,audio}
> crw------- 1 kikinovak root 14, 4 jui  6 07:32 /dev/audio
> crw------- 1 kikinovak root 14, 3 jui  6 07:32 /dev/dsp
>
> And on the jukebox:
>
> [kikinovak@jukebox ~]$ ls -al /dev/{dsp,audio}
> crw------- 1 root root 14, 4 jui  6 15:23 /dev/audio
> crw------- 1 root root 14, 3 jui  6 15:23 /dev/dsp
>
> Uh oh. So here's the core of the problem.
>
> Now as far as I understand, it's useless to change the owner of these
> with a simple chown, as the device nodes get dynamically created by udev
> (correct me if I'm wrong). I *think* I have to edit some udev rule file
> to change this, but this is as far as my knowledge goes.
>
> (This is strange... I can't remember doing anything like this to the
> device files... how comes the ownership is different on a standard
> desktop system?)
>
> Niki
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>

Yeah, unfortunatelly I don't know either. Never used systems for such
thing, it's probably a udev issue. Easy solution is to chown user
/dev/dsp and then add this command to rc.local.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux