LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 01-11-2003, 04:47 PM   #1
Raskall
LQ Newbie
 
Registered: Jan 2003
Location: Omaha, NE
Distribution: Slackware 8.1
Posts: 13

Rep: Reputation: 0
Talking I installed Linux (first time)!! Now for the sound problem...


Well, after 3 days of downloading stuff and reading FAQs and manuals that barely made sence to me (being an MCSE/CCNP type person) I got Slackware installed on my computer, and XFree86 (I know what that is now!!!) seems to be configured properly. I have one question though, how do I get my sound card to work? I have a crappy on-board Creative CT5880. My mobo is a GA-7ZXR. Any help would be greatly appreciated.

~Raskall
 
Old 01-11-2003, 07:43 PM   #2
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Custom slackware64-current
Posts: 307

Rep: Reputation: 92
Do an "lspci", and get the name of the chipset for your on-board sound.
Then open /etc/rc.d/rc.modules in a text editor, scroll down to the sound-support section and uncomment one of the modules that looks relevant.
If you're not familiar with editors like vi, joe etc. and you installed Midnight Commander (mc), then just use "mcedit" or "mcedit -c" in an xterm.
Some soundcards require "pre-install" and "post-install" commands in /etc/modules.conf for extra stuff like wavetable support. I usually grep around in /usr/src/linux/Documentation/sound for info on that before trying google.com.
 
Old 01-12-2003, 10:26 AM   #3
Raskall
LQ Newbie
 
Registered: Jan 2003
Location: Omaha, NE
Distribution: Slackware 8.1
Posts: 13

Original Poster
Rep: Reputation: 0
Wow, I'm learning a lot playing with this stuff...

Ok, I ran lspci and it said I have an "Ensoniq 5880 AudioPCI (Rev02)". A search on google told me that the es1371 driver should work. I uncommented the modprobe es1371 line in /etc/rc.d/rc.modules (woohoo I used VI!!), and chmod 777 /dev/dsp, but I'm still not getting any sound. I was starting to think something wasn't plugged in right, but I still get sound in XP. What can I check next? The docs mentioned above said to check the kernel log to see if the driver was loading properly, but I'm not sure how to do that one...
 
Old 01-12-2003, 12:00 PM   #4
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Custom slackware64-current
Posts: 307

Rep: Reputation: 92
Check the debug messages when Linux starts up or just type "dmesg" to see what happened when the es1371 module was loaded (use <shift><pageup> in bash or "dmesg | more" or even "dmesg | grep audio" ). You can also do an "lsmod" to check if "soundcore" etc. are present.
 
Old 01-12-2003, 01:05 PM   #5
Astro
Member
 
Registered: Jan 2003
Location: Ballston Lake, NY
Distribution: Slackware, Debian
Posts: 665

Rep: Reputation: 30
I agree with fskmh on the last reply, when your box starts up it will throw you an error message that it can't modprobe whatever for that card if it can't find it, other than that you should see some kind of a pat on the back telling you the module loaded (give yourself a cookie)...Then log in and see if you can play something, using xmms? mpg123? Check your voulme levels too, not sure what wm you're using (KDE, Gnome, E, etc.) you could run kmix or the sort. Generally when I start up my TV Tuner is blaring and other volume levels are rather low sometimes, so be sure to check that.
 
Old 01-12-2003, 03:19 PM   #6
Raskall
LQ Newbie
 
Registered: Jan 2003
Location: Omaha, NE
Distribution: Slackware 8.1
Posts: 13

Original Poster
Rep: Reputation: 0
Sorry for taking up your guy's time with what's probably a simple problem, but it's still not working. I rebooted, and checked the log. There's nothing that looks like an error. I turned the volume all the way up from within X. I'm using GQmpeg to test this out. There's not errors that come up when I try to play the mp3, but no sound either... I'm kinda at a loss here. This is the stuff I found in the logs that appears to apply...

es1371: version v0.30 time 00:45:14 May 31 2002
PCI: Found IRQ 9 for device 00:0e.0
es1371: found chip, vendor id 0x1274 device id 0x5880 revision 0x02
es1371: found es1371 rev 2 at io 0xc800 irq 9
es1371: features: joystick 0x0
ac97_codec: AC97 Audio codec, id: 0x8384:0x7608 (SigmaTel STAC9708)
 
