LinuxCNC Uspace

More
20 Oct 2019 19:59 - 20 Oct 2019 20:00 #148424 by macsddau@linuxcnc
Replied by macsddau@linuxcnc on topic LinuxCNC Uspace

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 :
sudo apt-get dist-upgrade
This was corrected installing required dependencies with Sympatic Packet Manager and Re-run the command with success.

- 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.

File Attachment:

File Name: linuxcnc.report.txt
File Size:57 KB

Have you got an idea ?
Attachments:
Last edit: 20 Oct 2019 20:00 by macsddau@linuxcnc.

Please Log in or Create an account to join the conversation.

More
21 Oct 2019 01:48 #148437 by Gene1934
Replied by Gene1934 on topic LinuxCNC Uspace
I too have found your instructions helpfull. Just today, taking advantage of the warmer weather, opened the gsarage door for working room behind the Sheldon lathe, and swapped the pi3 that has been running it for 2+ years, out for a pi4, running Raspbian buster v10.1 and a realtime kernel I built, and installed the debs of linuxcnc i've built on that pi4 over the last week. Not without some drama though.

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 or Create an account to join the conversation.

More
14 Nov 2019 00:11 #150331 by BigJohnT
Replied by BigJohnT on topic LinuxCNC Uspace

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.

File Attachment:

File Name: linuxcnc.report.txt
File Size:57 KB

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 or Create an account to join the conversation.

More
14 Nov 2019 00:36 #150332 by Gene1934
Replied by Gene1934 on topic LinuxCNC Uspace
I've never used a usb interface, but udev brings then up as root,
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 or Create an account to join the conversation.

More
15 Nov 2019 03:52 #150402 by tommylight
Replied by tommylight on topic LinuxCNC Uspace
@Gene1934
May i ask, how did you get that signature to show at the end of each post?
Thank you.

Please Log in or Create an account to join the conversation.

More
15 Nov 2019 04:13 #150403 by Gene1934
Replied by Gene1934 on topic LinuxCNC Uspace
I think, its been a while, that I entered it into my user profile. So look into yours for a clue.

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 or Create an account to join the conversation.

More
15 Nov 2019 06:16 #150405 by tommylight
Replied by tommylight on topic LinuxCNC Uspace

I think, its been a while, that I entered it into my user profile. So look into yours for a clue.

Did that, twice for good measure, could not find it.

Please Log in or Create an account to join the conversation.

More
15 Nov 2019 08:38 #150408 by Clive S
Replied by Clive S on topic LinuxCNC Uspace

I think, its been a while, that I entered it into my user profile. So look into yours for a clue.

Did that, twice for good measure, could not find it.

Neither could I :(

Please Log in or Create an account to join the conversation.

More
15 Nov 2019 09:19 #150410 by Gene1934
Replied by Gene1934 on topic LinuxCNC Uspace
no clue after all these years. One of the hazards of having outlived all your enemies

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>
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
15 Nov 2019 12:12 #150416 by tommylight
Replied by tommylight on topic LinuxCNC Uspace

............ One of the hazards of having outlived all your enemies

You got rid of them using soap, i presume ? :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.085 seconds
Powered by Kunena Forum