<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cctsurf</id>
	<title>ThinkWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cctsurf"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Cctsurf"/>
	<updated>2026-04-30T18:01:06Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=CS4299&amp;diff=28993</id>
		<title>CS4299</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=CS4299&amp;diff=28993"/>
		<updated>2007-03-29T17:18:24Z</updated>

		<summary type="html">&lt;p&gt;Cctsurf: /* Linux ALSA driver */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
=== CS4299 ===&lt;br /&gt;
This is a Cirrus Logic AC'97 Audio controller&lt;br /&gt;
&lt;br /&gt;
This chip is sometimes incorrectly called CS4229 in IBM documentation&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Chipset: CS4299&lt;br /&gt;
* Interface: AC'97 2.1&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Linux OSS driver ===&lt;br /&gt;
This sound chip is supported by the i810_audio kernel module.&lt;br /&gt;
&lt;br /&gt;
=== Linux ALSA driver ===&lt;br /&gt;
This sound chip is supported by the snd-intel8x0 kernel module.&lt;br /&gt;
&lt;br /&gt;
=== T23 Fast Sound ===&lt;br /&gt;
On at least one t23 (mine) the ALSA intel8x0 driver plays sound too fast.  The following {{path|/etc/asound.conf}} restores normal operation:  &lt;br /&gt;
&lt;br /&gt;
   pcm.intel8x0-hw {&lt;br /&gt;
   type hw&lt;br /&gt;
   card 0&lt;br /&gt;
   }&lt;br /&gt;
   &lt;br /&gt;
   pcm.!default {&lt;br /&gt;
   type plug&lt;br /&gt;
   slave.pcm &amp;quot;intel8x0&amp;quot;&lt;br /&gt;
   }&lt;br /&gt;
   &lt;br /&gt;
   pcm.intel8x0 {&lt;br /&gt;
   type dmix&lt;br /&gt;
   ipc_key 1234&lt;br /&gt;
   slave {&lt;br /&gt;
   pcm &amp;quot;hw:0,0&amp;quot;&lt;br /&gt;
   period_time 0&lt;br /&gt;
   period_size 512&lt;br /&gt;
   buffer_size 4096&lt;br /&gt;
   rate 44100&lt;br /&gt;
   }&lt;br /&gt;
   }&lt;br /&gt;
   &lt;br /&gt;
   ctl.intel8x0-hw {&lt;br /&gt;
   type hw&lt;br /&gt;
   card 0&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Dmixing ====&lt;br /&gt;
The CS4299 is not capable of hardware mixing. This means that only one sound stream can be played at any time. &lt;br /&gt;
You must get the software to do the mixing for it (this will load your CPU).&lt;br /&gt;
The ALSA implementation of this is called DMIX. You can also run sound servers like ESD or ArtsD, but not all applications will use them.&lt;br /&gt;
Recent ALSA distributions have dmixing setup and enabled by default. &lt;br /&gt;
&lt;br /&gt;
Otherwise just add the following to {{path|/etc/asound.conf}} :&lt;br /&gt;
   pcm.dsp0 {&lt;br /&gt;
       type plug&lt;br /&gt;
       slave.pcm dmix&lt;br /&gt;
   }&lt;br /&gt;
   # mixer0 can stay unchanged, because&lt;br /&gt;
   # it isn't used anyway, I guess ;)&lt;br /&gt;
   ctl.mixer0 {&lt;br /&gt;
       type hw&lt;br /&gt;
       card 0&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
Now the only problem is how to tell applications to use the DMIX channel instead of dsp0. Most applications work by specifying &amp;quot;dmix&amp;quot; as the device. For command line apps use &amp;quot;aoss&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Hint: XMMS does not work well with dmix and the intel8x0. You will probably need to patch and recompile. &lt;br /&gt;
&lt;br /&gt;
See: [http://bugs.xmms.org/show_bug.cgi?id=1716 XMMS bug 1716], [http://bugs.xmms.org/show_bug.cgi?id=2009 XMMS bug 2009] and [http://bugs.xmms.org/show_bug.cgi?id=1991 XMMS bug 1991]&lt;br /&gt;
&lt;br /&gt;
You also need to disable mmap and increase the buffer and period time in the advanced options.&lt;br /&gt;
&lt;br /&gt;
=== ThinkPads this chip may be found in ===&lt;br /&gt;
* {{A21e}}, {{A22e}}&lt;br /&gt;
* {{A30}}, {{A30p}}&lt;br /&gt;
* {{T23}}&lt;br /&gt;
* {{X22}}, {{X23}}, {{X24}}&lt;br /&gt;
* {{i1200}}, {{i1210}}, {{i1230}}, {{i1250}}, {{i1260}}&lt;br /&gt;
* {{i1300}}, {{i1330}}, {{i1370}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Components]]&lt;/div&gt;</summary>
		<author><name>Cctsurf</name></author>
		
	</entry>
</feed>