<?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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Kerry D. Wong &#187; setup</title>
	<atom:link href="http://www.kerrywong.com/tag/setup/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kerrywong.com</link>
	<description></description>
	<lastBuildDate>Fri, 03 Sep 2010 00:51:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Setting up WordPress on Ubuntu Server &#8212; Step by Step</title>
		<link>http://www.kerrywong.com/2009/02/22/setting-up-wordpress-on-ubuntu-server-step-by-step/</link>
		<comments>http://www.kerrywong.com/2009/02/22/setting-up-wordpress-on-ubuntu-server-step-by-step/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 03:00:28 +0000</pubDate>
		<dc:creator>kwong</dc:creator>
				<category><![CDATA[Linux/BSD]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Ubuntu Server]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.kerrywong.com/?p=552</guid>
		<description><![CDATA[I wrote a tutorial on how to setup WordPress on Ubuntu Server back in 2007. While the setup steps have largely remained the same from version 6.10 to 8.04 (both are long term support LTS versions), I decided to create an other guide focusing on the setup processes with Ubuntu Server 8.04. The setup steps [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote a tutorial on <a href="/2007/09/26/setting-up-wordpress-on-ubuntu-server/">how to setup WordPress on Ubuntu Server back in 2007</a>. While the setup steps have largely remained the same from version 6.10 to 8.04 (both are long term support LTS versions), I decided to create an other guide focusing on the setup processes with Ubuntu Server 8.04.<span id="more-552"></span> The setup steps are actually a bit easier in 8.04 as Samba has been fully integrated into the initial setup process. I have also included some screen shots from the text-mode Ubuntu Server setup so that newbies would find the task of setting up the server less daunting.</p>
<p><strong>1. Ubuntu Server Setup</strong></p>
<p>The following screen shots are taken while installing Ubuntu Server 8.04 (note the latest Ubuntu Server Edition is 8.04.2)</p>
<p><img alt="" src="http://www.kerrywong.com/blog/wp-content/uploads/2009/02/wp_001.png" /></p>
<p><img alt="" src="http://www.kerrywong.com/blog/wp-content/uploads/2009/02/wp_002.png" /></p>
<p><img alt="" src="http://www.kerrywong.com/blog/wp-content/uploads/2009/02/wp_003.png" /></p>
<p><img alt="" src="http://www.kerrywong.com/blog/wp-content/uploads/2009/02/wp_004.png" /></p>
<p>While the default choice is Yes (Detect keyboard layout), I have found that that for the keyboards used here in the US, skipping the auto-detection step is actually easier.</p>
<p><img alt="" src="http://www.kerrywong.com/blog/wp-content/uploads/2009/02/wp_005.png" /></p>
<p><img alt="" src="http://www.kerrywong.com/blog/wp-content/uploads/2009/02/wp_006.png" /></p>
<p><img alt="" src="http://www.kerrywong.com/blog/wp-content/uploads/2009/02/wp_007.png" /></p>
<p>This is the host name you want to use. For whatever reason, the default Ubuntu Server setting does not set the host-name correctly using DHCP (for instance, you can not use vm-wordpress to locate the server from a Windows machine). This can be addressed easily by ensuring that the following lines are present in <strong><em>/etc/dhcp3/dhclient.conf</em></strong>:</p>
<p>send host-name &quot;&lt;hostname&gt;&quot;;<br />
request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, host-name, ntp-servers;</p>
<p><img alt="" src="http://www.kerrywong.com/blog/wp-content/uploads/2009/02/wp_008.png" /></p>
<p><img alt="" src="http://www.kerrywong.com/blog/wp-content/uploads/2009/02/wp_009.png" /></p>
<p>For a dedicated server, the default partitioning scheme (use entire disk) should be suffice.</p>
<p><img alt="" src="http://www.kerrywong.com/blog/wp-content/uploads/2009/02/wp_010.png" /></p>
<p><img alt="" src="http://www.kerrywong.com/blog/wp-content/uploads/2009/02/wp_011.png" /></p>
<p><img alt="" src="http://www.kerrywong.com/blog/wp-content/uploads/2009/02/wp_012.png" /></p>
<p><img alt="" src="http://www.kerrywong.com/blog/wp-content/uploads/2009/02/wp_013.png" /></p>
<p><img alt="" src="http://www.kerrywong.com/blog/wp-content/uploads/2009/02/wp_014.png" /></p>
<p><img alt="" src="http://www.kerrywong.com/blog/wp-content/uploads/2009/02/wp_015.png" /></p>
<p><img alt="" src="http://www.kerrywong.com/blog/wp-content/uploads/2009/02/wp_016.png" /></p>
<p><img alt="" src="http://www.kerrywong.com/blog/wp-content/uploads/2009/02/wp_017.png" /></p>
<p>If you are setting it up on your home computer, this is usually blank.</p>
<p><img alt="" src="http://www.kerrywong.com/blog/wp-content/uploads/2009/02/wp_018.png" /></p>
<p><img alt="" src="http://www.kerrywong.com/blog/wp-content/uploads/2009/02/wp_019.png" /></p>
<p>For the WordPress server setup LAMP and OpenSSH are the only required components. However, I usually add the Print Server (CUPS) so that the whole home network can share the printer on the WordPress server (since it is always on) and Samba File Server so that I can copy files from a Windows machine.</p>
<p><img alt="" src="http://www.kerrywong.com/blog/wp-content/uploads/2009/02/wp_020.png" /></p>
<p><img alt="" src="http://www.kerrywong.com/blog/wp-content/uploads/2009/02/wp_021.png" /></p>
<p>Don&#8217;t confuse MySQL root user password with the Ubuntu login password. They can be the same but it is recommended that you use a different strong password for each.</p>
<p><img alt="" src="http://www.kerrywong.com/blog/wp-content/uploads/2009/02/wp_022.png" /></p>
<p><img alt="" src="http://www.kerrywong.com/blog/wp-content/uploads/2009/02/wp_023.png" /></p>
<p>We are almost done!</p>
<p><img alt="" src="http://www.kerrywong.com/blog/wp-content/uploads/2009/02/wp_024.png" /></p>
<p>If everything goes well, you should be greeted with this login screen after your machine is re-booted.</p>
<p>As a best practice, you should always ensure that your distribution is up-to-date by getting the latest patches/software:</p>
<p>This can be achieved by issuing the following commands upon log in:</p>
<div>sudo apt-get update</div>
<div>sudo apt-get dst-upgrade</div>
<p>A reboot maybe necessary if kernel image is updated.</p>
<p><strong>2. Create Samba Share</strong></p>
<p>We have already installed Samba during the Ubuntu Server install. To use it we need to first configure it properly.</p>
<p>sudo vi /etc/samba/smb.conf</p>
<p>at the end add the following section:</p>
<div>[<em>{Samba Share Name}</em>]</div>
<div>path=/</div>
<div>valid users= <em>{User Name}</em></div>
<div>read only = no</div>
<div>create mask = 0666</div>
<div>directory mask = 0777</div>
<p>Now we can add a user for Samba share:</p>
<div>
<div>sudo smbpasswd -a <em>{user name}</em></div>
<div>sudo /etc/init.d/samba restart</div>
<p>After Samba is configured, you should be able to see it via smb://vm-wordpress/sambaroot/ (using the user name and password you just added) in Linux or \\vm-wordpress\sambaroot\ in Windows.</p>
</div>
<p><strong>3. Install WordPress</strong></p>
<p>In your user directory (e.g. /home/<em>{user name}</em>):</p>
<div>wget http://wordpress.org/latest.tar.gz</div>
<div>tar -zxvf latest.tar.gz</div>
<div>sudo mv ./wordpress/ /var/www/blog</div>
<p><strong>4. Configure Database<br />
</strong></p>
<div>mysql -u root -p</div>
<p>mysql&gt; create database wordpress;<br />
mysql&gt; grant all privileges on wordpress.* to &quot;wpuser&quot;@&quot;localhost&quot; identified by &quot;password&quot;;<br />
mysql&gt; flush privileges;<br />
mysql&gt; exit</p>
<p>In my <a href="/2007/09/26/setting-up-wordpress-on-ubuntu-server/">previous tutorial</a>, I used <strong>phpMyAdmin</strong> as the SQL tool. While it is much easier to use then the mysql command line, it nevertheless adds some risk if you allow database logins remotely. So I would not recommand installing it on the production server.</p>
<p><strong>5. Configure WordPress</strong></p>
<div>mv /var/www/blog/wp-config-sample.php /var/www/blog/wp-config.php</div>
<p>
Edit the content of wp-config.php:</p>
<div>define(&#8216;DB_NAME&#8217;, &#8216;wordpress&#8217;);&nbsp;&nbsp;&nbsp; // The name of the database</div>
<div>define(&#8216;DB_USER&#8217;, &#8216;username&#8217;);&nbsp;&nbsp;&nbsp;&nbsp; // Your MySQL username</div>
<div>define(&#8216;DB_PASSWORD&#8217;, &#8216;password&#8217;); // &#8230;and password</div>
<div>define(&#8216;DB_HOST&#8217;, &#8216;localhost&#8217;);</div>
<p>
Since our WordPress installation is located in the blog directory, the default url will be http://yourdomain/blog/. If you want your blog to be accessible from the root (e.g. http://yourdomain/) you will need to modify /var/www/blog/index.php.</p>
<p>First copy it to www root:</p>
<div>cp /var/www/blog/index.php /var/www/</div>
<p>
And change the require() line to point to the new path: require(&#8216;blog/wp-blog-header.php&#8217;).</p>
<p><strong>a. for new setup</strong></p>
<p>Run the setup script at http://yourdomain/blog/wp-admin/install.php</p>
<p>After running the installation script, we want to make sure that our blog is pointed at the correct location. go to http://yourdomain/blog/wp-adming/, select options. In General Options section, you will see one line like &quot;WordPress address (URL)&quot; and another line like &quot;Blog address (URL)&quot;. This is the place where you specify how your blog main url looks to the outside world. If you want your blog to appear as http://yourdomain/ then make sure WordPress address is pointed to http://yourdomain/blog and Blog address is pointed to http://yourdomain. If you want your blog to appear as http://yourdomain/blog/ then make sure both entries are the same (http://yourdomain/blog/).</p>
<p>Now the installation of WordPress is complete.</p>
<p>If you need URL rewrite capability, you will need to load the URL rewrite module:</p>
<div>sudo a2enmod rewrite</div>
<div>sudo /etc/init.d/apache2 force-reload</div>
<p><strong>b. for existing setup (restoring a previously backed-up database)</strong></p>
<div>mysql -u [username] -p [password] [database_to_restore] &lt; [backupfile]</div>
<div>http://yourdomain/blog/wp-admin/upgrade.php</div>
<p>For a detailed discussing on how to perform backup/restore on MySQL database, please refer to <a href="http://www.devshed.com/c/a/MySQL/Backing-up-and-restoring-your-MySQL-Database/">this article</a>.</p>
<p>If you need to access the MySQL database from another machine that is on the LAN, you will want to change /etc/mysql/my.cnf and modify the bind-address to the server address, <a href="http://www.cyberciti.biz/tips/how-do-i-enable-remote-access-to-mysql-database-server.html">you can read more here</a>.</p>
<p>I omitted some content which are less commonly used in this article. You can refer to my&nbsp;<a href="/2007/09/26/setting-up-wordpress-on-ubuntu-server/">previous tutorial</a> for more information.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kerrywong.com/2009/02/22/setting-up-wordpress-on-ubuntu-server-step-by-step/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>MIDI Setup with OSS and ALSA</title>
		<link>http://www.kerrywong.com/2008/12/14/midi-setup-with-oss-and-alsa/</link>
		<comments>http://www.kerrywong.com/2008/12/14/midi-setup-with-oss-and-alsa/#comments</comments>
		<pubDate>Mon, 15 Dec 2008 01:11:45 +0000</pubDate>
		<dc:creator>kwong</dc:creator>
				<category><![CDATA[Linux/BSD]]></category>
		<category><![CDATA[ALSA]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MIDI]]></category>
		<category><![CDATA[OSS]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.kerrywong.com/?p=455</guid>
		<description><![CDATA[Setting up the hardware environment to support MIDI devices is relatively easy. in fact, most newer MIDI devices do not rely on the old sound card game port and adding a MIDI device is just like adding an external hard drive. The reason I had to resort to a dual sound card setup is because [...]]]></description>
			<content:encoded><![CDATA[<p>Setting up the hardware environment to support MIDI devices is relatively easy. in fact, most newer MIDI devices do not rely on the old sound card game port and adding a MIDI device is just like adding an external hard drive. The reason I had to resort to a <a href="/2008/12/09/a-dual-sound-card-setup/">dual sound card setup</a> is because my MIDI keyboard (MK-4903) is more than ten years old and it only has a game port interface.<span id="more-455"></span>As I mentioned earlier, the resources I could find on the Internet on Linux MIDI device support are few and far between. A couple of good ones I found are this one (<a href="http://www.linux-magazine.com/issues/2008/88/making_music">Making Music</a>) on <a href="http://www.linux-magazine.com">Linux Magazine</a> and this one (<a href="http://www.lesbell.com.au/Home.nsf/b8ec57204f60dfcb4a2568c60014ed0f/c4b39482154feb03ca256f8100150ad9?OpenDocument">Getting Started with MIDI on Linux</a>). Here I will show how to configure under Ubuntu 8.04.</p>
<p>Since my MIDI keyboard uses the game port interface on my Sound Blaster Live! sound card, there is no need to load any firmware. After the sound card is recognized by the system, you will find a<strong><em> /dev/midi </em></strong>device (for some reason, my midi device would change between <strong>/dev/midi </strong>and<strong> /dev/midi1</strong> once a while, but this only happens when I access the midi device using <em><strong>jack</strong></em>). Without any additional software, you should be able to do a<strong><em> cat /dev/midi</em></strong> and see some &quot;random&quot; characters printed on the console whenever you press a key on the MIDI keyboard. Even without touching the MIDI keyboard, you should still see characters get printed in the console at a rate of 3 to 5 characters per second. Alternatively, you could use <em><strong>amidi &#8211;dump</strong></em> and when a key is pressed some hex values should be displayed.</p>
<p>After confirmed that the MIDI device is working properly, we can move on to setting up the software environment. Most of the aforementioned articles are concentrated on connecting to MIDI devices using <a href="http://en.wikipedia.org/wiki/Advanced_Linux_Sound_Architecture">ALSA</a>. What I have found out though is that using <a href="http://en.wikipedia.org/wiki/Open_Sound_System">OSS</a> is much easier.</p>
<p>Various sources have suggested that connecting MIDI devices using ALSA have very low-latency (e.g. the time between when a key is pressed and the note is played) and thus is the preferred method. But for modern computers, this kind of latencies have rarely been a problem. There might be some difference in terms of latency between using ALSA and using OSS but they are not observable in my case.</p>
<p>To use OSS, all you need to do is to choose the correct option in <em><strong>qsynth</strong></em>:</p>
<p align="center"><img src="/blog/wp-content/uploads/2008/12/qsynth_setting1.png" alt="qsynth setting 1" /></p>
<p align="center"><em><strong>qsynth</strong></em> settings 1</p>
<p align="center"><img src="http://www.kerrywong.com/blog/wp-content/uploads/2008/12/qsynth_setting2.png" alt="qsynth settings 2" /></p>
<p align="center"><em><strong>qsynth</strong></em> settings 2</p>
<p align="left">If you have multiple sound cards configured like in my case, you can select from which sound card you want the sound to be outputted (e.g. <strong>/dev/audio</strong> or<strong> /dev/audio1</strong> etc.). The sound does not have to be produced on the same card where the MIDI device is connected. In fact, using a single sound card as the output device might be the most attractive solution since otherwise you will need to have one pair of speakers connects to each of the soundcard output. In my case, the Sound Blaster Live! card is only used for it&#8217;s game port to connect with my MIDI keyboard.</p>
<p align="left">After you have successfully restarted <em><strong>qsynth</strong></em>, you should be able to hear sound when you press on the MIDI keyboard and you should see the indicator on <em><strong>qsynth</strong></em> flashing, indicating that MIDI signal was received.</p>
<p align="center"><img src="/blog/wp-content/uploads/2008/12/qsynth.png" alt="" /></p>
<p align="center"><em><strong>qsynth</strong></em></p>
<p>If you see activities from qsynth but there is no sound coming out then chances are that you have chosen the wrong sound card as the output device. Note that you will have to first load a Sound Font into <em><strong>qsynth</strong></em>, otherwise you will not hear any sound either. A few popular Sound Fonts can be downloaded from <a href="http://www.personalcopy.com/linuxfiles.htm">here</a>.</p>
<p>MIDI Setup with ALSA requires a bit more work. First you need to start the jack daemon (<em><strong>jack -d alsa</strong></em>), or you could use the GUI Jack Control. Then you can start <strong>rosegarden</strong>. If you have timidity installed you you should be able to use timidity&#8217;s port (usually 128:0) as midi device port. If you are not sure, you could use <em><strong>pmidi -l</strong></em> to find out (this shows what my configuration looks like):</p>
<p>&nbsp;Port&nbsp;&nbsp;&nbsp;&nbsp; Client name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Port name<br />
&nbsp;14:0&nbsp;&nbsp;&nbsp;&nbsp; Midi Through&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Midi Through Port-0<br />
&nbsp;20:0&nbsp;&nbsp;&nbsp;&nbsp; SBLive! Value [CT4780]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EMU10K1 MPU-401 (UART)<br />
<strong style="background-color: rgb(255, 255, 0);">&nbsp;21:0&nbsp;&nbsp;&nbsp;&nbsp; Emu10k1 WaveTable&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Emu10k1 Port 0</strong><br />
&nbsp;21:1&nbsp;&nbsp;&nbsp;&nbsp; Emu10k1 WaveTable&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Emu10k1 Port 1<br />
&nbsp;21:2&nbsp;&nbsp;&nbsp;&nbsp; Emu10k1 WaveTable&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Emu10k1 Port 2<br />
&nbsp;21:3&nbsp;&nbsp;&nbsp;&nbsp; Emu10k1 WaveTable&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Emu10k1 Port 3<br />
<strong style="background-color: rgb(255, 255, 0);">128:0&nbsp;&nbsp;&nbsp;&nbsp; TiMidity&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TiMidity port 0</strong><br />
128:1&nbsp;&nbsp;&nbsp;&nbsp; TiMidity&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TiMidity port 1<br />
128:2&nbsp;&nbsp;&nbsp;&nbsp; TiMidity&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TiMidity port 2<br />
128:3&nbsp;&nbsp;&nbsp;&nbsp; TiMidity&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TiMidity port 3</p>
<p>You can use either the Emu10k1 ports (21:x) or TiMidity ports (128:x) as output.</p>
<p>Since Sound Blaster Live! utlizates hardware based SoundFont, you must load appropriate SoundFont onto the board before you can hear any playback. Due to the on-board memory limitations, not all SoundFonts can be loaded onto Sound Blaster Live! <a href="http://alsa.opensrc.org/8MBGMSFX.SF2">Here is an 8MB version of the Creative Sound Font</a> that you can use with Sound Blaster Live!. To load the sound font use the following command:</p>
<p><em><strong>sfxload 8MBGMSFX.SF2</strong></em> (assuming that the Sound Font is located in the current directory)</p>
<p>For more detailed MIDI setup using ALSA you can refer to the two articles I mentioned. What I have found is that the MIDI environment using jack is not always stable. For instance, I could instantiate the ALSA sound driver using jackd but not directly with jack GUI. And once a while jack would lock up. Another problem is that the MIDI device name seemed to change back and forth between <em><strong>/dev/midi</strong></em> and<em><strong> /dev/midi1 </strong></em>whenever I was using jack. This might be because the fact that I am using two sound cards though. Anyway, since the performance of using OSS turned out to be quite good I did not investigate the ALSA issue much further&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kerrywong.com/2008/12/14/midi-setup-with-oss-and-alsa/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>A Dual Sound Card Setup</title>
		<link>http://www.kerrywong.com/2008/12/09/a-dual-sound-card-setup/</link>
		<comments>http://www.kerrywong.com/2008/12/09/a-dual-sound-card-setup/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 02:15:07 +0000</pubDate>
		<dc:creator>kwong</dc:creator>
				<category><![CDATA[Linux/BSD]]></category>
		<category><![CDATA[ASUS P5QL Pro]]></category>
		<category><![CDATA[Dual]]></category>
		<category><![CDATA[MIDI keyboard]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[Sound Card]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.kerrywong.com/?p=442</guid>
		<description><![CDATA[Newer sound card usually does not&#160; come with a game port since most of the peripherals nowadays come almost exclusively with USB connections.Since I have an old MIDI keyboard (MK-4903) and the only way it can connect to a computer is via the game port, I could not use it on my either of my [...]]]></description>
			<content:encoded><![CDATA[<p>Newer sound card usually does not&nbsp; come with a <a href="http://en.wikipedia.org/wiki/Game_port">game port</a> since most of the peripherals nowadays come almost exclusively with USB connections.<span id="more-442"></span>Since I have an old MIDI keyboard (MK-4903) and the only way it can connect to a computer is via the game port, I could not use it on my either of my Linux workstations (<a href="/2008/04/12/some-pictures-of-my-new-rig/">1</a>, <a href="/2008/10/29/another-quad-core-build/">2</a>) at home. My main working station uses an ASUS P5E motherboard, which uses an add-on PCI Express sound card and the other Linux box uses an ASUS P5QL Pro motherboard with integrated sound. In theory, I could just disable the default sound on either of the machines and use a game port equipped sound card instead. But the only spare sound card I have is a SoundBlaster Live value card which does not offer much beyond the basics, so I decided to try adding it as a second sound card to my <a href="/2008/04/12/some-pictures-of-my-new-rig/">main computer</a>.</p>
<p>Ubuntu 8.04 recognized the second sound card with no problem. A <em>cat /dev/sndstat </em>confirmed that both sound cards are indeed installed:</p>
<blockquote><p>Card config: <br />
HDA Intel at 0xf9ff8000 irq 22<br />
SBLive! Value [CT4780] (rev.7, serial:0&#215;80221102) at 0xe880, irq 18
</p></blockquote>
<p>And <em>lsmod | grep snd</em> showed that midi modules were successfully loaded:</p>
<blockquote>
<p>snd_rtctimer, snd_emux_synth, snd_seq_virmidi, snd_emu10k1, snd_ac97_codec, snd_seq_dummy, snd_seq_oss, snd_hda_intel, snd_pcm_oss, snd_mixer_oss, snd_pcm, snd_rawmidi, snd_hwdep, snd_seq, snd_timer, snd_seq_device</p>
</blockquote>
<p>So the dual sound card setup is pretty effortless. Getting the MIDI keyboard setup correctly though turned out to be quite tricky and I will share my experience in a later post.</p>
<blockquote></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.kerrywong.com/2008/12/09/a-dual-sound-card-setup/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
