hidconfig lcd problem

More
7 years 1 month ago #144541 by porshe
Replied by porshe on topic hidconfig lcd problem
Maybe someone had a similar problem.
I connected the hidcomp to Linuxcnc, everything works fine. On lcd it shows the movement of axes. On the Pathpilot it works but you need to disable lcd in the hidconfig. With the lcd turned on, the Pathpilot doesn’t respond to button presses and doesn’t show anything. I can not get the lcd to work on the Pathpilot together with the hidcomp.

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

More
7 years 1 month ago #144551 by ftkalcevic
Replied by ftkalcevic on topic hidconfig lcd problem

porshe wrote: I connected the hidcomp to Linuxcnc, everything works fine.


Is your linuxcnc configuration different to your pathpilot configuration? Different files? Different directories?

porshe wrote: On the Pathpilot it works but you need to disable lcd in the hidconfig. With the lcd turned on, the Pathpilot doesn’t respond to button presses and doesn’t show anything. I can not get the lcd to work on the Pathpilot together with the hidcomp.


If the LCD isn't working, it is usually the NML configuration. That is described in the first post.

Do you see any errors? They should be logged to linuxcnc_print and linuxcnc_debug in you home directory.

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

More
7 years 1 month ago #145059 by porshe
Replied by porshe on topic hidconfig lcd problem
I use one NML-FILE file for Linuxcnc and Pathpilot.

Warning: Spoiler!


These parameters are spelled out.
Linuxcnc 10.04. Pathpilot 1.9.8.
I use the simplest example of moving the joystick.

Warning: Spoiler!


Linux works well with LCD.
If you document the last line, it works fine in Pathpilot but without LСD

The pathpilotlog file shows errors.

Warning: Spoiler!

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

More
7 years 1 month ago #145084 by ftkalcevic
Replied by ftkalcevic on topic hidconfig lcd problem

porshe wrote: 2019/09/13 08:51:06.445,18034,1,hiddevice.cpp:312,Warning,hidcomp,HIDDevice,Failed to open usb device: -3
2019/09/13 08:51:06.459,18034,1,emcinterface.cpp:98,Error,hidcomp,EmcInterface,Failed to open ini file - 'tormach_lathe.ini'


Two errors. I'd fix the second one first - it can't find the ini file - either no read permission, or wrong path. The ini file is specified on the "loadusr" line.

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

More
6 years 10 months ago #152549 by porshe
Replied by porshe on topic hidconfig lcd problem
I’m sorry I didn't write right away. I got sick. There are no errors anymore. I wrote the name of the ini file incorrectly. All the same, Lcd doesn't work. What else could it be?
Warning: Spoiler!

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

More
6 years 10 months ago #152642 by ftkalcevic
Replied by ftkalcevic on topic hidconfig lcd problem
There is another error in the log...
Code:
2019/12/12 10:32:03.935,20223,1,emcinterface.cpp:302,Error,hidcomp,EmcInterface,The size of the EMC_STAT buffer mismatches. This is probably because hidcomp is not compiled for it.

That means the binaries for hidcomp have been compiled against a different version of linuxcnc.

You'll need to re-compile hidcomp against the source code of linuxcnc you are running against.

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

Time to create page: 3.186 seconds
Powered by Kunena Forum