- Posts: 34
- Thank you received: 0
MesaCT 2.1.6 - LinuxCNC fails to start with 7i95t_xyz configuration
2 years 1 month ago #309312
by ekbiker
I built a configuration to just learn from. I used the quick start xyz configuration. The debug section of the report shows a board 7i95 (without the T). So I edited the .ini to include the T, but it causes errors elsewhere. Attached the .ini and report file. I don't really know what else to do except to ask here.
Mesa 7i95T, LinuxCNC 2.9.3, MesaCT 2.1.6
Thanks, and please help a newbie out.
Mesa 7i95T, LinuxCNC 2.9.3, MesaCT 2.1.6
Thanks, and please help a newbie out.
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
2 years 1 month ago #309313
by tommylight
Replied by tommylight on topic MesaCT 2.1.6 - LinuxCNC fails to start with 7i95t_xyz configuration
There are no hardware PWM in 7i95T as far as i know, so how did you end up with it in hal file? And also there are mentions of parallel port in the error report, and this is the second time i am seeing this error on MesaCT configurations, it really should not be there.
As far as i can figure out, none are of your making, so for now just edit the hal file and set the num_pwm=0 instead of whatever the number is there, should be near the top of the file and the line starts with "loadrt"
As far as i can figure out, none are of your making, so for now just edit the hal file and set the num_pwm=0 instead of whatever the number is there, should be near the top of the file and the line starts with "loadrt"
Please Log in to join the conversation.
2 years 1 month ago #309315
by ekbiker
Replied by ekbiker on topic MesaCT 2.1.6 - LinuxCNC fails to start with 7i95t_xyz configuration
There are several lines starting with loadrt.. Can't find mentions of num_pwn=0. So I added it to just try it out.
I tried this one..
loadrt [EMCMOT](EMCMOT) servo_period_nsec=[EMCMOT](SERVO_PERIOD) num_joints=[KINS](JOINTS) num_pwm=0
and then this one in the config part...
# hostmot2 driver
loadrt hostmot2
loadrt [HM2](DRIVER) board_ip=[HM2](ADDRESS) config="num_encoders=6 num_stepgens=6 sserial_port_0=00000000"
both time returned with the error "unknown parameter, 'num_pwn=0'"
I tried this one..
loadrt [EMCMOT](EMCMOT) servo_period_nsec=[EMCMOT](SERVO_PERIOD) num_joints=[KINS](JOINTS) num_pwm=0
and then this one in the config part...
# hostmot2 driver
loadrt hostmot2
loadrt [HM2](DRIVER) board_ip=[HM2](ADDRESS) config="num_encoders=6 num_stepgens=6 sserial_port_0=00000000"
both time returned with the error "unknown parameter, 'num_pwn=0'"
Please Log in to join the conversation.
2 years 1 month ago #309316
by ekbiker
Replied by ekbiker on topic MesaCT 2.1.6 - LinuxCNC fails to start with 7i95t_xyz configuration
This worked...
Commented out all mentions of "pwngen". There were three, one for each axis.
#net joint-0-enable => hm2_[MESA](BOARD).0.pwmgen.00.enable
Commented out all mentions of "pwngen". There were three, one for each axis.
#net joint-0-enable => hm2_[MESA](BOARD).0.pwmgen.00.enable
Please Log in to join the conversation.
2 years 1 month ago #309317
by PCW
Replied by PCW on topic MesaCT 2.1.6 - LinuxCNC fails to start with 7i95t_xyz configuration
1. The card name in the hal file is 7i95, not 7i95t
2. Did you setup a pwmgen for spindle or some other use?
(there is reference to non-existent pwm hardware in the hal file):
./main.hal:66: Pin 'hm2_7i95.0.pwmgen.00.enable' does not exist
3. You don't need a num_pwmgens statement anywhere
(unless you want to disable one that actually exists in the hardware
4. There is an unrelated issue with your setup, likely related to secure boot being enabled in your BIOS:
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot?
2. Did you setup a pwmgen for spindle or some other use?
(there is reference to non-existent pwm hardware in the hal file):
./main.hal:66: Pin 'hm2_7i95.0.pwmgen.00.enable' does not exist
3. You don't need a num_pwmgens statement anywhere
(unless you want to disable one that actually exists in the hardware
4. There is an unrelated issue with your setup, likely related to secure boot being enabled in your BIOS:
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot?
Please Log in to join the conversation.
2 years 1 month ago #309319
by ekbiker
Replied by ekbiker on topic MesaCT 2.1.6 - LinuxCNC fails to start with 7i95t_xyz configuration
@PCW - No configs in the Spindle tab. I set one of the outputs to Spindle brake. That's all. All else was default. I will track down the secure boot problem.
Please Log in to join the conversation.
2 years 1 month ago #309322
by PCW
Replied by PCW on topic MesaCT 2.1.6 - LinuxCNC fails to start with 7i95t_xyz configuration
You can probably just delete all hal lines with pwm in them to get running.
Its likely the 7I95T configuration boilerplate came from the 7I96S which always
has at least 1 PWM channel
Its likely the 7I95T configuration boilerplate came from the 7I96S which always
has at least 1 PWM channel
Please Log in to join the conversation.
2 years 1 month ago #309349
by JT
Replied by JT on topic MesaCT 2.1.6 - LinuxCNC fails to start with 7i95t_xyz configuration
I'm retesting my 7i95t configuration now... and I see the error.
JT
JT
Please Log in to join the conversation.
Time to create page: 0.169 seconds
