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 - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-06-2012, 10:16 PM   #1
slackyo
LQ Newbie
 
Registered: May 2012
Location: Somewhere on your filesystem....
Distribution: Slackware 12.0
Posts: 17

Rep: Reputation: Disabled
Unhappy Sound doesn't work on Slackware 12.0 laptop


Hi! I am a Slackware rookie, and am running it on an ancient laptop that my mom bought in 1998. It is a Toshiba Sattelite 320cds series laptop, with the following specs:
RAM: 96 mb
HDD: 9.5 gb (6 gb allocated for /)
Opt. Drives: CD-R compatible drive
Floppy Drives: 3.5" 1.44 mb
OS: Slackware 12.0 (system unchanged)
Processor: 233-mhz Pentium Pro

I am using Slackware for gaming, as Windows 95/98 wasn't too good with newer games (plus cheat codes weren't too reliable .) The installation was adequate, and with my dad's help I got X working. However, my built-in speakers (which are Soundblaster compatible) don't work. Any suggestions?
TIA, and thanks for putting up with me
 
Old 05-07-2012, 08:17 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Welcome to LQ!

My googling suggests that the sound on your laptop is provided by the OPL3-SA2 chip. http://genericnerd.blogspot.com.au/2...satellite.html
This chip is supported by the snd-opl3sa2 kernel module. You can see a list of possible parameters here. http://www.alsa-project.org/main/ind...or_snd-opl3sa2
You will need to check the contents of the /etc/rc.d/rc.modules file. It may be there is a line in there that can be uncommented and appropriate values entered.
I have not been able to find any specific information on your laptop, but this information taken from a guide for the Toshiba 4015CDS may be useful. http://grundrisse.org/etc/4015CDS.html#sound
Quote:
The audio chipset is a Yamaha OPL-SA3 which is supported by the kernel's opl3sa2 driver; the IRQ, DMA, and I/O settings are available via the BIOS which is accessible by holding down the 'Esc' key during boot. Recording these settings prior to installation will ease configuration.

It is important to note that different models of the 4015CDS have different resource settings for the audio chipset. Most documentation of the OPL-SAx series of chipsets provide the following settings:

irq=5 dma=1 dma2=0 io=0x370 mss_io=0x530 mpu_io=0x330

Indeed, these are the settings that Derek used during his Red Hat 5.2 installation. However, my machine reported different I/O settings:

irq=5 dma=1 dma2=0 io=0x530 io=0x220 mss_io=0x530 mpu_io=0x330
 
Old 05-07-2012, 08:53 PM   #3
slackyo
LQ Newbie
 
Registered: May 2012
Location: Somewhere on your filesystem....
Distribution: Slackware 12.0
Posts: 17

Original Poster
Rep: Reputation: Disabled
Wink Thanks!

Thanks for the reply! I learned most of what I know about Linux from running top-level (or bottom level) utilities. How do you add kernel modules?
TIA and thanks for putting up with me!
-slackyo
 
Old 05-07-2012, 09:13 PM   #4
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 530

Rep: Reputation: Disabled
Well, if the kernel itself does not have the module you require, you will have to rebuild the kernel. If it does contain the module you need, then a simple "modprobe <module>" will suffice (and you can add this in certain scripts to auto-load it on every restart).
 
Old 05-07-2012, 11:01 PM   #5
slackyo
LQ Newbie
 
Registered: May 2012
Location: Somewhere on your filesystem....
Distribution: Slackware 12.0
Posts: 17

Original Poster
Rep: Reputation: Disabled
:D thanks

Thanks to both of you! I have found the original creators and am going to download it. I'm going to try it ASAP.


Last edited by slackyo; 05-07-2012 at 11:02 PM. Reason: mistake
 
Old 05-08-2012, 01:53 AM   #6
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
slackyo

did you run alsaconf after the install?
 
1 members found this post helpful.
Old 05-08-2012, 09:36 AM   #7
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
The snd-opl3sa2 kernel module was included with Slackware 12.0. You should only need to have an active line in /etc/rc.d/rc.modules to have the kernel module loaded at boot time.
 
Old 05-12-2012, 10:14 AM   #8
slackyo
LQ Newbie
 
Registered: May 2012
Location: Somewhere on your filesystem....
Distribution: Slackware 12.0
Posts: 17

Original Poster
Rep: Reputation: Disabled
Unhappy Uh Oh!

Quote:
Originally Posted by allend View Post
The snd-opl3sa2 kernel module was included with Slackware 12.0. You should only need to have an active line in /etc/rc.d/rc.modules to have the kernel module loaded at boot time.
I looked inside /etc/rc.d/rc.modules and found it didn't have an opl3-sa2 driver! I made a mistake on the original thread: my laptop speakers are Soundblaster Pro compatible. I'm currently trying to see if the soundblaster pro/16 driver in rc.modules will work.
 
Old 05-12-2012, 11:24 AM   #9
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
I found this, which is for a Toshiba, but not your model, at http://www.gossamer-threads.com/list.../kernel/331734
Code:
/sbin/modprobe snd-opl3sa2 isapnp=0 port=0x538 wss_port=0x530 sb_port=0x220 fm_port=0x388 midi_port=0x330 irq=5 dma1=0 dma2=1
Try adding the above line in /etc/rc.d/rc,modules and rebooting. Then post the output of 'aplay -l'.

PS - You may need to adjust the values in the code above based on values in your BIOS. Also, do you have a BIOS setting for PCIC/16 bit cardbus? There is a post reporting that was required here. http://justlinux.com/forum/archive/i.../t-106803.html
 
Old 05-13-2012, 12:28 PM   #10
slackyo
LQ Newbie
 
Registered: May 2012
Location: Somewhere on your filesystem....
Distribution: Slackware 12.0
Posts: 17

Original Poster
Rep: Reputation: Disabled
Talking Problem Solved!

Thanks to everyone! I ran alsaconf like solarfields said, and it found the opl3-sa2 driver. Thanks again to everyone who posted replies to my thread. Linux rocks, and so do you!
THANK YOU
 
  


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
Laptop keyboard doesn't work with Puppy gray53 Linux - Hardware 10 09-08-2009 04:05 PM
Just reinstalled Slackware 11...sound doesn't work in KDE spaceballs Slackware 9 03-31-2007 05:41 PM
Startup Sound Works... CD Sound Doesn't Work... GNewbie MEPIS 8 01-02-2006 10:35 PM
DVD and Sound doesn't work (slackware 10.2 kernel 2.4) v@ny@ Linux - Newbie 3 12-08-2005 09:00 AM
sound doesn't work on slackware 9.1 deveraux83 Slackware 2 12-30-2003 06:06 AM

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

All times are GMT -5. The time now is 11:14 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
Open Source Consulting | Domain Registration