NI Linux Real-Time Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to compile uinput module on cRIO 9030

How did it fail? What did the console show?

Just re-read your post, yes, using the default (for all x86_64) config will likely fail.

0 Kudos
Message 41 of 73
(2,056 Views)

3 linux pignuins after the grub bootloader

but I could do nothing...


Bruno

0 Kudos
Message 42 of 73
(2,056 Views)

If you did step 15 (make nati_x86_64_defconfig) this will get you the configuration we use for shipping. Note that you do need to checkout the correct branch after cloning the repo

0 Kudos
Message 43 of 73
(2,056 Views)

I'll try again, because somehow the nati_x86_64_defconfig file failed in my previous attemt.
Now I'm compiling starting from this defconfig..

Keep you updated when ready!

Thanks,

Bruno

0 Kudos
Message 44 of 73
(2,056 Views)

HI all,

Just builded the Kernel succesfully with uninput, HIDRAW and evdev integrated.

The CVS-1458 starts with the new kernel; and i'm able to install the drivers from eGalax without any error.

Because I did this all with SSH and I'm home now, I can't test the touch panel itself

Tomorrow, I'll go to the office to test because I'm excited!

Bruno

0 Kudos
Message 45 of 73
(2,056 Views)

Progress! it'd be great if you could do a quick writeup or at least mention whatever adjustments to the instructions I cobbled together to help others

0 Kudos
Message 46 of 73
(2,056 Views)

Just went to the office, and got dissappointed

Touchscreen doesn't work at all

and NI-Max doesn't see the CVS, and the test VI I made before doesn't launch automatically..

the good thing though is that I've still access with SSL

Bruno

0 Kudos
Message 47 of 73
(2,056 Views)

Which deamon needs to be enabled to see the CVS back into MAX?

(when I do a save reboot, it shows up in max, in normal boot not)

I tried following:

-started in safe mode

-CVS is visible in MAX

-formatted the CVS (in max), installed default software again

-started from scratch a new kernel build (with the options necessary for the ETouch)

-after booting, CVS doesn't show up anymore in MAX

-still touch problem...

Bruno

0 Kudos
Message 48 of 73
(2,056 Views)

Hil all,

Finally, my touchpanel works!!

According to their manual (eGTouch Linux Programming Guide v2.5H) I had to change some items in:

/SourceCode/drivers/input/evdev.c

/SourceCode/drivers/input/mousedev.c

/SourceCode/drivers/input/joydev.c

with menuconf, I had to add the uinput, evdev and hidraw module and to remove the standard USB touch screen driver

After that, I compiled the kernel according the procedure as written before.

I could install the eGTouch drivers from their website.
When you start the deamon (eGTouchD, you get a error message that the libasound2 is not found.
With opkg install libasound2, I managed to download those

after restarting, the touch works.

BUT NOW:

-how can I activate the MAX connection again?
-the CVS linux realtime is not visible anymore in MAX?

Regards,

Bruno

0 Kudos
Message 49 of 73
(2,056 Views)

Some more info:

in the messages logfile, it gives a failre on the nikal not being found.
After digging, I found I can use the updateNIDrivers; which gives me following error:

admin@NI-CVS-1458RT-01AE0DF7:/usr/local/natinst/nikal/bin# ./updateNIDrivers

************************************ ERROR *************************************

* Kernel source does not appear to be installed for the 3.10.31-ltsi-rt29 kernel.

*    Installation of the kernel-source package for kernel 3.10.31-ltsi-rt29 is

*                   required to continue this installation.

************************************ ERROR *************************************

make: *** /var/volatile/tmp/headers/kernel: No such file or directory.  Stop.

make: *** [clean] Error 2

Installing NI-KAL:

NI-KAL update failed.

make: *** /var/volatile/tmp/headers/kernel: No such file or directory.  Stop.

make: *** [all] Error 2

ERROR: make of nikal kernel module failed, not installing kernel module.

   updateNIDrivers should be called again after fixing the problem.

   Logging failure...

   Include the file /tmp/niSystemReport.out.gz when contacting

   National Instruments for support.

admin@NI-CVS-1458RT-01AE0DF7:/usr/local/natinst/nikal/bin#

I have to say that the in the modules folder which is created with the kernel, the natinst folder was missing.
So I copied the natinst folder from the previous kernel... and now it says that is not ok.

Do I maybe have to check a module in menuconfig for the nikal?

Bruno

0 Kudos
Message 50 of 73
(2,056 Views)