Home

Advertisement

Customize

Previous 20

Dec. 9th, 2009

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

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

Dec. 8th, 2009

Video - JLS: Measuring Function Duration with Ftrace

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

Dec. 4th, 2009

Video: Write and Submit your first Linux Kernel Patch

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

Nov. 6th, 2009

Linux: Convert ebooks to Kindle 1 or 2

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

Tested on: Fedora 11

Sep. 21st, 2009

Linux: Booting your machine over HTTP

http://boot.kernel.org/

Sep. 20th, 2009

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

Aug. 21st, 2009

Linux: flv2ogg flv2ogv

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

Aug. 10th, 2009

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

Aug. 9th, 2009

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

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

Aug. 3rd, 2009

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

Jul. 29th, 2009

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

Jul. 25th, 2009

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

Jun. 28th, 2009

Linux - Fedora 11 - Set up VNC Server + Default Window Manager (Gnome)

Server side - Installing


shell> yum install vnc vnc-server -y

Server side - Setting


shell> vi /etc/sysconfig/vncservers

Add the following lines:

VNCSERVERS="1:USERNAME_TO_CONNECT"
VNCSERVERARGS[1]="-geometry 1024x768 -depth 16"

shell> su USERNAME_TO_CONNECT
shell> vncpasswd

Setting gnome as Window Manager

shell> vi .vnc/xstartup

Uncomment the following two lines for normal desktop:

unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc


Restarting services


shell> su -
shell> service vncserver restart
shell> chkconfig --level 345 vncserver on

Client side - Connecting to VNC Server


shell> vncviewer SERVER_IP:1

p.s: Set up your firewall (iptables) between server and client before any connection.

FullScreen


Press F8 -> FullScreen

Jun. 17th, 2009

Linux: How to disable CPU? (logically offline)

To disable:


shell> echo 0 > /sys/devices/system/cpu/cpu[X]/online

To check:


shell> cat /pro/cpuinfo or cat /proc/interrupts

To enable:


shell> echo 1 > /sys/devices/system/cpu/cpu[X]/online

Useful doc:
Documentation/cpu-hotplug.txt

May. 31st, 2009

Vídeos Tchelinux

Olá,

Saiu uma nota no site Br-Linux sobre os vídeos que o grupo Tchelinux vem disponibilizando na internet. Gostaria de agradecer a todos os palestrantes que colaboraram p/ este acontecimento... :)

--

"E a persistente turma do Tchelinux continua dando o exemplo de não apenas realizar seus eventos descentralizados e sem aquele foco em pregar para os já convertidos, como ainda se esforçar para que o conteúdo apresentado chegue a todos os interessados que não têm como estar presentes aos seus eventos nas terras gaúchas."

--

Texto completo no link:
http://br-linux.org/2009/video-fedora-10-o-setup-perfeito-palestra-do-tchelinux-2009/

[]s
Douglas

May. 28th, 2009

Dica Programação

Olá,

Quem quiser testar (online) se um determinado código funciona em C, C++, D, Haskell, Lua, OCaml, PHP, Perl, Python, Ruby, Scheme, Tcl

Recomendo:  http://codepad.org/


[]s

May. 26th, 2009

Vídeo - Fedora 10: o setup perfeito - Tchelinux 2009

No evento Tchelinux 2009 - Bagé na URCAMP (Universidade da Região da Campanha) Leonardo Menezes Vaz ministrou a palestra Fedora 10: o setup perfeito

Dados do vídeo:
Tchelinux 2009 - Bagé - URCAMP: Fedora 10: o setup perfeito
http://www.vimeo.com/4849524

Para outras palestras do grupo Tchelinux: http://videos.tchelinux.org

Tchelinux 2009 - Bagé - URCAMP: Fedora 10: o setup perfeito from Douglas Schilling Landgraf on Vimeo.

May. 21st, 2009

video4linux - kvm + radio devices - module dsbr100

0)  Close the Virtual Machine Manager or any instance of VM

1) Edit the xml config file from your VM

Example:

shell> vi /etc/libvirt/qemu/NAME_OF_YOUR_VIRTUAL_MACHINE_HERE.xml

Add the following lines:

Example:

<devices> (do not include this line)
    <emulator>/usr/bin/qemu-kvm</emulator> (do not include this line)
   <hostdev mode='subsystem' type='usb'>
     <source>
            <vendor id='0x04b4'/>
            <product id='0x1002'/>
     </source>
     </hostdev>


3) Save and restart libvirt
shell> /etc/init.d/libvirtd restart

4) Now just start your VM and test if your usb was detectd:

shell from VM> lsusb

5 ) shell> yum install kradio gnomeradio -y

kvm rocks! 

Linux - kvm - How to add multiple USB devices?

0)  Close the Virtual Machine Manager or any instance of VM

1) Edit the xml config file from your VM

Example:

shell> vi /etc/libvirt/qemu/NAME_OF_YOUR_VIRTUAL_MACHINE_HERE.xml

Add the following lines:

Example:

<devices> (do not include this line)
    <emulator>/usr/bin/qemu-kvm</emulator> (do not include this line)
   <hostdev mode='subsystem' type='usb'>
    <source>
           <vendor id='0xeb1a'/>
           <product id='0x2821'/>
    </source>
    </hostdev>

     <hostdev mode='subsystem' type='usb'>
     <source>
            <vendor id='0x046d'/>
            <product id='0x08d7'/>
     </source>
     </hostdev>

     <hostdev mode='subsystem' type='usb'>
     <source>
            <vendor id='0x0ac8'/>
            <product id='0x301b'/>
    </source>
    </hostdev>


3) Save and restart libvirt
shell> /etc/init.d/libvirtd restart

4) Now just start your VM and test if your usb was detectd:

shell from VM> lsusb

Previous 20

December 2009

S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728293031  

Tags

Syndicate

RSS Atom
Powered by LiveJournal.com

Advertisement

Customize