Hi, (I posted this Monday, but it's still in moderation, so I joined the list and resent. Moderator, please delete the old copy.)
My on-board Intel 82801DB sound card worked fine under Linux 2.6.0 (ALSA 0.9.7), but upgrading to Linux 2.6.3 (ALSA 1.02c) causes problems. Enemy Territory has no sound and complains that it can't mmap /dev/dsp. Unreal Tournament 2003 has sound, but it is too fast and has regular ticks (at least 10 per second). XMMS with the ALSA output plugin also has regular ticks whose frequency corresponds to the buffer time setting. There are no problems in XMMS if I uncheck "mmap mode" or use the OSS output plugin. I recompiled with CONFIG_SND_DEBUG and CONFIG_SND_DEBUG_DETECT. When the module loads, dmesg gives: PCI: Setting latency timer of device 0000:00:1f.5 to 64 intel8x0_measure_ac97_clock: measured 49276 usecs intel8x0: clocking to 48000 ALSA sound/pci/intel8x0.c:2781: joystick(s) found These lines are repeated in my log files: ALSA sound/core/pcm_lib.c:233: Unexpected hw_pointer value [2] (stream = 0, delta: -1919, max jitter = 4800): wrong interrupt acknowledge? ALSA sound/core/pcm_lib.c:233: Unexpected hw_pointer value [2] (stream = 0, delta: -1023, max jitter = 5120): wrong interrupt acknowledge? This is the section of lspci -vv for my soundcard: 00:1f.5 Multimedia audio controller: Intel Corp. 82801DB AC'97 Audio Controller (rev 02) Subsystem: Micro-Star International Co., Ltd. 845PE Max (MS-6580) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0 Interrupt: pin B routed to IRQ 17 Region 0: I/O ports at e000 [size=256] Region 1: I/O ports at dc00 [size=64] Region 2: Memory at dffffe00 (32-bit, non-prefetchable) [size=512] Region 3: Memory at dffffd00 (32-bit, non-prefetchable) [size=256] Capabilities: [50] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=0 PME- Here's part of an strace from Enemy Territory: write(2, "\n------- sound initialization --"..., 38) = 38 setresuid32(0xffffffff, 0x3e8, 0xffffffff) = 0 open("/dev/dsp", O_RDWR) = 24 getuid32() = 1000 setresuid32(0xffffffff, 0x3e8, 0xffffffff) = 0 ioctl(24, SNDCTL_DSP_GETCAPS, 0xbffff1a4) = 0 ioctl(24, SOUND_PCM_READ_RATE, 0x821c58c) = 0 ioctl(24, SNDCTL_DSP_STEREO, 0xbffff19c) = 0 ioctl(24, SOUND_PCM_READ_RATE, 0x9180194) = 0 ioctl(24, SNDCTL_DSP_SETFMT, 0xbffff198) = 0 ioctl(24, SNDCTL_DSP_GETOSPACE, 0xbffff1b0) = 0 mmap2(NULL, 16384, PROT_WRITE, MAP_SHARED, 24, 0) = -1 EIO (Input/output error) write(2, "/dev/dsp: Input/output error\n", 29) = 29 write(2, "Could not mmap /dev/dsp\n", 24) = 24 close(24) = 0 write(2, "--------------------------------"..., 37) = 37 Have fun, -- Tom Felker, <[EMAIL PROTECTED]> <http://vlevel.sourceforge.net> - Stop fiddling with the volume knob. Curiosity was framed; ignorance killed the cat. ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user