LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 12-07-2005, 02:21 AM   #1
behmjoe
Member
 
Registered: Mar 2005
Posts: 80

Rep: Reputation: 15
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.
 
Old 12-07-2005, 03:47 AM   #2
mr_demilord
Member
 
Registered: Sep 2005
Posts: 244

Rep: Reputation: 30
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*
 
Old 12-07-2005, 08:18 PM   #3
behmjoe
Member
 
Registered: Mar 2005
Posts: 80

Original Poster
Rep: Reputation: 15
Hi,

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

thanks
 
Old 12-08-2005, 03:01 AM   #4
mr_demilord
Member
 
Registered: Sep 2005
Posts: 244

Rep: Reputation: 30
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.

Last edited by mr_demilord; 12-08-2005 at 03:04 AM.
 
Old 12-08-2005, 03:35 PM   #5
behmjoe
Member
 
Registered: Mar 2005
Posts: 80

Original Poster
Rep: Reputation: 15
Hi

Yes, but as soon as I reboot the permissions will change back to what they where using udev.
 
Old 12-08-2005, 05:12 PM   #6
behmjoe
Member
 
Registered: Mar 2005
Posts: 80

Original Poster
Rep: Reputation: 15
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
 
Old 12-10-2005, 06:28 AM   #7
mr_demilord
Member
 
Registered: Sep 2005
Posts: 244

Rep: Reputation: 30
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

Last edited by mr_demilord; 12-10-2005 at 06:29 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lfs 6.1 build on which linux distribution aneel Linux From Scratch 2 09-21-2005 08:24 AM
How to build LiveCD from LFS isilinux Linux From Scratch 1 08-24-2005 03:45 AM
Is it safe to build LFS as a root ? dimaash Linux From Scratch 3 07-29-2005 10:59 AM
samples of LFS build scripts dimaash Linux From Scratch 3 07-20-2005 09:35 PM
Can I build LFS using Slackware10.1 sources? kornerr Linux From Scratch 9 07-01-2005 01:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration