LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-17-2003, 08:42 AM   #1
krymsunmortis
Member
 
Registered: Jan 2003
Location: Fort Worth Tx
Distribution: Slackware RedHat Mandrake BackTrack
Posts: 31

Rep: Reputation: 15
Angry Cant get OPL3sa2 on a Toshiba Satellite Pro 490cdt to work


I have a Toshiba Satellite Pro 490cdt that I have gotten the sound to work on RH and MD but now that I have made the progression and advancement to Slackware 9.1 my sound won't work. I have search websites, google, and this forum. I have recompiled my kernel 3 times with the last time adding everything to the kernel. If your thinking that didn't work....... You're right.
the latest thing I have tried was modifying /etc/modules.conf
I added

alias sound-slot-0 ad1848
options sound-dmabuf=1
alias synth0 opl3sa2
options opl3sa2 io=0x388
options ad1848 io=530 irq=5 dma=0 dma2=0

I booted up KDE and suprise this is the error I got.

"Sound server informational message
Error while initializing the sound driver:
Can't set playback format (_format = -1, asked driver to give 16, got 8)
The sound server will continue, using the null output device."

also in my /lib/modules/2.4.22/kernel directory only has the following in it
crypto/
drivers/
fs/
lib/
net/

so as of now I am at a stand still
any help is most greatly appreciated.
Thank you in advance
 
Old 10-17-2003, 10:02 AM   #2
laurentbon
Member
 
Registered: Mar 2003
Distribution: Slack 9.1 + Dropline Gnome
Posts: 160

Rep: Reputation: 30
I have got massive problem with my Toshiba latptop at the moment (satelitte 5000-104) since slack 9.1. There seems to be issue with sound considering the number of posts on this forum about it.

Anyway, have you tried ALSA? http://www.alsa-project.org/

L
 
Old 10-17-2003, 10:31 AM   #3
krymsunmortis
Member
 
Registered: Jan 2003
Location: Fort Worth Tx
Distribution: Slackware RedHat Mandrake BackTrack
Posts: 31

Original Poster
Rep: Reputation: 15
yeah I tried running alsaconf
gives me some errors abount not finding no modules
When I have the modules for OPL*
 
Old 10-17-2003, 10:37 AM   #4
laurentbon
Member
 
Registered: Mar 2003
Distribution: Slack 9.1 + Dropline Gnome
Posts: 160

Rep: Reputation: 30
I had the same problem. And when I go in the module directory, the module is not there. It just seems to be that it cannot load it... My guess is that there is something wrong with IRQ assignment, but I don't even know what irq is... I am considering going back to kernel 2.4.20 or leaping forward to the instable 2.6...

I assumed that you have done the acpi patch as it seems to be very important on toshiba laptops...

Very frustrating...
 
Old 10-17-2003, 10:45 AM   #5
krymsunmortis
Member
 
Registered: Jan 2003
Location: Fort Worth Tx
Distribution: Slackware RedHat Mandrake BackTrack
Posts: 31

Original Poster
Rep: Reputation: 15
yep I install the ACPI and even compiled the kernel for the toshiba laptop.

irq is Interrupt request every device uses one. like most sound blaster cards on desktops like to use irq 5 i have noticed. I am thing of going into the directory and copying the modules to where ALSA is looking for them since it seems it is look in the wrong spot for them

wish me luck

man and to think I am at work and getting paid to do this
 
Old 10-17-2003, 10:49 AM   #6
laurentbon
Member
 
Registered: Mar 2003
Distribution: Slack 9.1 + Dropline Gnome
Posts: 160

Rep: Reputation: 30
You are a lucky one! Being paid to configure sound on your laptop... I have to take that on my spare time, and right at the moment, I am a bit fed up of all this mess to get sound working! Everything was fine on slack 9.0 and I am starting to wish that I hadn't touch it to upgrade to 9.1...
Anyway, good luck and let me know how it goes...
 
Old 10-17-2003, 11:17 AM   #7
krymsunmortis
Member
 
Registered: Jan 2003
Location: Fort Worth Tx
Distribution: Slackware RedHat Mandrake BackTrack
Posts: 31

Original Poster
Rep: Reputation: 15
ahah I didn't even have sound with SLack8.1 so don't feel to bad.
and If I figure it out I will let ya know

