A NOTE has been added to this issue. ====================================================================== <https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2132> ====================================================================== Reported By: bzbarsky Assigned To: ====================================================================== Project: ALSA - driver Issue ID: 2132 Category: PCI - ens1371 Reproducibility: always Severity: block Priority: normal Status: new Distribution: Fedora Core 4 Kernel Version: 2.6.15 ====================================================================== Date Submitted: 05-17-2006 19:54 CEST Last Modified: 06-12-2006 05:26 CEST ====================================================================== Summary: No sound from speakers Description: Alsa seems to detect the sound card, but when I try to actually play something there is no sound from the speakers. ====================================================================== ---------------------------------------------------------------------- Raymond - 06-12-06 05:23 ---------------------------------------------------------------------- It seem that some delay is needed to wait for those flags changed /* wait for not busy (state 0) first to avoid transition states */ for (t = 0; t < POLL_COUNT; t++) { if ((inl(ES_REG(ensoniq, 1371_SMPRATE)) & 0x00870000) == 0x00000000) break; + /* add delay */ } /* wait for a SAFE time to write addr/data and then do it, dammit */ for (t = 0; t < POLL_COUNT; t++) { if ((inl(ES_REG(ensoniq, 1371_SMPRATE)) & 0x00870000) == 0x00010000) break; + /* add delay */ } outl(ES_1371_CODEC_READS(reg), ES_REG(ensoniq, 1371_CODEC)); ---------------------------------------------------------------------- rlrevell - 06-12-06 05:26 ---------------------------------------------------------------------- What if you use the *_p variants of outl, outw, etc? man 2 outl_p Issue History Date Modified Username Field Change ====================================================================== 05-17-06 19:54 bzbarsky New Issue 05-17-06 19:54 bzbarsky File Added: lspci.txt 05-17-06 19:54 bzbarsky Distribution => Fedora Core 4 05-17-06 19:54 bzbarsky Kernel Version => 2.6.15 05-17-06 19:55 bzbarsky File Added: lspci-n.txt 05-17-06 19:55 bzbarsky Issue Monitored: bzbarsky 05-17-06 19:56 bzbarsky File Added: scsound.log 05-17-06 19:57 bzbarsky Note Added: 0009857 05-20-06 05:31 Raymond Note Added: 0009882 05-20-06 21:43 bzbarsky Note Added: 0009893 05-21-06 03:41 Raymond Note Added: 0009894 05-21-06 03:48 Raymond Note Edited: 0009894 05-22-06 02:47 bzbarsky File Added: ac97#0-0 05-22-06 02:48 bzbarsky File Added: ac97#0-0+regs 05-22-06 02:53 bzbarsky Note Added: 0009901 05-22-06 04:14 Raymond Note Added: 0009902 05-23-06 09:00 Raymond Note Added: 0009929 05-23-06 09:03 Raymond Note Edited: 0009929 05-23-06 09:07 Raymond Note Edited: 0009929 06-02-06 20:08 bzbarsky Note Added: 0010053 06-02-06 20:09 bzbarsky File Added: scsound-1.0.11.log 06-02-06 20:09 bzbarsky File Added: ac97#0-0-1.0.11 06-02-06 20:10 bzbarsky File Added: ac97#0-0+regs-1.0.11 06-02-06 20:35 bzbarsky Note Added: 0010054 06-03-06 02:44 Raymond Note Added: 0010058 06-05-06 01:29 bzbarsky Note Added: 0010066 06-05-06 03:31 Raymond Note Added: 0010067 06-05-06 03:56 bzbarsky File Added: dmesg 06-05-06 03:57 bzbarsky Note Added: 0010068 06-06-06 06:35 Raymond Note Added: 0010071 06-06-06 06:43 Raymond Note Edited: 0010071 06-06-06 08:59 Raymond Note Edited: 0010071 06-10-06 07:42 bzbarsky Note Added: 0010144 06-11-06 05:24 Raymond Note Added: 0010150 06-11-06 05:29 Raymond Note Edited: 0010150 06-11-06 22:37 bzbarsky File Added: dmesg+kprint 06-11-06 22:37 bzbarsky File Added: codec_lines.txt 06-11-06 22:38 bzbarsky Note Added: 0010154 06-12-06 03:31 Raymond Note Added: 0010157 06-12-06 03:41 rlrevell Note Added: 0010158 06-12-06 04:36 bzbarsky Note Added: 0010161 06-12-06 05:18 Raymond Note Added: 0010164 06-12-06 05:20 Raymond Note Edited: 0010164 06-12-06 05:23 Raymond Note Edited: 0010164 06-12-06 05:23 Raymond Note Edited: 0010164 06-12-06 05:26 rlrevell Note Added: 0010165 ====================================================================== _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel