<?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>Mage Blog &#187; Howto related</title>
	<atom:link href="http://blog.mageprojects.com/category/howto-related/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mageprojects.com</link>
	<description></description>
	<lastBuildDate>Tue, 22 Jun 2010 20:26:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>ATI VSYNC without video trearing works!</title>
		<link>http://blog.mageprojects.com/2010/06/17/ati-vsync-without-video-trearing-works/</link>
		<comments>http://blog.mageprojects.com/2010/06/17/ati-vsync-without-video-trearing-works/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 13:29:03 +0000</pubDate>
		<dc:creator>markg85</dc:creator>
				<category><![CDATA[Howto related]]></category>
		<category><![CDATA[Linux in general]]></category>

		<guid isPermaLink="false">http://blog.mageprojects.com/?p=246</guid>
		<description><![CDATA[Hi, This used to be near impossible some time ago however a new ATI driver just got released: 10.6 and now VSYNC actually works on application level. However, this still does not make it work under mplayer. To get that working you will have to do a few tricks. If you run a desktop WITHOUT [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>This used to be near impossible some time ago however a new ATI driver just got released: 10.6 and now VSYNC actually works on application level. However, this still does not make it work under mplayer. To get that working you will have to do a few tricks. If you run a desktop WITHOUT compisiting the tricks are easy, but with compositing i found myself trying a whole lot more things to get it working.</p>
<p>Note: I suspect the ATI catalyst 10.6 driver is needed!</p>
<p>The trick when you run a desktop without compositing:</p>
<p><strong>mplayer -vo gl2 yourvideo.avi</strong></p>
<p>The trick when you do run compositing is quite a bit more complex.</p>
<p>First edit xorg with the following edits in the <strong>device section</strong>:</p>
<div id="_mcePaste">
<div id="_mcePaste"><strong> Option   &#8220;XAANoOffscreenPixmaps&#8221; &#8220;on&#8221;</strong></div>
<div id="_mcePaste"><strong> Option   &#8220;TexturedVideo&#8221; &#8220;on&#8221;</strong></div>
<div id="_mcePaste"><strong> Option   &#8220;VideoOverlay&#8221; &#8220;off&#8221;</strong></div>
<div id="_mcePaste"><strong> Option   &#8220;OpenGLOverlay&#8221; &#8220;off&#8221;</strong></div>
</div>
<p>And add the following at the bottom of your xorg.conf file (if not there already):</p>
<p><strong>Section &#8220;Extensions&#8221;<br />
Option     &#8220;Composite&#8221; &#8220;Enable&#8221; # If enabled (and used), use OpenGL to VSync<br />
EndSection</strong></p>
<p>Now restart your X by logging out and back in. Playing a video that is tear free with compositing enabled should now be possible with the following <strong>mplayer command</strong>:</p>
<p><strong>mplayer -vo gl yourvideo.avi</strong></p>
<p>Note the &#8220;<strong>-vo gl</strong>&#8221; instead of &#8220;<strong>-vo gl2</strong>&#8221; &#8230;. With my ATI cards the xorg.conf edits where needed to get -gl playing nicely.</p>
<p>This post probably helps some people with the same problem. Leave a comment if this helped you (or not).</p>
<p>Regards,<br />
Mark</p>
<p><strong>Update</strong></p>
<p>I noticed a big difference between windowed and fullscreen mode. On ATI video just seems to flickr when run in windowed mode (even with &#8220;-vo gl&#8221;) but the same video with the same settings runs without any flickering in fullscreen mode (press &#8220;f&#8221;).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mageprojects.com/2010/06/17/ati-vsync-without-video-trearing-works/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Auto resuming is possible in Linux!</title>
		<link>http://blog.mageprojects.com/2010/06/17/auto-resuming-is-possible-in-linux/</link>
		<comments>http://blog.mageprojects.com/2010/06/17/auto-resuming-is-possible-in-linux/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 23:40:44 +0000</pubDate>
		<dc:creator>markg85</dc:creator>
				<category><![CDATA[Howto related]]></category>
		<category><![CDATA[Linux in general]]></category>

		<guid isPermaLink="false">http://blog.mageprojects.com/?p=242</guid>
		<description><![CDATA[Hi, It &#8220;seems&#8221; like a windows task not &#8220;possible&#8221; on linux but that&#8217;s wrong. Auto suspending can be done through con jobs as is a widely known. Auto resuming is something that is in a bit darker area of Linux. This is how you can do that. There is a linux command line tool (probably [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>It &#8220;seems&#8221; like a windows task not &#8220;possible&#8221; on linux but that&#8217;s wrong. Auto suspending can be done through con jobs as is a widely known.</p>
<p>Auto resuming is something that is in a bit darker area of Linux.<br />
This is how you can do that. There is a linux command line tool (probably even installed by default) called: <strong>rtcwake</strong>. With this tool you can use your system &#8220;Real Time Clock (RTC)&#8221; and that allows you to wake your pc at a set point in time.</p>
<p>The commands to do that are very simple but hard to find out if you don&#8217;t know what to look for. For example the following commands set your PC to wake in 5 minutes (asuming it&#8217;s sleeping) &#8212; execute as root! &#8212; :</p>
<p><strong>echo 0 &gt;/sys/class/rtc/rtc0/wakealarm</strong> # Clear RTC<br />
<strong>date &#8220;+%s&#8221; -d &#8220;+ 5 minutes&#8221; &gt;/sys/class/rtc/rtc0/wakealarm</strong> # Set the time 5 minutes in the future</p>
<p>The latter command can also be done like this:</p>
<p><strong>echo +300 &gt;/sys/class/rtc/rtc0/wakealarm</strong></p>
<p>Now all you have to do is suspend your pc and it will (probably) wake up at the set time.<br />
On the command line there are various ways to suspend:</p>
<p><strong>echo -n mem &gt; /sys/power/state</strong></p>
<p>or</p>
<p><strong>pm-suspend</strong></p>
<p>or other ways (like dbus).</p>
<p>Where is this usefull? Well, this might be very handy for HTPC setups that you can just turn off at times when not a single person is gonna use it.</p>
<p>Hope you found this usefull.<br />
Regards,<br />
Mark.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mageprojects.com/2010/06/17/auto-resuming-is-possible-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WinTV-PVR 150 on Arch Linux</title>
		<link>http://blog.mageprojects.com/2009/12/29/wintv-pvr-150-on-arch-linux/</link>
		<comments>http://blog.mageprojects.com/2009/12/29/wintv-pvr-150-on-arch-linux/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 21:34:37 +0000</pubDate>
		<dc:creator>markg85</dc:creator>
				<category><![CDATA[Howto related]]></category>

		<guid isPermaLink="false">http://blog.mageprojects.com/?p=233</guid>
		<description><![CDATA[Hi, Yet again i had issues to get this working. Documenting it this time for myself in the future and perhaps other persons that might want to do the same. To even get the 150 card working install ivtv-utils: sudo pacman -S ivtx-utils To scan your card for tv channles install xawtv: sudo pacman -S [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>Yet again i had issues to get this working. Documenting it this time for myself in the future and perhaps other persons that might want to do the same.</p>
<p>To even get the 150 card working install ivtv-utils:<br />
sudo pacman -S ivtx-utils</p>
<p>To scan your card for tv channles install xawtv:<br />
sudo pacman -S xawtv</p>
<p>And to play it install mplayer:<br />
sudo pacman -S maplyer</p>
<p>The last thing you need to change is the /dev/video0 permissions:<br />
sudo chown root.users /dev/video0</p>
<p>Now to start watching tv you need to type:<br />
mplayer /dev/video0 or gmplayer /dev/video0 for a gui</p>
<p>If you have an nvidia GPU (and working in linux) append &#8220;-va vdpau&#8221; (without the quotes). That should of load some stuff to your video card.</p>
<p>By now you probably want to switch channels? To do that we first need to scan the tv channels by typing:<br />
scantv (fill in your options and it will scan)</p>
<p>Once that is done save that list to a file! The channels in that list are the numbers you need to use.<br />
To change a channel type something like this:<br />
ivtv-tune -teurope-west -c37 -d/dev/video0 (change your -teurope-west to the one you picked)</p>
<p>The last thing before the video is &#8220;nice&#8221; (as far as nice video can be nice on a computer monitor). You probably have seen some odd lines on the live tv. That&#8217;s called interlacing. To &#8220;fix&#8221; that you need to deinterlace the video. A nice resource that shows the options mplayer has is: http://guru.multimedia.cx/deinterlacing-filters/</p>
<p>The command that i use:<br />
mplayer -vo vdpau -ao oss /dev/video0 -vf yadif=1:1,denoise3d</p>
<p>yadif is used for deinterlacing and denoise3d is used to filter out noise which is quite a lot on tv broadcasts and this filter makes it look nice!</p>
<p>All i still want to find out is ho to cut off the black bars since the broadcast is 4:3 now on my 16:10 display. The broadcast has bars at the top and bottom since it&#8217;s a widescreen broadcast but that is being broadcasted in 4:3 so the result is black bars on the left, right, top and bottom.. not nice ^_^</p>
<p>Hope this was helpful for others as well.</p>
<p><strong>Update<br />
</strong>After many hours of trial and error and very close to make a mplayer filter to filter out the letterboxing bars (black bars on the top and bottom of widescreen broadcasts). The solution? panscan! The command that i use now is:<br />
mplayer -vo vdpau -ao oss /dev/video0 -vf yadif=1:1,denoise3d -panscan 1</p>
<p><strong>Update 2</strong><br />
This command might give better image results (other denoiser):<br />
mplayer -vo vdpau -ao oss /dev/video0 -vf yadif=1:1,hqdn3d -panscan 1</p>
<p>That only works when your in fullscreen. Then press W or E to zoom in or out.</p>
<p><strong>Update 3</strong><br />
I found this command to be giving very nice results (for when you don&#8217;t have vdpau):<br />
mplayer /dev/video0 -cache 2000 -panscan 1 -vo gl -vf yadif=1/3<br />
Note the -cache 2000; that seems to be just fine to have a smooth deinterlaced  PVR stream. The yadif on this setting also produces nice results. You could append &#8220;,<strong>hqdn3d</strong>&#8221; to have a somewhat smoother image but it will start to look ugly when you play anything with a lot of action in it.</p>
<p>Good luck,<br />
Mark</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mageprojects.com/2009/12/29/wintv-pvr-150-on-arch-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto: release and renew ip in ubuntu (9.04)</title>
		<link>http://blog.mageprojects.com/2009/06/29/howto-release-and-renew-ip-in-ubuntu-9-04/</link>
		<comments>http://blog.mageprojects.com/2009/06/29/howto-release-and-renew-ip-in-ubuntu-9-04/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 14:02:27 +0000</pubDate>
		<dc:creator>markg85</dc:creator>
				<category><![CDATA[Howto related]]></category>
		<category><![CDATA[Linux in general]]></category>

		<guid isPermaLink="false">http://blog.mageprojects.com/?p=198</guid>
		<description><![CDATA[Hey, Yet again a issue in ubuntu that lets me search for hours only to find non working solutions. So here i go again.. i will just post the solution that worked for me. The issue was that i had an ip address in a different part of the same subnetwork. all in 192.168.1.* Now [...]]]></description>
			<content:encoded><![CDATA[<p>Hey,</p>
<p>Yet again a issue in ubuntu that lets me search for hours only to find non working solutions.<br />
So here i go again.. i will just post the solution that worked for me.</p>
<p>The issue was that i had an ip address in a different part of the same subnetwork. all in 192.168.1.*<br />
Now on the ubuntu forums you can find a lot of questions to release and renew your ip. None of those methods worked for me.<br />
This did:</p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 114px; text-align: left;" dir="ltr">sudo echo '' &gt; /var/lib/dhcp3/dhclient.leases
sudo echo '' &gt; /var/lib/dhcp3/dhclient-eth0.lease
sudo dhclient -r // or with eth0
sudo dhclient // or with eth0</pre>
<p>What this is doing is cleaning the dhclient lease files and after that releasing your current ip followed by a new dhcp request to get a new ip.Big downside is that the ip doesn&#8217;t seem to be released on the actual dhcp server thus for the remaining lease time no other computers willbe able to get that ip.</p>
<p>This is how it worked for me and i take the downside for what it is.</p>
<p>This will probably help a few other ubuntu users out there with the same issue.<br />
Mark</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mageprojects.com/2009/06/29/howto-release-and-renew-ip-in-ubuntu-9-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Links to help you install your PVR-150 on Ubuntu</title>
		<link>http://blog.mageprojects.com/2009/06/18/links-to-help-you-install-your-pvr-150-on-ubuntu/</link>
		<comments>http://blog.mageprojects.com/2009/06/18/links-to-help-you-install-your-pvr-150-on-ubuntu/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 20:48:04 +0000</pubDate>
		<dc:creator>markg85</dc:creator>
				<category><![CDATA[Howto related]]></category>
		<category><![CDATA[Linux in general]]></category>

		<guid isPermaLink="false">http://blog.mageprojects.com/?p=173</guid>
		<description><![CDATA[Hey, Just a quick post with some links that will help you get your PVR-150 device running in ubuntu or just linux. http://www.simsemporium.com/Stuff/Mythtv+-+PVR-150+-+Ubuntu+-+New+Zealand+HOWTO.html Note about that link. They tell you to compile ivtv. That&#8217;s not needed! ivtv is in the ubuntu repository (universe repo) so you can search for that in synaptic or just by [...]]]></description>
			<content:encoded><![CDATA[<p>Hey,</p>
<p>Just a quick post with some links that will help you get your PVR-150 device running in ubuntu or just linux.<br />
<a href="http://www.simsemporium.com/Stuff/Mythtv+-+PVR-150+-+Ubuntu+-+New+Zealand+HOWTO.html">http://www.simsemporium.com/Stuff/Mythtv+-+PVR-150+-+Ubuntu+-+New+Zealand+HOWTO.html</a></p>
<p>Note about that link. They tell you to compile ivtv. That&#8217;s not needed! ivtv is in the ubuntu repository (universe repo) so you can search for that in synaptic or just by typing this in a console: sudo apt-get install ivtv-utils.</p>
<p>And if your sound is not working this might be very helpful: <a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/228363">https://bugs.launchpad.net/ubuntu/+source/linux/+bug/228363</a></p>
<p>That&#8217;s it for this quick twitter like post. I hope this helped a few people with this issue.</p>
<p>Good luck,<br />
Mark</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mageprojects.com/2009/06/18/links-to-help-you-install-your-pvr-150-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get DirectFB 1.2.* running on Ubuntu 9.04 (with multi app support)</title>
		<link>http://blog.mageprojects.com/2009/05/12/get-directfb-12-running-on-ubuntu-904-with-multi-app-support/</link>
		<comments>http://blog.mageprojects.com/2009/05/12/get-directfb-12-running-on-ubuntu-904-with-multi-app-support/#comments</comments>
		<pubDate>Tue, 12 May 2009 16:03:02 +0000</pubDate>
		<dc:creator>markg85</dc:creator>
				<category><![CDATA[Howto related]]></category>
		<category><![CDATA[Linux in general]]></category>

		<guid isPermaLink="false">http://blog.mageprojects.com/?p=110</guid>
		<description><![CDATA[Hi, Since there is no guide anywhere on the internet that tells you how you can get DirectFB working on ubuntu, i will make one. I expect you know how you compile things in this article. If you don&#8217;t follow some guide that explains how to do that. The very first thing you have to [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>Since there is no guide anywhere on the internet that tells you how you can get DirectFB working on ubuntu, i will make one.</p>
<p>I expect you know how you compile things in this article. If you don&#8217;t follow some guide that explains how to do that.</p>
<p>The very first thing you have to do is get ubuntu (9.04 but the last few versions should all work fine).<br />
next is setting up your &#8220;framebuffer&#8221; at boot time. To do this restart your pc. while in grub press &#8220;e&#8221; to edit that boot line. Then select the kernel line and again press &#8220;e&#8221; to edit that line. Now add (at the end of that line) <strong>vga=ask</strong>. Right after that it will ask you which resolution you want. See if yours is in that list and anter the number that&#8217;s standing infront of it. Now just let it boot. Once booted you will have to edit your grub menu file (sudo nano /boot/grub/menu.lst) and add vga=0x<strong>the number you picked</strong>) and then when you reboot you should have the framebuffer stuff. If you don&#8217;t have it look for a solution somewhere on the internet. Problems with framebuffers can be quite hard to understand or find solutions for. I don&#8217;t know much more about those framebuffers then this.</p>
<p>Once that&#8217;s all done you will have to setup your build environment. run the following commands:</p>
<p><span style="color: #999999;"><span style="color: #993300;"><em>sudo apt-get install linux-source // Will install the actual linux source of your current kernel<br />
sudo apt-get build-dep linux // Will get your linux kernel source dependencies installed on your system<br />
sudo apt-get build-dep libdirectfb-1.0-0 // We are going to use a later version of DirectFB but this will do fine to install the requirements<br />
wget http://www.directfb.org/downloads/Core/DirectFB-1.2.8.tar.gz<br />
wget http://www.directfb.org/downloads/Core/linux-fusion-8.1.1.tar.gz<br />
wget http://www.directfb.org/downloads/Extras/DirectFB-examples-1.2.0.tar.gz</em></span><br />
</span></p>
<p>Note: go to: http://www.directfb.org/index.php?path=Main%2FDownloads to download the latest <strong>DirectFB 1.2.*</strong> (do <strong>not</strong> download the 1.3.* versions because that&#8217;s still in development) release and the latest linux-fusion file.</p>
<p>Once you&#8217;ve done the two apt-get lines and downloaded the files you will have to extract those later two.<br />
Do that by running:</p>
<p><span style="color: #993300;"><em>tar -xvf DirectFB-1.2.8.tar.gz<br />
tar -xvf linux-fusion-8.1.1.tar.gz<br />
tar -xvf DirectFB-Examples-1.2.0.tar.gz</em></span></p>
<p>The first thing we&#8217;re going to do now is getting that fusion module compiled and loaded at boot time.<br />
Here is the list of commands to do that:</p>
<p><em><span style="color: #993300;">cd linux-fusion-8.1.1</span><span style="color: #993300;"> make &amp;&amp; sudo make install<br />
sudo su -<br />
echo fusion &gt;&gt; /etc/initramfs-tools/modules // this adds the text &#8220;fusion&#8221; at the end of the modules file<br />
exit<br />
sudo update-initramfs -u // This updates your initramfs file<br />
sudo modprobe fusion // Only needed if you didn&#8217;t restart after you changed initramfs. Otherwise this module will be loaded anyway beacayse it&#8217;s done so during boot.</span><br />
</em></p>
<p>Now fusion is done.<br />
Next is compiling DirectFB with multi application support.</p>
<p>Here is the list of commands needed for that:<br />
<span style="color: #993300;"><em>cd DirectFB-1.2.8<br />
./configure &#8211;enable-multi &#8211;libdir=/usr/lib64 &#8211;bindir=/usr/bin // <strong>note</strong> the libdir is /usr/lib64 for x86_64 distributions and just /usr/lib for the rest. Change it to your needs<br />
make &amp;&amp; sudo make install</em></span></p>
<p>Now it should be compiling for a few minutes. Depending on your cpu. My quadcore does this in a few minutes.<br />
Once it&#8217;s done DirectFB is installed and (if all previous steps worked fine) can be used.</p>
<p>Now to see it in use we need some examples.<br />
here is the command list for that:</p>
<p><span style="color: #993300;"><em>cd DiirectFB-Examples-1.2.0<br />
./configure &#8211;bindir=/usr/bin // note no need to set a libdir because it&#8217;s not making libs<br />
make &amp;&amp; sudo make install</em><br />
</span></p>
<p>Now the examples are also ready to use.<br />
You can now switch to another tty (CTRL + ALT + F&lt;number&gt;), login and run something like df_window.<br />
Be sure to type df_ followed by a hit on the tab button. It will give you all run commands that start with df_ and all the results that  you get to see are DirectFB examples.</p>
<p>But this didn&#8217;t show you a multi-app environment yet.</p>
<p>Log in into your gnome or kde or whatever graphical environment you use. Open up a terminal in there and type:</p>
<p><span style="color: #993300;"><em>nano ~/.directfbrc</em></span></p>
<p>What we&#8217;re going to do now is change a few directfb settings to run it under X11. (see man directfbrc for more settings)<br />
Just plain copy and paste the following settings in that file:</p>
<p><span style="color: #993300;"><em>mode=1024&#215;768<br />
pixelformat=RGB32<br />
system=x11</em></span></p>
<p>You can change the resolution to your liking if you want.</p>
<p>Now type (still in that same console that&#8217;s running inside your graphical environment):</p>
<p><span style="color: #993300;"><em>df_window &amp; // runs it in the background<br />
df_cpuload &amp;</em></span></p>
<p>And you will see the df_window example with in there the cpuload graphic. Nifty huh?<br />
Just be carefull here. save all your data before you start with this because if you do anything wrong it COULD completely crash your system in a way that you just have to reboot to get it back. While writing this howto i experienced this myself because i did do df_window &amp; but i didn&#8217;t add the &#8220;&amp;&#8221; to df_cpuload</p>
<p>This was it for the DirectFB howto.<br />
I might post more stuff about DirectFB in the future.</p>
<p>I hope it was useful to you,<br />
Mark</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mageprojects.com/2009/05/12/get-directfb-12-running-on-ubuntu-904-with-multi-app-support/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Get your microphone working in Ubuntu 9.04 and skype (x64)</title>
		<link>http://blog.mageprojects.com/2009/03/24/get-your-microphone-working-in-ubuntu-904-and-skype-x64/</link>
		<comments>http://blog.mageprojects.com/2009/03/24/get-your-microphone-working-in-ubuntu-904-and-skype-x64/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 16:47:22 +0000</pubDate>
		<dc:creator>markg85</dc:creator>
				<category><![CDATA[Howto related]]></category>
		<category><![CDATA[Linux in general]]></category>

		<guid isPermaLink="false">http://blog.mageprojects.com/?p=56</guid>
		<description><![CDATA[Hi, After hours of testing i finally found out how to get my microphone to work under ubuntu. The thing that i had already working &#8220;out of the box&#8221; is that you could talk in your microphone and you would hear it come out of your speakers but somehow it wasn&#8217;t recording it when i [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>After hours of testing i finally found out how to get my microphone to work under ubuntu.<br />
The thing that i had already working &#8220;out of the box&#8221; is that you could talk in your microphone and you would hear it come out of your speakers but somehow it wasn&#8217;t recording it when i tried to record the input from the microphone. So once i got it working i started writing this howto so that others can get a microphone (and skype) working as well. This howto should work in any linux distribution since it&#8217;s not ubuntu specific. It <strong>is</strong> gnome specific so i don&#8217;t know how well this works (if at all) in kde.</p>
<p>The first thing i did (and you should do as well) is open a console (ALT+F2 -&gt; gnome-terminal or xterm).<br />
Now type this:<br />
[sourcecode]<br />
alsamixer<br />
[/sourcecode]</p>
<p>now you should see something like this:</p>
<p><a href="http://blog.mageprojects.com/wp-content/uploads/2009/03/screenshot-markmark-desktop.png"><img class="alignnone size-thumbnail wp-image-66" title="screenshot-markmark-desktop" src="http://blog.mageprojects.com/wp-content/uploads/2009/03/screenshot-markmark-desktop-500x282.png" alt="screenshot-markmark-desktop" width="500" height="282" /></a></p>
<p>My advise would be to just put all at max EXEPT for the values that contain anything like &#8220;boost&#8221;.. i put them up to test with and it didn&#8217;t really improve microphone quality or made it louder. It just made it sound horrible and it was even affecting the normal playback sound as well.</p>
<p>Now once this is done press TAB in that alse mixes stuff. You should now get the properties for &#8220;Capture&#8221; (seen at the top left corner in those few lines of text) devices:<br />
<a href="http://blog.mageprojects.com/wp-content/uploads/2009/03/screenshot-markmark-desktop-1.png"><img class="alignnone size-thumbnail wp-image-67" title="screenshot-markmark-desktop-1" src="http://blog.mageprojects.com/wp-content/uploads/2009/03/screenshot-markmark-desktop-1-500x282.png" alt="screenshot-markmark-desktop-1" width="500" height="282" /></a></p>
<p>I&#8217;m not sure if anything here helped getting it working but i turned all &#8220;boost&#8221; things off and the rest on. Feel free to tweak those settings a bit to see if they actually do something with the microphone.</p>
<p>Now, once you&#8217;ve done this, you &#8220;should&#8221; have your microphone setup currectly and it should just work. There are just a few more issues. When you start recording your microphone imput you most likely don&#8217;t hear anything when you play it back. That&#8217;s because the &#8220;Sound Capture&#8221; setting in gnome&#8217;s sound settings is set wrong.<br />
So open the gnome sound settings: <strong>System -&gt; Preferences -&gt; Sound</strong> and you should see this:</p>
<p><a href="http://blog.mageprojects.com/wp-content/uploads/2009/03/screenshot-sound-preferences.png"><img class="alignnone size-thumbnail wp-image-68" title="screenshot-sound-preferences" src="http://blog.mageprojects.com/wp-content/uploads/2009/03/screenshot-sound-preferences-435x500.png" alt="screenshot-sound-preferences" width="435" height="500" /></a></p>
<p>The way to test if your microphone is actually working is by clicking on the &#8220;Test&#8221; button behind &#8220;Sound capture&#8221;. Press test and talk in your microphone. If you hear yourself with a slight delay from the speakers you have it working. If not try every option in the list (in the screenshot it&#8217;s on &#8220;ALSa &#8211; Advanced Linux Sound Architecture&#8221; between the &#8220;Sound capture:&#8221;  and &#8220;test&#8221;. one of them should be working. Also note that there seems to be double values with exactly the same name but they do act differently! atleast that was the case for me.</p>
<p>Once you&#8217;ve done that and you found one that seems to be working (the right one for me was: &#8220;HDA Intel something&#8230;&#8221; which was in the list twice. the top one did it for me) then you can start recording your microphone if you want. Try it out in <strong>gnome-sound-recorder</strong> but i won&#8217;t go deeper in that stuff.</p>
<p>Oke, by now your microphone should be working and you can record your microphone input and it seems to be working fine. If that&#8217;s the case then you now install skype (i used this link: <a href="http://www.skype.com/go/getskype-linux-ubuntu-amd64 ">http://www.skype.com/go/getskype-linux-ubuntu-amd64</a> which should be the latest x64 version) Open skype and go to the &#8220;Sound Devices&#8221; tab in skype.<br />
<a href="http://blog.mageprojects.com/wp-content/uploads/2009/03/screenshot-skype-sound-options.png"><img class="alignnone size-thumbnail wp-image-69" title="screenshot-skype-sound-options" src="http://blog.mageprojects.com/wp-content/uploads/2009/03/screenshot-skype-sound-options-500x334.png" alt="screenshot-skype-sound-options" width="500" height="334" /></a></p>
<p>For me the Sound out and Ringing was just fine but the Sound in was wrong. To get that one good you have to (sadly) test every option in the Sound in list and &#8220;Make a test call&#8221;&#8230; say something and see if it gets out of your boxes after the second beep.</p>
<p>This is how i got it working.<br />
Here are my settings from the volume control stuff in gnome incase you might be interested in those as well.</p>
<p><a href="http://blog.mageprojects.com/wp-content/uploads/2009/03/screenshot-1.png"><img class="alignnone size-thumbnail wp-image-65" title="screenshot-1" src="http://blog.mageprojects.com/wp-content/uploads/2009/03/screenshot-1-500x217.png" alt="screenshot-1" width="500" height="217" /></a></p>
<p>Note for the image above: i have no clue why the microphone icons have a cross in there. i could turn them off/on whatever i wanted but the setting didn&#8217;t seem to be saved and didn&#8217;t seem to mather for the microphone.</p>
<p><a href="http://blog.mageprojects.com/wp-content/uploads/2009/03/screenshot.png"><img class="alignnone size-thumbnail wp-image-64" title="screenshot" src="http://blog.mageprojects.com/wp-content/uploads/2009/03/screenshot-500x218.png" alt="screenshot" width="500" height="218" /></a></p>
<p>It <strong>should</strong> all be working fine now.</p>
<p>I hope this howto has been helpfull for you. If you found another solution or have something to add to this feel free to post so in the comments.<br />
Good luck,<br />
Mark</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mageprojects.com/2009/03/24/get-your-microphone-working-in-ubuntu-904-and-skype-x64/feed/</wfw:commentRss>
		<slash:comments>71</slash:comments>
		</item>
		<item>
		<title>Disabling Gnome 2.22 auto brightness adjusting</title>
		<link>http://blog.mageprojects.com/2008/04/08/disabling-gnome-222-auto-brightness-adjusting/</link>
		<comments>http://blog.mageprojects.com/2008/04/08/disabling-gnome-222-auto-brightness-adjusting/#comments</comments>
		<pubDate>Tue, 08 Apr 2008 20:06:01 +0000</pubDate>
		<dc:creator>markg85</dc:creator>
				<category><![CDATA[Howto related]]></category>
		<category><![CDATA[Linux - Gnome based]]></category>
		<category><![CDATA[Linux in general]]></category>

		<guid isPermaLink="false">http://blog.mageprojects.com/?p=4</guid>
		<description><![CDATA[Hey, Gnome 2.22 introduced quite a few new features and not all of them are working nicely. The automatic adjusting of the brightness in Gnome 2.22 is a good example of a horrible feature. The idea is good but it simply isn&#8217;t working out, at least on my notebook, so therefore it&#8217;s best to just [...]]]></description>
			<content:encoded><![CDATA[<p>Hey,</p>
<p>Gnome 2.22 introduced quite a few new features and not all of them are working nicely.<br />
The automatic adjusting of the brightness in Gnome 2.22 is a good example of a horrible feature. The idea is good but it simply isn&#8217;t working out, at least on my notebook, so therefore it&#8217;s best to just turn it off.</p>
<p>In the &#8220;Power Management Settings&#8221; is a option to turn it off, or that&#8217;s what you would think judging the name. The setting is: &#8220;Dim display when idle&#8221;. Turning that off won&#8217;t help a bit. might be a bug, might be intentional, but it&#8217;s not working.</p>
<p>The real trick to turn this setting off is in the gconf settings. In your distribution install the package: &#8220;gconf-editor&#8221; (in fedora it&#8217;s with &#8220;yum -y install gconf-editor&#8221;).</p>
<p>Now press ALT+F2 and type: gconf-editor. The editor will popup. Now go to this location: <strong>/apps/gnome-power-manager/backlight/enable</strong> and you should see something like this:<br />
<a href="http://blog.mageprojects.com/wp-content/uploads/2008/04/screenshot-configuration-editor-backlight.png"><img class="alignnone size-thumbnail wp-image-5" title="screenshot-configuration-editor-backlight" src="http://blog.mageprojects.com/wp-content/uploads/2008/04/screenshot-configuration-editor-backlight-150x150.png" alt="" width="150" height="150" /></a></p>
<p>Uncheck the &#8220;<strong>enable</strong>&#8221; and your done. No more irritating backlight changes.</p>
<p>Hope that helped for you,<br />
Mark.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mageprojects.com/2008/04/08/disabling-gnome-222-auto-brightness-adjusting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
