LinuxQuestions.org
Register a domain and help support LQ
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, 06: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, 06:16 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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, 06:30 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
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, 07: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, 08:15 PM   #5
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 208Reputation: 208Reputation: 208
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, 08:15 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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, 08: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 08:53 PM.
 
Old 04-12-2005, 11: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, 09: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, 11: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 11:03 AM.
 
Old 04-13-2005, 12:46 PM   #11
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 208Reputation: 208Reputation: 208
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, 02: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, 02:30 PM   #13
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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, 02: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, 07:28 PM   #15
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 208Reputation: 208Reputation: 208
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 07:49 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 12:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration