[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Configuring a sound card in a Toshiba Tecra 8000



Hi Josep,

> I have a computer Toshiba Tecra 8000 with a sound card Yamaha Opl3Sa2, and
> with the s.o. Debian Woody and running with the kernel 2.4.20.

had that card in at least two laptops, worked always. We'll somehow figure 
out the matter on yours. ;)

> If i try to do insmod or modprobe they respond that the
> corresponding modules is not found (opl3sa2.o). I have all the modules (.o
> files) in the dir /usr/src/linux/drivers/sound and not in the dir
> /lib/modules/2.4.20/sound. Is this normal?

What exactly were you typing? An example:

root@caladan:/etc/modutils# modprobe usb-storage.o
modprobe: Can't locate module usb-storage.o
root@caladan:/etc/modutils# modprobe usb-storage  
root@caladan:/etc/modutils# echo $?
0

*hooray*

> Jan 28 22:45:19 debian kernel: isapnp: Scanning for PnP cards...
> Jan 28 22:45:19 debian kernel: isapnp: No Plug & Play device found

> Jan 28 22:45:19 debian kernel: opl3sa2: 0 PnP card(s) found.
> Jan 28 22:45:19 debian kernel: ad1848/cs4248 codec driver Copyright (C) by
> Hannu Savolainen 1993-1996
> Jan 28 22:45:19 debian kernel: ad1848: No ISAPnP cards found, trying
> standard ones...
> Jan 28 22:45:19 debian kernel: Soundblaster audio driver Copyright (C) by
> Hannu Savolainen 1993-1996
> Jan 28 22:45:19 debian kernel: sb: No ISAPnP cards found, trying standard
> ones... Jan 28 22:45:19 debian kernel: YM3812 and OPL-3 driver Copyright
> (C) by Hannu Savolainen, Rob Hooft 1993-1996

Above seems to be the source of trouble.

The standard opl3sa2 setup is:
    * IRQ: 5
    * I/O: 0x530
    * DMA1: 1
    * DMA2: 0
    * MPU: 0x330
    * Control: 0x370

In my former Toshiba Portege 3020, those options could be set up in the BIOS. 
Be sure to check this on your machine.

So far, automatic isapnp PlugnPray in v2.4 has never fully worked for me, 
maybe due to crappy budget ISDN/NIC hardware :). I prefer setting up cards 
manually with pnpdump and isapnp. Check the man pages on both, maybe - 
however, probably you do not need those and BIOS configuration suffices..

After a quick look I could not find any kernel boot parameters to disable the 
ISAPNP code upon booting. Maybe you have to rebuild your kernel with ISAPNP 
disabled to manually configure the sound chip. I assume you have to get rid 
of the kernel-integrated ISAPNP entirely before you will have any success..
I had to or my crapcards would never initialize correctly. Maybe anyone else 
here knows a better way.

The corresponding entries for module loading configuration:

/etc/modules/aliases:

alias char-major-14 opl3sa2
alias sound-slot-0 opl3sa2
options opl3sa2 io=0x370 mss_io=0x530 mpu_io=0x330 irq=5 dma=1 dma2=0
options opl3 io=0x388

/etc/modules/actions:

pre-install opl3sa2 modprobe -k ad1848
post-install opl3sa2 modprobe -k opl3

Issue as root "update-modules", for safety "depmod -a", check man 
update-modules.

Try to rmmod anything related to sound and try "modprobe -v opl3sa2".

If that does it, good. If not, report errors. ;)

Good luck,
  Frank
-- 
-------------------------------------------------------------
 Frank Trenkamp                            ftrenkam at uos.de
 PGP fprt: 5A0C 4AE9 74A5 51F0 2D34  E7DC 67FF 32C4 0357 5653
-------------------------------------------------------------



Reply to: