SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Pastimes : Linux OS.: Technical questions

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
From: Thomas A Watson4/13/2014 11:07:49 AM
   of 484
 
ubuntu u13.10 figuring out sound. In past and present linux, fc13 and u13.10 I found I could not have a 2nd user access the sound and sometimes the first user could not.

In fc13 I got it so my 2nd user could access sound by my primary account could not. Trouble shooting seemed to find nothing that explained.

My partial fix hack for fc13 was

watson@xen1[101]cat reboot_fixes
#!/bin/tcsh
# /root/reboot_fixes

chmod 777 /dev/snd
cd /dev/snd

chmod 666 ./controlC1
chmod 666 ./hwC1D0
chmod 666 ./pcmC1D3p
chmod 666 ./by-path
chmod 777 ./by-path
chmod 666 ./controlC0
chmod 666 ./hwC0D2
chmod 666 ./pcmC0D0c
chmod 666 ./pcmC0D0p
chmod 666 ./pcmC0D2c
chmod 666 ./seq
chmod 666 ./timer

As I continued troubleshooting in u13.10 I realized that on every reboot. the permissions were being reset by the booting process. pulseaudio seems to be the deamon handling the interface.

watson@xen1[100]ls -l /dev/snd
total 0
drwxr-xr-x 2 root root 80 Apr 13 10:02 by-path/
crw-rw----+ 1 root audio 116, 6 Apr 13 10:02 controlC0
crw-rw----+ 1 root audio 116, 9 Apr 13 10:02 controlC1
crw-rw----+ 1 root audio 116, 5 Apr 13 10:02 hwC0D2
crw-rw----+ 1 root audio 116, 8 Apr 13 10:02 hwC1D0
crw-rw----+ 1 root audio 116, 4 Apr 13 10:02 pcmC0D0c
crw-rw----+ 1 root audio 116, 3 Apr 13 10:02 pcmC0D0p
crw-rw----+ 1 root audio 116, 2 Apr 13 10:02 pcmC0D2c
crw-rw----+ 1 root audio 116, 7 Apr 13 10:02 pcmC1D3p
crw-rw----+ 1 root audio 116, 1 Apr 13 10:02 seq
crw-rw----+ 1 root audio 116, 33 Apr 13 10:02 timer

I have also found that after reboot fixes, whenever a user starts a sound app. mostly vlc used. The last access time of

crw-rw----+ 1 root audio 116, 4 Apr 13 10:02 pcmC0D0c
crw-rw----+ 1 root audio 116, 3 Apr 13 10:02 pcmC0D0p
crw-rw----+ 1 root audio 116, 2 Apr 13 10:02 pcmC0D2c
crw-rw----+ 1 root audio 116, 7 Apr 13 10:02 pcmC1D3p

changes.

On u13.10 after reboot_fixes both users can use sound, but only one at a time.
still analyzing.
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext