Subject:
|
Re: communication with USB on Linux
|
Newsgroups:
|
lugnet.robotics.rcx.java
|
Date:
|
Sun, 13 Feb 2005 13:22:15 GMT
|
Viewed:
|
9149 times
|
| |
| |
Hi Juergen,
Thank you for your answer. Some questions though:
In lugnet.robotics.rcx.java, Juergen Stuber wrote:
> Hi Huub,
>
> "Huub van Niekerk" <v.niekerk@freeler.nl> writes:
> >
> > For some time I've been trying to get bi-directional communication using:
> > - Slackware Linux 10.0
> > - leJOS 2.1.0
> > - USB IR-tower
> > - RCX 2.0
> >
> > So far I've managed to upload leJOS and the written software to the RCX.
> > However, when I try to run the software, I get this message: "no irtower in
> > java.library.path". I've set the classpath to the directories involved with
> > Java, leJOS.
>
> have you run make?
Yes, I did. That solved some problems.
> > Can somebody please tell me if it is anyway possible to get a bidirectional
> > communication between my pc running Slackware and an USB IR-tower?
>
> You can also get it working with the CVS version of Lejos
> and a Linux kernel >= 2.6.7, which includes the newest driver.
Does CVS work with my 2.4.26 kernel as well? Should I remove the 'old' leJOS
version first?
> To get and install Lejos from CVS do
>
> $ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/lejos login
> $ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/lejos co -P lejos
> $ cd lejos
> $ make
>
> The driver module should be loaded:
> $ lsmod | grep lego
> legousbtower 15360 0
>
> There should be a device node for the USB tower
> (if you have udev this will be created when you plug in the tower):
> $ ls -l /dev/usb/legousbtower*
> crw-rw-rw- 1 root root 180, 160 2005-02-12 21:39 /dev/usb/legousbtower0
>
> Set RCXTTY to /dev/usb/legousbtower0
>
> You should now be able to use it,
> use lejosjc, lejoslink, lejosdl and firmdl from the bin directory.
> (some options may have changed).
>
> Since you want to do communication, take a look at examples/comms
> (the Makefiles need also some updating).
>
>
> Hope this helps
>
> Jürgen
Thanks
Huub
|
|
Message has 1 Reply:
Message is in Reply To:
| | Re: communication with USB on Linux
|
| Hi Huub, (...) have you run make? (...) You can also get it working with the CVS version of Lejos and a Linux kernel >= 2.6.7, which includes the newest driver. To get and install Lejos from CVS do $ cvs -d:pserver:anonymous...root/lejos login $ cvs (...) (20 years ago, 13-Feb-05, to lugnet.robotics.rcx.java)
|
5 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|