Bug 29527 - Toshiba Laptop Sound Problem
Summary: Toshiba Laptop Sound Problem
Status: CLOSED DUPLICATE of bug 25085
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: sndconfig
Version: 7.1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2001-02-26 08:39 UTC by worldwideweber
Modified: 2014-03-17 02:19 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2001-03-01 13:11:36 UTC

Attachments (Terms of Use)

Description worldwideweber 2001-02-26 08:39:37 UTC
sndconfig can no longer configure the sound on Toshiba laptop 
(Toshiba Satellite 225 CDS w/ Yamaha sound system).

I can load the opl3sa2 module, but I keep getting errors 
reporting problems reading /dev/audio.

Comment 1 Bill Nottingham 2001-02-26 12:58:57 UTC
What does your /etc/modules.conf look like?

Comment 2 worldwideweber 2001-02-26 15:27:37 UTC
--- modules.conf ---

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

Comment 3 Bill Nottingham 2001-02-26 16:22:13 UTC
What happens if you add 'isapnp=0' to the end of the 'options' line?

Comment 4 worldwideweber 2001-02-26 17:47:43 UTC
The driver complains that isapnp is an invalid parameter.

---- SNIP ----
/sbin/insmod opl3sa2 mss_io=0x530 irq=5 dma=1 dma2=0 mpu_io=0x330 io=0x370
Using /lib/modules/2.4.2/kernel/drivers/sound/opl3sa2.o
/lib/modules/2.4.2/kernel/drivers/sound/opl3sa2.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including
invalid IO or IRQ parameters

Comment 5 Bill Nottingham 2001-02-26 17:55:37 UTC
It's not an invalid parameter, it just didn't find the card where you
told it it was.

What happens if you remove the 'options' line and just do

modprobe opl3sa2 isapnp=1


Comment 6 worldwideweber 2001-02-26 18:07:10 UTC
Nothing that I can see happens when I run modprobe.  The module is loaded but
sound still doesn't work.

(me) /usr/src/linux -> /sbin/modprobe opl3sa2 isapnp=1
Note: /etc/modules.conf is more recent than /lib/modules/2.4.2/modules.dep
(me) /usr/src/linux -> /sbin/lsmod                    
Module                  Size  Used by
opl3sa2                 7472   0  (unused)
ad1848                 17360   0  [opl3sa2]
mpu401                 19152   0  [opl3sa2]
sound                  57488   0  [opl3sa2 ad1848 mpu401]
soundcore               3824   2  [sound]

Comment 7 Bill Nottingham 2001-02-26 18:16:32 UTC
Well, it loads the module, which is a start.

What does 'dmesg' say?

Comment 8 worldwideweber 2001-02-26 18:30:16 UTC
dmesg says that it can't find a card.

opl3sa2: No cards found
opl3sa2: 0 PnP card(s) found.

Something interesting (also yelled by dmesg):

opl3sa2: Control I/O port 0x0 not free

I think this latter message is from when I tried to set the io,irq, etc
manually, but interesting nonetheless.

Comment 9 Bill Nottingham 2001-02-26 18:33:48 UTC
Is it a PnP card?

Is there anything in /proc/isapnp?

Are you *sure* all the parameters are correct?

Comment 10 worldwideweber 2001-02-26 18:47:00 UTC
The detailed specs from Toshiba don't say whether the card (or bus) is PnP.  
I would guess that it is not... this is an old Toshiba Satellite 225 CDS
(Pentium 133 MHz).

There is no /proc/isapnp.

As for the paramters I use, they are exactly the same as the parameters I used
under RedHat 6.x.

Comment 11 Bill Nottingham 2001-02-26 20:20:40 UTC
What does 'cat /proc/ioports' say?

Comment 12 worldwideweber 2001-02-27 01:03:14 UTC
(me) ~ -> more /proc/ioports 
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
01f0-01f7 : ide0
02f8-02ff : serial(set)
0300-031f : 3c574_cs
0378-037a : parport0
03c0-03df : vga+
03e0-03e1 : i82365
03e8-03ef : serial(auto)
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0cf8-0cff : PCI conf1

Comment 13 worldwideweber 2001-03-01 13:11:28 UTC
Fixed in kernel 2.4.2-ac7.

Comment 14 worldwideweber 2001-03-01 13:15:58 UTC

*** This bug has been marked as a duplicate of 25085 ***

Note You need to log in before you can comment on or make changes to this bug.