I am trying to get a Pi set up with a parallel port and then use LinuxCNC to control a couple of Clearpath servos for a lathe conversion. The Pi is a 4b with 4 GB and the parallel port is a HAT made by Elesar. (Maybe I should have just gone straight to a Mesa card instead). I successfully installed an OS with LinuxCNC (I believe this is the image I used:
drive.google.com/file/d/1IhrrdGRNvsdclVi.../view?usp=drive_link
) but the drivers for the Elesar HAT would not install. Worked with support at Elesar but they finally concluded that drivers for their board would have to be compiled for the specific RT kernel. Here’s their latest reply to me: “All we did to produce the 6.1.54-v8+ drivers was to follow the instructions on the driver source code page
github.com/elesar-uk/parport-sphat
. The key bit is the initial step rpi-source which downloads the source code to the corresponding Linux kernel. Without that you can't make a matching driver, so if you know where 6.1.54-rt came from and the source code is available it should just be a case of following the remaining instructions on the parport-sphat page to build a driver. Or if there's a mailing list supporting the real-time kernel perhaps a friendly developer who already has the source code could compile the driver for you?” Can anyone help me get the source code for the image I installed so Elesar can create a driver or help me create the driver given their instructions above? Unfortunately, I am a beginner with RPi, Linux, and LinuxCNC so may need a bit of handholding.