<?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>paulocabido.com &#187; brightness</title>
	<atom:link href="http://www.paulocabido.com/tag/brightness/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.paulocabido.com</link>
	<description>I do all my own stunts!</description>
	<lastBuildDate>Fri, 27 Jan 2012 17:22:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Ubuntu On Sony Vaio FW Series</title>
		<link>http://www.paulocabido.com/linux/ubuntu-on-sony-vaio-fw-series/</link>
		<comments>http://www.paulocabido.com/linux/ubuntu-on-sony-vaio-fw-series/#comments</comments>
		<pubDate>Tue, 12 May 2009 15:17:55 +0000</pubDate>
		<dc:creator>pcabido</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[brightness]]></category>
		<category><![CDATA[EN]]></category>
		<category><![CDATA[sony vaio fw series]]></category>

		<guid isPermaLink="false">http://www.paulocabido.com/?p=61</guid>
		<description><![CDATA[I have a Sony Vaio FW11M. It&#8217;s a really great laptop! The only thing that doesn&#8217;t work well by default on Ubuntu is the brightness control. There are some little tricks and the kernel needs to be patched. Egaistek is a life saver! He made available a patch and the instructions to solve this problem [...]]]></description>
			<content:encoded><![CDATA[<p>I have a Sony Vaio FW11M. It&#8217;s a really great laptop! The only thing that doesn&#8217;t work well by default on Ubuntu is the brightness control.<br />
There are some little tricks and the kernel needs to be patched. Egaistek is a life saver! He made available a patch and the instructions to solve this problem on the both versions of Ubuntu 8.10 (32 and 64 bits) at his <a href="http://vaioubuntu.wordpress.com/">site</a>. Keep up the good work egaistek! <img src='http://www.paulocabido.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=paulocabido.com&link=http%3A%2F%2Fwww.paulocabido.com%2Flinux%2Fubuntu-on-sony-vaio-fw-series%2F&title=Ubuntu+On+Sony+Vaio+FW+Series&desc=I+have+a+Sony+Vaio+FW11M.+It%27s+a+really+great+laptop%21+The+only+thing+that+doesn%27t+work+well+by+default+on+Ubuntu+is+the+brightness+control.%0D%0AThere+are+some+little+tricks+and+the+kernel+needs+to+be+pat&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=&twrelated1=&twrelated2=&twctr=1&lnkdshow=noshow&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=1&diggbutton=1&diggctr=1&stblbutton=1&stblctr=1&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>]]></content:encoded>
			<wfw:commentRss>http://www.paulocabido.com/linux/ubuntu-on-sony-vaio-fw-series/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sony Vaio FW Series (FW11M) – Parte 2</title>
		<link>http://www.paulocabido.com/linux/sony-vaio-fw-series-fw11m-parte-2/</link>
		<comments>http://www.paulocabido.com/linux/sony-vaio-fw-series-fw11m-parte-2/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 12:27:25 +0000</pubDate>
		<dc:creator>pcabido</dc:creator>
				<category><![CDATA[foobox.org]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[8.10]]></category>
		<category><![CDATA[bateria]]></category>
		<category><![CDATA[brightness]]></category>
		<category><![CDATA[brilho]]></category>
		<category><![CDATA[foobox]]></category>
		<category><![CDATA[fw]]></category>
		<category><![CDATA[FW11]]></category>
		<category><![CDATA[ibex]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[multimedia]]></category>
		<category><![CDATA[som]]></category>
		<category><![CDATA[sony]]></category>
		<category><![CDATA[Sony Vaio FW11]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vaio]]></category>

		<guid isPermaLink="false">http://foobox.org/?p=346</guid>
		<description><![CDATA[Em Windows tudo funciona, o que era de esperar. Em Linux (Ubuntu Intrepid Ibex 8.10) tive alguns problemas iniciais. As teclas multimedia que controlam o som (- e +) e o FN+F2 (mute) não funcionavam. Aparecia o OSD a indicar o mute/unmute e o som a aumentar/baixar mas na realidade não acontecia nada. O controlo [...]]]></description>
			<content:encoded><![CDATA[<p>Em Windows tudo funciona, o que era de esperar. Em Linux (Ubuntu Intrepid Ibex 8.10) tive alguns problemas iniciais. As teclas multimedia que controlam o som (- e +) e o FN+F2 (mute) não funcionavam. Aparecia o OSD a indicar o mute/unmute e o som a aumentar/baixar mas na realidade não acontecia nada.<br />
O controlo do brightness (FN+F5 e FN+F6) também não funcionava, nem OSD mostrava e por fim a bateria, na minha opinião podia durar um pouco mais do que na realidade estava a durar.<br />
Tudo tem solução, felizmente! <img src='http://www.paulocabido.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Som &#8211; Mute, + e -</strong>:<br />
A solução é demasiado simples. Basta ir a <strong>Sistema->Preferências->Som</strong> (System->Preferences->Sound) e seleccionar em todos os Dispositivos a opção &#8220;ALSA &#8211; Arquitectura Avançada de Som em Linux&#8221; e nos canais de Mistura por Omissão seleccionar a opção &#8220;HDA Intel (Alsa mixer)&#8221;. Fechar e já está.</p>
<p><strong>Tempo de Bateria</strong>:<br />
O problema aqui é o cpu scaling. Não está a funcionar. Deveria mudar para o modo powersave. O Ubuntu está a utilizar o powernowd cpu frequency manager e quando desligado da corrente o processador deveria funcionar nas frequências de 800MHz a 1.6GHz. Quando ligado novamente à corrente passa para 2.27GHz. Este devia ser o comportamento normal.<br />
Para resolver este problema é preciso colocar <a href="http://foobox.org/files/linux/cpufreqd.conf">este ficheiro (cpufreqd.conf)</a> em <strong>/etc/cpufreqd.conf</strong>.<br />
É possível alterar o cpufreqd.conf e colocarem os valores que desejarem para as frequências, embora eu ache que estes valores são os &#8220;normais&#8221;.</p>
<p><strong>Controlo do brightness</strong>:<br />
A solução não é minha, nem os ficheiros que vou disponibilizar são da minha autoria. Este problema tem a ver com o <a href="http://bugzilla.kernel.org/show_bug.cgi?id=11682">bug 11682</a>. Os patches são do <a href="http://vaioubuntu.wordpress.com/2008/12/04/finally-a-brightness-how-to-for-vaio-fw-series/">egaistek</a>.<br />
Para começar é preciso então fazer download dos <a href="http://foobox.org/files/linux/sony-vaio-fw-series-brightness-patches.tar.bz2">patches</a>.<br />
É preciso instalar o seguinte: <code>sudo apt-get install acpidump iasl</code><br />
No patch também existem os ficheiros para os FW2X mas o que vou escrever em baixo é para a serie FW1x.</p>
<p><code>1. sudo acpidump -b -t DSDT -o DSDT.aml<br />
2. iasl -d DSDT.aml<br />
3. sudo rm DSDT.aml<br />
4. patch < dsdt-error.patch<br />
5. patch < dsdt-ati-fix.patch<br />
6. iasl DSDT.dsl<br />
7. sudo cp DSDT.aml /etc/initramfs-tools/</p>
<p>8. sudo dpkg-reconfigure linux-image-`uname -r`</code><br />
Este processo é a aplicação do patch no DSDT e de seguida é necessário fazer download da source do kernel para recompilar o modulo.</p>
<p><code>1. sudo apt-get build-dep linux-source-2.6.27<br />
2. sudo apt-get install linux-source-2.6.27<br />
3. cp /usr/src/linux-source-2.6.27.tar.bz2 ./<br />
4. tar jxvf linux-source-2.6.27.tar.bz2<br />
5. cd linux-source-2.6.27/drivers/misc/</code></p>
<p>Depois é preciso copiar o patch, <strong>sony-laptop-fw-series.patch</strong>, para a dir <strong>linux-source-2.6.27/drivers/misc/</strong> e aplicar o patch.</p>
<p><code>1. patch < sony-laptop-fw-series.patch<br />
2. make -C /lib/modules/`uname -r`/build/ M=`pwd` modules<br />
3. strip --strip-debug sony-laptop.ko<br />
4. sudo install -m644 -b sony-laptop.ko /lib/modules/`uname -r`/kernel/drivers/misc </code></p>
<p>Se tudo correu bem e sem erros, só é necessário reiniciar o computador e já está! <img src='http://www.paulocabido.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Li por ai que o microfone também não funciona mas é algo que nunca testei. Quando testar depois digo algo para aqui.</p>
<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=paulocabido.com&link=http%3A%2F%2Fwww.paulocabido.com%2Flinux%2Fsony-vaio-fw-series-fw11m-parte-2%2F&title=Sony+Vaio+FW+Series+%28FW11M%29+%E2%80%93+Parte+2&desc=Em+Windows+tudo+funciona%2C+o+que+era+de+esperar.+Em+Linux+%28Ubuntu+Intrepid+Ibex+8.10%29+tive+alguns+problemas+iniciais.+As+teclas+multimedia+que+controlam+o+som+%28-+e+%2B%29+e+o+FN%2BF2+%28mute%29+n%C3%A3o+funcionavam.&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=&twrelated1=&twrelated2=&twctr=1&lnkdshow=noshow&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=1&diggbutton=1&diggctr=1&stblbutton=1&stblctr=1&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>]]></content:encoded>
			<wfw:commentRss>http://www.paulocabido.com/linux/sony-vaio-fw-series-fw11m-parte-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

