lkml.org 
[lkml]   [1996]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Sound init patch doesn't work for me
On Tue, 10 Sep 1996, Duncan Roe wrote:

> Hi Hannu,
>
> > - Always cold boot the machine.
>
> Thanks for the tip! As long as I make sure to press the reset button during a
> reboot, it works fine.
>
> I applied the patch you suggested (reversing the 2.0.4 -> 2.0.5 change), but it
> doesn't do a lot of good. Sure the machine doesn't lock, but the probe fails
> and there's no sound after booting is complete. That's after a *soft* reboot:
> after a hard reboot it *does* work but then it was working anyway.
The interrupt check used in the driver doesn't work with old SB16
revisions when the machine is warm booted. The following patch will
inactivate the interrupt check with them.

Linus: I will send this and the yesterdays patch to you in separate message.

Hannu
-----------------------------
Hannu Savolainen (hannu@voxware.pp.fi, hannu@4front-tech.com)
http://personal.eunet.fi/pp/voxware/hannu.html (my home page)
http://www.4Front-Tech.com/uss.html (UNIX Sound System (USS))
http://personal.eunet.fi/pp/voxware (USS Lite/TASD/VoxWare)
------- cut here ----
*** sb_common.c.old Tue Sep 10 09:36:48 1996
--- sb_common.c Tue Sep 10 09:39:56 1996
***************
*** 705,711 ****
}

#ifndef NO_SB_IRQ_TEST
! for (n = 0; n < 3 && devc->irq_ok == 0; n++)
if (sb_dsp_command (devc, 0xf2)) /* Cause interrupt immediately */
{
int i;
--- 705,713 ----
}

#ifndef NO_SB_IRQ_TEST
! if (devc->major != 4 || devc->minor > 11) /* Not Sb16 v4.5 or v4.11 */
! {
! for (n = 0; n < 3 && devc->irq_ok == 0; n++)
if (sb_dsp_command (devc, 0xf2)) /* Cause interrupt immediately */
{
int i;
***************
*** 723,728 ****
--- 725,731 ----
{
DDB (printk ("IRQ test OK (IRQ%d)\n", devc->irq));
}
+ }
#endif

request_region (hw_config->io_base, 16, "sound blaster");


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.083 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site