- Posts: 148
- Thank you received: 0
LinuxCNC Uspace
- macsddau@linuxcnc
- Offline
- Premium Member
-
BigJohnT wrote: I'm collecting in one place instructions to build/install the Preempt RT kernel on various OS's and building or getting LinuxCNC.
gnipsel.com/linuxcnc/uspace/index.html
JT
With this step by step instructions, I build my first RT kernel with success on LM19.1 and install LinuxCNC 2.8.
- First thing is the disc size; usually a create 20Gb partitions but I had to raise it to 50Gb during building kernel compilation.
Is it possible to add a warning at the beginning of the instruction, to get the right disc size ?
- During process, I get only one error with :
- make a copy of the lunuxcnc conf directory from the 2.7.14 Debian 7 Wheezy installation. Converted to 2.8 version at launch.
I get some troubles with vfd link. I can't connect with the USB device. I know a problem with brltty and remove it without change.
Here the launch report.
Attachment not found
Have you got an idea ?
Please Log in to join the conversation.
Seems I had been power the 3 thru its OTG port, but the pi3 connector does mate with the pi4 version, so the fix was easy as the pi is upside down, exposing the bottom of the40 pin header, so it was easy enough to paste a couple wires to piins 2 and 6 to bring power into it from the 5 amp supply 4" away. But I also tried to drill a 5/8 hole fot hdmi cable access and miss-drilled it so its plugged in but at an angle that doesn't make a usable connection. So I'm going to have to move the back of the hole about 1/4" in oder to get a more straight on approach. Unforch, the alu at that point is 1/8" thick and yields very slowly to a dremel with a sanding drum.
So, wanting to see if the pi4 could move iron, I went to the console at the 6040 and logged into the rpi4, and ran linuxcnc from there. video a tad slow due to the network, but lcnc ran well as configured. If anything, smoother that ever.
So the weather folks are promising a warmer tomorrow and I may be able to fix the bad video connection.
I've had to hard code the spi speeds into hm2_rpspi as I make lcnc, as some of the changes made in adding the other 2 mesa cards, has cost it ts ability to respond to speed settings in the configure string passed to it from the bottom of the ini file.
No biggie for me, but will make it more difficult for the new user. As the defaults are too fast and it won't work. It can't read from a 7i90HD at the default 31250, and must be reduced to 25000 for spiclk_rate_rd.
So I'm rather happy overall, and the rpi4 should fix most of the glacial video I was getting with the pi3 running things. All I gotta do is get it hooked up.
My thanks for the tuts, they did help.
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page < geneslinuxbox.net:6309/gene >
Please Log in to join the conversation.
macsddau@linuxcnc wrote: I get some troubles with vfd link. I can't connect with the USB device. I know a problem with brltty and remove it without change.
Here the launch report.
Attachment not found
Have you got an idea ?
Might be your not added to the dev or something like that... I seem to recall to get my VFD to work I had to add myself to something but it escapes me now.
JT
Please Log in to join the conversation.
so on this machine I took a big club to udev, and in rc.local, have this to give heyu a port to a cm11a x10 interface.
==========================rc.local
# But, udev is being a cast iron bitch, so lets see if we can outwit udev
# and make heyu work. 0755 didn't work, Ed Dipold says 0666
chmod 0666 /dev/ttyUSB0
# and heyu runs as me, so give me perms to grab that port
chown gene:gene /dev/ttyUSB0
sleep 1
# Now, need some heyu stuff run but its not working since stretch, why?
su gene -c "/usr/local/bin/heyu engine &"
su gene -c "/usr/local/bin/heyu monitor &"
exit 0
rc.local end==========================
And it all Just Runs. It might take something along those lines for the OP?
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page < geneslinuxbox.net:6309/gene >
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
- Posts: 22010
- Thank you received: 3
May i ask, how did you get that signature to show at the end of each post?
Thank you.
Please Log in to join the conversation.
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page < geneslinuxbox.net:6309/gene >
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
- Posts: 22010
- Thank you received: 3
Did that, twice for good measure, could not find it.Gene1934 wrote: I think, its been a while, that I entered it into my user profile. So look into yours for a clue.
Please Log in to join the conversation.
Neither could Itommylight wrote:
Did that, twice for good measure, could not find it.Gene1934 wrote: I think, its been a while, that I entered it into my user profile. So look into yours for a clue.
Please Log in to join the conversation.
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page < geneslinuxbox.net:6309/gene >
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
- Posts: 22010
- Thank you received: 3
You got rid of them using soap, i presume ?Gene1934 wrote: ............ One of the hazards of having outlived all your enemies
Please Log in to join the conversation.
