02-15-2016 11:48 AM
=== Kernel Issue ===
When updating the kernel, and needing NI drivers, make sure to follow the instructions here: https://github.com/ni/nilrt/blob/nilrt/15.0/KERNEL_SOURCE.txt, starting at line 90. Basically, you need to make sure to put the needed modules in the correct place, the correct headers are going to be used for re-versioning the NI drivers, and that the cached version string of the kernel is not used.
=== MAX Issue ===
As far as why the target would not be accessible from MAX, can you check the processes that are running by running the command ps and looking for the NISystemWebserver processes (there are a different ones that should be up and running for various different services, including what is required for MAX communication).
02-15-2016 12:17 PM
Concerning the kernel,
The kernel now is 3.10.31-ltsi-rt29
and it used to be (after format etc) 3.10.31-ltsi-rt29-2.10.0f0
Could that be a problem?
post of PS:
PID USER COMMAND
1 admin init [5]
2 admin [kthreadd]
3 admin [ksoftirqd/0]
4 admin [kworker/0:0]
5 admin [kworker/0:0H]
6 admin [kworker/u8:0]
7 admin [posixcputmr/0]
8 admin [kclksetdelayd]
9 admin [kcmosdelayd]
10 admin [migration/0]
11 admin [rcu_preempt]
12 admin [rcuop/0]
13 admin [rcuop/1]
14 admin [rcuop/2]
15 admin [rcuop/3]
16 admin [rcu_bh]
17 admin [rcuob/0]
18 admin [rcuob/1]
19 admin [rcuob/2]
20 admin [rcuob/3]
21 admin [rcu_sched]
22 admin [rcuos/0]
23 admin [rcuos/1]
24 admin [rcuos/2]
25 admin [rcuos/3]
26 admin [migration/1]
27 admin [ksoftirqd/1]
28 admin [posixcputmr/1]
29 admin [kworker/1:0]
30 admin [kworker/1:0H]
31 admin [migration/2]
32 admin [ksoftirqd/2]
33 admin [posixcputmr/2]
34 admin [kworker/2:0]
35 admin [kworker/2:0H]
36 admin [migration/3]
37 admin [ksoftirqd/3]
38 admin [posixcputmr/3]
39 admin [kworker/3:0]
40 admin [kworker/3:0H]
41 admin [khelper]
42 admin [kdevtmpfs]
43 admin [writeback]
44 admin [kintegrityd]
45 admin [bioset]
46 admin [kblockd]
47 admin [irq/9-acpi]
48 admin [kworker/0:1]
49 admin [ata_sff]
50 admin [khubd]
52 admin [kswapd0]
53 admin [ksmd]
54 admin [fsnotify_mark]
55 admin [crypto]
63 admin [irq/103-ahci]
64 admin [scsi_eh_0]
65 admin [scsi_eh_1]
67 admin [kworker/u8:2]
68 admin [irq/104-xhci_hc]
69 admin [kworker/2:1]
70 admin [irq/8-rtc0]
71 admin [mce-notify]
72 admin [deferwq]
73 admin [kworker/1:1]
74 admin [kworker/3:1]
75 admin [kworker/2:1H]
76 admin [jbd2/sda4-8]
77 admin [ext4-dio-unwrit]
78 admin [kworker/3:1H]
79 admin [kworker/1:1H]
82 admin [kworker/0:1H]
94 admin [jbd2/sda2-8]
95 admin [ext4-dio-unwrit]
96 admin [jbd2/sda3-8]
97 admin [ext4-dio-unwrit]
186 admin /lib/udev/udevd -d
303 admin [irq/115-i915]
518 admin /usr/sbin/crdd
872 admin [irq/116-eth0]
873 admin [irq/117-eth0-Tx]
874 admin [irq/118-eth0-Tx]
875 admin [irq/119-eth0-Tx]
876 admin [irq/120-eth0-Tx]
897 admin [irq/105-eth1]
898 admin [irq/106-eth1-Tx]
899 admin [irq/107-eth1-Tx]
900 admin [irq/108-eth1-Tx]
901 admin [irq/109-eth1-Tx]
922 admin [irq/110-eth2]
923 admin [irq/111-eth2-Tx]
924 admin [irq/112-eth2-Tx]
925 admin [irq/113-eth2-Tx]
926 admin [irq/114-eth2-Tx]
952 admin /lib/udev/udevd -d
954 admin /lib/udev/udevd -d
1034 admin /usr/local/natinst/share/NIAuth/niauth_daemon -start
1047 admin /usr/bin/eGTouchD
1099 lvuser su -c startxfce4 - lvuser
1108 lvuser xinit /etc/xdg/xfce4/xinitrc
1109 admin X
1110 messageb /usr/bin/dbus-daemon --system
1181 admin /usr/sbin/sshd
1187 admin /usr/sbin/syslog-ng --process-mode=background
1190 admin /sbin/acpid -a /etc/acpid.conf -c /etc/acpi
1200 admin /usr/sbin/crond -c /etc/cron/crontabs
1209 admin /usr/bin/ifplugd -i eth0 -fI -u0 -d0 -m auto -M -l
1213 admin /usr/bin/ifplugd -i eth1 -fI -u0 -d0 -m auto -M -l
1217 admin /usr/bin/ifplugd -i eth2 -fI -u0 -d0 -m auto -M -l
1483 admin /usr/local/natinst/bin/nisvcloc -D
1487 lvuser sh /etc/xdg/xfce4/xinitrc
1492 lvuser xfce4-session
1495 lvuser /usr/bin/dbus-launch --sh-syntax --exit-with-session xfce4-session
1496 lvuser /usr/bin/dbus-daemon --fork --print-pid 8 --print-address 10 --session
1499 admin /usr/lib/polkit/polkitd --no-debug
1503 lvuser /usr/lib/xfce4/xfconf/xfconfd
1506 lvuser xfwm4
1510 lvuser xfce4-panel
1512 lvuser /usr/bin/thunar.bin --daemon
1514 lvuser xfdesktop
1523 lvuser xfsettingsd
1529 lvuser /usr/lib/gvfs/gvfsd
1546 avahi avahi-daemon: running [NI-CVS-1458RT-01AE0DF7.local]
1547 avahi avahi-daemon: chroot helper
1559 lvuser /usr/local/natinst/bin/NiRioRpcServer
1565 admin /usr/sbin/avahi-dnsconfd -D
1585 webserv {NI WSD Watchdog} /usr/local/natinst/share/NIWebServer/SystemWebServer -timeout 20 -system
1586 webserv /usr/local/natinst/share/NIWebServer/SystemWebServer -timeout 20 -system
1596 webserv NIWebServiceContainer {E9497DB2-D468-11E5-A77E-00802F2342A4} 11
1606 admin /usr/local/natinst/share/mxs64/nimxs -d
1614 webserv NIWebServiceContainer {E94FF08B-D468-11E5-A77E-00802F2342A4} 11
1629 admin /usr/local/natinst/bin/nirtmdnsd
1648 admin /usr/sbin/vsftpd
1655 admin /usr/local/natinst/bin/lkads -start
1661 webserv NIWebServiceContainer {E95A7856-D468-11E5-A77E-00802F2342A4} 11
1664 admin /usr/local/natinst/bin/niimaqdx_configurenic
1715 lvuser /usr/local/natinst/bin/tagsrv -start
1718 admin /usr/local/natinst/bin/ImageViewerDaemon
1724 admin {S98nilvrt} /bin/sh /etc/rc5.d/S98nilvrt start
1756 webserv NIWebServiceContainer {E969A65C-D468-11E5-A77E-00802F2342A4} 11
1785 webserv NIWebServiceContainer {E96E89ED-D468-11E5-A77E-00802F2342A4} 11
1812 admin /sbin/getty 38400 tty2
1813 admin /sbin/getty 38400 tty1
1818 webserv NIWebServiceContainer {E974FFDA-D468-11E5-A77E-00802F2342A4} 11
2461 lvuser /usr/lib/gvfs/gvfs-gdu-volume-monitor
2464 admin /usr/lib/udisks/udisks-daemon
2465 admin udisks-daemon: not polling any devices
2473 lvuser /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
2475 lvuser /usr/lib/gvfs/gvfsd-trash --spawner :1.10 /org/gtk/gvfs/exec_spaw/0
2530 lvuser /usr/bin/xfce4-terminal
2557 lvuser gnome-pty-helper
2560 lvuser sh
3271 admin {sshd} sshd: admin@pts/1
3586 admin -bash
5678 webserv [NIWebServiceCon]
6074 lvuser /bin/su - -- lvuser -l -c /etc/init.d/lvrt-wrapper CRASHED_AND_RESTART /var/run/lvrt_wrapper.pid true
6075 lvuser {MainAppThread} ./lvrt liblvrt-ui.so
6143 admin ps
02-16-2016 04:47 AM
Update;
After building kernel again => same error, in NI MAX, the cvs doesn't show.
After doing updateNIDrivers (in /usr/local/natinst/nikal/bin) it works, the CVS is visible again in MAX and I can deploy labview VI's...
so a general rule should be that after rebuiling the kernel, the ni drivers should be updated aswell with the updateNIDrivers
(before that, start installerUtility.sh aswell)
BradM, thanks for your support.
You have been helping me a lot on this!
02-23-2016 04:27 AM
Hi to all and sorry for the delay in answer.
I had some problems to clone the git file of linux rt. I directly downloaded the zip file from github.
After installing the eGalax driver, the monitor touch works properly!!!
Great results and thanks a lot to BradM for the procedure to compile the kernel.
By sumamrizing:
eGalax touch screen needs uinput, evdev, hid-moultitouch and HIDRAW kernel module. Once compiled on the kernel as suggested by BradM, the monitor touch works correctly.
Thank you all again
Marco
02-23-2016 10:25 AM
Great to hear, m-power
The main issue is that we haven't really tetsed on too many touch monitors other than consumer-grade and NI's own offerings, and ironed out the issues that we found along those lines. Be sure to comment on Touchscreen Usage Discussion
02-25-2016 06:31 AM
I'm using Palas 150PCUM touch screen monitor. I got an error while installing driver. uinput not found. So i tried according to the steps mentioned in "Adding Kernel Modules to NI Real Time Linux".But I am getting error while running the Makefile. Please help me out with this.
Error- make: *** No targets specified and no makefile found. Stop
02-25-2016 08:49 AM
02-25-2016 09:05 AM
Reji.V
Before you try installing a driver that, from what I've been able to find, indicates that it is only supported on 2.4 and 2.6 kernels, can you post the details of what the lsusb -v returns? If it's not a USB-connected touchscreen, let us know how the touchscreen input portion connects to the target.
02-25-2016 11:55 PM
Hi,
I tried the same. But I got error.I have attached the error image. I have downloaded the kernel driver. I copied the Makefile in /drivers/input/misc. Many commands are not found.
02-26-2016 12:00 AM
Hi BradM
The Touchscreen driver supports for kernel 3.x.My touchscreen monitor is USB-connected. I tried the command Isusb -v. It says "Isusb: command not found".