Old 01-12-2003, 03:20 PM   #7
Raskall
LQ Newbie
 
Registered: Jan 2003
Location: Omaha, NE
Distribution: Slackware 8.1
Posts: 13

Original Poster
Rep: Reputation: 0
I'm not sure if this is relavant, but I'm getting a lot of GTK in the background when I'm running x.
 
Old 01-12-2003, 07:49 PM   #8
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Open up your mixer and check the volume and mute controls, also do "ls -l /dev/dsp*" and post the results.
 
Old 01-12-2003, 08:25 PM   #9
Raskall
LQ Newbie
 
Registered: Jan 2003
Location: Omaha, NE
Distribution: Slackware 8.1
Posts: 13

Original Poster
Rep: Reputation: 0
I checked the mixer and all the volumes are maxed. One of the first things I checked was the permissions on /dev/dsp. It's set to 777 right now. That should work right?
 
Old 01-12-2003, 08:45 PM   #10
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
"chmod 666" (rw-rw-rw) is what I have mine set to, you will also have to set the same permissions for /dev/mixer*, /dev/audio* /dev/sequencer* and /dev/midi*.
 
Old 01-13-2003, 12:59 AM   #11
Grim Reaper
Member
 
Registered: Apr 2002
Distribution: Gentoo 2006.0 AMD64
Posts: 399

Rep: Reputation: 30
if you've got a pure wave file there, grab it and do this:

cp /path/to/wave /dev/dsp

that'll play the wave file from the CLI and GUI...its a good little test..

what program are you using to run the mp3?
 
Old 01-13-2003, 02:24 PM   #12
Raskall
LQ Newbie
 
Registered: Jan 2003
Location: Omaha, NE
Distribution: Slackware 8.1
Posts: 13

Original Poster
Rep: Reputation: 0
I've tried using gqmpeg and the cd player to play sound (all from within x). I didn't know I needed to chmod mixer, sequencer, and midi. I'll try that and playing a file from the command line. Sound on from the command line?!? That's a really new idea to a Windows guy
 
Old 01-13-2003, 03:31 PM   #13
Raskall
LQ Newbie
 
Registered: Jan 2003
Location: Omaha, NE
Distribution: Slackware 8.1
Posts: 13

Original Poster
Rep: Reputation: 0
Ok, I tried changing the permissions on /dev/mixer*, /dev/audio* /dev/sequencer* and /dev/midi* (as well as dsp). When I run the cp anything.wav /dev/dsp, the cursor goes to the next line, and then blinks. It stays there until I Ctrl-C out.
 
Old 01-13-2003, 07:43 PM   #14
slackerboy
Member
 
Registered: Jul 2002
Location: USA
Distribution: Slackware, OpenSuse, Debian, Linux Mint, Ubuntu, Red Hat EL
Posts: 70

Rep: Reputation: 15
Raskall,

Since you changed the permissions in /dev/seq, midi, etc,
see if you can start you cdrom after you startx KDE or GNOME
if you installed them. Just place a music cd in the cdrom and
try to play it. If you have not set the permissions right (as root)
you should get an error message. Let us know if you get any
errors. Hope this helped. Cheers!

 
Old 01-14-2003, 04:14 PM   #15
Raskall
LQ Newbie
 
Registered: Jan 2003
Location: Omaha, NE
Distribution: Slackware 8.1
Posts: 13

Original Poster
Rep: Reputation: 0
I think it was a problem with the mixer I was using... I installed the ALSA drivers and it started working right away. Woohoo!! Thanks for your help guys.
 
  


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
installed for the first time fuelinjection Ubuntu 4 11-20-2005 03:06 AM
Sound Card problem(every time i install linux i have diffirent hardware problem) jacka1l Linux - Newbie 7 08-11-2005 06:10 AM
Yet another problem...this time with the sound Vermis Fedora 1 02-03-2005 11:35 PM
Problem in <linux/time.h> suriyamohan Linux - Software 0 01-29-2004 05:00 AM
need Help just installed Red Hat Linux 9 for the first time today... batsbaseball14 Linux - Hardware 5 08-25-2003 04:51 AM

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

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