How to install the LEGO USB tower driver.

You will need the LEGO USB tower to talk to your robots, both for downloading programs that you write and to allow the eleague command server to talk to the robots in real-time. This driver can be used with brickos

Get the LEGO Mindstorms tar file that Jacky will create...

Untar that in a directory...

Go to LegoUSB/drivers/linux

Configure the package:

bash# ./configure --with-linux=</usr/src/linux>
substitute /usr/src/linux for the directory where your linux source is located.

Then make it:

bash# make 
bash# make install

You might also have to do something like:

bash# mknod /dev/usb/lego0 c 180 200
bash# chmod 666 /dev/usb/lego0
bash# /sbin/insmod LegoUSB.o config_num=4 usb_reset=1

Then go to LegoUSB/testtools.

bash# make

Try running

bash# LEDTest
If everything is working right, then the LED's on the tower should be blinking.

If it doesn't work, try to pull the tower out of the USB port and try again.

If it still doesn't work, make sure that the usb-uhci module is installed in your linux kernel:

bash# usb-uhci

If you have the module uhci (without the usb-), then do

bash# modprob -r uhci
bash# modprob usb-uhci
and try again.

Note that if you have the module usb-ohci installed, then LEGO USB does not support it...

back to eleague howto page