oh by the way here the info I have for my card

Audio
Yamaha OPL3-SA3
Integrated 16-bit Sound Blaster Pro compatible sound system with .WAV and MIDI sound support


BIOS info

Toshiba 490cdt

I/o Ports
Serial com1(3F8H/IRQ4)
oNBOARD MODEM COM2(2F8H/IRQ3)
PARALLEL LPT1(378H/IRQ7/CH3)
SOUND ENABLED
WSS I/O ADDRESS 530H
SBPRO I/O ADDRESS 220H
SYNTH I/O ADDY 388H
WSS &SBPRO &MPU401 IRQ LEVEL
IRQ5
WSS(PLAY) DMA CHANNEL 1
WSS(REC) & SBPro DMA CHANNEL 0
CONTROL I/O ADDY 538H
MPU401 (MIDI I/F) 330H


not sure if any of that helps you but just incase you notice something I have missed
 
Old 10-17-2003, 11:28 AM   #8
skog
Member
 
Registered: Sep 2003
Location: TX
Distribution: slackware
Posts: 301

Rep: Reputation: 30
I dont have a laptop.

but i had problems getting alsa to work with my usb sound because after i rebuilt the kernel and installed the modules it erased my usb sound driver. the module for usb alsa sound is not an option in the kernel either.

i have no idea what module u need for ur sound card but to fix mine i just have to reinstall the alsa drivers package off the slackware cdrom.

i forget the package dir that the alsa driver tgz file is in but u can find it with the find command. then just installpkg alsa-driver-0.9.6-i486-3.tgz

this reloads the alsa modules i need to get my usb sound to work. after doing this depmod complains about some of the modules not having all their dependencies but i dont need them so i delete them and everything works wonderfully again.

yeah I tried running alsaconf
gives me some errors abount not finding no modules

thats the error msg i was getting ... now everytime i rebuild my kernel i just installpkg the alsa-driver tgz and all is wonderful. u might try it and see. u might also check the alsa web page www.alsa-project.org ... and check that u have ur modules.conf file setup correctly.
 
Old 10-17-2003, 06:23 PM   #9
Kocil
Member
 
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209

Rep: Reputation: 31
Here is my /etc/modules.conf that is working on Tecra 8000.
It must be similar.
* The alias should be opl3sa2
* The I/O ports, dma, etc, check it on your BIOS.
Toshiba has a good idea to make it different on several models

alias sound-slot-0 opl3sa2
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
options sound dmabuf=1
alias synth0 opl3
alias midi opl3
options opl3 io=0x388
options opl3sa2 mss_io=0x530 irq=5 dma=1 dma2=0 mpu_io=0x330 io=0x538
 
Old 10-20-2003, 10:18 PM   #10
Rodrin
Member
 
Registered: May 2003
Location: Upstate NY, U.S.
Distribution: Slackware
Posts: 248

Rep: Reputation: 31
This is supposed to be a working configuration:

# ALSA sound card setup
# with help from http://www.sfu.ca/~jwendlan/laptop/
# and http://www.alsa-project.org/alsa-doc/
alias snd-card-0 snd-opl3sa2
options snd-opl3sa2 dma1=1 dma2=0 fm_port=0x388 irq=5 isapnp=0 \
midi_port=0x330 port=0x538 sb_port=0x220 wss_port=0x530
post-install ( modprobe snd-mixer-oss; modprobe snd-pcm-oss; modprobe snd-seq-oss; amixer master 100 unmute; amixer pcm 100 unmute)

# some stuff for the OSS drivers
alias char-major-14 snd-pcm-oss
alias sound-slot-0 snd-card-0

# aliases for sound card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
 
  


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
Toshiba Satellite Pro 470CDT Caysho Linux - Laptop and Netbook 13 09-04-2006 05:20 AM
Toshiba Satellite Pro 6100 and 10.2 slackb0t Slackware 3 12-02-2005 03:23 PM
Toshiba Satellite Pro belorion Linux - Laptop and Netbook 7 11-12-2003 12:15 PM
Toshiba Satellite Pro 6000 - Reboot doesn't work mallarj Linux - Laptop and Netbook 0 10-16-2003 09:54 PM
winmodem on toshiba satellite pro 4600 Xtream Linux - Hardware 1 11-19-2002 07:04 AM

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

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