<?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>Notes &#187; linux</title>
	<atom:link href="http://alexpb.com/notes/articles/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexpb.com/notes</link>
	<description></description>
	<lastBuildDate>Sun, 20 May 2012 00:39:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Android: adding 2nd Google account error &#8220;can&#8217;t establish a reliable data connection to the server&#8221;</title>
		<link>http://alexpb.com/notes/articles/2011/03/31/android-error-adding-2nd-google-account-connection-to-the-serve/</link>
		<comments>http://alexpb.com/notes/articles/2011/03/31/android-error-adding-2nd-google-account-connection-to-the-serve/#comments</comments>
		<pubDate>Thu, 31 Mar 2011 22:06:22 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[phone]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/?p=1018</guid>
		<description><![CDATA[I tried to add a 2nd google account on my Android phone and got the following error even if I connected using wifi: &#8220;can&#8217;t establish a reliable data connection to the server&#8221;. The workaround that I found is to register your Google account through your YouTube app, after which your gmail for that account will [...]]]></description>
			<content:encoded><![CDATA[<p>I tried to add a 2nd google account on my Android phone and got the following error even if I connected using wifi:  &#8220;can&#8217;t establish a reliable data connection to the server&#8221;.</p>
<p>The workaround that I found is to register your Google account through your YouTube app, after which your gmail for that account will be available for syncing.</p>
<p>Source <a href="http://forum.xda-developers.com/showthread.php?t=780545">http://forum.xda-developers.com/showthread.php?t=780545</a></p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2011/03/31/android-error-adding-2nd-google-account-connection-to-the-serve/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Text-based location address bar Ubuntu</title>
		<link>http://alexpb.com/notes/articles/2010/11/14/text-based-location-address-bar-ubuntu/</link>
		<comments>http://alexpb.com/notes/articles/2010/11/14/text-based-location-address-bar-ubuntu/#comments</comments>
		<pubDate>Mon, 15 Nov 2010 00:26:12 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[nautilus]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/?p=947</guid>
		<description><![CDATA[If, like me, you never use button mode you can set the location to text mode permenantly via the gconf editor. The easiest way to do this is to ALT+F2, type in gconf-editor and hit Run.In the configuration editor go to apps &#62; nautilus &#62; preferences then tick check always_use_locaion_entry. With that checked you’ll permenantly [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.danielgibbs.net/journal/text-based-location-address-bar-ubuntu-lucid-lynx"><img src='http://alexpb.com/notes/wp-content/uploads/2010/11/location-bar-toggle-gnome-ubuntu-300x72.jpg' alt='' /></a></p>
<p>If, like me, you never use button mode you can set the location to text mode permenantly via the gconf editor. The easiest way to do this is to ALT+F2, type in gconf-editor and hit Run.In the configuration editor go to apps &gt; nautilus &gt; preferences then tick check always_use_locaion_entry. With that checked you’ll permenantly have the text based location bar.</p>
<p>via <a href="http://www.danielgibbs.net/journal/text-based-location-address-bar-ubuntu-lucid-lynx">Text-based location address bar Ubuntu Lucid Lynx | Daniel Gibbs Journal</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2010/11/14/text-based-location-address-bar-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Output Audio to Airport Express From Unbuntu Lucid Lynx 10.04 (PulseAudio)</title>
		<link>http://alexpb.com/notes/articles/2010/07/13/output-audio-to-airport-express-from-ubuntu-pulseaudio/</link>
		<comments>http://alexpb.com/notes/articles/2010/07/13/output-audio-to-airport-express-from-ubuntu-pulseaudio/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 21:57:09 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[airport express]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[remote]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/?p=775</guid>
		<description><![CDATA[Reboot (or restart pulseaudio) Go to Sound Preferences &#8211; Output (by clicking on the speaker in the taskbar) Select Base Sation as output Start your favorite radio station (Pandora?), mp3, etc..]]></description>
			<content:encoded><![CDATA[<ol>
<li>
<pre class="brush: plain; title: ; notranslate">:~$ sudo apt-get install pulse-audio-module-raop paprefs
:~$ paprefs
</pre>
</li>
<li>
<pre class="brush: plain; title: ; notranslate">check &quot;Make discoverable network sound devices available locally&quot;
check &quot;Make discoverable Apple Airtunes sound devices available locally&quot;
</pre>
</li>
<li>Reboot (or restart pulseaudio)</li>
<li>Go to Sound Preferences &#8211; Output (by clicking on the speaker in the taskbar)</li>
<li>Select <b>Base Sation</b> as output</li>
<li>Start your favorite radio station (Pandora?), mp3, etc..</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2010/07/13/output-audio-to-airport-express-from-ubuntu-pulseaudio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Move The Minimize, Maximize And Close Buttons To The Right In Ubuntu 10.04 (Lucid Lynx)</title>
		<link>http://alexpb.com/notes/articles/2010/05/06/move-the-minimize-maximize-and-close-buttons-to-the-right-in-ubuntu-10-04-lucid-lynx/</link>
		<comments>http://alexpb.com/notes/articles/2010/05/06/move-the-minimize-maximize-and-close-buttons-to-the-right-in-ubuntu-10-04-lucid-lynx/#comments</comments>
		<pubDate>Thu, 06 May 2010 22:23:56 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[customize]]></category>
		<category><![CDATA[gnome]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/?p=703</guid>
		<description><![CDATA[How-to move the minimize, maximize and close buttons to the right of the window in Ubuntu 10.04 (Lucid Lynx). Press ALT-F2, type: gconf-editor and click Run Go to: apps > metacity > general and right-click on button_layout and choose &#8220;Edit Key&#8230;.&#8221; Type in menu:minimize,maximize,close and click OK That&#8217;s it.]]></description>
			<content:encoded><![CDATA[<p>How-to move the minimize, maximize and close buttons to the right of the window in Ubuntu 10.04 (Lucid Lynx).</p>
<ol>
<li>Press ALT-F2, type: <code>gconf-editor</code> and click Run</li>
<li>Go to: <code>apps > metacity > general</code> and right-click on <code>button_layout</code> and choose &#8220;Edit Key&#8230;.&#8221;</li>
<li>Type in <code>menu:minimize,maximize,close</code> and click OK</li>
<li>That&#8217;s it.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2010/05/06/move-the-minimize-maximize-and-close-buttons-to-the-right-in-ubuntu-10-04-lucid-lynx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Skype 32 bit on Slackware64</title>
		<link>http://alexpb.com/notes/articles/2010/05/01/installing-skype-32-bit-o-slackware64/</link>
		<comments>http://alexpb.com/notes/articles/2010/05/01/installing-skype-32-bit-o-slackware64/#comments</comments>
		<pubDate>Sun, 02 May 2010 00:18:01 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[slackware]]></category>
		<category><![CDATA[64bit]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/?p=701</guid>
		<description><![CDATA[You first need to upgrade your gcc and glibc packages to their multi-lib versions and then install the 32 bits libraries (along with your 64bits libraries that are already installed). Detailed instructions at: http://connie.slackware.com/~alien/multilib/.]]></description>
			<content:encoded><![CDATA[<p>You first need to upgrade your gcc and glibc packages to their multi-lib versions and then install the 32 bits libraries (along with your 64bits libraries that are already installed).  Detailed instructions at: <a href="http://connie.slackware.com/~alien/multilib/">http://connie.slackware.com/~alien/multilib/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2010/05/01/installing-skype-32-bit-o-slackware64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Download Excel Spreadsheet from Microsoft using Firefox in Linux</title>
		<link>http://alexpb.com/notes/articles/2010/02/08/download-excel-spreadsheet-from-microsoft-using-firefox-in-linux/</link>
		<comments>http://alexpb.com/notes/articles/2010/02/08/download-excel-spreadsheet-from-microsoft-using-firefox-in-linux/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 01:00:10 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[cab]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[open office]]></category>
		<category><![CDATA[spreadsheet]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/?p=698</guid>
		<description><![CDATA[To avoid getting the error &#8220;Your operating system does not meet system requirements&#8221;, I had to use User Agent Switcher to download the spreadsheet at http://office.microsoft.com/en-us/templates/TC300022771033.aspx for electric meter logging for energy efficiency. Then I used cabextract to extract the .cab file and used Open Office to view the 30002277.xltx file. Here it is saved [...]]]></description>
			<content:encoded><![CDATA[<p>To avoid getting the error &#8220;Your operating system does not meet system requirements&#8221;, I had to use  <a href="https://addons.mozilla.org/en-US/firefox/addon/59">User Agent Switcher</a> to download the spreadsheet at <a href="http://office.microsoft.com/en-us/templates/TC300022771033.aspx">http://office.microsoft.com/en-us/templates/TC300022771033.aspx</a> for electric meter logging for energy efficiency.  Then I used <a href="http://www.cabextract.org.uk/">cabextract</a> to extract the .cab file and used <a href="http://www.openoffice.org/">Open Office</a> to view the 30002277.xltx file.  Here it is saved using Open Office&#8217;s ODS format: <a href='http://alexpb.com/notes/wp-content/uploads/2010/02/electricity_tracking.ods'>electricity_tracking</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2010/02/08/download-excel-spreadsheet-from-microsoft-using-firefox-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Playing Call Of Duty 4: Modern Warfare Under Ubuntu Linux</title>
		<link>http://alexpb.com/notes/articles/2009/12/05/playing-call-of-duty-4-modern-warfare-under-ubuntu-linux/</link>
		<comments>http://alexpb.com/notes/articles/2009/12/05/playing-call-of-duty-4-modern-warfare-under-ubuntu-linux/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 22:45:08 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/?p=690</guid>
		<description><![CDATA[under HKEY_CURRENT_USER/Software/Wine, create key Direct3D if it doesn&#8217;t already exist inside Direct3D create the following values: string: DirectDrawRenderer value: opengl string: OffscreenRenderingMode value: fbo string: RenderTargetLockMode value: auto string: UseGLSL value: readtex string: VideoMemorySize value: (video card memory size in MB)]]></description>
			<content:encoded><![CDATA[<pre class="brush: bash; title: ; notranslate">sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install wine1.2
wget http://www.kegel.com/wine/winetricks
sh winetricks vcrun2005
sh winetricks d3dx9
wine regedit</pre>
<ul>
<li>under HKEY_CURRENT_USER/Software/Wine, create key Direct3D if it doesn&#8217;t already exist</li>
<li>inside Direct3D create the following values:
<ul>
<li>string: DirectDrawRenderer		value: opengl</li>
<li>string: OffscreenRenderingMode	value: fbo</li>
<li>string: RenderTargetLockMode		value: auto</li>
<li>string: UseGLSL				value: readtex</li>
<li>string: VideoMemorySize			value: (video card memory size in MB)</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2009/12/05/playing-call-of-duty-4-modern-warfare-under-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sound Problems With Urban Terror, Pulseaudio and Ubuntu Karmic</title>
		<link>http://alexpb.com/notes/articles/2009/10/02/sound-problems-with-urban-terror-pulseaudio-and-ubuntu-karmic/</link>
		<comments>http://alexpb.com/notes/articles/2009/10/02/sound-problems-with-urban-terror-pulseaudio-and-ubuntu-karmic/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 22:01:54 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[games]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[pulseaudio]]></category>
		<category><![CDATA[urban terror]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/?p=676</guid>
		<description><![CDATA[I fixed it by installing libsdl1.2debian-pulseaudio (which replaces libsdl1.2debian-alsa). So it might be worth a try if you get sound problems with any other programs. Source: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/372843]]></description>
			<content:encoded><![CDATA[<p>I fixed it by installing libsdl1.2debian-pulseaudio (which replaces libsdl1.2debian-alsa).  So it might be worth a try if you get sound problems with any other programs.</p>
<p>Source: <a href="https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/372843">https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/372843</a></p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2009/10/02/sound-problems-with-urban-terror-pulseaudio-and-ubuntu-karmic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Doesn&#8217;t Save My Sound Settings &#8230;</title>
		<link>http://alexpb.com/notes/articles/2009/09/24/ubuntu-karmic-doesnt-save-sound-settings-and-cant-alsactl-stor/</link>
		<comments>http://alexpb.com/notes/articles/2009/09/24/ubuntu-karmic-doesnt-save-sound-settings-and-cant-alsactl-stor/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 01:57:49 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[sound]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/?p=672</guid>
		<description><![CDATA[For some reason, Ubuntu Karmic wasn&#8217;t saving my sound volume and settings that I set using the Sound Preferences. After attempting to run alsactl store I got: $ alsactl store alsactl: save_state:1530: Cannot open /var/lib/alsa/asound.state for writing: Permission denied $ sudo alsactl store E: core-util.c: Home directory /home/mycurrentuser not ours. So I deciced to change [...]]]></description>
			<content:encoded><![CDATA[<p>For some reason, Ubuntu Karmic wasn&#8217;t saving my sound volume and settings that I set using the Sound Preferences. After attempting to run alsactl store I got:</p>
<p><code>$ alsactl store<br />
alsactl: save_state:1530: Cannot open /var/lib/alsa/asound.state for writing: Permission denied<br />
$ sudo alsactl store<br />
E: core-util.c: Home directory /home/mycurrentuser not ours.</code></p>
<p>So I deciced to change &#8220;/var/lib/alsa/asound.state&#8221; ownership temporarily to the current user and then was able to successfully save my sound settings (then switched back ownership to root). I also added &#8220;alsactl restore&#8221; to /etc/rc.local to automatically reload my sound settings when I reboot.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2009/09/24/ubuntu-karmic-doesnt-save-sound-settings-and-cant-alsactl-stor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Broken Ubuntu Karmic: How To apt-get upgrade Using The LiveCD</title>
		<link>http://alexpb.com/notes/articles/2009/09/15/broken-ubuntu-how-to-apt-get-upgrade-using-the-livecd/</link>
		<comments>http://alexpb.com/notes/articles/2009/09/15/broken-ubuntu-how-to-apt-get-upgrade-using-the-livecd/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 00:01:29 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[livecd]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/?p=671</guid>
		<description><![CDATA[If your Ubuntu installation (or any other linux distribution that has a liveCD) is broken and can&#8217;t boot because of a faulty update, you can try to update your installation after booting from the LiveCD. Start a terminal and use these commands (/dev/sda2 might need to be changed to match your configuration, you can use [...]]]></description>
			<content:encoded><![CDATA[<p>If your Ubuntu installation (or any other linux distribution that has a liveCD) is broken and can&#8217;t boot because of a faulty update, you can try to update your installation after booting from the LiveCD.</p>
<p>Start a terminal and use these commands (/dev/sda2 might need to be changed to match your configuration, you can use fdisk to figure out which partition is your main one):</p>
<p><code>sudo mkdir /media/karmic<br />
sudo mount /dev/sda2 /media/karmic<br />
sudo mount -o bind /proc /media/karmic/proc<br />
sudo mount -o bind /dev /media/karmic/dev/<br />
sudo cp  /etc/resolv.conf /media/karmic/etc/resolv.conf<br />
sudo chroot /media/karmic apt-get update<br />
sudo chroot /media/karmic apt-get upgrade<br />
sudo chroot /media/karmic apt-get dist-upgrade</code></p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2009/09/15/broken-ubuntu-how-to-apt-get-upgrade-using-the-livecd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Xorg Broken After Kernel Update and Reboot Because of Nvidia Driver</title>
		<link>http://alexpb.com/notes/articles/2009/09/14/linux-xorg-broken-after-kernel-update-and-reboot-because-of-nvidia-driver/</link>
		<comments>http://alexpb.com/notes/articles/2009/09/14/linux-xorg-broken-after-kernel-update-and-reboot-because-of-nvidia-driver/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 01:37:54 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[compatibility]]></category>
		<category><![CDATA[driver]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/?p=669</guid>
		<description><![CDATA[Re: help!! the last update broke my boot press alt+printscreen+r (to release the keyboard from the Xserver) then hit crtl+alt+F1 (and log in) sudo pico /etc/X11/xorg.conf and change the lines that says Section "Device" Driver "nvidia" to Section "Device" Driver "nv" Save the file and then issue the startx command or just reboot. That should [...]]]></description>
			<content:encoded><![CDATA[<h3>Re: help!! the last update broke my boot</h3>
<ol>
<li>press alt+printscreen+r (to release the keyboard from the Xserver)</p>
</li>
<li>then hit crtl+alt+F1  (and log in)</li>
<li>sudo pico /etc/X11/xorg.conf and change the lines that says<br />
<code>Section "Device"<br />
Driver "nvidia"</code></li>
<li>
<p>to</p>
<p><code>Section "Device"<br />
Driver "nv"</code></li>
<li>
<p>Save the file and then issue the startx command or just reboot. That should get your desktop up and running, minus any hardware acceleration (e.g.: for compiz or video games).</p>
</li>
</ol>
<p>Hope that helps and I hope the nvidia driver was opens source!</p>
<p>Source: <a href="http://ubuntuforums.org/showthread.php?t=1265224&#038;page=3">http://ubuntuforums.org/showthread.php?t=1265224&#038;page=3</a>.</p>
<p>Note: I was updating my Ubuntu Karmic Alpha 5 machine.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2009/09/14/linux-xorg-broken-after-kernel-update-and-reboot-because-of-nvidia-driver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change Skype&#8217;s 2.1.0.47 Default Sound Device in PulseAudio</title>
		<link>http://alexpb.com/notes/articles/2009/09/13/change-skypes-2-1-0-47-default-sound-device-in-pulseaudio/</link>
		<comments>http://alexpb.com/notes/articles/2009/09/13/change-skypes-2-1-0-47-default-sound-device-in-pulseaudio/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 03:37:31 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[internet]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[voip]]></category>
		<category><![CDATA[pulseaudio]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/?p=668</guid>
		<description><![CDATA[Skype 2.1.0.47 beta uses pulseaudio as the default sound device, so you need to change the default sound device fo skype using a pulseaudio. Install pavucontrol if it&#8217;s not already installed Start pavucontrol Play a sound in the application where you need to change the default sound device. While the sound is playing, switch back [...]]]></description>
			<content:encoded><![CDATA[<p>Skype 2.1.0.47 beta uses pulseaudio as the default sound device, so you need to change the default sound device fo skype using a pulseaudio.</p>
<ol>
<li>Install pavucontrol if it&#8217;s not already installed</li>
<li>Start pavucontrol</li>
<li>Play a sound in the application where you need to change the default sound device.</li>
<li>While the sound is playing, switch back to pavucontrol and change the sound device.</li>
<li>that should be it.</li>
</ol>
<p>I needed to set my Logitech Clearchat Wireless Headphones as the default sound device for Skype 2.1.0.47 beta in Ubuntu Karmic Alpha (pavucontrol was not installed).</p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2009/09/13/change-skypes-2-1-0-47-default-sound-device-in-pulseaudio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox Can&#8217;t Find Acobat Reader In Your Home Directory (Linux)</title>
		<link>http://alexpb.com/notes/articles/2009/09/01/firefox-cant-find-acobat-reader-in-your-home-directory-linux/</link>
		<comments>http://alexpb.com/notes/articles/2009/09/01/firefox-cant-find-acobat-reader-in-your-home-directory-linux/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 03:22:44 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[liinux]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/?p=663</guid>
		<description><![CDATA[After installing Acrobat Reader in my home directory, I was getting the following error when trying to view a PDF using Firefox: Could not launch Adobe Reader 9.1.2. Please make sure it exists in PATH variable in the environment. If the problem persists, please reinstall the application.. I fixed it by creating a &#8220;.profile&#8221; file [...]]]></description>
			<content:encoded><![CDATA[<p>After installing Acrobat Reader in my home directory, I was getting the following error when trying to view a PDF using Firefox:</p>
<p><code>Could not launch Adobe Reader 9.1.2. Please make sure it exists in PATH variable in the environment. If the problem persists, please reinstall the application.</code>.</p>
<p>I fixed it by creating a &#8220;.profile&#8221; file in my home directory (/home/user/.profile) with the following line:</p>
<p><code>export PATH=$PATH:$HOME/apps/acrobatreader/Adobe/Reader9/bin/</code></p>
<p>Note: You might need to adapt acrobat reader&#8217;s binary path.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2009/09/01/firefox-cant-find-acobat-reader-in-your-home-directory-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Digi Watchport/H USB Serial Humidity/Temperature Sensor in Linux</title>
		<link>http://alexpb.com/notes/articles/2009/08/19/digi-watchport-h-usb-serial-humidity-temperature-sensor-linux/</link>
		<comments>http://alexpb.com/notes/articles/2009/08/19/digi-watchport-h-usb-serial-humidity-temperature-sensor-linux/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 01:24:49 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[electronics]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[humidity]]></category>
		<category><![CDATA[sensor]]></category>
		<category><![CDATA[serial]]></category>
		<category><![CDATA[temperature]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/?p=659</guid>
		<description><![CDATA[Using Digi Watchport/H USB Serial Humidity/Temperature Sensor in Linux Ubuntu 9.04 has everything you need except for minicom. So all I had to do was to: plug it in dmesg should get you the following output: usb 2-9: new full speed USB device using ohci_hcd and address 50 usb 2-9: configuration #1 chosen from 1 [...]]]></description>
			<content:encoded><![CDATA[<p>Using <a href="http://www.digi.com/support/productdetl.jsp?pid=2664&#038;osvid=0&#038;s=373&#038;tp=1">Digi Watchport/H</a> USB Serial Humidity/Temperature Sensor in Linux</p>
<p>Ubuntu 9.04 has everything you need except for minicom.  So all I had to do was to:</p>
<ul>
<li>plug it in</p>
<p><code>dmesg</code> should get you the following output:</p>
<p>           <code>usb 2-9: new full speed USB device using ohci_hcd and address 50<br />
                       usb 2-9: configuration #1 chosen from 1 choice<br />
io_ti 2-9:1.0: Edgeport TI 1 port adapter converter detected<br />
usb 2-9: Edgeport TI 1 port adapter converter now attached to ttyUSB0</code>
</li>
<li>Install minicom: <code>sudo apt-get install minicom</code></li>
<li>Edit minicom settings: <code>~$ minicom -s</code>
<ol>
<li>
<p>Change the <code>Serial Device</code> to <code>/dev/ttyUSB0</code></p>
</li>
<li>
<p>Change the <code>Bps/Par/Bits</code> field to <code>9600&nbsp;8N1</code>, (9600 baud, 8&nbsp;bits, no&nbsp;parity, 1&nbsp;stop bit). These are the default settings used by the Linux kernel; they can, if necessary, be overridden from the kernel command line by adding extra parameters to the <code>console=</code> option. See <code>kernel-parameters.txt</code> and <code>serial-console.txt</code>.</p>
</li>
<li>
<p>Turn off both <code>Hardware Flow Control</code> and <code>Software Flow Control</code>. </p>
</li>
<li>
<p>In the <code>Modem and dialing</code> menu, remove the <code>Init string</code> and <code>Reset string</code> completely if required.</p>
</li>
<li>Save your new config</li>
<li>start minicom</li>
<li><a href="http://www.stlinux.com/docs/manual/getting_start/getting_started3.php">more details</a></li>
</ol>
</li>
<li>Use one of the following commands:<br />
<table>
<tr>
<td>Command</td>
<td>Description</td>
<td>Return Value</td>
</tr>
<tr>
<td>?&lt;CR&gt;</td>
<td>Tells about the command set available for this Watchport</td>
<td>as described in this section</td>
</tr>
<tr>
<td>I&lt;CR&gt;</td>
<td>Tells what kind of Watchport is connected.</td>
<td>Watchport/H&lt;CR&gt;</td>
</tr>
<tr>
<td>H&lt;CR&gt;</td>
<td>Gives the percentage relative humidity.</td>
<td>38%&lt;CR&gt;</td>
</tr>
<tr>
<td>T&lt;CR&gt;</td>
<td>Gives temperature in Celsius.</td>
<td> +22.2500C&lt;CR&gt;</td>
</tr>
<tr>
<td>TC&lt;CR&gt;</td>
<td>Also gives temperature in Celsius.</td>
<td> +22.2500C&lt;CR&gt;</td>
</tr>
<tr>
<td>TF&lt;CR&gt;</td>
<td>Gives temperature in Fahrenheit.</td>
<td>+72.0000F&lt;CR&gt;</td>
</tr>
<tr>
<td>TF+&lt;CR&gt;</td>
<td>Repeats the TF command every 3-4 seconds until the next keystroke. Appending + also works with the TC and H commands</td>
<td>+72.0000F&lt;CR&gt;</td>
</tr>
<tr>
<td>L4&lt;CR&gt;</td>
<td>Adjusts the slew rate of the data line. When “L” is  followed by a numeric value, 1 through 8, Watchport responds with OK. Other values return Invalid Command. The default setting is 4. Adjust the parameter until the data transmission becomes error-free. The setting remains in effect until the Watchport is power-cycled.</td>
<td>OK</td>
</tr>
</table>
</li>
</ul>
<p><a href="http://www.bb-elec.com/bb-elec/literature/manuals/watchport_manual.pdf">Download Watchport&#8217;s manual</a></p>
<p>Now all I need is a perl script to automate the <a href="http://gizmodo.com/5259381/twitter-toilet-tweets-your-poo">posting of these values to twitter?</a></p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2009/08/19/digi-watchport-h-usb-serial-humidity-temperature-sensor-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache error: Access Informix Database throught ODBC using Perl (Windows)</title>
		<link>http://alexpb.com/notes/articles/2009/07/20/apache-error-access-informix-database-throught-odbc-using-perl-windows/</link>
		<comments>http://alexpb.com/notes/articles/2009/07/20/apache-error-access-informix-database-throught-odbc-using-perl-windows/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 00:40:21 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[informix]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/?p=646</guid>
		<description><![CDATA[I was getting this error: [Mon Jul 20 12:32:05 2009] [error] [client 192.168.241.233] Premature end of script headers: elite_inventory.pl [Mon Jul 20 12:32:05 2009] [error] [client 192.168.241.233] DBI connect('my_database','my_user',...) failed: [INTERSOLV][ODBC Informix driver][Informix]Unable to load locale categories. (SQL-HY000) at C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/script.pl line 37 The fix involved modifying Apache&#8217;s environment variables using SetEnv in [...]]]></description>
			<content:encoded><![CDATA[<p>I was getting this error:</p>
<p><code>[Mon Jul 20 12:32:05 2009] [error] [client 192.168.241.233] Premature end of script headers: elite_inventory.pl<br />
[Mon Jul 20 12:32:05 2009] [error] [client 192.168.241.233] DBI connect('my_database','my_user',...) failed: [INTERSOLV][ODBC Informix driver][Informix]Unable to load locale categories. (SQL-HY000) at C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/script.pl line 37</code></p>
<p>The fix involved modifying Apache&#8217;s environment variables using SetEnv in httpd.conf:</p>
<p><code><br />
SetEnv INFORMIXDIR "C:/informix32"<br />
SetEnv INFORMIXSERVER "isaac_net"<br />
SetEnv DELIMIDENT n<br />
SetEnv DBANSIWARN n<br />
SetEnv CLIENT_LOCAL "en_US.CP1252"<br />
SetEnv DB_LOCAL "en_US.CP1252"<br />
</code></p>
<p>This is because even if the variables are set in the registries in Windows (they are environment variables in Linux), the web server doesn&#8217;t use them.</p>
<p><a href="http://www.iiug.org/forums/linux-informix/index.cgi/noframes/read/1491">Reference #1</a> and <a href="http://cpansearch.perl.org/src/JOHNL/DBD-Informix-2007.0226/Notes/web.servers">Reference #2</a>.</p>
<p>You might need to use a different locale under Linux or Unix.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2009/07/20/apache-error-access-informix-database-throught-odbc-using-perl-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How-To Change The Default Sound Card in Slackware Linux</title>
		<link>http://alexpb.com/notes/articles/2009/04/20/howto-change-default-sound-card-slackware-linux/</link>
		<comments>http://alexpb.com/notes/articles/2009/04/20/howto-change-default-sound-card-slackware-linux/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 23:46:06 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[slackware]]></category>
		<category><![CDATA[headset]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[sound cards]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/?p=586</guid>
		<description><![CDATA[How-To Change The Default Sound Card in Slackware Linux My case: I have an on-board sound card that I use for everything except for Skype, where I use my Logitech ClearChat Wireless USB Headset. It is easy in Skype to select a different sound device. So I needed to set my on-board sound card as [...]]]></description>
			<content:encoded><![CDATA[<p>How-To Change The Default Sound Card in Slackware Linux</p>
<p>My case: I have an on-board sound card that I use for everything except for Skype, where I use my <a href="http://www.amazon.com/gp/product/B0015EY5RE?ie=UTF8&#038;tag=wusum-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=B0015EY5RE">Logitech ClearChat Wireless USB Headset</a><img src="http://www.assoc-amazon.com/e/ir?t=wusum-20&#038;l=as2&#038;o=1&#038;a=B0015EY5RE" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />.  It is easy in Skype to select a different sound device.  So I needed to set my on-board sound card as the default output for everything else.</p>
<p>If they both use a different kernel module you can easily make sure the right one is the default card.</p>
<p>Find out what module is being used for your soundcards:</p>
<p><code>cat /proc/asound/modules</code></p>
<p>On my computer this gave</p>
<p><code>0 snd_usb_audio<br />
1 snd_intel8x0<br />
</code></p>
<p>Sound card 0 is the default one (snd_usb_audio in this case).  This is the module&#8217;s name.</p>
<p>You can&#8217;t assign card 0 because whichever card get&#8217;s loaded first get # 0.  So, you have to assign # 1 to the one you don&#8217;t want as the default card.  This can be done by adding one simple line to /etc/modprobe.d/sound (create it if it doesn&#8217;t exist):</p>
<p><code>options name_of_offending_module index=1</code></p>
<p>So, in my case this would be</p>
<p><code>options snd_usb_audio index=1</code></p>
<p>Reboot and try</p>
<p>via <a href='http://forum.vectorlinux.com/index.php?topic=4888.0'>HOWTO make one soundcard default</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2009/04/20/howto-change-default-sound-card-slackware-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>K3B/growisofs &#8211; more than 50% of space will be *wasted*!</title>
		<link>http://alexpb.com/notes/articles/2009/02/22/k3bgrowisofs-more-than-50-of-space-will-be-wasted/</link>
		<comments>http://alexpb.com/notes/articles/2009/02/22/k3bgrowisofs-more-than-50-of-space-will-be-wasted/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 01:34:28 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/?p=520</guid>
		<description><![CDATA[While trying to burn a 900mb ISO file on a dual layer DVD, I got the error. &#8220;more than 50% of space will be *wasted*! use single layer media for this recordiong&#8221;. I avoided it by burning a multi-session DVD (e.g.: growisofs -Z /dev/hdc -R -J /home/user/files/*). Another solution would be to add more files [...]]]></description>
			<content:encoded><![CDATA[<p>While trying to burn a 900mb ISO file on a dual layer DVD, I got the error. &#8220;more than 50% of space will be *wasted*! use single layer media for this recordiong&#8221;. I avoided it by burning a multi-session DVD (e.g.: growisofs -Z /dev/hdc -R -J /home/user/files/*).  Another solution would be to add more files to the iso (using <a href="http://littlesvr.ca/isomaster/index.php">isomaster</a>) until it is more then 50% of the capacity of a dual-layer DVD.</p>
<p>Debug output: </p>
<p><code>growisofs: 7.1<br />
growisofs<br />
-----------------------<br />
Executing 'builtin_dd if=/dev/fd/0 of=/dev/hda obs=32k seek=0'<br />
:-( more than 50% of space will be *wasted*!<br />
    use single layer media for this recording<br />
growisofs command:<br />
-----------------------<br />
/usr/bin/growisofs -Z /dev/hda=/dev/fd/0 -use-the-force-luke=notray -use-the-force-luke=tty -use-the-force-luke=tracksize:437396 -dvd-compat -speed=2.4 -use-the-force-luke=bufsize:32m </code></p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2009/02/22/k3bgrowisofs-more-than-50-of-space-will-be-wasted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash crashes/hangs Firefox when switching to fullscreen</title>
		<link>http://alexpb.com/notes/articles/2009/02/08/flash-crasheshangs-firefox-when-switching-to-fullscreen/</link>
		<comments>http://alexpb.com/notes/articles/2009/02/08/flash-crasheshangs-firefox-when-switching-to-fullscreen/#comments</comments>
		<pubDate>Sun, 08 Feb 2009 06:08:24 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[flash]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/?p=475</guid>
		<description><![CDATA[The best solution/workaround I found is to create an executable script (eg: start_firefox) with the following lines (1, 2): #!/bin/sh export LD_PRELOAD="/usr/lib/libGL.so.1" /home/alexb/apps/firefox/firefox chmod +x start_firefox ./start_firefox Another solution is to disable the hardware acceleration in Flash (probably a bad solution): Right click on the embedded Flash window inside Firefox (flash video) Settings&#8230; go to [...]]]></description>
			<content:encoded><![CDATA[<p>The best solution/workaround I found is to create an executable script (eg: start_firefox) with the following lines (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=469439">1</a>, <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=484960">2</a>):</p>
<p><code>#!/bin/sh<br />
export LD_PRELOAD="/usr/lib/libGL.so.1"<br />
/home/alexb/apps/firefox/firefox</code><br />
<code>chmod +x start_firefox<br />
./start_firefox</code></p>
<p>Another solution is to disable the hardware acceleration in Flash (probably a bad solution):</p>
<ol>
<li>Right click on the embedded Flash window inside Firefox (flash video)</li>
<li>Settings&#8230;</li>
<li>go to the first tab</li>
<li>un-check &#8220;Enable hardware acceleration&#8221;</li>
</ol>
<p>Now you should be able to go full screen&#8230;</p>
<p>Here is the version of the software I was using.</p>
<ul>
<li>Flash v10,0,15,3</li>
<li>Firefox 3.0.5 and 3.5.2</li>
<li>NVIDIA video driver 180.22</li>
<li>Kernel 2.6.27.7-smp</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2009/02/08/flash-crasheshangs-firefox-when-switching-to-fullscreen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backup Your Security Camery System Captured Images to a Remote Server</title>
		<link>http://alexpb.com/notes/articles/2009/01/09/backup-your-security-camery-system-captured-images-to-a-remote-server/</link>
		<comments>http://alexpb.com/notes/articles/2009/01/09/backup-your-security-camery-system-captured-images-to-a-remote-server/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 02:05:57 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[slackware]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/?p=20</guid>
		<description><![CDATA[Safer Security Camera System with Motion Now that you have your motion activated security camera system, you could make if safer by uploading the captured images automatically to a remote server just in case something happens to your computer. I&#8217;m using Slackware Linux but the setup should be very similar on other distributions. Create an [...]]]></description>
			<content:encoded><![CDATA[<p>Safer Security Camera System with <a href="http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome">Motion</a></p>
<p>Now that you have your <a href="http://alexpb.com/notes/articles/2007/03/22/home-camera-security-system/">motion activated security camera system</a>, you could make if safer by uploading the captured images automatically to a remote server just in case something happens to your computer.  I&#8217;m using Slackware Linux but the setup should be very similar on other distributions.</p>
<ol>
<li>Create an executable batch file containing the following (pico ~/batch_file):
<p><code>rsync -avz /usr/local/apache2/htdocs/cam1 destinationserver.com:~/</code></li>
<li>Edit /etc/motion.conf and add/uncomment the following line
<p><code>on_event_end /home/user/batch_file</code></li>
<li>Edit ~/.ssh/config (create the .ssh folder if it doesn&#8217;t exist) and add the following lines to it:<br />
<blockquote><p><code><br />
Host destinationserver.com<br />
HostName destinationserver.com<br />
IdentityFile ~/.ssh/id_dsa<br />
User your_user_name</li>
</blockquote>
<li>Install and setup <a href="http://slackbuilds.org/repository/12.2/misc/keychain/">keychain</a> so that ssh doesn't ask for your pass-phrase every time it tries to connect. Take a look at this <a href="http://ubuntuforums.org/showthread.php?t=185796">keychain/ssh-agent  tutorial</a></li>
</ol>
<p>You can use a webcam like the one listed below, which features infrared lights for improved night vision (and it is USB so don't need any special hardware for composite input).</p>
<p><a href="http://www.amazon.com/dp/B000GLPQW0?tag=wusum-20&#038;camp=14573&#038;creative=327641&#038;linkCode=as1&#038;creativeASIN=B000GLPQW0&#038;adid=0F8WFFT7PCAG8EFKJ9C0&#038;"><img src="http://alexpb.com/notes/wp-content/uploads/2009/01/infrared_security_camera.jpg" alt="infrared security camera" title="infrared security camera" class="alignnone size-full wp-image-464" height="98" width="110">Infrared Night Vision Security Camera</a></p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2009/01/09/backup-your-security-camery-system-captured-images-to-a-remote-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Passing parameters to modules in Ubuntu</title>
		<link>http://alexpb.com/notes/articles/2008/12/18/passing-parameters-to-modules-in-ubuntu/</link>
		<comments>http://alexpb.com/notes/articles/2008/12/18/passing-parameters-to-modules-in-ubuntu/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 22:48:34 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://alexpb.com/notes/?p=419</guid>
		<description><![CDATA[In this example, I pass the parameter &#8220;card=42&#8243; to the module &#8220;saa7134&#8243; when the module loads at boot time. Add your module to /etc/modules # /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules # that should be loaded at boot time, one per line. # [...]]]></description>
			<content:encoded><![CDATA[<p>In this example, I pass the parameter &#8220;card=42&#8243; to the module &#8220;saa7134&#8243; when the module loads at boot time.</p>
<ol>
<li>Add your module to /etc/modules</p>
<p><code># /etc/modules: kernel modules to load at boot time.<br />
#<br />
# This file contains the names of kernel modules<br />
# that should be loaded at boot time, one per line.<br />
# Lines beginning with "#" are ignored.<br />
saa7134<br />
</code></p>
</li>
<li>Add <b>options saa7134 card=42</b> to the end of /etc/modprobe.d/options
<p><code># Enable double-buffering so gstreamer et. al. work<br />
options quickcam compatible=2<br />
# Default hostap to managed mode<br />
options hostap_pci iw_mode=2<br />
options hostap_cs iw_mode=2<br />
# Stop auto-association.<br />
# LP: #264104<br />
options ipw2200 associate=0<br />
# XXX: Ignore HPA by default. Needs to be revisted in jaunty<br />
options libata ignore_hpa=1<br />
<b>options saa7134 card=42</b></code></p>
</li>
</ol>
<p>Now reboot and you should be all set.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexpb.com/notes/articles/2008/12/18/passing-parameters-to-modules-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

