| | Re: LEGO remote and LNP (legOS 0.2.4)
|
|
(...) The remote control sends with parity odd, but the rcx is programmed to no parity. If the parity bit has the same value as a undriven line (I think it is logical 1), the byte is received, but otherwise the byte gets thrown away by the serial (...) (24 years ago, 23-Oct-00, to lugnet.robotics.rcx.legos)
|
|
| | Re: LEGO remote and LNP (legOS 0.2.4)
|
|
I'd actually really like to include Chris's patch in the official tree, but I'm informed by folks with more clue about the networking stuff than me that switching the parity bit would probably break some LNP stuff. Would everyone be happier if I (...) (24 years ago, 23-Oct-00, to lugnet.robotics.rcx.legos)
|
|
| | Re: LEGO remote and LNP (legOS 0.2.4)
|
|
(...) 1. Applying as is caused dll program to not work. 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. I'm just wondering what I'm doing wrong? Thanks (...) (24 years ago, 13-Jan-01, to lugnet.robotics.rcx.legos)
|
|
| | 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)
|
|
| | Re: LEGO remote and LNP (legOS 0.2.4)
|
|
Luis, I can do a quick HOWTO (though it'll only cover Linux) & post this patch. I think it'd be useful, anyway. It applies cleanly to 0.2.5 as well. Regards, ROSCO Luis Villa <liv@duke.edu> wrote in message news:Pine.GSO.4.10.1...uke.edu... (...) (...) (24 years ago, 6-Feb-01, to lugnet.robotics.rcx.legos)
|
|
| | Re: LEGO remote and LNP (legOS 0.2.4)
|
|
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 (...) (23 years ago, 27-Aug-01, to lugnet.robotics.rcx.legos)
|
|
| | 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)
|
|
| | Re: LEGO remote and LNP (legOS 0.2.4)
|
|
Thank you very much! I also found this problem at the moment, and I tested, it is ok! Zhengrong (...) (23 years ago, 28-Aug-01, to lugnet.robotics.rcx.legos)
|
|
| | Re: LEGO remote and LNP (legOS 0.2.4)
|
|
I also combined the README, remote.c and remote.h in this patch, now a demo remote.lx can be downloaded to RCX, you can press any buttons of remote control, the "M1 on" will be displayed when pressed Message 1 on remote control, the "M1 off" will be (...) (23 years ago, 28-Aug-01, to lugnet.robotics.rcx.legos)
|
|
| | Re: LEGO remote and LNP (legOS 0.2.4)
|
|
(...) (23 years ago, 28-Aug-01, to lugnet.robotics.rcx.legos)
|