LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-28-2006, 03:21 PM   #1
broom
LQ Newbie
 
Registered: Nov 2006
Posts: 12

Rep: Reputation: 0
getting sound to work from a mother-board based device


I just installed slackware 11 on a 333 Dell OptiPlex GX1, and I keep getting this error message that it can't find my sound device. I ran that command.... i forget which one... it listed my devices, and it did not find any media devices. As you may be able to tell. I am very new to linux. Let me know what i need to do (as I am trying not to have to put in another sound card). Thanks guys.

quick edit/note: the sound device is on the mother board as is the monitor output, if that helps.
 
Old 11-28-2006, 03:30 PM   #2
broom
LQ Newbie
 
Registered: Nov 2006
Posts: 12

Original Poster
Rep: Reputation: 0
another quick thing.
the error message is:

Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (No such device)
The sound server will continue, using the null output device.
 
Old 11-28-2006, 03:38 PM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8101Reputation: 8101Reputation: 8101Reputation: 8101Reputation: 8101Reputation: 8101Reputation: 8101Reputation: 8101Reputation: 8101Reputation: 8101Reputation: 8101
Did you try running
Code:
alsaconf
to let the computer look for the correct sound driver, and then
Code:
alsactl store
to make the changes survive reboot?

Eric
 
Old 11-28-2006, 03:44 PM   #4
hollywoodb
Member
 
Registered: Aug 2003
Location: Minnesota, U.S.A.
Distribution: Debian, openSUSE
Posts: 400

Rep: Reputation: 30
Quote:
Originally Posted by broom
another quick thing.
the error message is:

Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (No such device)
The sound server will continue, using the null output device.
This should get you started:

1) @ console or in a terminal as root run `lspci`
This will list the majority of the devices on your system, and one of them should be your soundcard. There'll be a lot of output that isn't entirely relevant for your particular problem, but surely at least one of them will be a soundcard device.

2) note the chipset for your soundcard from the `lspci` command
This one is entirely up to you There are a ton of different chipsets on the market, and I'm not familiar with the Optiplex line, so you're going to have to figure out which item is indeed your soundcard. It should list a chip or soundcard type.

3) check http://google.com/linux and search for your soundcard.
You won't need the entire line that is your soundcard, just the chip/chipset is usually enough, and perhaps the brandname to narrow down results. Try to find what module is the driver for your soundcard. Also check http://www.alsa-project.org soundcard matrix, which should help you narrow down which driver is for your card, if it is supported, etc etc.

4) @ console or in a terminal as root run `lsmod`.
This will list the modules your kernel currently has loaded, you're looking for the module for your soundcard. Chances are it isn't listed, in which case `modprobe <modulename>`. Ideally this will be successful and you'll now have a /dev/dsp. Refer to the ALSA documentation as noted in step 3 for more info. If for some reason you have a sound module loaded that is NOT your card, `modprobe -r <modulename>` should unload it, and then you can modprobe the proper module.

5) @ console or in a terminal as root run `alsamixer` adjust volume levels, namely Master and PCM if they exist. If the slider has a "MM" at the bottom the channel is muted, and "M" key will unmute it. If it helps you can run `aplay < /dev/urandom` in another term or console while you adjust mixer levels... That command should generate static through your speakers. Use `Ctrl C` or `Ctrl \` to stop it. Once you get mixer levels where you like press [Esc] to exit alsamixer, and do as root `alsactl store` to store mixer levels.

If for some reason you can't find/load the module you need, check kernel config to make sure it exists/is compiled... I personally had to carefully do my own build of kernel 2.6.18 to get all the hardware on my laptop working, but the default Slack kernel should be able to handle your Optiplex fine.

If steps 1-5 above work for you, read up on how slackware module loading works, as it applies to loading modules at boot, module blacklisting, etc.

______
Edit:
Alien_Bob posted while I was typing this, and I consistently forget about `alsaconf`.
Try that first

Last edited by hollywoodb; 11-28-2006 at 03:45 PM.
 
Old 11-29-2006, 12:39 AM   #5
broom
LQ Newbie
 
Registered: Nov 2006
Posts: 12

Original Poster
Rep: Reputation: 0
It Works! Now I Need To Get Some Decent Speakers!!!!
 
  


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
FC4 in Intel Mother board D915GVWB No Sound Output nandipati.vasu Fedora - Installation 1 05-31-2006 02:16 PM
MSI RS480m2/RX480m2 mother board - no sound card detected lv2golf Linux - General 8 03-20-2006 12:47 PM
Sound Card Detection (Intel D915GAG Mother Board) in Fedora 4 linmoac Fedora - Installation 3 02-27-2006 12:44 AM
Does SuSE work with an ASUS mother board..? eBopBob Linux - Distributions 5 08-10-2004 06:15 PM
On board cards of X-series mother board bullwinkle Linux - Hardware 3 07-10-2004 11:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:14 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