LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   nvsound on an lfs build (https://www.linuxquestions.org/questions/linux-from-scratch-13/nvsound-on-an-lfs-build-390070/)

behmjoe 12-07-2005 02:21 AM

nvsound on an lfs build
 
Hi,

I built and lfs using the cvs version. I am trying to get the nvsound module from the nvidia site working. I can play mp3's as root, but when I switch to a regular user it won't play. Can anyone help me?

thanks.

mr_demilord 12-07-2005 03:47 AM

Quote:

Originally Posted by behmjoe
Hi,

I built and lfs using the cvs version. I am trying to get the nvsound module from the nvidia site working. I can play mp3's as root, but when I switch to a regular user it won't play. Can anyone help me?

thanks.

Do a as root
Code:

chmod a+rw /dev/mi* /dev/dsp* /dev/seq*
Code:

chmod 777 /dev/dsp*; chmod 777 /dev/mixer*;chmod 777 /dev/pcm*

behmjoe 12-07-2005 08:18 PM

Hi,

what should I put in my /etc/udev/rules.d directorie?

thanks

mr_demilord 12-08-2005 03:01 AM

Quote:

Originally Posted by behmjoe
Hi,

what should I put in my /etc/udev/rules.d directorie?

thanks


I did nothing there.
You have to install the ALSA packages from BLFS:
This is what I installed
ALSA Library-1.0.9
ALSA Utilities-1.0.9a
ALSA OSS-1.0.9


You also have to put some OSS emulation modules in the [b]/etc/sysconfig/modules/
Code:

# Sound Modules
snd-pcm-oss
snd-mixer-oss
snd-seq-oss

Then I did the chmod thing.
then I played a bit with alsamixer and I had sound.

behmjoe 12-08-2005 03:35 PM

Hi

Yes, but as soon as I reboot the permissions will change back to what they where using udev.

behmjoe 12-08-2005 05:12 PM

Hi,

did you use a kernel native driver or the driver from the nvidia site. The driver from the nvidia site is a oss driver, and not an alsa driver. If you used a kernel native driver which one did you use?

thanks

mr_demilord 12-10-2005 06:28 AM

Quote:

Originally Posted by behmjoe
Hi

Yes, but as soon as I reboot the permissions will change back to what they where using udev.

Correct.
you need to edit the /etc/group file.
It should contain
audio:x:11:<your_username>

like
audio:x:11:mr_demilord

Save the file and reboot.

The problem was that you should be a member of the group audio


All times are GMT -5. The time now is 08:42 PM.