To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 20306
20305  |  20307
Subject: 
Re: setting long range in Linux for USB Tower
Newsgroups: 
lugnet.robotics
Date: 
Tue, 11 Feb 2003 08:49:41 GMT
Original-From: 
Raphael Langerhorst <RAPHAEL-LANGERHORST@antispamGMX.AT>
Viewed: 
699 times
  
already got the answer from Juergen:

If you're using the driver included in leJOS 2.1 then you have to modify
the driver (legousbtower.c in folder tools/linux/legousbtower) before
compiling it:

search for "dev->power_level = LEGO_USB_TOWER_POWER_LEVEL_LOW"

and replace the LOW for either MEDIUM or HIGH - whatever you need.

recompile and rmmod insmod the module and you should be fine.

But be careful when using maximum power - it takes a lot of current from
the USB port.


You would also have to set the range to long in your leJOS program for
the RCX when you want to do communication: use the Serial class for this
(and if you want to save memory just cut & paste the ROM call out from
the Serial class).


greetings,
Raphael


On Sat, 2003-02-08 at 18:01, Raphael Langerhorst wrote:
Hello!

Anyone knows how to set the USB Tower to long range in Linux?
I'm using the driver that is included in leJOS 2.1

Thanks a lot!

Raphael



Message is in Reply To:
  setting long range in Linux for USB Tower
 
Hello! Anyone knows how to set the USB Tower to long range in Linux? I'm using the driver that is included in leJOS 2.1 Thanks a lot! Raphael (21 years ago, 8-Feb-03, to lugnet.robotics)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR