valeta.org

August 02, 2010

douglas' livejournal

Receptor USB Tevii S660

Por: Raimundo Eduvirgens Oliveira

Estou feliz em dizer a todos os interessados no assunto, que temos mais um excelente dispositivo funcionando perfeitamente no linux. É o receptor USB TeVii S660. Comprei no ML, liguei na parabólica normal de 2,40m apontada para o Satélite C2 (antigo B1) e sintonizei tantos os canais da Banda C quanto os da Banda Ku. Consegui usá-lo tanto no VLC quanto no Mythtv. A qualidade da imagem é ótima. Pra isso eu fiz o seguinte:


1 – Peguei o driver pra Linux no site da Tevii: www. tevii.com descompactei o arquivo 100315_Beta_linux_tevii_ds3000.rar e segui os passos do arquivo readme como root, usando o comando “sudo su”. Eu testei ele no Ubuntu, nas versões 9.04, 9.10, e 10.04. Funcionou legal em todas.


2 – No VLC, no menu Midia eu abrir o dispositivo de captura e escolhi o modo de captura DVB, mantive o tipo DVB-S e simplesmente coloquei a frequência e a taxa de simbolo do canal desejado. Ex.: pra pegar a repetidora do SBT de Minas eu coloquei a frequência 11526000 e a Taxa de Símbolos do Transponder 4444000. É bom testar vários canais. As frequências e Taxa de Símbolos estão relacionadas no site www.lyngsat.com.


O Mythtv


No Mythtv é um pouco mais complicado porque tem mais recursos. Pra quem não conhece, o Mythtv permite você assistir a TV, dar pause, retrocesso e avanço, tudo isso ao mesmo tempo que tá gravando, você pode também programar uma gravação futura. Apartir de qualquer micro ligado em sua rede, você pode assistir a TV capturada no computador onde está instalada o dispositivo capturador, como também assistir os vídeos gravados e arquivados nesse computador principal. Esses são os principais recursos do Mythtv, mas ele pode fazer muito mais. Para saber de todos os recursos é bom dar uma olhada no site www.mythtv.org.

O Mythtv é composto por dois programas: o primeiro monta o servidor que é chamado de Backend Master e o segundo faz o cliente. Claro que os dois podem ser instalados no mesmo computador ou em computadores diferentes.

Eu, na verdade, sou um usuário novato do Mythtv e não sei usar nem um terço de seus recursos, mas o principal eu já consegui. Configurei o dispositivo Tevii S660 no computador principal (master backend) e posso assistir os canais sintonizados, tanto nesse computador quanto nos outros de minha rede, inclusive no Notebook conectado via wireless.

O Mythtv suporta mais de um dispositivo capturador, por isso eu também uso uma Pixelview Mpeg2 instalada no mesmo micro.

Depois de instalado o driver do Tevii S660 é só entrar no Mythtv Backend adicionar o dispositivo capturador, adicionar uma ou mais fontes de vídeo (vídeo sources), adicionar uma ou mais conecções (input conections) e então sintonizar os canais. Como o dispositivo é capaz de sintonizar tanto na Banda C quanto na Banda Ku, então eu adicionei duas fontes de vídeo e dois inputs também, respectivamente para as duas Bandas C e Ku. Para sintonizar os canais eu fui colocando a frequência e o Symbol Rate de cada canal e manda o programa localizar e fixar o a frequência. Depois, é só fechar o Mythtv Backend, ele vai pedir pra abrir o Database pra gravar as alterações e se tudo estiver ok, já podemos abrir o Mythtv Frontend e assistir a TV, gravar, dar pause, etc.

E isso é tudo. Como eu já disse, não expert no Mythtv nem no Ubuntu, mas se alguém quiser alguma dica e se estiver ao meu alcance, é só postar o comentário. Abraço a todos e obrigado a Douglas pelo espaço concedido.

August 02, 2010 12:33 PM

July 30, 2010

aris' advogato

30 Jul 2010

decided to give github a try today. awesome service so far.

July 30, 2010 03:08 AM

July 28, 2010

douglas' livejournal

Linux: opening .xz with tar tool

http://www.gnu.org/software/tar/#downloading
Version support: 1.22

Changelog:

* Support for xz compression (--xz option)
* Short option -J is reassigned as a shortcut for --xz
* The option -I is a shortcut for --use-compress-program
* The --no-recursive option works with --incremental

July 28, 2010 02:01 PM

July 07, 2010

douglas' livejournal

xen - live migration

Requirements:

- 2 Machines
- 1 NFS Server (can be one of the above machines but better if this is a separate machine)

Step by step:

Host 1:
-------------

1.1) backup your current xend-config.sxp
# cp /etc/xen/xend-config.sxp /etc/xen/xend-config.sxp.bkp-DATE-HERE

1.2) Edit settings
# vi /etc/xen/xend-config.sxp

(xend-unix-server yes)
(xend-relocation-server yes)
(xend-relocation-port 8002)
(xend-relocation-address '')
(xend-relocation-host-allow '')
# (xend-relocation-hosts-allow '^localhost$ ^localhost\\.localdomain$')

1.3) Restart the service
# service xend restart

1.4 Setting NFS (host 1 for example)
# ln /var/lib/xen/images /xen
# vi /etc/exports
/xen *(rw,sync,no_root_squash)
# service nfs start
# chkconfig nfs on

1.5 Start xen guest from Host 1
- From virt-manager or xm

Host 2:
-------------

