Search Results (Searched for: XHC)
27 Apr 2024 23:52
Replied by gardenweazel on topic Mesa 7i76 error after xhc-whb04b-6 install
Mesa 7i76 error after xhc-whb04b-6 install
Category: Driver Boards
I have all of that covered. This is becoming a PITA unfortunately. Been running the same kernel and params for ages.
Not sure if anything changed recently but I almost always download the latest code from GIT, compile and run.
Is this something that may have recently cropped up?
Not sure if anything changed recently but I almost always download the latest code from GIT, compile and run.
Is this something that may have recently cropped up?
24 Apr 2024 02:07
Replied by PCW on topic Mesa 7i76 error after xhc-whb04b-6 install
Mesa 7i76 error after xhc-whb04b-6 install
Category: Driver Boards
Strange, You might try lengthening the servo period slightly
to see if is improves things or do some of the other network
latency improving changes:
Use isolcpus in grub to isolate the last processor, use idle=poll in grub,
make sure irq coalescing is off if you have a Intel MAC, and finally pin
the Ethernet IRQ to the isolated CPU.
to see if is improves things or do some of the other network
latency improving changes:
Use isolcpus in grub to isolate the last processor, use idle=poll in grub,
make sure irq coalescing is off if you have a Intel MAC, and finally pin
the Ethernet IRQ to the isolated CPU.
24 Apr 2024 01:07
Replied by gardenweazel on topic Mesa 7i76 error after xhc-whb04b-6 install
Mesa 7i76 error after xhc-whb04b-6 install
Category: Driver Boards
It's just the USB dongle, nothing more.
24 Apr 2024 00:02
Build LinuxCNC v2.9.2 with Ubuntu-20.04 sucessfully but cannot find the command
Category: Installing LinuxCNC
Dear Forum,
It seems that I was able to build the linuxcnc v2.9.2 on Ubuntu-20.04 as below :
$ uname -r
5.15.119-rt65
$ ./autogen.sh
$ ./configure --with-realtime=uspace
checking for c++... c++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether c++ supports C++17 features with -std=gnu++17... yes
checking build toplevel... /data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x
checking installation prefix... run in place
checking for grep... /usr/bin/grep
checking for egrep... /usr/bin/egrep
checking for pkg-config... /usr/bin/pkg-config
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking rpc/rpc.h usability... yes
checking rpc/rpc.h presence... yes
checking for rpc/rpc.h... yes
checking for rtai-config... none
checking for xeno-config... none
checking for realtime API(s) to use... uspace
checking whether to enable userspace PCI access... yes
checking for libudev... yes - version 245
checking for cc version... not specified
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking for usability of linux/hidraw.h... yes
checking for usability of rpc/rpc.h... yes
checking for libmodbus3... yes - version 3.1.6
checking for libusb-1.0... yes
checking for libgpiod... checking for main in -lgpiod... yes
checking for module installation directory... configuring for run-in-place
/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/rtlib
checking for glib... yes - 2.64.6
checking for GTK 3.22.4 or above... yes - 3.24.20
checking for GTK 2.4.0 or above... yes - 2.24.32
checking for libgnomeprintui-2.2... no -- printing from classicladder will not be possible
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking for install... /usr/bin/install -c
checking for sed... /usr/bin/sed
checking for ps... /usr/bin/ps
checking for kill... /usr/bin/kill
checking for whoami... /usr/bin/whoami
checking for awk... /usr/bin/awk
checking for pidof... /usr/bin/pidof
checking for ipcs... /usr/bin/ipcs
checking for fuser... /usr/bin/fuser
checking for yapps... no
checking for yapps2... /usr/bin/yapps2
checking for mandb... /usr/bin/mandb
checking for intltool-extract... /usr/bin/intltool-extract
checking for yapps... (cached) /usr/bin/yapps2
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for boostlib >= (102000)... yes
checking for python build information...
checking for python3.11... no
checking for python3.10... no
checking for python3.9... no
checking for python3.8... python3.8
checking for main in -lpython3.8... yes
results of the Python check:
Binary: python3.8
Library: python3.8
Include Dir: /usr/include/python3.8
checking for python3.8... /usr/bin/python3.8
checking for python... (cached) /usr/bin/python3.8
checking for a version of Python >= '2.1.0'... yes
checking for the sysconfig Python package... yes
checking for Python include path... -I/usr/include/python3.8
checking for Python library path... -L/usr/lib -lpython3.8
checking for Python site-packages path... /usr/lib/python3.8/site-packages
checking for Python platform specific site-packages path...
checking python extra libraries... -lcrypt -lpthread -ldl -lutil -lm -lm
checking python extra linking flags... -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
checking consistency of all components of python development environment... yes
checking whether the Boost::Python library is available... yes
checking whether boost_python is the correct library... no
checking whether boost_python38 is the correct library... yes
checking whether to build documentation... no
checking sys/io.h usability... yes
checking sys/io.h presence... yes
checking for sys/io.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for semtimedop... yes
checking for optreset... no
checking for library containing dlopen... -ldl
checking for library containing clock_nanosleep... none required
checking for tcl... /usr/lib/tcl8.6/tclConfig.sh found
checking for tk... /usr/lib/tk8.6/tkConfig.sh found
checking whether to check for runtime dependencies... yes
checking for BWidget using /usr/bin/tclsh8.6... found
checking for BLT using /usr/bin/tclsh8.6... found
checking for tclX using /usr/bin/tclsh8.6... found
checking for python pango module... found
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking X11/extensions/Xinerama.h usability... yes
checking X11/extensions/Xinerama.h presence... yes
checking for X11/extensions/Xinerama.h... yes
checking for XineramaQueryExtension in -lXinerama... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
Trying readline without -ltermcap
checking for readline in -lreadline... yes
Trying readline with -ltermcap
checking for readline in -lreadline... yes
Readline does not require -ltermcap
checking whether readline license is compatible with GPL-2... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for setlocale... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for gettext in -lintl... no
checking for xgettext... /usr/bin/xgettext
checking for msgfmt... /usr/bin/msgfmt
checking python version... OK
checking match between tk and Tkinter versions... 8.6
checking for site-package location... /usr/lib/python3/dist-packages
checking for working GLU quadrics... yes
checking for Xmu headers... checking X11/Xmu/Xmu.h usability... yes
checking X11/Xmu/Xmu.h presence... yes
checking for X11/Xmu/Xmu.h... yes
configure: creating ./config.status
config.status: creating ../scripts/rtapi.conf
config.status: creating ../scripts/linuxcnc
config.status: creating ../scripts/linuxcnc_info
config.status: creating ../scripts/halrun
config.status: creating ../scripts/rip-environment
config.status: creating ../scripts/haltcl
config.status: creating ../scripts/halcmd_twopass
config.status: creating ../scripts/realtime
config.status: creating ../scripts/runtests
config.status: creating ../scripts/linuxcnc_var
config.status: creating ../scripts/linuxcnc-checklink
config.status: creating Makefile.inc
config.status: creating Makefile.modinc
config.status: creating ../tcl/linuxcnc.tcl
config.status: creating ../lib/python/nf.py
config.status: creating ../scripts/linuxcncmkdesktop
config.status: creating ../share/applications/linuxcnc-latency.desktop
config.status: creating ../share/applications/linuxcnc-latency-histogram.desktop
config.status: creating ../share/applications/linuxcnc-pncconf.desktop
config.status: creating ../share/applications/linuxcnc-stepconf.desktop
config.status: creating ../share/applications/linuxcnc.desktop
config.status: creating ../share/desktop-directories/linuxcnc-cnc.directory
config.status: creating ../share/desktop-directories/linuxcnc-ref.directory
config.status: creating ../share/desktop-directories/linuxcnc-doc.directory
config.status: creating ../share/menus/CNC.menu
config.status: creating config.h
######################################################################
# LinuxCNC - Enhanced Machine Controller #
######################################################################
# #
# LinuxCNC is a software system for computer control of machine #
# tools such as milling machines. LinuxCNC is released under the #
# GPL. Check out www.linuxcnc.org/ for more details. #
# #
# #
# It seems that ./configure completed successfully. #
# This means that RT is properly installed #
# If things don't work check config.log for errors & warnings #
# #
# Next compile by typing #
# make #
# sudo make setuid #
# (if realtime behavior and hardware access are required) #
# #
# Before running the software, set the environment: #
# . (top dir)/scripts/rip-environment #
# #
# To run the software type #
# linuxcnc #
# #
######################################################################
$ make
Reading 205/205 dependency files
Done reading dependencies
Reading 238/238 realtime dependency files
Done reading realtime dependencies
cp ../scripts/rtapi.conf ../tests/uspace/spawnv-root/rtapi.conf
Compiling libnml/inifile/inifile.cc
In file included from /usr/include/string.h:495,
from libnml/inifile/inifile.cc:18:
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘const char* IniFile::Find(const char*, const char*, int, int*)’ at libnml/inifile/inifile.cc:319:23:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying between 0 and 255 bytes from a string of length 256 [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Creating shared library liblinuxcncini.so.0
ln -sf liblinuxcncini.so.0 ../lib/liblinuxcncini.so
Compiling libnml/inifile/inivar.cc
Linking inivar
Compiling libnml/os_intf/_sem.c
Compiling libnml/os_intf/_shm.c
Compiling rtapi/uspace_ulapi.c
Creating shared library liblinuxcnchal.so.0
ln -sf liblinuxcnchal.so.0 ../lib/liblinuxcnchal.so
Creating shared library libnml.so.0
ln -sf libnml.so.0 ../lib/libnml.so
Compiling rtapi/uspace_rtapi_app.cc
Compiling rtapi/rtapi_pci.cc
Linking rtapi_app
./config.status --file=../docs/man/man1/linuxcnc.1:../docs/src/man/man1/linuxcnc.1.in
config.status: creating ../docs/man/man1/linuxcnc.1
Linking halstreamer
Linking halsampler
Linking panelui
Compiling hal/user_comps/mb2hal/mb2hal.c
Compiling hal/user_comps/mb2hal/mb2hal_init.c
Compiling hal/user_comps/mb2hal/mb2hal_modbus.c
Compiling hal/user_comps/mb2hal/mb2hal_hal.c
Linking mb2hal
Linking gs2_vfd
Linking hy_gt_vfd
Linking svd-ps_vfd
Linking shuttle
Compiling hal/user_comps/xhc-hb04.cc
Linking xhc-hb04
Linking sendkeys
Linking thermistor
Linking vfs11_vfd
Compiling hal/classicladder/arithm_eval.c
Compiling hal/classicladder/arrays.c
Compiling hal/classicladder/calc.c
Compiling hal/classicladder/calc_sequential.c
Compiling hal/classicladder/classicladder.c
Compiling hal/classicladder/classicladder_gtk.c
Compiling hal/classicladder/config.c
Compiling hal/classicladder/config_gtk.c
Compiling hal/classicladder/drawing.c
Compiling hal/classicladder/drawing_sequential.c
Compiling hal/classicladder/edit.c
Compiling hal/classicladder/edit_gtk.c
Compiling hal/classicladder/edit_sequential.c
Compiling hal/classicladder/editproperties_gtk.c
Compiling hal/classicladder/emc_mods.c
Compiling hal/classicladder/files.c
Compiling hal/classicladder/files_project.c
Compiling hal/classicladder/files_sequential.c
Compiling hal/classicladder/manager.c
Compiling hal/classicladder/manager_gtk.c
Compiling hal/classicladder/protocol_modbus_master.c
Compiling hal/classicladder/protocol_modbus_slave.c
Compiling hal/classicladder/serial_linux.c
Compiling hal/classicladder/socket_modbus_master.c
Compiling hal/classicladder/socket_server.c
Compiling hal/classicladder/spy_vars_gtk.c
Compiling hal/classicladder/symbols.c
Compiling hal/classicladder/symbols_gtk.c
Compiling hal/classicladder/vars_names.c
Compiling hal/classicladder/vars_access.c
Linking classicladder
Compiling hal/utils/halcmd.c
Compiling hal/utils/halcmd_commands.cc
Linking hal.so
Compiling hal/utils/halcmd_main.c
Compiling hal/utils/halcmd_completion.c
Linking halcmd
Compiling hal/utils/halrmt.c
Linking halrmt
Compiling hal/utils/meter.c
Compiling hal/utils/miscgtk.c
Linking halmeter
Compiling hal/utils/scope.c
Compiling hal/utils/scope_horiz.c
Compiling hal/utils/scope_vert.c
Compiling hal/utils/scope_trig.c
Compiling hal/utils/scope_disp.c
Compiling hal/utils/scope_files.c
Linking halscope
Linking vfdb_vfd
Linking wj200_vfd
Linking pi500_vfd
Linking hy_vfd
Compiling hal/user_comps/xhc-whb04b-6/main.cc
Linking xhc-whb04b-6
Compiling emc/nml_intf/emcglb.c
Linking liblinuxcnc.a
Linking linuxcnc.so
Linking linuxcncrsh
Linking schedrmt
Compiling emc/usr_intf/emclcd.cc
emc/usr_intf/emclcd.cc: In function ‘int main(int, char**)’:
emc/usr_intf/emclcd.cc:494:52: warning: ‘%s’ directive output may be truncated writing up to 3679 bytes into a region of size 1013 [-Wformat-truncation=]
494 | snprintf(sockStr, sizeof(sockStr), "widget_add %s %s %s\n", widgets.screenName,
| ^~
In file included from /usr/include/stdio.h:867,
from emc/usr_intf/emclcd.cc:30:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output 15 or more bytes (assuming 3694) into a destination of size 1024
67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling emc/usr_intf/sockets.c
Linking linuxcnclcd
Linking halui
Linking linuxcncsvr
Compiling emc/task/emccanon.cc
Compiling emc/task/emctaskmain.cc
Compiling emc/rs274ngc/interp_base.cc
Compiling emc/rs274ngc/interp_namedparams.cc
Linking libpyplugin.so.0
c++ -std=gnu++17 -g -L/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/lib -Wl,-rpath,/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/lib -lgpiod -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-soname,libpyplugin.so.0 -shared -o ../lib/libpyplugin.so.0 objects/emc/pythonplugin/python_plugin.o ../lib/liblinuxcncini.so -lstdc++ -lboost_python38 -L/usr/lib -lpython3.8 -lcrypt -lpthread -ldl -lutil -lm -lm
ln -sf libpyplugin.so.0 ../lib/libpyplugin.so
Linking librs274.so.0
c++ -std=gnu++17 -g -L/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/lib -Wl,-rpath,/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/lib -lgpiod -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-soname,librs274.so.0 -shared -o ../lib/librs274.so.0 objects/emc/rs274ngc/interp_arc.o objects/emc/rs274ngc/interp_array.o objects/emc/rs274ngc/interp_base.o objects/emc/rs274ngc/interp_check.o objects/emc/rs274ngc/interp_convert.o objects/emc/rs274ngc/interp_queue.o objects/emc/rs274ngc/interp_cycles.o objects/emc/rs274ngc/interp_execute.o objects/emc/rs274ngc/interp_find.o objects/emc/rs274ngc/interp_internal.o objects/emc/rs274ngc/interp_inverse.o objects/emc/rs274ngc/interp_read.o objects/emc/rs274ngc/interp_write.o objects/emc/rs274ngc/interp_o_word.o objects/emc/rs274ngc/interp_g7x.o objects/emc/rs274ngc/modal_state.o objects/emc/rs274ngc/nurbs_additional_functions.o objects/emc/rs274ngc/interp_namedparams.o objects/emc/rs274ngc/interp_python.o objects/emc/rs274ngc/interp_remap.o objects/emc/rs274ngc/interp_setup.o objects/emc/rs274ngc/canonmodule.o objects/emc/rs274ngc/pyparamclass.o objects/emc/rs274ngc/pyemctypes.o objects/emc/rs274ngc/pyinterp1.o objects/emc/rs274ngc/pyblock.o objects/emc/rs274ngc/pyarrays.o objects/emc/rs274ngc/interpmodule.o objects/emc/rs274ngc/rs274ngc_pre.o objects/emc/rs274ngc/interp_inspection.o ../lib/liblinuxcncini.so ../lib/libpyplugin.so ../lib/liblinuxcnchal.so.0 ../lib/libtooldata.so.0 -lstdc++ -lboost_python38 -L/usr/lib -lpython3.8 -lcrypt -lpthread -ldl -lutil -lm -lm
Linking milltask
c++ -std=gnu++17 -o ../bin/milltask objects/emc/motion/emcmotglb.o objects/emc/task/emctask.o objects/emc/task/emccanon.o objects/emc/task/emctaskmain.o objects/emc/motion/usrmotintf.o objects/emc/motion/emcmotutil.o objects/emc/task/taskintf.o objects/emc/motion/dbuf.o objects/emc/motion/stashf.o objects/emc/task/taskmodule.o objects/emc/task/taskclass.o objects/emc/task/backtrace.o ../lib/librs274.so.0 ../lib/liblinuxcnc.a ../lib/libnml.so.0 ../lib/liblinuxcncini.so.0 ../lib/libposemath.so.0 ../lib/liblinuxcnchal.so.0 ../lib/libpyplugin.so.0 ../lib/libtooldata.so.0 -L/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/lib -Wl,-rpath,/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/lib -lgpiod -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -lboost_python38 -L/usr/lib -lpython3.8 -lcrypt -lpthread -ldl -lutil -lm -lm
Linking io
Linking iov2
emc/Submakefile:Linking genserkins
Compiling emc/canterp/canterp.cc
Linking canterp.so
Compiling emc/sai/driver.cc
Linking rs274
Linking motion-logger
Compiling module_helper/module_helper.c
Linking linuxcnc_module_helper
Compiling hal/halmodule.cc
Linking python module _hal.so
Compiling emc/usr_intf/axis/extensions/emcmodule.cc
Linking python module linuxcnc.so
Compiling emc/usr_intf/axis/extensions/_toglmodule.c
Linking python module _togl.so
Compiling emc/rs274ngc/gcodemodule.cc
Linking python module gcode.so
c++ -std=gnu++17 -L/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/lib -Wl,-rpath,/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/lib -lgpiod -shared -o ../lib/python/gcode.so objects/emc/rs274ngc/gcodemodule.o ../lib/librs274.so.0 -lstdc++
Compiling realtime hal/drivers/hal_speaker.c
Linking ../rtlib/hal_speaker.so
Compiling realtime hal/drivers/hal_gpio.c
Linking ../rtlib/hal_gpio.so
Compiling realtime emc/motion/control.c
Linking ../rtlib/motmod.so
config.status: creating ../scripts/setup_designer
You now need to run 'sudo make setuid' in order to run in place with access to hardware.
$ sudo make setuid
chown root ../bin/rtapi_app
chmod 4750 ../bin/rtapi_app
chown root ../bin/linuxcnc_module_helper
chmod 4750 ../bin/linuxcnc_module_helper
But the linuxcnc command is found nowhere. Can anybody help me, please ?
Thanks and best regards,
Khang.
It seems that I was able to build the linuxcnc v2.9.2 on Ubuntu-20.04 as below :
$ uname -r
5.15.119-rt65
$ ./autogen.sh
$ ./configure --with-realtime=uspace
checking for c++... c++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether c++ supports C++17 features with -std=gnu++17... yes
checking build toplevel... /data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x
checking installation prefix... run in place
checking for grep... /usr/bin/grep
checking for egrep... /usr/bin/egrep
checking for pkg-config... /usr/bin/pkg-config
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking rpc/rpc.h usability... yes
checking rpc/rpc.h presence... yes
checking for rpc/rpc.h... yes
checking for rtai-config... none
checking for xeno-config... none
checking for realtime API(s) to use... uspace
checking whether to enable userspace PCI access... yes
checking for libudev... yes - version 245
checking for cc version... not specified
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking for usability of linux/hidraw.h... yes
checking for usability of rpc/rpc.h... yes
checking for libmodbus3... yes - version 3.1.6
checking for libusb-1.0... yes
checking for libgpiod... checking for main in -lgpiod... yes
checking for module installation directory... configuring for run-in-place
/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/rtlib
checking for glib... yes - 2.64.6
checking for GTK 3.22.4 or above... yes - 3.24.20
checking for GTK 2.4.0 or above... yes - 2.24.32
checking for libgnomeprintui-2.2... no -- printing from classicladder will not be possible
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking for install... /usr/bin/install -c
checking for sed... /usr/bin/sed
checking for ps... /usr/bin/ps
checking for kill... /usr/bin/kill
checking for whoami... /usr/bin/whoami
checking for awk... /usr/bin/awk
checking for pidof... /usr/bin/pidof
checking for ipcs... /usr/bin/ipcs
checking for fuser... /usr/bin/fuser
checking for yapps... no
checking for yapps2... /usr/bin/yapps2
checking for mandb... /usr/bin/mandb
checking for intltool-extract... /usr/bin/intltool-extract
checking for yapps... (cached) /usr/bin/yapps2
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for boostlib >= (102000)... yes
checking for python build information...
checking for python3.11... no
checking for python3.10... no
checking for python3.9... no
checking for python3.8... python3.8
checking for main in -lpython3.8... yes
results of the Python check:
Binary: python3.8
Library: python3.8
Include Dir: /usr/include/python3.8
checking for python3.8... /usr/bin/python3.8
checking for python... (cached) /usr/bin/python3.8
checking for a version of Python >= '2.1.0'... yes
checking for the sysconfig Python package... yes
checking for Python include path... -I/usr/include/python3.8
checking for Python library path... -L/usr/lib -lpython3.8
checking for Python site-packages path... /usr/lib/python3.8/site-packages
checking for Python platform specific site-packages path...
checking python extra libraries... -lcrypt -lpthread -ldl -lutil -lm -lm
checking python extra linking flags... -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
checking consistency of all components of python development environment... yes
checking whether the Boost::Python library is available... yes
checking whether boost_python is the correct library... no
checking whether boost_python38 is the correct library... yes
checking whether to build documentation... no
checking sys/io.h usability... yes
checking sys/io.h presence... yes
checking for sys/io.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for semtimedop... yes
checking for optreset... no
checking for library containing dlopen... -ldl
checking for library containing clock_nanosleep... none required
checking for tcl... /usr/lib/tcl8.6/tclConfig.sh found
checking for tk... /usr/lib/tk8.6/tkConfig.sh found
checking whether to check for runtime dependencies... yes
checking for BWidget using /usr/bin/tclsh8.6... found
checking for BLT using /usr/bin/tclsh8.6... found
checking for tclX using /usr/bin/tclsh8.6... found
checking for python pango module... found
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking X11/extensions/Xinerama.h usability... yes
checking X11/extensions/Xinerama.h presence... yes
checking for X11/extensions/Xinerama.h... yes
checking for XineramaQueryExtension in -lXinerama... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
Trying readline without -ltermcap
checking for readline in -lreadline... yes
Trying readline with -ltermcap
checking for readline in -lreadline... yes
Readline does not require -ltermcap
checking whether readline license is compatible with GPL-2... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for setlocale... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for gettext in -lintl... no
checking for xgettext... /usr/bin/xgettext
checking for msgfmt... /usr/bin/msgfmt
checking python version... OK
checking match between tk and Tkinter versions... 8.6
checking for site-package location... /usr/lib/python3/dist-packages
checking for working GLU quadrics... yes
checking for Xmu headers... checking X11/Xmu/Xmu.h usability... yes
checking X11/Xmu/Xmu.h presence... yes
checking for X11/Xmu/Xmu.h... yes
configure: creating ./config.status
config.status: creating ../scripts/rtapi.conf
config.status: creating ../scripts/linuxcnc
config.status: creating ../scripts/linuxcnc_info
config.status: creating ../scripts/halrun
config.status: creating ../scripts/rip-environment
config.status: creating ../scripts/haltcl
config.status: creating ../scripts/halcmd_twopass
config.status: creating ../scripts/realtime
config.status: creating ../scripts/runtests
config.status: creating ../scripts/linuxcnc_var
config.status: creating ../scripts/linuxcnc-checklink
config.status: creating Makefile.inc
config.status: creating Makefile.modinc
config.status: creating ../tcl/linuxcnc.tcl
config.status: creating ../lib/python/nf.py
config.status: creating ../scripts/linuxcncmkdesktop
config.status: creating ../share/applications/linuxcnc-latency.desktop
config.status: creating ../share/applications/linuxcnc-latency-histogram.desktop
config.status: creating ../share/applications/linuxcnc-pncconf.desktop
config.status: creating ../share/applications/linuxcnc-stepconf.desktop
config.status: creating ../share/applications/linuxcnc.desktop
config.status: creating ../share/desktop-directories/linuxcnc-cnc.directory
config.status: creating ../share/desktop-directories/linuxcnc-ref.directory
config.status: creating ../share/desktop-directories/linuxcnc-doc.directory
config.status: creating ../share/menus/CNC.menu
config.status: creating config.h
######################################################################
# LinuxCNC - Enhanced Machine Controller #
######################################################################
# #
# LinuxCNC is a software system for computer control of machine #
# tools such as milling machines. LinuxCNC is released under the #
# GPL. Check out www.linuxcnc.org/ for more details. #
# #
# #
# It seems that ./configure completed successfully. #
# This means that RT is properly installed #
# If things don't work check config.log for errors & warnings #
# #
# Next compile by typing #
# make #
# sudo make setuid #
# (if realtime behavior and hardware access are required) #
# #
# Before running the software, set the environment: #
# . (top dir)/scripts/rip-environment #
# #
# To run the software type #
# linuxcnc #
# #
######################################################################
$ make
Reading 205/205 dependency files
Done reading dependencies
Reading 238/238 realtime dependency files
Done reading realtime dependencies
cp ../scripts/rtapi.conf ../tests/uspace/spawnv-root/rtapi.conf
Compiling libnml/inifile/inifile.cc
In file included from /usr/include/string.h:495,
from libnml/inifile/inifile.cc:18:
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘const char* IniFile::Find(const char*, const char*, int, int*)’ at libnml/inifile/inifile.cc:319:23:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying between 0 and 255 bytes from a string of length 256 [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Creating shared library liblinuxcncini.so.0
ln -sf liblinuxcncini.so.0 ../lib/liblinuxcncini.so
Compiling libnml/inifile/inivar.cc
Linking inivar
Compiling libnml/os_intf/_sem.c
Compiling libnml/os_intf/_shm.c
Compiling rtapi/uspace_ulapi.c
Creating shared library liblinuxcnchal.so.0
ln -sf liblinuxcnchal.so.0 ../lib/liblinuxcnchal.so
Creating shared library libnml.so.0
ln -sf libnml.so.0 ../lib/libnml.so
Compiling rtapi/uspace_rtapi_app.cc
Compiling rtapi/rtapi_pci.cc
Linking rtapi_app
./config.status --file=../docs/man/man1/linuxcnc.1:../docs/src/man/man1/linuxcnc.1.in
config.status: creating ../docs/man/man1/linuxcnc.1
Linking halstreamer
Linking halsampler
Linking panelui
Compiling hal/user_comps/mb2hal/mb2hal.c
Compiling hal/user_comps/mb2hal/mb2hal_init.c
Compiling hal/user_comps/mb2hal/mb2hal_modbus.c
Compiling hal/user_comps/mb2hal/mb2hal_hal.c
Linking mb2hal
Linking gs2_vfd
Linking hy_gt_vfd
Linking svd-ps_vfd
Linking shuttle
Compiling hal/user_comps/xhc-hb04.cc
Linking xhc-hb04
Linking sendkeys
Linking thermistor
Linking vfs11_vfd
Compiling hal/classicladder/arithm_eval.c
Compiling hal/classicladder/arrays.c
Compiling hal/classicladder/calc.c
Compiling hal/classicladder/calc_sequential.c
Compiling hal/classicladder/classicladder.c
Compiling hal/classicladder/classicladder_gtk.c
Compiling hal/classicladder/config.c
Compiling hal/classicladder/config_gtk.c
Compiling hal/classicladder/drawing.c
Compiling hal/classicladder/drawing_sequential.c
Compiling hal/classicladder/edit.c
Compiling hal/classicladder/edit_gtk.c
Compiling hal/classicladder/edit_sequential.c
Compiling hal/classicladder/editproperties_gtk.c
Compiling hal/classicladder/emc_mods.c
Compiling hal/classicladder/files.c
Compiling hal/classicladder/files_project.c
Compiling hal/classicladder/files_sequential.c
Compiling hal/classicladder/manager.c
Compiling hal/classicladder/manager_gtk.c
Compiling hal/classicladder/protocol_modbus_master.c
Compiling hal/classicladder/protocol_modbus_slave.c
Compiling hal/classicladder/serial_linux.c
Compiling hal/classicladder/socket_modbus_master.c
Compiling hal/classicladder/socket_server.c
Compiling hal/classicladder/spy_vars_gtk.c
Compiling hal/classicladder/symbols.c
Compiling hal/classicladder/symbols_gtk.c
Compiling hal/classicladder/vars_names.c
Compiling hal/classicladder/vars_access.c
Linking classicladder
Compiling hal/utils/halcmd.c
Compiling hal/utils/halcmd_commands.cc
Linking hal.so
Compiling hal/utils/halcmd_main.c
Compiling hal/utils/halcmd_completion.c
Linking halcmd
Compiling hal/utils/halrmt.c
Linking halrmt
Compiling hal/utils/meter.c
Compiling hal/utils/miscgtk.c
Linking halmeter
Compiling hal/utils/scope.c
Compiling hal/utils/scope_horiz.c
Compiling hal/utils/scope_vert.c
Compiling hal/utils/scope_trig.c
Compiling hal/utils/scope_disp.c
Compiling hal/utils/scope_files.c
Linking halscope
Linking vfdb_vfd
Linking wj200_vfd
Linking pi500_vfd
Linking hy_vfd
Compiling hal/user_comps/xhc-whb04b-6/main.cc
Linking xhc-whb04b-6
Compiling emc/nml_intf/emcglb.c
Linking liblinuxcnc.a
Linking linuxcnc.so
Linking linuxcncrsh
Linking schedrmt
Compiling emc/usr_intf/emclcd.cc
emc/usr_intf/emclcd.cc: In function ‘int main(int, char**)’:
emc/usr_intf/emclcd.cc:494:52: warning: ‘%s’ directive output may be truncated writing up to 3679 bytes into a region of size 1013 [-Wformat-truncation=]
494 | snprintf(sockStr, sizeof(sockStr), "widget_add %s %s %s\n", widgets.screenName,
| ^~
In file included from /usr/include/stdio.h:867,
from emc/usr_intf/emclcd.cc:30:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output 15 or more bytes (assuming 3694) into a destination of size 1024
67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling emc/usr_intf/sockets.c
Linking linuxcnclcd
Linking halui
Linking linuxcncsvr
Compiling emc/task/emccanon.cc
Compiling emc/task/emctaskmain.cc
Compiling emc/rs274ngc/interp_base.cc
Compiling emc/rs274ngc/interp_namedparams.cc
Linking libpyplugin.so.0
c++ -std=gnu++17 -g -L/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/lib -Wl,-rpath,/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/lib -lgpiod -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-soname,libpyplugin.so.0 -shared -o ../lib/libpyplugin.so.0 objects/emc/pythonplugin/python_plugin.o ../lib/liblinuxcncini.so -lstdc++ -lboost_python38 -L/usr/lib -lpython3.8 -lcrypt -lpthread -ldl -lutil -lm -lm
ln -sf libpyplugin.so.0 ../lib/libpyplugin.so
Linking librs274.so.0
c++ -std=gnu++17 -g -L/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/lib -Wl,-rpath,/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/lib -lgpiod -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-soname,librs274.so.0 -shared -o ../lib/librs274.so.0 objects/emc/rs274ngc/interp_arc.o objects/emc/rs274ngc/interp_array.o objects/emc/rs274ngc/interp_base.o objects/emc/rs274ngc/interp_check.o objects/emc/rs274ngc/interp_convert.o objects/emc/rs274ngc/interp_queue.o objects/emc/rs274ngc/interp_cycles.o objects/emc/rs274ngc/interp_execute.o objects/emc/rs274ngc/interp_find.o objects/emc/rs274ngc/interp_internal.o objects/emc/rs274ngc/interp_inverse.o objects/emc/rs274ngc/interp_read.o objects/emc/rs274ngc/interp_write.o objects/emc/rs274ngc/interp_o_word.o objects/emc/rs274ngc/interp_g7x.o objects/emc/rs274ngc/modal_state.o objects/emc/rs274ngc/nurbs_additional_functions.o objects/emc/rs274ngc/interp_namedparams.o objects/emc/rs274ngc/interp_python.o objects/emc/rs274ngc/interp_remap.o objects/emc/rs274ngc/interp_setup.o objects/emc/rs274ngc/canonmodule.o objects/emc/rs274ngc/pyparamclass.o objects/emc/rs274ngc/pyemctypes.o objects/emc/rs274ngc/pyinterp1.o objects/emc/rs274ngc/pyblock.o objects/emc/rs274ngc/pyarrays.o objects/emc/rs274ngc/interpmodule.o objects/emc/rs274ngc/rs274ngc_pre.o objects/emc/rs274ngc/interp_inspection.o ../lib/liblinuxcncini.so ../lib/libpyplugin.so ../lib/liblinuxcnchal.so.0 ../lib/libtooldata.so.0 -lstdc++ -lboost_python38 -L/usr/lib -lpython3.8 -lcrypt -lpthread -ldl -lutil -lm -lm
Linking milltask
c++ -std=gnu++17 -o ../bin/milltask objects/emc/motion/emcmotglb.o objects/emc/task/emctask.o objects/emc/task/emccanon.o objects/emc/task/emctaskmain.o objects/emc/motion/usrmotintf.o objects/emc/motion/emcmotutil.o objects/emc/task/taskintf.o objects/emc/motion/dbuf.o objects/emc/motion/stashf.o objects/emc/task/taskmodule.o objects/emc/task/taskclass.o objects/emc/task/backtrace.o ../lib/librs274.so.0 ../lib/liblinuxcnc.a ../lib/libnml.so.0 ../lib/liblinuxcncini.so.0 ../lib/libposemath.so.0 ../lib/liblinuxcnchal.so.0 ../lib/libpyplugin.so.0 ../lib/libtooldata.so.0 -L/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/lib -Wl,-rpath,/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/lib -lgpiod -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -lboost_python38 -L/usr/lib -lpython3.8 -lcrypt -lpthread -ldl -lutil -lm -lm
Linking io
Linking iov2
emc/Submakefile:Linking genserkins
Compiling emc/canterp/canterp.cc
Linking canterp.so
Compiling emc/sai/driver.cc
Linking rs274
Linking motion-logger
Compiling module_helper/module_helper.c
Linking linuxcnc_module_helper
Compiling hal/halmodule.cc
Linking python module _hal.so
Compiling emc/usr_intf/axis/extensions/emcmodule.cc
Linking python module linuxcnc.so
Compiling emc/usr_intf/axis/extensions/_toglmodule.c
Linking python module _togl.so
Compiling emc/rs274ngc/gcodemodule.cc
Linking python module gcode.so
c++ -std=gnu++17 -L/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/lib -Wl,-rpath,/data/R3T-UBUNTU-20/LinuxCNC/linuxcnc-v2.9.x/lib -lgpiod -shared -o ../lib/python/gcode.so objects/emc/rs274ngc/gcodemodule.o ../lib/librs274.so.0 -lstdc++
Compiling realtime hal/drivers/hal_speaker.c
Linking ../rtlib/hal_speaker.so
Compiling realtime hal/drivers/hal_gpio.c
Linking ../rtlib/hal_gpio.so
Compiling realtime emc/motion/control.c
Linking ../rtlib/motmod.so
config.status: creating ../scripts/setup_designer
You now need to run 'sudo make setuid' in order to run in place with access to hardware.
$ sudo make setuid
chown root ../bin/rtapi_app
chmod 4750 ../bin/rtapi_app
chown root ../bin/linuxcnc_module_helper
chmod 4750 ../bin/linuxcnc_module_helper
But the linuxcnc command is found nowhere. Can anybody help me, please ?
Thanks and best regards,
Khang.
23 Apr 2024 22:13
Replied by PCW on topic Mesa 7i76 error after xhc-whb04b-6 install
Mesa 7i76 error after xhc-whb04b-6 install
Category: Driver Boards
That likely means that your latency has increased for some reason
Is the xhc-whb04b-6 interfaced via a USB dongle or is it a WIFI device?
Is the xhc-whb04b-6 interfaced via a USB dongle or is it a WIFI device?
23 Apr 2024 21:48
Mesa 7i76 error after xhc-whb04b-6 install was created by gardenweazel
Mesa 7i76 error after xhc-whb04b-6 install
Category: Driver Boards
20 Apr 2024 10:23
Replied by andypugh on topic Fehler Rules
Fehler Rules
Category: General LinuxCNC Questions
Is the XHC pendant actually plugged in?
20 Apr 2024 10:11
Replied by bkt on topic Lcnc on LMDE6 with rt 6.1.0.18/20 -- realtek problem --- solved by krn. 6.10.6
Lcnc on LMDE6 with rt 6.1.0.18/20 -- realtek problem --- solved by krn. 6.10.6
Category: Installing LinuxCNC
these installation is new and dmesg show all problem until first install .... I have some error ... some is well know some is new:
and these one is well know .... after the new one:
so seems we have some trouble with bluethoot .... we have r8169 driver that not helps us ... but seems not have other problem ... on ACPI Error we try to solve later .... for now erase dmesg for discover future differences better ...
so -> sudo dmesg -C
now dmesg is clean ..... becase problem of these post is realtek driver and suspicious is a general problem .... we try to run firefox youtube with some exiciting video music for some hours so we can check again dmesg.
For not we not install rt-preempt.
1.888584] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.UBTC.RUCC], AE_NOT_FOUND (20220331/psargs-330)
[ 1.888624] ACPI Error: Aborting method \_SB.PC00.XHCI.RHUB.HS01._PLD due to previous error (AE_NOT_FOUND) (20220331/psparse-529)
[ 1.888673] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.UBTC.RUCC], AE_NOT_FOUND (20220331/psargs-330)
[ 1.888701] ACPI Error: Aborting method \_SB.PC00.XHCI.RHUB.HS01._PLD due to previous error (AE_NOT_FOUND) (20220331/psparse-529)
[ 1.888751] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.UBTC.RUCC], AE_NOT_FOUND (20220331/psargs-330)
[ 1.888777] ACPI Error: Aborting method \_SB.PC00.XHCI.RHUB.HS02._PLD due to previous error (AE_NOT_FOUND) (20220331/psparse-529)
[ 1.888818] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.UBTC.RUCC], AE_NOT_FOUND (20220331/psargs-330)
[ 1.890053] ACPI Error: Aborting method \_SB.PC00.XHCI.RHUB.HS02._PLD due to previous error (AE_NOT_FOUND) (20220331/psparse-529)
and these one is well know .... after the new one:
3.619582] hid: raw HID events driver (C) Jiri Kosina
3.629375] usbhid 1-6:1.3: couldn't find an input interrupt endpoint
[ 6.247940] Bluetooth: hci0: RTL: fw version 0xdfb791cb
[ 6.323928] Bluetooth: hci0: Failed to read codec capabilities (-22)
[ 6.553941] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 6.553949] Bluetooth: BNEP filters: protocol multicast
[ 6.553956] Bluetooth: BNEP socket layer initialized
[ 6.558753] Bluetooth: MGMT ver 1.22
[ 6.574770] NET: Registered PF_ALG protocol family
[ 6.860591] r8169 0000:01:00.0: firmware: direct-loading firmware rtl_nic/rtl8168h-2.fw
[ 6.870651] NET: Registered PF_QIPCRTR protocol family
[ 6.885020] Generic FE-GE Realtek PHY r8169-0-100:00: attached PHY driver (mii_bus:phy_addr=r8169-0-100:00, irq=MAC)
[ 7.085862] r8169 0000:01:00.0 enp1s0: Link is Down
[ 7.117085] Generic FE-GE Realtek PHY r8169-0-300:00: attached PHY driver (mii_bus:phy_addr=r8169-0-300:00, irq=MAC)
[ 7.309155] r8169 0000:03:00.0 enp3s0: Link is Down
[ 9.054678] Bluetooth: RFCOMM TTY layer initialized
[ 9.054696] Bluetooth: RFCOMM socket layer initialized
[ 9.054707] Bluetooth: RFCOMM ver 1.11
[ 10.423853] r8169 0000:01:00.0 enp1s0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 10.423873] IPv6: ADDRCONF(NETDEV_CHANGE): enp1s0: link becomes ready
so seems we have some trouble with bluethoot .... we have r8169 driver that not helps us ... but seems not have other problem ... on ACPI Error we try to solve later .... for now erase dmesg for discover future differences better ...
so -> sudo dmesg -C
now dmesg is clean ..... becase problem of these post is realtek driver and suspicious is a general problem .... we try to run firefox youtube with some exiciting video music for some hours so we can check again dmesg.
For not we not install rt-preempt.
16 Apr 2024 16:13
Replied by xenon-alien on topic Linuxcnc 2.9.2 and 2.93 images for Raspberry Pi 4b & 5
Linuxcnc 2.9.2 and 2.93 images for Raspberry Pi 4b & 5
Category: Installing LinuxCNC
Hello.
Sorry that I'm asking 2nd time, but...
How can I change the resolution, orientation (+touch) and make it sound?
I have a 10.1" IPS Touch display with resolution 1920x1200 @60 Hz + audio speakers.
But there is no sound, the resolution is only 1920x1080, no possibility to rotate the screen.
Is it possible to make it work?
On a Windows system the display works fine. (even tried on the Orange Pi PC with Armbian and it almost worked)
My config.txt file
Sorry that I'm asking 2nd time, but...
How can I change the resolution, orientation (+touch) and make it sound?
I have a 10.1" IPS Touch display with resolution 1920x1200 @60 Hz + audio speakers.
But there is no sound, the resolution is only 1920x1080, no possibility to rotate the screen.
Is it possible to make it work?
On a Windows system the display works fine. (even tried on the Orange Pi PC with Armbian and it almost worked)
My config.txt file
arm_64bit=1
initramfs initrd.gz followkernel
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
# uncomment to force a console size. By default it will be display's size minus
# overscan.
framebuffer_width=1920
framebuffer_height=1200
# uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1
# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=2
hdmi_mode=87
hdmi_cvt=1920 1200 60 5 0 0 0
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
hdmi_drive=2
# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4
# uncomment for composite PAL
#sdtv_mode=2
# camera
#start_x=1
#gpu_mem=128
# automatically load overlays for detected cameras
#camera_auto_detect=1
# automatically load overlays for detected DSI displays
#display_auto_detect=1
# uncomment to overclock: https://www.tomshardware.com/how-to/overclock-any-raspberry-pi
#arm_freq=
#gpu_freq=
#core_freq=
#over_voltage=
#force_turbo=1
# uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on
# uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18
# additional overlays and parameters are documented /boot/overlays/README
# enable audio (loads snd_bcm2835)
dtparam=audio=on
# enable uart
enable_uart=0
# disable wifi and bluetooth
#dtoverlay=disable-wifi
#dtoverlay=disable-bt
#dtoverlay=pi3-disable-wifi
#dtoverlay=pi3-disable-bt
# remove test rainbow
disable_splash=1
# disables the warning overlays
#avoid_warnings=1
[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1
[pi4]
# enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-kms-v3d
#dtoverlay=vc4-fkms-v3d
max_framebuffers=2
arm_boost=1
max_usb_current=1
15 Apr 2024 09:10
Fehler Rules was created by Edi_48
Fehler Rules
Category: General LinuxCNC Questions
Hallo, ich habe einen Linux-Recher mit Debian 12, Kernel 6.1.0.18-RT und64
Linuxcnc V2.9.0. Feb.2023
Ich habe folgenden Fehler:
Wenn ich einen eintrag /etc/udev/rules.d/99-xhc-hb04.rules
ATTR{idProduct}=="eb70", ATTR{idVendor}=="10ce", MODE= "0666", OWNER="root", GROUP="plugdev"
mache und Linux neu starten und den Befehl lsusb eingegeben bekommen ich keinen Eintrag eb70 oder 10ce
Wen ich im Menü in den Synaptic Paket Manager wechseln möchte kann ich 2mal kliegen aber er öffnet sich nicht.
Egal SU oder sudo
wo liegt der Fehler?
mfg
Hilton
Linuxcnc V2.9.0. Feb.2023
Ich habe folgenden Fehler:
Wenn ich einen eintrag /etc/udev/rules.d/99-xhc-hb04.rules
ATTR{idProduct}=="eb70", ATTR{idVendor}=="10ce", MODE= "0666", OWNER="root", GROUP="plugdev"
mache und Linux neu starten und den Befehl lsusb eingegeben bekommen ich keinen Eintrag eb70 oder 10ce
Wen ich im Menü in den Synaptic Paket Manager wechseln möchte kann ich 2mal kliegen aber er öffnet sich nicht.
Egal SU oder sudo
wo liegt der Fehler?
mfg
Hilton
14 Apr 2024 19:58
Replied by fixer on topic XHC-WHB04-4 Python component
XHC-WHB04-4 Python component
Category: HAL
Great, thanks.
Make a pull request...
Make a pull request...
14 Apr 2024 18:01
Replied by probotix on topic XHC-WHB04-4 Python component
XHC-WHB04-4 Python component
Category: HAL
I've updated this to work with LinuxCNC 2.9+ and Python3. I also added the secondary function buttons that the original code was missing. I rather prefer this component over the built-in whb04b component *because* its written in python and I can easily modify it to do whatever I want. Thank you to the original author!
github.com/probotix/whb04
Enjoy!
github.com/probotix/whb04
Enjoy!
08 Apr 2024 20:27
Replied by egemens on topic XHC WH04B-4 Driver issues and improvements
XHC WH04B-4 Driver issues and improvements
Category: HAL
any updates on this?
I have the 4 axis model and pendant starts in MPG mode and i have to press either con or step button to get it moving.
also step and cont. modes seem very similar in movement in my machine.
pendant responded differently on mach3
on step mode it stepped with every pulse but i was not able to make consequtive steps as i do in linuxcnc. there was some kind of delay.
on cont. mode motion was more smooth on mach3 as if it was averaging the values. now on linuxcnc its more sensitive to the rotation of the wheel and if i dont turn it at a constant speed, it makes a stuttering motion. it it very similar to step mode.
as i said above i couldn't see the difference between 2 modes.
also i never fully understood the LEAD mode. In mach3 %100 setting meant max feedrate set at the moment for example F3000 and LEAD mode meant max possible feedrate.
I have the 4 axis model and pendant starts in MPG mode and i have to press either con or step button to get it moving.
also step and cont. modes seem very similar in movement in my machine.
pendant responded differently on mach3
on step mode it stepped with every pulse but i was not able to make consequtive steps as i do in linuxcnc. there was some kind of delay.
on cont. mode motion was more smooth on mach3 as if it was averaging the values. now on linuxcnc its more sensitive to the rotation of the wheel and if i dont turn it at a constant speed, it makes a stuttering motion. it it very similar to step mode.
as i said above i couldn't see the difference between 2 modes.
also i never fully understood the LEAD mode. In mach3 %100 setting meant max feedrate set at the moment for example F3000 and LEAD mode meant max possible feedrate.
01 Apr 2024 17:00 - 01 Apr 2024 17:07
Homing mit shared switches funkt nicht. Debian 10 und LCNC 2.9.2
Category: Deutsch
Homing mit einem einzigen/kombinierten End-Referenzschalter
Liebe LCNC Fans, ich bin relativ neu in Linuxcnc.ich sitze schon seit Stunden an einem simplen Problem und probiere mich tot. Jetzt muss ich doch mal um Hilfe bitten.Ich habe Debian 10 mit LCNC 2.9.2 auf einem Lenovo MiniPC 2,9 GHz, 8GB Ram installiert. Meine Konfig stammt von einer Pncconf Version, die ich auch irgendwann zum Laufen gebracht habe. Es stehen mir noch einige Hindernisse bevor, da ich zwar seit 10 Jahren CNC Fräsen baue, aber bisher immer mit hardware orientierten Steuerungen wie Estlcam, Planetcnc zu tun hatte. Verdrahten, einschalten testen fertig. Da ich nicht groß programmieren kann fällt mir der Einstieg in LCNC ziemlich schwer. MIt Hilfe von Freunden und Talla Videos und anderen EN sprachigen Tutorials bin ich schon einigermaßen in iNI und HAL eingestiegen. AUch das WHLXHC Handrad habe ich mit viel Unterstützung zum Laufen bekommen.
Jetzt bin ich nach einer ZWangspause wieder dran, meine Konfiguration einzurichten. Heute mal das Homing Problem:Ich habe meine INI nach einem Talla83 Video zu Referenzfahrt orientiert, er beschreibt das auch mit nur einem Schalter. Es funktioniert aber bei mir nicht so. Auch die DE und EN Manuals habe ich durch zum Thema Homing, da wird das ja auch beschrieben. Ich habe schon diverse Varianten aus den Manuals durch probiert, (v.a. die zweite von oben, ohne Index) - es will einfach nicht wie ich will.
Ich möchte auf den Schalter zu fahren (bzw dran vorbei) dann soll die Achse 5mm wegfahren und langsamer wieder drauf zu. Vom Schaltpunkt aus soll die Achse dann 10mm weg fahren und dort soll dann der G53 Null/Home Punkt sein.Nach meinen EInstellungen fährt die Achse aber nur auf den Punkt (immerhin mit korrekter Fahrtrichtung) und stoppt bei Auslösen des Sensors. Da bleibt sie stehen, der Nullpunkt wird nicht gesetzt, keine Fahrt weg und wieder drauf. Wo ist der Fehler? Ich würde mich freuen ein paar Hinweise zu bekommen.Vielen Dank dafür schon mal! Arno
Hier meine Einstellungen in der .INI
Liebe LCNC Fans, ich bin relativ neu in Linuxcnc.ich sitze schon seit Stunden an einem simplen Problem und probiere mich tot. Jetzt muss ich doch mal um Hilfe bitten.Ich habe Debian 10 mit LCNC 2.9.2 auf einem Lenovo MiniPC 2,9 GHz, 8GB Ram installiert. Meine Konfig stammt von einer Pncconf Version, die ich auch irgendwann zum Laufen gebracht habe. Es stehen mir noch einige Hindernisse bevor, da ich zwar seit 10 Jahren CNC Fräsen baue, aber bisher immer mit hardware orientierten Steuerungen wie Estlcam, Planetcnc zu tun hatte. Verdrahten, einschalten testen fertig. Da ich nicht groß programmieren kann fällt mir der Einstieg in LCNC ziemlich schwer. MIt Hilfe von Freunden und Talla Videos und anderen EN sprachigen Tutorials bin ich schon einigermaßen in iNI und HAL eingestiegen. AUch das WHLXHC Handrad habe ich mit viel Unterstützung zum Laufen bekommen.
Jetzt bin ich nach einer ZWangspause wieder dran, meine Konfiguration einzurichten. Heute mal das Homing Problem:Ich habe meine INI nach einem Talla83 Video zu Referenzfahrt orientiert, er beschreibt das auch mit nur einem Schalter. Es funktioniert aber bei mir nicht so. Auch die DE und EN Manuals habe ich durch zum Thema Homing, da wird das ja auch beschrieben. Ich habe schon diverse Varianten aus den Manuals durch probiert, (v.a. die zweite von oben, ohne Index) - es will einfach nicht wie ich will.
Ich möchte auf den Schalter zu fahren (bzw dran vorbei) dann soll die Achse 5mm wegfahren und langsamer wieder drauf zu. Vom Schaltpunkt aus soll die Achse dann 10mm weg fahren und dort soll dann der G53 Null/Home Punkt sein.Nach meinen EInstellungen fährt die Achse aber nur auf den Punkt (immerhin mit korrekter Fahrtrichtung) und stoppt bei Auslösen des Sensors. Da bleibt sie stehen, der Nullpunkt wird nicht gesetzt, keine Fahrt weg und wieder drauf. Wo ist der Fehler? Ich würde mich freuen ein paar Hinweise zu bekommen.Vielen Dank dafür schon mal! Arno
Hier meine Einstellungen in der .INI
01 Apr 2024 16:32
Replied by jefsaro on topic XHC WHB04b-6 - Disconnects / freezes?
XHC WHB04b-6 - Disconnects / freezes?
Category: Basic Configuration
Hello i have the same problem, before i have old model and never problem, from new it s a big problem.
Regards
Regards
Time to create page: 0.687 seconds