LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-12-2005, 05:00 PM   #1
w5uc
Member
 
Registered: Apr 2005
Posts: 49

Rep: Reputation: 15
How do I run it?


Ok Gang. I decided to install Mandrake 10.1 Community in a Dual boot set-up on my shop computer(with Win ME). Nice smooth installation,...... except it couldn't configure my Soundblaster 16 ISA card. I got a note to run sndconfig. It was pretty easy to find the file in usr/share/sndconfig. Great, right? Yep, except I can't figure out how to run the file. I put the name of the file in the "run" doo-daddy and it couldn't find it. Then I put usr/share/sndconfig in there and it says that is a directory. What do I do now? I'm ready to configure the sound card and PLAY!
 
Old 04-12-2005, 05:16 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
ls -l /usr/share/sndconfig

I find it unlikely that MDK would have stuck
and executable there ... try a
locate sndconfig | grep \/bin

Chances are that it's a) not installed or b)
that it requires you to run as root but you
tried as normal user and it's not in your
path ...


Cheers,
Tink
 
Old 04-12-2005, 05:30 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I think that you need to run 'alsaconfig' which should be in the /usr/sbin directory, however you may not have it installed. Enter 'urpmq alsaconfig' in the root console to check which package it comes with. There may be an 'alsa-utils' package, but I'm nut running Mandrake currently. The alsaconf program will determine which drivers you need and set up their configuration.

Lastly, you will need to make sure that you are a member of the 'sound' group. Otherwise you won't have write permissions to the /dev/dsp device. If as root, cat'ing a file to /dev/dsp results in noise but as a regular user you get a permission error, this is a quick test whether this needs to be done.
eg: ls > /dev/null will produce a short burst of noise after the sound is set up, and if you have adequate rights.

One thing that can happen is when a program has a lock on the device. You can check which program has a file open with the 'lsof' program. So 'lsof | grep /dev/dsp' will list the offending program, ( which may have crashed but hasn't been deleted yet ).

Good Luck.
 
Old 04-12-2005, 06:58 PM   #4
w5uc
Member
 
Registered: Apr 2005
Posts: 49

Original Poster
Rep: Reputation: 15
Holey Moley!!! I'm struggling with all of those chech this and do that's, because I guess I just don't have an understanding of the basic command structure. I did find alsaconfig in the sbin directory. It was recommended as an alternative to the other one.

In Tinker's note He said do the following: sndconfig | grep \/bin

Two questions: Is the l between soundconfig & grep a lower case letter L or a pipe(or am I showing my age talking about pipes?) Good ole DOS Ha.

Then, that giant V before bin.. What is that?

In the set-up routine, it said that the sound card could not be configured, and to run one of these programs to fix it? prior to that, it asked if I am runing a ISA sound card.

I am enjoying this, but it is clear that Linux has a long way to go before it overtakes Windows as the peoples operating system.
 
Old 04-12-2005, 07:15 PM   #5
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Quote:
Originally posted by w5uc
In Tinker's note He said do the following: sndconfig | grep \/bin

Two questions: Is the l between soundconfig & grep a lower case letter L or a pipe(or am I showing my age talking about pipes?) Good ole DOS Ha.
Yep it's a pipe

Quote:
[B]Then, that giant V before bin.. What is that?[/B
\ = backslash / = forward slash
 
Old 04-12-2005, 07:15 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Code:
locate sndconfig | grep \/bin
That's an actual command, don't omit the locate...
You could just copy and paste it.

The | is indeed a pipe, and \/ is a back-slash
followed by a slash.


Cheers,
Tink
 
Old 04-12-2005, 07:46 PM   #7
w5uc
Member
 
Registered: Apr 2005
Posts: 49

Original Poster
Rep: Reputation: 15
Well, it appears that I am not a member of the sound group.
Wonderdul!! So how do I get to be one?

Is there a way to bypass all of this permission and membership business? I am the only one with access to this machine, and I really don't need all of this security business.

Last edited by w5uc; 04-12-2005 at 07:53 PM.
 
Old 04-12-2005, 10:56 PM   #8
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
AFAIK there is no way to bypass the security -- don't worry, you'll learn to love it.
To add yourself to the sound group, su to root then open up /etc/group in a text editor such as pico like this:
Code:
pico /etc/group
Then, where you see "sound", simply add your username.
 
Old 04-13-2005, 08:10 AM   #9
w5uc
Member
 
Registered: Apr 2005
Posts: 49

Original Poster
Rep: Reputation: 15
Thanks to scuzzman and all who have responded to my questions. I'm sorry gang, but I'm drowning in this stuff.

I must confess that I'm quite disappointed in Mandrake. If it is the most user friendly distribution out there, I'm in deep yogurt. I played initially with Knoppix, and was quite pleased with the way it found my antiquated old ISA sound card and set it up no sweat. Additionally, Mandrake has problems keeping me on-line, and I can't figure out how to talk to the other machines on my local network like I did with Knoppix. On the other hand, I could not figure out how to get Knoppix to run a particular amateur radio aplication(Linrad) that is very important to me(it's the primary reason I got into Linux), and I don't want to have to operate from a CD ROM, as it is quite slow. SO, it appears that I may have to consider another distribution that meets me somewhere in the middle. Of primary importance is not having to mess with the local networking problem, and the sound problem. Suggestions are WELCOME! Should I make that decision, how do I get rid of Mandrake and get the new candidate distribution on the HDD? I currently have Fedora burned to a CD. Any other suggestions? I have read that Debian is good. At this point I am quite frustrated with this process. glub, glub glub...
 
Old 04-13-2005, 10:00 AM   #10
w5uc
Member
 
Registered: Apr 2005
Posts: 49

Original Poster
Rep: Reputation: 15
Woe is Me!! I think I'm really getting too old for this high tech stuff. I decided to download Debian, and thought I would do it with jigdo. WRONG! That makes absolutely no sense whatsoever. Getting old is Hell.

Last edited by w5uc; 04-13-2005 at 10:03 AM.
 
Old 04-13-2005, 11:46 AM   #11
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
It seems to me you don't want to get bogged down in the technical side of Linux, you just want to use it right?

Give Linspire or Xandros a try.
 
Old 04-13-2005, 01:04 PM   #12
w5uc
Member
 
Registered: Apr 2005
Posts: 49

Original Poster
Rep: Reputation: 15
I guess that about sums it up. At some time in the future I will want to get into the nuts and bolts of it, but right now, I just want to get Linrad running.

Many thanks..
 
Old 04-13-2005, 01:30 PM   #13
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Or, since you liked Konppix and it did well in all
aspects, use it as a hard-disk install? :)