1.6) Mount the NFS from host 1
# mkdir /xen
# mount -t nfs host1:/xen /xen


Finally, from Host 1 start the live migration:
# xm migrate -live Virtual_Machine host2

You will note that on virt-manager or xm list will show the new virtual
machine. To connect use virt-manager or xm connect.

July 07, 2010 07:59 PM

June 30, 2010

douglas' livejournal

xen - installing paravirt virtual machine (nfs)

On xen host:
---------------

1) Mount your favorite distro as loop

# mount -o loop LinuxDistro.iso /distro

2) Export the directory as NFS

# vi /etc/exports
/distro 192.168.1.0/24(ro,sync)                192.168.122.0/24(ro,sync)
                     |                                                                 |
              local network (virt-install)            Virtual Machines network (Distro Installer)

3) Start nfs service

# service nfs start

4) Install your distro via NFS

# virt-install --paravirt --name LinuxDistro --ram 512 --nographics --os-type=linux
--disk path=/var/lib/libvirt/images/LinuxDistro.img,size=10 --location
nfs:192.168.1.103:/distro

5) To connect to this Domain (if rebooted)
  xm console Domain
  (to exit) CTRL ]

June 30, 2010 11:23 PM

April 06, 2010

aris' multiply

and then... the great hatred

after spending some years asking why someone would have that, I caught myself doing the
same. it could be by osmosis. it could be genetic. it could be simply growing. or in other words:
facing reality. realizing that you're just a biological puppet that believes having "free will" is not
nice. even worse if you like your brain more than everything else. after years of observing people
forget about ethics, pride and being total prostitutes just to get something. after years of people
talking to you indirectly in a petty try of manipulate you to do what they want. after years
believing people don't want to be evil, they just want something. after all that, comes to a point
that I by default despise everything unless proved worth. I don't hate because it's too much work
and nobody is worth it, unless proved otherwise.

April 06, 2010 11:57 PM

March 26, 2010

douglas' livejournal

thunderbird - inline patch (kernel)

Installing thunderbird (Fedora)


# yum install thunderbird -y

Downloading Thunderbird plugin to edit emails with external editors


http://globs.org/articles.php?lng=en&pg=2
Download the .xpi file

Installing exteditor xpi


- Thunderbird -> Tools -> Add-ons -> Plugins -> Install (select .xpi file)
- Restart Thunderbird

Setting external editor


- Thunderbird -> Tools -> Add-ons -> Extensions -> External Editor -> Preferences
- Text Editor: gedit

Then add a button for it using:
-> Click on Write (to write a new email)
-> View -> Toolbars-> Customize and finally just click on `External Editor` and dragging it
to compose dialog.

uncheck "Compose messages in HTML format"


- Configure your mail server composition as plain text
- Thunderbird -> Edit -> Account Settings -> Composition & Addressing
-> uncheck 'Compose Messages in HTML'.

Edit your Thunderbird config settings to tell it not to wrap lines and won't use format=flowed


- Thunderbird -> Edit -> Preferences -> Advanced -> Config Editor
- mailnews.wraplength should contain 0 as value
- mailnews.send_plaintext_flowed should contain false as value

Writing email with a inline patch



- Thunderbird -> Write (to compose)
-> Click External Editor then you will see the bellow template:

Subject: [PATH] file: description
To: mailing@list.com
Cc:
Bcc:
-=-=-=-=-=-=-=-=-=# Don't remove this line #=-=-=-=-=-=-=-=-=-
copy and paste your patch here (from other gedit window)

- Click Save and close the window; then you will see your compose window with a inline patch

