NetBSD-Bugs archive

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

Re: kern/37613 (esa doesn't work after resume on Compaq Evo N600c)



The following reply was made to PR kern/37613; it has been noted by GNATS.

From: "Jared D. McNeill" <jmcneill%invisible.ca@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: jmcneill%NetBSD.org@localhost, kern-bug-people%netbsd.org@localhost, 
 netbsd-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
zza%serpens.de@localhost
Subject: Re: kern/37613 (esa doesn't work after resume on Compaq Evo N600c)
Date: Mon, 21 Jan 2008 21:50:30 -0500

 This is a multi-part message in MIME format.
 --------------080108010005000304010009
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 If you run eg. 'mpg123 -v file.mp3', do you see the playback running, or 
 is the play counter stalled?
 
 Also, can you please try the attached patch?
 
 Thanks!
 
 Jared
 
 
 --------------080108010005000304010009
 Content-Type: text/x-patch;
  name="esa.patch"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="esa.patch"
 
 Index: esa.c
 ===================================================================
 RCS file: /cvsroot/src/sys/dev/pci/esa.c,v
 retrieving revision 1.43
 diff -u -r1.43 esa.c
 --- esa.c      9 Dec 2007 20:28:07 -0000       1.43
 +++ esa.c      22 Jan 2008 02:48:20 -0000
 @@ -1674,6 +1674,11 @@
  
        delay(10000);
  
 +      /* Disable legacy emulation */
 +      data = pci_conf_read(pc, tag, PCI_LEGACY_AUDIO_CTRL);
 +      data |= DISABLE_LEGACY;
 +      pci_conf_write(pc, tag, PCI_LEGACY_AUDIO_CTRL, data);
 +
        esa_config(sc);
  
        reset_state = esa_assp_halt(sc);
 @@ -1694,8 +1699,8 @@
        bus_space_write_1(iot, ioh, ESA_DSP_PORT_CONTROL_REG_B,
            reset_state | ESA_REGB_ENABLE_RESET);
  
 -      esa_enable_interrupts(sc);
        esa_amp_enable(sc);
 +      esa_enable_interrupts(sc);
  
        return true;
  }
 
 --------------080108010005000304010009--
 



Home | Main Index | Thread Index | Old Index