Cheers,
Tink
 
Old 04-13-2005, 01:56 PM   #14
w5uc
Member
 
Registered: Apr 2005
Posts: 49

Original Poster
Rep: Reputation: 15
That is a good option. However, please look at my current post at the top of Newbies and tell me how I get outta this mess?
 
Old 04-13-2005, 06:28 PM   #15
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
First thing let's confirm sndconfig is installed.

Open a console and type:

rpm -q sndconfig <press enter>

If you get sndconfig-0.70-7mdk (or somthing similar) then you type:

/usr/sbin/sndconfig <press enter>

If you get the response package sndconfig is not installed do the following:

type: su <press enter> <input root password> <press enter>

now type: urpmi sndconfig <press enter>. Answer Y (note upper case 'Y') to installing sndconfig and it's extras

When installation has finished

type: <exit> <press enter> to return to normal user mode

If you get /usr/sbin/sndconfig: line 2: /etc/modprobe.conf: Permission denied then run sndconfig as root.

type: su <press enter> <input root password> <press enter>

Now type: sndconfig <press enter>

(don't forget to type <exit> <press enter> when you're done).

Last edited by {BBI}Nexus{BBI}; 04-13-2005 at 06:49 PM.
 
  


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
Cannot get NVIDIA-Linux-x86_64-1.0-6629-pkg2.run to run properly doctorwebbox Linux - Hardware 0 02-06-2005 06:18 AM
Not able to run audio Cds (not MP3) and run VCDS.. satish427 Linux - Newbie 4 09-24-2004 11:27 PM
Trying to run photoshop in wine. Install, but wont run. bruno buys Linux - Software 14 07-15-2004 04:30 PM
will delphi run on winex ? (i cant run kylix3 :(( ) hunter_one Linux - Software 0 10-19-2003 08:41 AM
Java applets run fine in Konqueror, but won't run in MS IE. OAnimal Linux - Software 7 12-04-2002 06:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:40 AM.

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