LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-11-2003, 03:35 PM   #1
rickenbacherus
Member
 
Registered: Mar 2003
Location: colorado springs. colorado
Distribution: Debian-Sid 2.6.24-rt1
Posts: 290

Rep: Reputation: 30
Unhappy Yamaha ISA non-pnp soun card killing me


I have a Toshiba 490 CDT laptop running Debian Sid 2.4.20xfs w/ a Yamaha ISA non-pnp sound card. I am taking a real beating trying to get this sound card working. Here's what I've done thus far:

Code:
modprobe sb irq=5
Causes the machine to lock. The opl3sa2 should be the correct driver I beleive.

Code:
modprobe opl3sa2 irq=5

lsmod
Module                  Size  Used by    Not tainted
opl3sa2                 7792   0  (unused)
ad1848                 20684   0  [opl3sa2]
mpu401                 18788   0  [opl3sa2]
sound                  54540   0  [opl3sa2 ad1848 mpu401]
soundcore               3364   2  [sound]


sudo play /usr/share/sounds/startup.ogg
playing /usr/share/sounds/startup.ogg
sox: Can't open output file '/dev/dsp': No such device

:~$ locate /dev/dsp
/dev/dsp
/dev/dsp1
/dev/dsp2
/dev/dsp3

sudo chmod +x /dev/dsp

ls -al /dev/dsp
lrwxrwxrwx    1 root     root            9 Jul  9 15:37 /dev/dsp -> /dev/dsp0



cat /proc/interrupts
           CPU0
  0:      63440          XT-PIC  timer
  1:       1229          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  8:          1          XT-PIC  rtc
 10:      39043          XT-PIC  pcnet_cs
 11:       5419          XT-PIC  Toshiba America Info Systems ToPIC97, Toshiba America Info Systems ToPIC97 (#2), usb-uhci
 12:         25          XT-PIC  PS/2 Mouse
 14:      12541          XT-PIC  ide0
 15:          5          XT-PIC  ide1
NMI:          0
LOC:          0
ERR:          1
MIS:          0
I am aware that I can enter all of the I/O parameters for this card and even add them into /etc/modules to have them loaded at boot. modinfo opl3sa2 tells me which parameters I can modprobe with and I have tried them all in various combinations but I think that my problem is here:

Code:
dmesg

Local APIC disabled by BIOS -- reenabling.
Could not enable APIC!
That isn't true- APIC is not disabled in the BIOS. None the less nothing changes when it is disabled.

Code:
Local APIC not detected. Using dummy APIC emulation.
/snip/
PCI: PCI BIOS revision 2.10 entry at 0xfa2c1, last bus=21
PCI: Using configuration type 1dsp2
PCI: Probing PCI hardware
PCI: Using IRQ router PIIX [8086/7110] at 00:05.0
PCI: Found IRQ 11 for device 00:0b.0
PCI: Sharing IRQ 11 with 00:09.0
PCI: Found IRQ 11 for device 00:0b.1
PCI: Sharing IRQ 11 with 00:05.2
PCI: Cannot allocate resource region 4 of device 00:05.1
Limiting direct PCI/PCI transfers.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
/snip/
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0820-0x08ff: clean.
cs: IO port probe 0x0800-0x080f: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x240-0x24f 0x330-0x337 0x378-0x37
f 0x388-0x38f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
Here are my BIOS settings:
WSS I/O ADDRESS =530H
SBPro I/O ADDRESS =220H
Synthesizer I/O ADDRESS =388H
WSS & SBPro & MPU401 IRQ Level =IRQ5
WSS(PLAY) DMA =Channel1
WSS(Rec.) & SBPro DMA =Channel0
CONTROL I/O ADDRESS =538H
MPU401 (MIDI & I/F) =330H


I can change the following settings:
WSS I/O ADDRESS =530H
SBPro I/O ADDRESS =220H
Synthesizer I/O ADDRESS =388H
WSS & SBPro & MPU401 IRQ Level =IRQ5
WSS(PLAY) DMA =Channel1
WSS(Rec.) & SBPro DMA =Channel0


The 'excluding' line from dmesg makes me think that it isn't working because Linux is not using those I/O addresses.

I know that this card should work but I don't know what else to try. Any ideas would be very much appreciated.
 
Old 07-15-2003, 02:56 AM   #2
faheyd
Member
 
Registered: Jun 2003
Location: Northern California (NorCal)
Distribution: Ubuntu 7.04 and DSL/Puppy etc
Posts: 342

Rep: Reputation: 30
OK OK, you can say this isn't the same model, but look down at the sound section and see if anything will help:
http://www.grangefarm.pwp.blueyonder.co.uk/480cdt.html such as the bios page 2 screen.
I don't think it's SB compatible either, but that's a WAG (wild ass guess).
 
Old 08-22-2003, 08:01 AM   #3
rickenbacherus
Member
 
Registered: Mar 2003
Location: colorado springs. colorado
Distribution: Debian-Sid 2.6.24-rt1
Posts: 290

Original Poster
Rep: Reputation: 30
Thanks faheyd for that. I'll have to explore it a bit further. I have had some success. My pcmcia NIC insisted on using IRQ5. Since I don't use the parallel port I disabled it thus freeing up IRQ7 which I assigned to the sound card. Also the Toshiba has a BIOS option for PC Card Controller Mode which I first changed from AUTO to PCIC Compatible as was sugested in a number of posts I recently found. That not working I changed it yet again, this time to Cardbus/16bit. Sound now works using the sb driver but only plays cd's. No .mp3 no .ogg no .wav. I have messed around a bit witht the sample rate but no luck so far. I can also get the opl3sa2 driver to work but unfortunately my mixers refuse to work with this driver. I'll post back with any improvements.
 
Old 08-22-2003, 08:46 AM   #4
jt42
LQ Newbie
 
Registered: Aug 2003
Location: hamilton, on, canada
Posts: 6

Rep: Reputation: 0
Have you tried booting with append='noapic' in the lilo.conf?
(or add noapic to the kernel line with grub)

I have a tecra 8000 with the same opl3sa2 sound and it works fine. I'll post a follow-up with my modules.conf once I get to where the laptop is

-j
 
  


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
no sound on an isa 16bits yamaha opl3sa-x PeterP24 Amigo 8 10-19-2005 07:49 PM
Aztech 2320 ISA PnP sound card issues!!!! CapheinePhreak Mandriva 8 05-22-2005 09:27 AM
Alsa refuses to use ISA PnP sound card? kleptophobiac Linux - Hardware 2 08-21-2004 01:39 PM
Asound ISA pnp sound card troubles ricardo_ok Slackware 0 02-14-2004 02:08 PM
Determining resources used by legacy ISA PNP sound card in RH8 sfunk1x Linux - Hardware 2 11-29-2002 07:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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