Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 May 2006 01:34:03 -0400
From:      Anish Mistry <mistry.7@osu.edu>
To:        freebsd-multimedia@freebsd.org
Subject:   Sound doesn't play until USB interrupt?
Message-ID:  <200605120134.11664.mistry.7@osu.edu>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
	I'm using the patch against 6.1:
http://people.freebsd.org/~ariff/test/r6.diff

	When I unload and load my sound driver and then try to play something 
it doesn't play.  The program says there is an error with the device, 
or in the case of beep-media-player it will just keep trying until it 
can play.  Sound only starts playing when I try to hotsync my PDA.  
I've tried this a couple of times and sure enough when I press play 
with beep-media-player (or any other player) sound won't start 
playing until I press press the hotsync button to sync my PDA.
May 11 20:26:26 bigguy kernel: csa0: 
<CS4280/CS4614/CS4622/CS4624/CS4630> mem 
0xfebfd000-0xfebfdfff,0xfea00000-0xfeafffff irq 5 at device 10.0 on 
pci0
May 11 20:26:26 bigguy kernel: csa: card is Hercules Game Theatre XP
May 11 20:26:26 bigguy kernel: csa0: [GIANT-LOCKED]
May 11 20:26:26 bigguy kernel: pcm0: <CS461x PCM Audio> on csa0
May 11 20:26:26 bigguy kernel: pcm0: <Cirrus Logic CS4294 AC97 Codec>
May 11 20:26:26 bigguy kernel: pcm0: [GIANT-LOCKED]

After that everything just works normally until I unload and reload 
the snd_csa module.

Also with the patch I see the following log messages when watching a 
video.
May 11 23:48:01 bigguy kernel: pcm0: WARNING: PCMDIR_PLAY DMA 
completion too fast/slow ! hwptr=0, old=0 delta=0 amt=0 ready=4096 
free=0
May 12 00:22:38 bigguy kernel: pcm0: WARNING: PCMDIR_PLAY DMA 
completion too fast/slow ! hwptr=0, old=0 delta=0 amt=0 ready=4096 
free=0


-- 
Anish Mistry

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQBEZB5TxqA5ziudZT0RArMgAKCg7HmjZjUzQlUstLTKfG81rLjEaACdHKfi
eqMobatsk6en2N2xYhjuES0=
=e4ML
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605120134.11664.mistry.7>