quarta-feira, 13 de agosto de 2014

Galaxy Tab 3 10.1 Consertado

A Samsung está de parabéns, serviço rápido e eficiente!

O aparelho foi consertado e trocaram a placa mãe dele, recebi ele em otimas condições e até agora estou sem problemas!

A assistencia técnica foi super prestativa e atenciosa, como deveria ser em todos os lugares porém sabemos que não é o que ocorre, e segundo o termo de serviço ainda tenho o tempo de garantia padrão (12 meses) intacto.

Ponto para a Samsung e Ponto para a assistência!

terça-feira, 12 de agosto de 2014

Galaxy Tab 3 10.1 - Defeito

Tenho um Galaxy Tab 3 10.1 (GT-P5200) que começou a apresentar um defeito muito intrigante após alguns meses de uso!

 O aparelho simplesmente desliga por si só, por qualquer movimento, toque, ou até em repouso. Lendo na internet sobre o caso, encontrei algumas pessoas dizendo que o problema seria que  Samsung deixou o conector interno da bateria "solto", podendo então em qualquer que seja o movimento.

 Tem um workaround, seria abrir o tablet, e colar/fixar/durex"ar" o conector, porém meu aparelho ainda estava na garantia, então enviei ele a uma autorizada exatamente uma semana atrás!

Achei estranho o tempo de conserto, sendo muito rápido, porém quando chegar vamos analisar e torcer para que o problema tenha sumido!

Fica aqui meu parecer sobre esse problema, caso alguém tenha algum problema do tipo, informe como resolveu!

terça-feira, 15 de julho de 2014

Disable vertical refresh sync using glxgears

When you run glxgears sometimes by default your fps get crapped about 60fps, which is the same as your vertical refresh rate of your monitor! (60Hz -> 60fps)
  To disable it you can set the environment variable vblank_mode to zero, and run again the glxgears:

$ export vblank_mode=0 
$ glxgears
Then you'll see glxgears running at full fps possible!

My system running glxgears on vblank_mode=0

Install Plasma KDE on Ubuntu 14.04

After few boring problems on Mint, i decided to switch back to Ubuntu.<br />
As I don't like Ubuntu's Unity, here is the easy way to install Plasma Desktop (KDE) on it.<br />
<br />
&nbsp; We will be using kubuntu-desktop package, as it is the most easy and problem-free way of installing the plasma desktop:<br />
<br />
<pre style="background-color: #eeeeee; border: 0px; font-family: 'Ubuntu Mono', 'Ubuntu Beta Mono A', Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;"><span style="background-color: transparent; color: #0b5394;">sudo apt-get update &amp;&amp; install kubuntu-desktop</span></pre>
<br />
This install the most important packages. It may take a while to download everything, but the result is very interesting, log out, select KDE Plasma on Desktop environment and you're ready!<br />
<br />
Also, if you want to replace Ubuntu's default greeter by kdm, you can do it easly too:<br />
<br />
<pre style="background-color: #eeeeee; border: 0px; font-family: 'Ubuntu Mono', 'Ubuntu Beta Mono A', Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;"><span style="background-color: transparent; color: #0b5394;"> sudo apt-get install kdm</span></pre>
It will ask you to set the default login interface, just choose kdm!<br />
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwFq4ispPdKpa8kMflNEPdo8DdrF0ICcxsjOMPl57GBW_1La6CtkbQNsXKMqWzaoO5P-6NW6vQZPGWhbu3wMf2eli2V3S83TB9b3noAvsGQXxGJPrJuGPb4MM7dajAL5daEP9PDXtfiDfb/s1600/snapshot1.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwFq4ispPdKpa8kMflNEPdo8DdrF0ICcxsjOMPl57GBW_1La6CtkbQNsXKMqWzaoO5P-6NW6vQZPGWhbu3wMf2eli2V3S83TB9b3noAvsGQXxGJPrJuGPb4MM7dajAL5daEP9PDXtfiDfb/s1600/snapshot1.png" height="225" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><i>Plasma Desktop</i></td></tr>
</tbody></table>
<br />

Suspend/Resume Problem on Linux - Dell Inspiron 15R SE

It seems that there is a bug on Linux Mint 16 (more precisely on Cinnamon) * ( and other distro's) that prevents resume-from-suspend/hibernate from working correctly, suspend and hibernate works fine, but when you power it on again, the system freezes, stop working and no signal of response when using keyboard and/or mouse.

On some tests, i switched to a text-only terminal (ctrl+alt+f1) and did suspend the computer from there:

        $ sudo pm-suspend

After few seconds, turned on the computer.

Surprisingly it was working fine,  i switched back to Cinnamon (ctrl+alt+f8) and it was indeed working fine. So, i searched internet how sleep/hibernation/resume works, and found out that if you write a script on  /etc/pm/sleep.d, that script would be ran as it's meant to be. 
Let me explain a basic script, first, remember that script will be called with a parameter that will be hibernate,sleep,thaw or resume, depending on user's action.

A script there must be something like:

  #!/bin/sh

  case $1 in
    suspend)
    # do something before suspending
    ;;
    suspend_hybrid)
    # do something before suspending (hybrid)
    ;;
    hibernate)
    # do something before hibernate
    ;;
    thaw)
    # do something after thaw (resume from hibernate)
    ;;
    resume)
    # do something after resuming (resume from suspend)
    ;;
  esac

So, if as we know, we can join suspend, suspend_hybrid and hibernate, as our problem occurs on each of those three cases, as someting like

  case $1 in
    suspend|suspend_hybrid|hibernate)

And the same with thaw and resume

  case $1 in
    thaw|resume)
Finally, we know that when going to virtual terminal 1 before suspending, and going back to virtual terminal 8 fix up our bug, so let's use the chvt (for help, man chvt) to do that task on each case, so, on suspend/hibernate stuff, chvt 1, on resume/thaw stuff, chvt 8.
  The final script is the following:

#!/bin/sh

case $1 in

  suspend|suspend_hybrid|hibernate)
  /bin/chvt 1
  ;;

  thaw|resume)
  /bin/chvt 8
  ;;

esac

That fix up the bug. Save that file something like /etc/pm/sleep.d/2_fixvirtualterminal and set it as executable (chmod +x /etc/pm/sleep.d/2_fixvirtualterminal).

That's all

And if you wish to download the script, i've put it here: https://docs.google.com/file/d/0BxouXXdo-U-kdlF6b3ZEVDVIQWc/edit

Note: I've tested this successfully on Ubuntu, so this doesn't seems to be a Mint-only issue.