LinuxCNC 2.9 RPi - PNCconf error

More
29 Mar 2023 01:05 #267747 by mor
Just for your reference:
1. Installed latest RPi OS 64-bit.
2. Installed latest available PREEMPT_RT kernel from kdoren GitHub.
3. Built 2.9 from source.

Thanks again for the support!

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

More
29 Mar 2023 01:14 #267749 by cmorley
on the external controls page, click on 'serial vfd'

Please post an image of that page.

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

More
29 Mar 2023 01:21 #267750 by mor
 Was trying to figure out how to upload an image.  Then saw the big "Attachments" button.  Braindead right now.
Attachments:

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

More
29 Mar 2023 01:38 #267752 by phillc54
While waiting for my RPI to update I ran PNCconf to the end and noticed this error if I selected a 7i96s:

Warning: Spoiler!


I don't see that if I select a 7i96.
Attachments:

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

More
29 Mar 2023 01:40 #267753 by mor
I get the error before the Mesa page; see above post with attached image.

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

More
29 Mar 2023 01:42 #267755 by cmorley
Ok I see the serial port entry is not filled.
let me look into that.
The following user(s) said Thank You: mor

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

More
29 Mar 2023 02:18 #267757 by cmorley
in src/emc/usr_intf/pncconf/pages.py

modify the function to this:

    def search_for_serial_device_name(self):
        match = os.popen("""ls /sys/class/tty/*/device/driver | grep 'driver' | cut -d "/" -f 5""").read().split()
        if len(match) <1: return
        model = self.w.gs2_vfd_device_name.get_model()
        model.clear()
        for item in match:
            name = '/dev/%s'%item
            model.append((name,))

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

More
29 Mar 2023 02:26 #267758 by mor
I made the changes, do I need to rebuild everything? Sorry if this is a n00b question.

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

More
29 Mar 2023 02:29 #267759 by cmorley
yes you need to run make after.

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

More
29 Mar 2023 02:32 #267760 by mor
Okay, it's compiling now. So I just remake the .deb and install all over again?

I'll do that and let you know how it goes. Thanks again for all the help!

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

Moderators: cmorley
Time to create page: 0.308 seconds
Powered by Kunena Forum