To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 2015
2014  |  2016
Subject: 
Re: LEGO remote and LNP (legOS 0.2.4)
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 27 Aug 2001 23:45:47 GMT
Viewed: 
1568 times
  
Hi
I found after used the remote control patch in legOS.sourceforge.net, the
dll doesn't work, could you send me your patch?

ZHengrong

In lugnet.robotics.rcx.legos, Jochen Hoenicke writes:
On Jan 13, Ross Crawford wrote:
In lugnet.robotics.rcx.legos, Jochen Hoenicke writes:
http://www.informatik.uni-oldenburg.de/~delwi/legOS/remote.diff

Jochen, I tried this patch, but:

1. Applying as is caused dll program to not work.

My patch changes both, dll and the legOS kernel, to operate with odd
parity.  Did you both, reinstall the new kernel and use the new dll
afterwards?  You should also change the lnp daemon to odd parity if
you are using it, I don't use it.

2. I set parity to none, and dll is fixed, but then my handler only gets
called when remote key is released - all key-down messages are lost.

As the remote sends with odd parity this is normal.  Bytes with odd
number of bits are thrown away.

Jochen



Message has 1 Reply:
  Re: LEGO remote and LNP (legOS 0.2.4)
 
(...) Are you using windows? Then try the attached patch. It is completely untested, as I have no windows to try on. Jochen --- legOS/util/dll-src/rcxtty.c Tue Aug 28 10:41:09 2001 +++ legOS/util/dll-src/rcxtty.c Tue Aug 28 10:42:13 2001 @@ -123,7 (...) (23 years ago, 28-Aug-01, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: LEGO remote and LNP (legOS 0.2.4)
 
(...) My patch changes both, dll and the legOS kernel, to operate with odd parity. Did you both, reinstall the new kernel and use the new dll afterwards? You should also change the lnp daemon to odd parity if you are using it, I don't use it. (...) (...) (24 years ago, 15-Jan-01, to lugnet.robotics.rcx.legos)

11 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
    

Custom Search

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