[NTLUG:Discuss] Fwd: Discuss------SNDCONFIG problem

Richard Cobbe cobbe at directlink.net
Thu Nov 18 20:48:52 CST 1999


cyris wrote on 11-18-1999:

> 
> >I was wandering if any of you guys could help me out on this problem I
> >have recently run into. I am new to the Linux world and last night I
> >decided to try and configure my sound card. I ran the sndconfig command
> >( I had to use the longname (the complete path), which is another
> >problem I am having) and it found my sound card as a PNP card. I got the
> >settings (IRQs I/Os and so forth )right after playing around with them
> >for a little bit. Then the screen saying that it was going to play a
> >sound to test came up. I hit enter and an error came up saying the
> >following.

> >sh: insmod: command not found
> >sound: file not found
> >sound: file not found
> >sound: file not found

I suspect the problem may be that you're running as a normal user and not
as root---they have different default PATH settings.  On my RH6.1 system,
sndconfig is /usr/sbin, and insmod is in /sbin.  Both of these directories
are typically not in users' PATHs, but they should be in root's.  (Plus,
sndconfig has to be running with root permissions to save its settings to
the right file, and you can't load a module if you're not root.)

If you *are* running as root, check your PATH.  It should be something like

/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin

> >Oh yeah, Once I get my sound card setup correctly, is their a file that
> >I will need to edit to initialize the card on startup?

No, sndconfig should do all of that stuff for you.  In case you're
curious, sndconfig saves all of its settings in /etc/conf.modules, in with
all of the other module config stuff.

HTH,

Richard




More information about the Discuss mailing list