<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>

<channel>
	<title>chorse's weblog</title>
	<atom:link href="http://www.chorse.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chorse.org</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Tue, 19 May 2009 04:45:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Linux Foundation launches linux.com</title>
		<link>http://www.chorse.org/2009/05/13/linux-foundation-launches-linuxcom/</link>
		<comments>http://www.chorse.org/2009/05/13/linux-foundation-launches-linuxcom/#comments</comments>
		<pubDate>Wed, 13 May 2009 22:28:22 +0000</pubDate>
		<dc:creator>chorse</dc:creator>
		
		<category><![CDATA[GNU/Linux]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[linux.com]]></category>

		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.chorse.org/?p=90</guid>
		<description><![CDATA[Today, the community website linux.com was (re-)launched by the Linux Foundation. I've already created an account there and I'm checking out now.
]]></description>
			<content:encoded><![CDATA[<p>Today, the community website <a href="http://www.linux.com/">linux.com</a> was (re-)launched by the <a href="http://www.linuxfoundation.org/">Linux Foundation</a>. I've already created an account there and I'm checking out now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chorse.org/2009/05/13/linux-foundation-launches-linuxcom/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to use a Creative Sound Blaster X-Fi Titanium under Linux</title>
		<link>http://www.chorse.org/2009/05/12/how-to-use-a-creative-sound-blaster-x-fi-titanium-under-linux/</link>
		<comments>http://www.chorse.org/2009/05/12/how-to-use-a-creative-sound-blaster-x-fi-titanium-under-linux/#comments</comments>
		<pubDate>Tue, 12 May 2009 16:37:41 +0000</pubDate>
		<dc:creator>chorse</dc:creator>
		
		<category><![CDATA[GNU/Linux]]></category>

		<category><![CDATA[alsa]]></category>

		<category><![CDATA[creative sound blaster x-fi titanium]]></category>

		<category><![CDATA[kernel module]]></category>

		<guid isPermaLink="false">http://www.chorse.org/?p=60</guid>
		<description><![CDATA[In 2008, Creative has released its X-Fi driver for Linux under the GPL. The driver is not complete, but it lets you use the basic features of your card. You can obtain it from Creative's support website. The driver is called "Creative Sound Blaster X-Fi and X-Fi Titanium Series Linux 32-bit / 64-bit Driver Source [...]]]></description>
			<content:encoded><![CDATA[<p>In 2008, <a href="http://www.creative.com/">Creative</a> has released its X-Fi driver for Linux under the GPL. The driver is not complete, but it lets you use the basic features of your card. You can obtain it from Creative's <a href="http://support.creative.com/">support website.</a> The driver is called "Creative Sound Blaster X-Fi and X-Fi Titanium Series Linux 32-bit / 64-bit Driver Source Release ", version 1.00, published on November 6 2008.</p>
<p>Sadly, it isn't compliant with newer boards like the PCI-E Titanium version. To use incompliant cards under linux, you have to edit the driver's source code.</p>
<p>First, you need to know the subsystem ID of your card. In this case it is 0x0042.</p>
<pre>chorse@aquila:~$ lspci -v
[...]
02:00.0 Audio device: Creative Labs [X-Fi Titanium series] EMU20k2 (rev 03)
	Subsystem: Creative Labs Device 0042
	Flags: bus master, fast devsel, latency 0, IRQ 19
	Memory at fcff0000 (64-bit, non-prefetchable) [size=64K]
	Memory at fcc00000 (64-bit, non-prefetchable) [size=2M]
	Memory at fb000000 (64-bit, non-prefetchable) [size=16M]
	Capabilities: &lt;access denied&gt;
	Kernel driver in use: CTALSA
	Kernel modules: ctxfi
[...]
</pre>
<p>Now enter the directory where you have extracted the driver's source code into.  Open<br />
ctdrv.h with a text editor.</p>
<pre class="c"><ol><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">/**</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp;* Copyright (C) 2008, Creative Technology Ltd. All Rights Reserved.</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp;*</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp;* This source file is released under GPL v2 license (no other versions).</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp;* See the COPYING file included in the main directory of this source</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp;* distribution for the license terms and conditions.</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp;*</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp;* @file    ctdrv.h</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp;*</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp;* @breaf</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp;* This file contains the definition of the programming interfaces that</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp;* provided by the driver module.</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp;*</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp;* @author Liu Chun</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp;*</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">&nbsp;*/</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #339933;">#ifndef CTDRV_H</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #339933;">#define CTDRV_H</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #339933;">#define PCI_VENDOR_CREATIVE             0x1102</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #339933;">#define PCI_DEVICE_CREATIVE_20K1        0x0005</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #339933;">#define PCI_DEVICE_CREATIVE_20K2        0x000B</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #339933;">#define PCI_SUBVENDOR_CREATIVE          0x1102</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #339933;">#define PCI_SUBSYS_CREATIVE_SB0760      0x0024</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #339933;">#define PCI_SUBSYS_CREATIVE_SB0880      0x0041</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #339933;">#define PCI_SUBSYS_CREATIVE_HENDRIX     0x6000</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #339933;">#define CT_XFI_DMA_MASK                 0xffffffffUL /* 32 bits */</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #339933;">#endif /* CTDRV_H */</span></div></li><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div></li></ol></pre>
<p>Now change the definition of PCI_SUBSYS_CREATIVE_SB0880 to the value you have detected before</p>
<pre class="c"><ol start="26"><li style="font-family: 'Bitstream Vera Sans Mono','Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #339933;">#define PCI_SUBSYS_CREATIVE_SB0880      0x0042</span></div></li></ol></pre>
<p>and build the driver as described in the README document.</p>
<p><strong>Update 2009-05-19:</strong> Finally <a href="http://www.alsa-project.org/">ALSA</a> support has <a href="http://mailman.alsa-project.org/pipermail/alsa-devel/2009-May/017332.html">arrived</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chorse.org/2009/05/12/how-to-use-a-creative-sound-blaster-x-fi-titanium-under-linux/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hello World!</title>
		<link>http://www.chorse.org/2009/05/11/hello-world-2/</link>
		<comments>http://www.chorse.org/2009/05/11/hello-world-2/#comments</comments>
		<pubDate>Mon, 11 May 2009 23:36:56 +0000</pubDate>
		<dc:creator>chorse</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.chorse.org/?p=58</guid>
		<description><![CDATA[This is my new weblog. I will blog about topics that matter for me. 
]]></description>
			<content:encoded><![CDATA[<p>This is my new weblog. I will blog about topics that matter for me. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.chorse.org/2009/05/11/hello-world-2/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