If this doesn`t work?



- I got a issue from thunderbird plugin which I had to to click (two or three times) in external editor button and close the `gedit/gvim/kate` window until it recognize the template.

This tutorial was created using thunderbird 3.0.3 and External Editor Version 0.8.0

References:


Documentation/email-clients.txt
http://repo.or.cz/w/git.git?a=blob;f=Documentation/SubmittingPatches;hb=HEAD
http://globs.org/articles.php?lng=en&pg=2

March 26, 2010 04:36 PM

March 02, 2010

barbanegra's journal

‰ž­(¦¦Ê'±¬¬²‰ž¶§‚‰í…äÕ

Dude! It's been a while since I last shown signals that I'm alive!
Obviously so many things have happened in my life since my last post that there's just no way to summarize all important stuff at this point! :-)
I'll see if I can find a way to have Twitter feed LiveJournal.. but not right now :-)

March 02, 2010 04:05 AM

February 22, 2010

douglas' livejournal

parse-usbsnoop - parse for usbsnoop (usb sniffer) logs

Version: 0.0.1

Description:
This is a quick hack to parse logs from the usbsnoop (usb sniffer)

Settings:
If needed to process a huge log maybe is needed to increase
the php settings.

$ vi /etc/php.ini
memory_limit = xxM

Usage:
$ php ./parse-usbsnoop ./log-usbsnoop.txt > output.txt

Example:
009279: 002309 ms 126080 ms c0 0e a0 00 00 00 01 00 <<< 00
009280: 000007 ms 126087 ms c0 10 a0 00 00 00 01 00 <<< 00
009281: 000005 ms 126092 ms 40 0e a0 00 00 00 01 00 >>> 99
009282: 000107 ms 126199 ms c0 0e a0 00 01 00 01 00 <<< 99
009283: 000015 ms 126214 ms c0 0e a0 00 10 00 01 00 <<< 99

http://cathedrallabs.org/~landgraf/linux-media/parse-usbsnoop/parse-usbsnoop-0.0.1

February 22, 2010 02:42 PM

February 20, 2010

douglas' livejournal

vim + python + autocomplete

Pydiction allows you to Tab-complete Python code in Vim, including: standard, custom and third-party modules and packages. Plus keywords, built-ins, and string literals.

1) Download Pydiction 1.2: http://www.vim.org/scripts/download_script.php?src_id=11062

2) Create dirs

$ mkdir -p ~/.vim/after/pydiction
$ mkdir -p ~/.vim/after/ftplugin

3) Copy files

$ unzip pydiction-1.2.zip
$ cd pydiction-1.2
$ mv python_pydiction.vim ~/.vim/after/ftplugin/
$ mv complete-dict pydiction.py README.txt ~/.vim/after/pydiction/

4) Add data to .vimrc

$ vim ~/.vimrc
" pydiction
filetype plugin on
let g:pydiction_location = '~/.vim/after/pydiction/complete-dict'
let g:pydiction_menu_height = 15

5) Test

Restart vim and type: print and Press TAB

#!/usr/bin/env python
print

References:
http://www.vim.org/scripts/script.php?script_id=850
http://quilobyte.blogspot.com/2009/10/vim-e-python-autocompletar.html

February 20, 2010 08:59 PM

February 17, 2010

douglas' livejournal

ipod + linux

gtkpod - www.gtkpod.org

Fedora:

yum install gtkpod -y

$ gtkpod

February 17, 2010 10:38 PM

February 15, 2010

douglas' livejournal

Vono: Can't connect to login server + pap2t

Setar Outbound Proxy:
200.146.79.165:1571

Manual de cofiguração completo em:
http://www.falevono.com.br/_download/manual_PAP2T-NA.pdf

February 15, 2010 05:15 PM

February 14, 2010

douglas' livejournal

Cães foram enterrados vivos em Joinville, confirma laudo

Isso é Brasil...

http://www.clicrbs.com.br/diariocatarinense/jsp/default.jsp?uf=2&local=18&section=Geral&newsID=a2806488.xml

February 14, 2010 09:37 PM

February 10, 2010

douglas' livejournal

PassSync failed to start. Verify that you have sufficient privileges to start system services

Solution:

Copy the dll msvcr71.dll to C:\Windows\System32 directory and retry the install operation. Dll usually available in C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\msvcr71.dll

February 10, 2010 07:02 PM

January 17, 2010

douglas' livejournal

Havaianas welcomes Winter

Amazing video...

January 17, 2010 03:51 PM

January 16, 2010

douglas' livejournal

Saturday... rotfl :)

roftl http://www.rofl.name/f/game_roflcopter

January 16, 2010 05:55 PM

(dica rapida) pushd / popd - Alternando de diretorios rapidamente....

Para trocar alternar de diretorios rapidamente eu recomendo a utilizacao do comando pushd

Neste rapido exemplo, irei adicionar somente dois diretorios, mas podemos adicionar qnts quisermos.

$ [dougsland@medogz ~]$ pushd /tmp/
/tmp ~
$ [dougsland@medogz tmp]$

Certo, adicionamos o diretorio /tmp e agora vamos adicionar o diretorio /var

$ [dougsland@medogz ~]$ pushd /var/
/var /tmp ~

$ [dougsland@medogz var]$

Agora para ficar alternando entre os diretorios e' so' digitar pushd

[dougsland@medogz var]$ pushd
/tmp /var ~
[dougsland@medogz tmp]$ pushd
/var /tmp ~
[dougsland@medogz var]$

Para listar os diretorios que estao na lista?
[dougsland@medogz var]$ dirs
/var /tmp ~

Para remover da lista?
[dougsland@medogz var]$ popd
/tmp ~

January 16, 2010 12:29 AM

Do not access ldap to local users

/etc/nsswitch.conf

passwd: files ldap
shadow: files
group: files

January 16, 2010 12:15 AM

January 15, 2010

douglas' livejournal

How to control (long) delays to do a local login when a LDAP server is down?

Add these lines to /etc/ldap.conf

nss_reconnect_maxconntries 1
nss_reconnect_tries 3
nss_reconnect_sleeptime 1
nss_reconnect_maxsleeptime 1

------------------------------

nss_reconnect_maxconntries - This is the maximum number of reconnection tries.

nss_reconnect_tries - Number of times a reconnection attempt will be made before gives up.

nss_reconnect_sleeptime - Minimum amount of time the code will sleep between reconnection attempts. (seconds)

nss_reconnect_maxsleeptime - Maximum amount of time the code should sleep between reconnection attempts.


Recommended read: http://backdrift.org/how-to-get-pam-ldap-local-logins-to-work-when-networking-is-down

January 15, 2010 10:31 PM

libvirt: How to enable logs?

vi /etc/libvirt/libvirtd.conf

Add these lines (or just uncomment):
-----------------------------------------------

# Logging level: 0 none, 4 errors, 3 warnings, 2 informations, 1 debug
# basically 1 will log everything possible
log_level = 4

To show logs through a file (/var/log/libvirt/libvirtd.log)
---------------------------------------------------------------

# Logging outputs:
# An output is one of the places to save logging informations
# The format for an output can be:
# x:stderr
# output goes to stderr
# x:syslog:name
# use syslog for the output and use the given name as the ident
# x:file:file_path
# output to a file, with the given filepath
# In all case the x prefix is the minimal level, acting as a filter
# 0: everything
# 1: DEBUG
# 2: INFO
# 3: WARNING
# 4: ERROR
#
# Multiple output can be defined , they just need to be separated by spaces.
# e.g.:
log_outputs="1:file:/var/log/libvirt/libvirtd.log"


For filters use:
-----------------------

# Logging filters:
# A filter allows to select a different logging level for a given category
# of logs
# The format for a filter is:
# x:name
# where name is a match string e.g. remote or qemu
# the x prefix is the minimal level where matching messages should be logged
# 1: DEBUG
# 2: INFO
# 3: WARNING
# 4: ERROR
#
# Multiple filter can be defined in a single @filters, they just need to be
# separated by spaces.
#
# e.g:
# log_filters="3:remote 4:event"
# to only get warning or errors from the remote layer and only errors from
# the event layer.


To finish, just restart libvirt:

$ /etc/init.d/libvirtd restart

References: http://libvirt.org/logging.html

January 15, 2010 01:29 PM

January 14, 2010

douglas' livejournal

virsh connecting to (kvm) localhost + ssh + tls

Connect to localhost:
virsh -c qemu:///system

Connect through tls:
virsh -c qemu+tls://your_host/system list --all ( NOTE: just two // )

Connect through ssh:
virsh -c qemu+ssh://user@your_host/system list --all ( NOTE: just two // )

Additional info:
http://libvirt.org/remote.html#Remote_transports
http://libvirt.org/remote.html#Remote_URI_reference

January 14, 2010 06:06 PM

libvirt + tls - The peer did not send any certificate.

Client trying to connect:
virsh -c qemu+tls://your_host/system list --all
( NOTE: just two // )

Server's report:
The peer did not send any certificate.
remote_internal: failed to verify peer's certificate

Solution:
Recreate the certificates (attention to CN field, which should include the host of server and client)
Additional info: http://libvirt.org/remote.html

January 14, 2010 06:01 PM

Linux - Fedora 12: Webcam Microsoft LifeCam VX-1000 + skype 2.0

Webcam Microsoft VX-1000



lsusb:


shell> lsusb
045e:00f7 Microsoft Corp. LifeCam VX-1000

Dmesg:


shell> dmesg
gspca: probing 045e:00f7
sonixj: Sonix chip id: 11
gspca: probe ok
gspca: probing 045e:00f7
microsoft vx-1000

1) Installing softwares:


shell> sudo yum install libv4l skype -y

What's libv4l?

libv4l is a collection of libraries which adds a thin abstraction layer on
top of video4linux2 devices. The purpose of this (thin) layer is to make it
easy for application writers to support a wide variety of devices without
having to write seperate code for different devices in the same class.

2) Creating a new executable:



shell> sudo vi /usr/local/bin/webcamSkype

Add these 2 lines below:

#!/bin/bash
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

What's v4l1compat.so?

v4l1compat.so is a wrapper of libv4l which adds v4l2 device compatibility to v4l1
applications (like skype).

3) Setting permissions:



shell> sudo chown your_linux_login:your_linux_login /usr/local/bin/webcamSkype
shell> sudo chmod u+x /usr/local/bin/webcamSkype

Starting application:



Now you can just call webcamSkype from shell or create a launcher from your desktop.

i.e:

shell> webcamSkype

January 14, 2010 01:32 PM

January 13, 2010

douglas' livejournal

Linux - Fedora 12: Webcam Microsoft LifeCam VX-500

Linux - Fedora 12: Webam Microsoft LifeCam VX-500



lsusb:


shell> lsusb
045e:074a Microsoft Corp.

Dmesg:


shell> dmesg
uvcvideo: Found UVC 1.00 device Microsoft LifeCam (045e:074a)
input: Microsoft LifeCam as /devices/pci0000:00/0000:00:1d.7/usb2/2-3/2-3:1.0/input/input8

shell> skype

January 13, 2010 03:21 AM

Linux - Fedora 12: Webam Logitech Quickcam + skype 2.0

Linux - Fedora 12: Webam Logitech Quickcam



lsusb:


shell> lsusb
046d:08ae Logitech, Inc. QuickCam for Notebooks

Dmesg:


shell> dmesg
gspca: probing 046d:08ae
zc3xx: probe sensor -> 000e
zc3xx: Find Sensor PAS202B
gspca: probe ok
gspca: probing 046d:08ae

1) Installing softwares:


shell> sudo yum install libv4l -y

What's libv4l?

libv4l is a collection of libraries which adds a thin abstraction layer on
top of video4linux2 devices. The purpose of this (thin) layer is to make it
easy for application writers to support a wide variety of devices without
having to write seperate code for different devices in the same class.

2) Creating a new executable:



shell> sudo vi /usr/local/bin/webcamSkype

Add these 2 lines below:

#!/bin/bash
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

What's v4l1compat.so?

v4l1compat.so is a wrapper of libv4l which adds v4l2 device compatibility to v4l1
applications (like skype).

3) Setting permissions:



shell> sudo chown your_linux_login:your_linux_login /usr/local/bin/webcamSkype
shell> sudo chmod u+x /usr/local/bin/webcamSkype

Starting application:



Now you can just call webcamSkype from shell or create a launcher from your desktop.

i.e:

shell> webcamSkype

January 13, 2010 02:52 AM

January 12, 2010

douglas' livejournal

Linux: Fedora 12 - Creative WebCam Go + skype 2.0

Creative Webcam Go



lsusb:


shell> lsusb
05a9:0511 OmniVision Technologies, Inc. OV511 Webcam

Dmesg:


shell> dmesg
gspca: probing 05a9:0511
ov519: Device custom id 15
ov519: Uploading quantization tables
ov519: I2C synced in 0 attempt(s)
ov519: starting OV7xx0 configuration
ov519: Sensor is an OV7610
gspca: video0 created

1) Installing softwares:


shell> sudo yum install libv4l -y

What's libv4l?

libv4l is a collection of libraries which adds a thin abstraction layer on
top of video4linux2 devices. The purpose of this (thin) layer is to make it
easy for application writers to support a wide variety of devices without
having to write seperate code for different devices in the same class.

2) Creating a new executable:



shell> sudo vi /usr/local/bin/webcamSkype

Add these 2 lines below:

#!/bin/bash
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

What's v4l1compat.so?

v4l1compat.so is a wrapper of libv4l which adds v4l2 device compatibility to v4l1
applications (like skype).

3) Setting permissions:



shell> sudo chown your_linux_login:your_linux_login /usr/local/bin/webcamSkype
shell> sudo chmod u+x /usr/local/bin/webcamSkype

Starting application:



Now you can just call webcamSkype from shell or create a launcher from your desktop.

i.e:

shell> webcamSkype

January 12, 2010 02:41 PM

December 31, 2009

douglas' livejournal

Linux: Modem 3G Claro - ZTE MF626 + Fedora

1) yum install usb_modeswitch wvdial -y

2) vi /etc/usb_modeswitch.conf

Remover o '#' das seguintes linhas:
###############################
# ZTE MF628+ (tested version from Telia / Sweden)
# ZTE MF626
# ZTE MF633
# ZTE MF636 (aka "Telstra / BigPond 7.2 Mobile Card")
#
# Contributor: Joakim Wennergren

DefaultVendor= 0x19d2
DefaultProduct= 0x2000

TargetVendor= 0x19d2
TargetProduct= 0x0031

# only for reference and 0.x versions
MessageEndpoint=0x01

MessageContent="55534243123456782000000080000c85010101180101010101000000000000"

# if that command doesn't work, try the other ("eject")
MessageContent="5553424312345678000000000000061b000000030000000000000000000000"

3) vi /etc/wvdial.conf

[Dialer Defaults]
Auto DNS = on
Init1 = ATX3
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","claro.com.br"
Stupid Mode = 1
New PPPD = yes
Modem Type = Analog Modem
ISDN = off
Phone = *99***1#
Modem = /dev/ttyUSB3
Username = claro
Password = claro
Baud = 460800

4) Executar

# usb_modeswitch
# wvdial

5) /etc/resolv.conf
nameserver 200.169.116.23
nameserver 200.169.117.252

December 31, 2009 01:54 PM

December 14, 2009

douglas' livejournal

Videos from Japan Linux Symposium

Videos from Japan Linux Symposium:
http://video.linuxfoundation.org/categories/conferences-symposiums/2009-japan-linux-symposium

December 14, 2009 10:09 PM

December 09, 2009

douglas' livejournal

Video: Japan Linux Symposium: IO Controller State of the Art

Japan Linux Symposium: IO Controller State of the Art by Munehiro Ikeda

December 09, 2009 03:07 AM

December 08, 2009

douglas' livejournal

Video - JLS: Measuring Function Duration with Ftrace

Japan Linux Symposium: Measuring Function Duration with Ftrace by Tim Bird

December 08, 2009 09:53 AM

Video: JLS - Flight Recorder: A Solution for Investigating Linux Kernel Accidents

Japan Linux Symposium: Flight Recorder: A Solution for Investigating Linux Kernel Accidents by Zhao Lei and Lai Jiangshain KOSAKI Motohiro.

December 08, 2009 09:51 AM

December 04, 2009

douglas' livejournal

Video: JLS - The KVM qemu storage stack

Japan Linux Symposium - The KVM qemu storage stack by Christoph Hellwig

December 04, 2009 11:53 PM

Video: Write and Submit your first Linux Kernel Patch

Japan Linux Symposium: Write and Submit your first Linux Kernel Patch by Greg Kroah Hartman

December 04, 2009 11:50 PM

December 03, 2009

douglas' livejournal

Linux - Fedora 12: How to install Cinelerra

1) rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms

2) vi /etc/yum.conf
[atrpms]
name=Fedora Core $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/f$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1

3) yum install cinelerra -y

4) cinelerra

December 03, 2009 11:44 PM

November 12, 2009

douglas' livejournal

Easter Egg: OpenOffice Calc + StarWars Game

click on any cell and enter =Game("StarWars") into the cell.

Others:
---------------
http://wiki.services.openoffice.org/wiki/Easter_Eggs

November 12, 2009 10:49 PM

November 06, 2009

douglas' livejournal

Linux: Convert ebooks to Kindle 1 or 2

Software: Calibre
URL: http://calibre.kovidgoyal.net/download_linux

Tested on: Fedora 11

November 06, 2009 06:58 AM

September 22, 2009

douglas' livejournal

Linux: Booting your machine over HTTP

http://boot.kernel.org/

September 22, 2009 12:03 AM

September 20, 2009

douglas' livejournal

kvm: atkbd.c: Unknown key pressed (translated set 2, code 0xa0 on isa0060/serio0)

atkbd.c: Unknown key pressed (translated set 2, code 0xa0 on isa0060/serio0).
atkbd.c: Use 'setkeycodes 00 ' to make it known.

See -> KVM and Keycodes

September 20, 2009 09:10 PM

Linux e o Sistema Brasileiro de TV Digital

Com a recém inclusão do driver da Dibcom que suporta SBTVD na árvore do Video4Linux e após uma longa manhã/tarde de conversas, discussões e testes com Mauro Chehab e Alan Carvalho de Assis, agora posso confirmar que já temos um driver estável no Linux.



Qual foi o dispositivo testado?

PixelView PlayTV USB SBTVD







dmesg e lsusb



usb 1-4: new high speed USB device using ehci_hcd and address 29
usb 1-4: New USB device found, idVendor=1554, idProduct=5010
usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-4: Product: STK807X
usb 1-4: Manufacturer: DiBcom
usb 1-4: SerialNumber: 016
usb 1-4: configuration #1 chosen from 1 choice
dvb-usb: found a 'Prolink Pixelview SBTVD' in cold state, will try to load a firmware
usb 1-4: firmware: requesting dvb-usb-dib0700-1.20.fw
dvb-usb: downloading firmware from file 'dvb-usb-dib0700-1.20.fw'
dib0700: firmware started successfully.
dvb-usb: found a 'Prolink Pixelview SBTVD' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (Prolink Pixelview SBTVD)
DVB: registering adapter 0 frontend 0 (DiBcom 8000 ISDB-T)...
DiB0070: successfully identified
input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:1a.7/usb1/1-4/input/input38
dvb-usb: schedule remote query interval to 50 msecs.
dvb-usb: Prolink Pixelview SBTVD successfully initialized and connected.

$ lsusb Bus 001 Device 030: ID 1554:5010 Prolink Microsystems Corp.

Em quais locais já sabemos que funciona?



* São Paulo
* Minas Gerais
* Porto Alegre
* Rio de Janeiro

Precisa de cabo ou o sinal é aberto?


Sinal é aberto. Você pega os canais de acordo com o que tem disponível na sua região.
Em Porto Alegre (Setembro, 20 de 2009) só tem disponível o canal Globo.

Instalando driver e aplicativos



Baixando drivers atuais:

* Remova o dispositivo da USB caso esteja plugado.

$ hg clone http://www.linuxtv.org/hg/v4l-dvb
$ cd v4l-dvb
$ make
$ sudo make rmmod
$ sudo make install

- Instalando firmware

wget http://www.wi-bw.tfh-wildau.de/~pboettch/home/files/dvb-usb-dib0700-1.20.fw
cp dvb-usb-dib0700-1.20.fw /lib/firmware

* Plugue o dispositivo

Baixando ferramentas:

$ hg clone http://linuxtv.org/hg/dvb-apps $ cd dvb-apps
$ make
$ sudo make install

Configurando..



1) Crie o arquivo ch_freq.conf que irá conter a frequência dos canais.

$ vi ch_freq.conf
# UHF channels 14 to 69
T 473142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 14
T 479142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 15
T 485142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 16
T 491142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 17
T 497142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 18
T 503142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 19
T 509142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 20
T 515142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 21
T 521142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 22
T 527142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 23
T 533142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 24
T 539142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 25
T 545142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 26
T 551142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 27
T 557142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 28
T 563142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 29
T 569142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 30
T 575142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 31
T 581142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 32
T 587142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 33
T 593142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 34
T 599142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 35
T 605142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 36
# channel 37 not used
T 617142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 38
T 623142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 39
T 629142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 40
T 635142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 41
T 641142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 42
T 647142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 43
T 653142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 44
T 659142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 45
T 665142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 46
T 671142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 47
T 677142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 48
T 683142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 49
T 689142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 50
T 695142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 51
T 701142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 52
T 707142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 53
T 713142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 54
T 719142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 55
T 725142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 56
T 731142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 57
T 737142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 58
T 743142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 59
T 749142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 60
T 755142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 61
T 761142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 62
T 767142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 63
T 773142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 64
T 779142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 65
T 785142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 66
T 791142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 67
T 797142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 68
T 803142857 6MHz 3/4 AUTO AUTO AUTO AUTO NONE # channel 69

2) Faça o scan p/ verificar quais canais estão disponíveis em sua área:

$ scan ch_freq.conf > channels.conf

O arquivo channels.conf irá armazenar os canais encontrados:

Exemplo de canais encontrados em Porto Alegre:

RBS TV HD:593142857:INVERSION_AUTO:BANDWIDTH_6_MHZ:FEC_3_4:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_NONE:0:0:51648
RBS TV 1seg:593142857:INVERSION_AUTO:BANDWIDTH_6_MHZ:FEC_3_4:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_NONE:0:0:51672

Instalando/Configurando o player VLC



$ yum install vlc -y (Fedora)



* Adicione channels.conf no seu playlist:




Finalmente click em play




E se não funcionar?



1) Veja se a antena está bem localizada e recebendo sinal
2) Existe um *pequeno* delay p/ o sinal estar disponível e o vlc encontra o canal
3) Verifique o dmesg p/ possíveis erros
4) VLC e Mplayer apresentaram problemas em certas resoluções e certos tipos de codicação de áudio
5) Em último caso envie um email p/ lista dos desenvolvedores do projeto LinuxTV (em inglês) informando seu problema com a saída do dmesg e lsusb.

Onde eu comprei minha placa?


http://www.digimer.com.br/handler.php?module=site&action=view#produto:7280

Qual é a situação dos outros dispositivos de TV Digital no Linux?


Ainda precisam de testes e provavelmente alterações de código.

Qual foi a distribuição testada?


Fedora 11 x86 + vlc (repositório atrpm)
Kernel: 2.6.29.5-191.fc11.i686.PAE #1 SMP

September 20, 2009 08:12 PM

September 16, 2009

douglas' livejournal

Riscando texto em html..

<strike> Texto </strike>

Ref.:
http://www.w3schools.com/tags/tag_strike.asp

Thanks Leo!

September 16, 2009 10:07 PM

September 11, 2009

douglas' livejournal

Vono + pap2t: Telefone sem fio tem linha mas não toca....

-> Vá até a página de configuração (Digite no telefone ****110# -> Digite o IP no browser)
-> Selecione a aba Regional (Modo de visualização: Advanced view + Admin login)
-> Selecione a opção Ring Waveform -> Trapezoid

Telefone sem fio utilizado: Siemens C6015

September 11, 2009 08:36 PM

September 04, 2009

douglas' livejournal

Let's Do It Estonia - Legendado em Português

September 04, 2009 03:27 PM

August 28, 2009

douglas' livejournal

TcheLinux e Livraria Cultura: Google Android

Neste domingo, dia 30 de Agosto de 2009, o grupo de usuários Tchelinux estará promovendo uma palestra sobre o Android na Livraria Cultura. O valor do ingresso são DOIS quilos de alimentos não perecíveis que serão doados (não é obrigado, mas por que não ajudar?). O horário da palestra, que é praticamente um mini curso, será das 15 às 18h no auditório da Livraria Cultura, situada no Bourbom Country.


Maiores informações em http://www.tchelinux.org/2009/cultura


Aqui: a chamada oficial

August 28, 2009 03:13 AM

August 24, 2009

douglas' livejournal

Video: Did you know?

August 24, 2009 12:37 PM

August 21, 2009

douglas' livejournal

Linux: flv2ogg flv2ogv

ffmpeg -i video.flv -acodec vorbis -ac 2 -vcodec libtheora -f ogg video.ogg

August 21, 2009 04:50 PM

August 20, 2009

douglas' livejournal

Fedora Directory Server - admserv_host_ip_check: ap_get_remote_host could not resolve

[notice] [client 127.0.0.1] admserv_host_ip_check: ap_get_remote_host could not resolve 127.0.0.1

How to solve?


Set up DNS / DNS reverse to IP address; in this case 127.0.0.1 or change nsAdminAccessAddresses and nsAdminAccessHosts attributes.

For more info about nsAdminAccessAddresses and nsAdminAccessHosts:

How to set the hosts/IP addresses allowed to access the Admin Server
http://directory.fedoraproject.org/wiki/Howto:AdminServerLDAPMgmt

August 20, 2009 10:35 PM

Vídeo - Não abandone seu animal de estimação

Este vídeo deveria ser colocado no horário nobre nos canais de televisão.

Link original: http://tvuol.uol.com.br/#view/id=nao-abandone-seu-animal-de-estimacao-04023868D8A10366/user=a380psmhs0jk/date=2009-08-18&&list/type=tags/tags=727/edFilter=all/

August 20, 2009 08:57 PM

August 14, 2009

douglas' livejournal

scp - resume

rsync -av --progress --inplace --rsh='ssh' file username@host.com:

Works!

August 14, 2009 06:14 PM

August 10, 2009

douglas' livejournal

Vídeo Tchelinux 2009 - FISL 10 - Realidade Aumentada

Novo vídeo disponível no site http://videos.tchelinux.org
Palestra: Demonstração sobre Realidade Aumentada
Palestrante: Alessandro Faria - a.k.a Cabelo :)
Data: 25/06/2009

August 10, 2009 09:25 PM

Vídeo - Tchelinux 2009 - Caxias do Sul - Entendendo o SELinux - Security Enhanced Linux

Novo vídeo disponível no site http://videos.tchelinux.org
Palestra: Entendendo o SELinux - Security Enhanced Linux
Palestrante: Jerônimo Zucco
Data: 13/06/2009

August 10, 2009 12:35 AM

Vídeo Tchelinux 2009 - Caxias do Sul - XEN em produção

Novo vídeo disponível no site http://videos.tchelinux.org
Palestra: XEN em produção
Palestrante: José Marcos Formiga
Data: 13/06/2009

August 10, 2009 12:29 AM

August 04, 2009

douglas' livejournal

Linux: PCI radio donation

Hello,

I would like to give my many thanks to Jordi Sayol for his donation of an radio Guillemot Maxi Radio FM 2000 PCI radio card device to me.

I am really happy to receive this device, thank you Jordi Sayol!

Also, it's working like a charm on Linux!

Cheers,
Douglas

August 04, 2009 12:50 AM

July 29, 2009

faw's advogato

29 Jul 2009

Debian

Redesigning Communication
Comments about the ideas of a better "looking"

It seems to be a "hot topic" week for Debian, yesterday the announcement of Time Based Freeze Cycles and today the proposal to redesign some parts of Debian. No matter how orthogonal those topics are, communication seems to be needing real improvements inside Debian Project, but I will leave this item for later (and I mean communications amongst teams and developers, nothing related to the Press Team).

First of all, let me state this perfectly clear: I believe Agnieszka (pixelgirl) did an incredible job with her redesign proposal. As a concept. (Or proof of concept). That's why I share some of Rhonda's concerns.

I don't think anybody disagrees that several parts of the Debian project urges improvements in the design field, some of them requires a total redesign, that doesn't mean we need a new logo. It is curious to see how some things happen in a strange related fashion, no matter if you believe in $DEITY (superior power or destiny), life has its ways. Early this week, the new logo of Pepsi was announced and some comparison images were created to show the evolution of Pepsi and Coca-Cola logos. It's possible to find quite a few articles commenting about the new logo, about brand, market share and strangely related to a "new logo proposal".

Yes, I like Debian's logo, it has a strong recognition, I don't think we need to change it and I don't have reasons to believe we need a new one.

The Swirl can be applied vertically and horizontally, it can also be applied alone without the "debian" text and for those wondered about the details of our logo and font, a quick (re)search would review the DebianLogo wiki page, with a lot of details.

That being said, the art work concept is indeed an important first step, but it is certainly not the only one. As I said, life has its ways, yesterday, Rhonda mentioned the amazing work of Kalle Söderman, who has looking for the Debian's Global Picture since 2007 and who did move to the step after the mockups having real instances implemented maintaining part of Debian WWW Team informed and working on feedback and smooth integration.

No matter what people said (or will say), CSS can't do all the magic.

Kalle deserves a big Thank You for his work and, IMNSHO, should be the first option to be considered in a merge (that's why you shouldn't resign Rhonda, you got quite some work to do to get it integrated).

The point, is that Kalle is not alone. There are a lot of people behind Debian Art and it would be great to see a joint effort from all artists interested in helping Debian to have a better unified look-and-feel on the Debian Project, not only on our web interfaces, but also on our products: CDs/DVDs (and its covers), desktops, wallpapers, boot loaders, splash screens, documentations, business cards, banners, t-shirts (and a bunch of other materials). It is not just a matter of writing something completely new without keep in touch with an already existent community, it is also the need to communicate and push such goals project-wide, so we can have massive adoption.

I was surprised by the fact that a lot of people mixed quite a few orthogonal points. Specially the fact that the website also needs some work in the Information Architecture field in order to improve the users' experience, but that's one point of a project-wide concern (that Kalle took into account).

Finally, some may not remember that we vote (General Resolution) to choose our logo, back in 1999 (10 years ago).

Yes, we need to do better on communicating and we need do to better with our design (and probably Marketing), but please do not start such work by changing our logo.
Yes... long time since I last post. Apparently, I will be able to graduate by April of 2010, but that remains for another post.

July 29, 2009 04:56 PM

douglas' livejournal

Tchelinux 2009 - Caxias do Sul - N800: Linux na plataforma ARM

Tchelinux 2009 - Caxias do Sul
Palestra: N800: Linux na plataforma ARM
Palestrante: Gabriel Stein
Data: 13/06/2009

July 29, 2009 01:33 PM

July 26, 2009

douglas' livejournal

Vídeo - Tchelinux 2009 - Caxias do Sul - Gerenciamento de redes com Nagios e Cacti

Tchelinux 2009 - Caxias do Sul
Palestra: Gerenciamento de redes com Nagios e Cacti
Palestrante: Rafael Giovanella
Data: 13/06/2009

Tchelinux 2009 - Caxias do Sul - FTEC: Gerenciamento de redes com Nagios e o Cacti

July 26, 2009 10:02 PM

Vídeo - Tchelinux 2009 - Caxias do Sul - Workshop Ubuntu Server

Novo vídeo disponível no site http://videos.tchelinux.org
Palestra: Workshop Ubuntu Server
Palestrante: Marcos André Lucas

Tchelinux 2009 - Caxias do Sul - FTEC: Workshop Ubuntu Server

July 26, 2009 12:44 PM

July 25, 2009

douglas' livejournal

Linux: ffmpeg - jp2avi, gif2avi, avi2dv

jpg2avi:
shell> ffmpeg -r 5 -i foto.jpg -y -an foto.avi

gif2avi:
shell> convert test.gif foto.jpg
shell> ffmpeg -r 5 -i foto.jpg -y -an foto.avi

avi2dv:
NTSC DV:
shell> ffmpeg -i video.avi -target ntsc-dv video.dv

PAL DV:
shell> ffmpeg -i video.avi -target pal-dv video.dv

July 25, 2009 01:37 PM

July 12, 2009

douglas' livejournal

Tchelinux 2009 - Caxias do Sul - FTEC: Entrevista Maurício Barros

Maurício Barros é diretor de operações e coordenador do curso superior de redes de computadores na Faculdade de Tecnologia (FTEC) em Caxias do Sul, RS. Nesta entrevista, Maurício informa detalhes de como funciona a parceria entre o Tchelinux e instituições de ensino.

July 12, 2009 03:45 AM

July 11, 2009

douglas' livejournal

Presentes de amigos...






Pinguim "Tchelinux" presente do Julio Agostini







Cartão Perfurado presente do Ricardo Maraschini













Cão Alegria presente do Filipe Rosset






Obrigado amigos! :)

July 11, 2009 05:58 PM

July 10, 2009

douglas' livejournal

Vídeo - Tchelinux 2009 - Báge: Por que usar Software Livre?

Disponível no site http://videos.tchelinux.org a palestra Por que
usar Software Livre? Ministrada por Leonardo Vaz em Bagé na Urcamp

July 10, 2009 07:34 PM