RailPro > RailPro Specific Help & Discussion

Experiments 1: Running RailPro software on Linux using Wine - Part 1

<< < (3/4) > >>

G8B4Life:
Ken,

No not an engineer. My job title has the word technician in it but it's a totally unrelated field.

Depending on what your an engineer of I can't say if you should be excited or not about experiment 2 but if your an engineer in the field of electronic devices then I think you'll certainly appreciate it, if not be excited.

Experiment 2, if successful, would allow you to get rid of the PC, but it's not a Mac experiment. Unfortunately I don't have access to a Mac to do experimenting with. I suspect it would be the same, or at least very similar to making it work under Linux with Wine but I just don't know for sure.

- Tim

blbruhn:
Thanks for the information!  I am trying to duplicate your results under Ubuntu 16.04 and Wine 5, but I have gotten stuck at the Registry settings for the HC-2b.  The Registry settings you published are good for your computer only, and I am not sure how to do it for myself.  Can you point me to a good resource to understand how to build the Registry keys correctly?

Wine prepopulated an HID and HIDRAW keys, but not USB.  The second identifier you have under USB is outside my limited understanding..Yet!

Thanks!!

TrainBrain

G8B4Life:
Welcome to the forum Trainbrain.

I'm really happy to see you trying to duplicate what I did but as it was just a "journal" of the experiment and not a proper how-to there is possibly steps I missed writing down, though I don't think I missed any steps, and one thing I didn't post at all. I always intended to go back and finish it up (make it so a person doesn't have to change the permissions every time, a desktop icon etc) and write a proper how-to but I got distracted by experiment 2 (which isn't going so well). I'll try and do a proper how-to tonight.

So, back to where you are stuck, the registry information I posted is only for the CI-1, there is a whole separate set of registry entries for the HC-2b which I didn't post in the experiment (remember, was going to come back and write a proper how-to). I've attached them to this post for the time being. Download them and import them in the Wine registry editor.

The registry files should be good for anyone, not just me. As to find a resource to understand the registry to be able to build keys? it's black magic and even I don't understand it! The registry information was extracted from a Windows PC that had already seen a CI-1 and HC-2b.

- Tim

CI-1.reg CI-1 registry entries
HC-2b.reg HC-2b registry entries

blbruhn:
Thank you G8B4Life!  I added that reg section and it worked on the first try!  I will need to go back and try to figure out what was different in my attempt compared to yours.  I know that I did not have a Windows example available, and I was trying to logic my way through the registry.  Logic does not apply to Windows.

I do find it a little disappointing that most groups do not create software for their hardware that runs outside the Windows universe.  Being primarily a Linux person (and not necessarily good at it), these situations force me to learn more about Linux.

When you get a draft of the How-to made, I will be glad to proof read it and test it out on a clean Linux install to see if everything works like you expect in a separate computer with a less informed user.

Thank you for your efforts and help.  Time to install my first Railpro Receiver and figure out how to make directional ditch lighting on a switcher! 

Smoke:

--- Quote from: blbruhn on July 01, 2020, 09:55:56 AM ---Thank you for your efforts and help.  Time to install my first Railpro Receiver and figure out how to make directional ditch lighting on a switcher!

--- End quote ---

Check out this thread:
https://rpug.pdc.ca/index.php/topic,1021.0.html

I haven't built any boards yet, but I do have the components and have a PC board design. PM for more info, don't want to clog this thread.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version