LinuxCNC 2.9 RPi - PNCconf error
29 Mar 2023 01:05 #267747
by mor
Replied by mor on topic LinuxCNC 2.9 RPi - PNCconf error
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!
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.
29 Mar 2023 01:14 #267749
by cmorley
Replied by cmorley on topic LinuxCNC 2.9 RPi - PNCconf error
on the external controls page, click on 'serial vfd'
Please post an image of that page.
Please post an image of that page.
Please Log in or Create an account to join the conversation.
29 Mar 2023 01:21 #267750
by mor
Replied by mor on topic LinuxCNC 2.9 RPi - PNCconf error
Please Log in or Create an account to join the conversation.
29 Mar 2023 01:38 #267752
by phillc54
Replied by phillc54 on topic LinuxCNC 2.9 RPi - PNCconf error
Attachments:
Please Log in or Create an account to join the conversation.
29 Mar 2023 01:40 #267753
by mor
Replied by mor on topic LinuxCNC 2.9 RPi - PNCconf error
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.
29 Mar 2023 01:42 #267755
by cmorley
Replied by cmorley on topic LinuxCNC 2.9 RPi - PNCconf error
Ok I see the serial port entry is not filled.
let me look into that.
let me look into that.
The following user(s) said Thank You: mor
Please Log in or Create an account to join the conversation.
29 Mar 2023 02:18 #267757
by cmorley
Replied by cmorley on topic LinuxCNC 2.9 RPi - PNCconf error
in src/emc/usr_intf/pncconf/pages.py
modify the function to this:
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.
29 Mar 2023 02:26 #267758
by mor
Replied by mor on topic LinuxCNC 2.9 RPi - PNCconf error
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.
29 Mar 2023 02:29 #267759
by cmorley
Replied by cmorley on topic LinuxCNC 2.9 RPi - PNCconf error
yes you need to run make after.
Please Log in or Create an account to join the conversation.
29 Mar 2023 02:32 #267760
by mor
Replied by mor on topic LinuxCNC 2.9 RPi - PNCconf error
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!
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.110 seconds