Month: August 2010

Error compiling Linux kernel to iMX51 with NAND Support

Error:

drivers/mtd/nand/mxc_nd2.c: In function 'mxcnd_probe':
drivers/mtd/nand/mxc_nd2.c:1233: error: 'NFC_BASE_ADDR_AXI' undeclared (first use in this function)
drivers/mtd/nand/mxc_nd2.c:1233: error: (Each undeclared identifier is reported only once
drivers/mtd/nand/mxc_nd2.c:1233: error: for each function it appears in.)

Solution:
Edit drivers/mtd/nand/mxc_nd2.h and rename NFC_BASE_ADDR_AXI to MX51_NFC_BASE_ADDR_AXI

Testing Force Feedback Wheels on Linux

Definitely we don’t have good Linux race games with force feedback support. I don’t know who is the guilt: users, game companies, Linux distros companies, developers?

Until now only VDrift has force feedback support, but its graphics are very bad, even TORCS has better graphics. There is also Racer (racer.nl) with force feedback support and nearly professional graphics, but you cannot find a recent binary version to Linux, only Windows, they even suggest user to test it using Wine (oh my gosh).

So, lets compiling VDrift for Linux, after downloading from repository you need to use “scons” to compile it. After some compilation errors I updated glew to version 1.5.5 and everything worked.

To compile VDrift with FF support execute:

scons force_feedback=1

Then edit ~/.vdrift/VDrift.conf and add your steer wheel details (Logitech Momo in my case):

[ joystick ]
calibrated = false
ff_device = /dev/input/by-id/usb-Logitech_Logitech_MOMO_Racing-event-joystick
ff_gain = 3.608330
ff_invert = false
hgateshifter = false
two_hundred = false
type = wheel

It is not perfect, but it is all we have right now 😦

Resolvido problema do Skype e o modem ADSL SpeedStream 4200

Enquanto o modem DLink 2026B que comprei pela internet não chega, estou me virando com o SpeedStream que meu amigo Hamilton me emprestou. Este modem estava funcionando muito bem, até o momento que resolvi instalar o Skype. Por algum motivo o LED de atividade começa a piscar sem parar até o momento que ele reinicia (todos os LEDs acendem).

Segui várias dicas que encontrei na internet, mas a unica que funcionou foi esta:

DESABILITAR o UPnP

DESABILITAR o TIME CLIENT

Esta dica foi dada pelo usuário carlosmarckk no forum da skype:
http://forum.skype.com/index.php?showtopic=149071

Kudos para o carlosmarckk, muito obrigado!