Month: July 2005

Truques instalando o uClinux numa 5235-EVB

Instalar o servidor TFTP

# apt-get install tftpd

Editar o arquivo /etc/inetd.conf e modificar a linha “tftp” para:

tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /tftpboot

Reiniciar o inetd:

# /etc/init.d/inetd restart

Instalar o minicom:
# apt-get install minicom

Configurar o minicom:
# minicom -s

Mude a Configuração da Porta Serial: para /dev/ttyS0 e 19200 8N1, salve como default e saia.

No minicom execute o seguinte comando para o dBug pegar o IP:

dBUG> set server 10.1.242.207

dBUG> set client 10.1.242.123

Onde server e client eh o endereco IP do meu servidor e da placa respectivamente.

Download a imagem:

dBUG> dn -i image.bin

Inicie a execucao:
dBUG> go 20000

issooooo!!!!! Funcionou!!!

Advertisements

Instalando gmailfs

`apt-get install gmailfs`
`apt-get install fuse-source`
`cd /usr/src`
`tar -jxvf fuse.tar.bz2`
`cd modules/fuse/kernel`
`./configure`
`make`
`make install`
`modprobe fuse`
`mkdir /mnt/gmail`
`vi /etc/gmailfs/gmailfs.conf` – add username and password
`mount -t gmailfs /usr/share/gmailfs/gmailfs.py /mnt/gmail`

Instalando o Ktranslator a partir do subversion (SVN)

Primeiro instalar as biblioteca de desenvolvimento para Qt
apt-get install kdelibs4-dev

Instalar o subversion, caso não tenha instalado
apt-get install subversion

Baixar e instalar o ktranslator:

svn -N co svn://anonsvn.kde.org/home/kde/trunk/kdenonbeta/
cd kdenonbeta
svn up ktranslator
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/kde-common/admin
make -f Makefile.cvs
./configure
make all install

Att.

Alan

Instalando plugin lirc-xmms

Erro durante a execução do ./configure, nao encontrou xmms-config!
Solução: apt-get install xmms-dev

make
make install

O http://www.debian.org/distrib/packages salva nossas vidas!

Conteúdo dos arquivos de configuração:

lircd.conf:

#
# this config file was automatically generated
# using WinLIRC 0.6.4 (LIRC 0.6.1pre3) on Fri Apr 18 00:20:52 2003
#
# contributed by Jonas Albrektsson
#
# brand: Sun
# model: RMC-D10
# supported devices:
#
# This remote is from an old Sun monitor.
#

begin remote

name sun
bits 11
flags SPACE_ENC
eps 25
aeps 100

header 2349 596
one 1159 596
zero 567 596
ptrail 567
post_data_bits 8
post_data 0xC8
gap 14022
toggle_bit 0

begin codes
PLAY 0x00000000000007C5
STOP 0x00000000000003C5
PAUSE 0x00000000000004C5
POWER 0x00000000000000C5
1 0x0000000000000785
2 0x0000000000000385
3 0x0000000000000585
VOL_UP 0x0000000000000185
4 0x00000000000004A5
5 0x00000000000000A5
6 0x0000000000000725
VOL_DOWN 0x0000000000000325
7 0x00000000000005A5
8 0x00000000000001A5
9 0x00000000000006A5
CH_UP 0x00000000000002A5
MUTING 0x0000000000000445
0 0x0000000000000045
EXIT 0x00000000000000E5
CH_DOWN 0x0000000000000765
end codes

end remote

lircrc:
### XMMS
begin
prog = irexec
button = POWER
config = xmms&
flags = startup_mode
mode = xmms
end

begin xmms
begin
prog = xmms
button = PLAY
config = PLAY
end

begin
prog = xmms
button = PAUSE
config = PAUSE
end

begin
prog = xmms
button = RESET
config = QUIT
end

begin
prog = xmms
button = STOP
config = STOP
end

begin
prog = xmms
button = CH_UP
config = NEXT
end

begin
prog = xmms
button = CH_DOWN
config = PREV
end

begin
prog = xmms
button = VOL_UP
config = VOL_UP
end

begin
prog = xmms
button = VOL_DOWN
config = VOL_DOWN
end

begin
prog = xmms
button = MUTING
config = MUTE
end

begin
prog = xmms
button = 1
config = ONE
end

begin
prog = xmms
button = 2
config = TWO
end

begin
prog = xmms
button = 3
config = THREE
end

begin
prog = xmms
button = 4
config = FOUR
end

begin
prog = xmms
button = 5
config = FIVE
end

begin
prog = xmms
button = 6
config = SIX
end

begin
prog = xmms
button = 7
config = SEVEN
end

begin
prog = xmms
button = 8
config = EIGHT
end

begin
prog = xmms
button = 9
config = NINE
end

begin
prog = xmms
button = 0
config = ZERO
end

begin
prog = xmms
button = TV_VIDEO
config = SETPOS
end

begin
prog = xmms
button = PRESET_PIC
config = REPEAT
end

begin
prog = xmms
button = DISPLAY
config = SHUFFLE
end

begin
prog = xmms
button = JUMP
config = LIST
end

end xmms