Parallel port access is not allowed

More
3 months 3 weeks ago #347578 by aaron
I am trying to install LCNC (debian12) onto a new second hand Dell desktop. I have copied configuration files across. but when I try to start the software I am getting this error:
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
Linux parallel port 0 not found
hal_parport: rtapi_app_main: No such file or directory (-2)
./4_Axis_Mill.hal:6: waitpid failed /usr/bin/rtapi_app hal_parport
./4_Axis_Mill.hal:6: /usr/bin/rtapi_app exited without becoming ready
./4_Axis_Mill.hal:6: insmod for hal_parport failed, returned -1
4976
Stopping realtime threads
Unloading hal components
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
Any Help gratefully received
Thanks

Please Log in to join the conversation.

More
3 months 3 weeks ago #347583 by tommylight
Check the BIOS, disable "secure boot" if enabled.
Might also need to enable "CMS" as the PC might refuse to boot.
Edit:
Should be CSM, not CMS.

Please Log in to join the conversation.

More
3 months 3 weeks ago #347584 by aaron
Thanks for your reply. I will try it in the morning. Can you tell me what CMS is?

Please Log in to join the conversation.

More
3 months 3 weeks ago #347585 by MikkelRS
CSM, Compatibility Support Module, which helps newer bios's boot older styles of OSs.

Please Log in to join the conversation.

More
3 months 3 weeks ago #347589 by tommylight
Thank you, MikkelRS, edited my previous post to reflect the correction.

Please Log in to join the conversation.

More
3 months 2 weeks ago #347783 by aaron
Thanks, everybody.  Turns out the parallel port card was a cheap one that, wouldn't work anyway.
Got a new one and everything seems okay.
Cheers
 

Please Log in to join the conversation.

Time to create page: 0.560 seconds
Powered by Kunena Forum