SOLVED Cant run created stepwizard file

More
1 year 8 months ago #321282 by fziepiela
When following the video on setup, and using stepconfig wizard i get this error. Linuxcnc PI 5. When looking at my configurations and selecting my config there are not any details and i get the attached error.
Im a newbie, but do have Arduino experience. Please be gentle, lol..

Please Log in to join the conversation.

More
1 year 8 months ago #321291 by tommylight
From your error report
Linux parallel port 0 not found
But i have no idea what should be instead of it for RPI as i do not use them.

Please Log in to join the conversation.

More
1 year 8 months ago #321295 by unknown
Sorry I'm not going to be gentle. Users need to be told. I'll assume you aren't a child.

Yeah Tommy's right. RPi's don't have a parallel port. I'm not too sure where you got the idea Rapsberry Pis have one. The error report is pretty verbose in reporting what is wrong.

Arduino seems to be a lot of cut & pasting other people's code.

Once again this is a situation where users don't read the docs and just jump in head first without doing any research.
linuxcnc.org/docs/html/man/man9/hal_parport.9.html

This is the driver you need to use. Please read this. And take the time to read the documentation, the devs put a lot of effort into this, please take the time to read them.
linuxcnc.org/docs/devel/html/drivers/hal_gpio.html

Beware that unless SPI is not disabled in /boot/broadcom/config.txt you wont be able to use GPIO07 & GPIO08.

This is a link to a 3 axis setup
forum.linuxcnc.org/media/kunena/attachme...8/my-mill-config.zip

Please Log in to join the conversation.

More
1 year 8 months ago #321302 by fziepiela
Thank You so much. I have been reading, but unsure what to read and where to find it.

Please Log in to join the conversation.

More
1 year 8 months ago #321303 by unknown
The docs are available via the menu under cnc.

You may have to install evince to read pdf docs.

docs are available for German, English, Spanish, French & Chinese.

linuxcnc-doc-de
linuxcnc-doc-en
linuxcnc-dos-es
linuxcnc-doc-fr
linuxcnc-doc-zh-cn

Please Log in to join the conversation.

More
1 year 8 months ago #321361 by fziepiela
Thanks again, im reading away. Also I did know that RPI needs the parallel hat by byte to bot. When looking at the hal file form them it doesn't show the GPIO code in it like yours does thanks again.

Please Log in to join the conversation.

More
1 year 8 months ago #321395 by unknown
Yeah I don't know what they are up to.

Please Log in to join the conversation.

More
1 year 8 months ago #321932 by fziepiela
Pi 5 running version Linuxcnc 2.9.4 using Byte to Bot Parallel Hat, isn't supporting hal_gpio. Switched to older version 2.9.1 everything works fine.
Once i configured my hal file I would get an error: GPIO pin 26 could not be found.
here is the older version the works for me.
rpi-5-debian-bookworm-6.1.61-rt15-arm64-ext4-2023-11-17-1520.img

Please Log in to join the conversation.

More
1 year 8 months ago #321950 by unknown
I'm sorry you're wrong, the current image does support hal_gpio. This has been confirmed by at least 2 users and my own tests.
The config files from byte to bot were strange.
Just did a quick load of hal_gpio GPIO26 loads fine.
Could you please attach your hal and in files using the forum's editor as I think you may have made a typo, as this is usually why pi. Not found error shows up.
I need to get to the bottom of this, if it is an issue with the image it needs to be fixed, if it is a issue with your config that needs to be addressed and the comments you made need to be rectified.
We don't want a bad image nor incorrect comments leading others astray.
Kind Regards
Rob

Please Log in to join the conversation.

Time to create page: 0.095 seconds
Powered by Kunena Forum