Page 1 of 1

Installing drivers that are made for ubuntu

Posted: 07 Jul 2016, 08:29
by geekaz
Hello,

I'm trying to get drivers for my touch foil to work. The problem is, that the drivers seem to be compiled for a different kernel than the Porteus 4.0.0 .
Here is what I'm getting from modprobe:

Code: Select all

root@Porteus-GIGABYTE:~# depmod -a
root@Porteus-GIGABYTE:~# modprobe -vf dtouch
insmod /lib/modules/4.4.11-kiosk/kernel/drivers/usb/misc/dtouch.ko
modprobe: ERROR: could not insert 'dtouch': Exec format error
root@Porteus-GIGABYTE:~#
When using insmod like so:

Code: Select all

insmod /lib/modules/4.4.11-kiosk/kernel/drivers/usb/misc/dtouch.ko
I can find that dmesg prints:

Code: Select all

[ 4128.563022] dtouch: version magic '3.11.0-15-generic SMP mod_unload modversions ' should be '4.4.11-kiosk SMP preempt mod_unload '
Is it possible to force the drivers to install in any other way without touching Porteus kernel?
The foil manufacturer wouldn't provide the source code for the driver, so I don't have the option of recompiling the driver myself. All I'm getting from the manufacturer are two versions of the drivers:
ubuntu12.04.4-ker3.11.0-15 and ubuntu14.04.2-ker3.16.0-30 and both have 32bit and 64bit versions.

Thank you.
Gailius

Re: Installing drivers that are made for ubuntu

Posted: 07 Jul 2016, 10:19
by fanthom
Hello Gailius,

Unfortunately there is no way to load incompatible kernel driver. You must get the source code from the manufacturer or use another hardware.

Thank you.

Re: Installing drivers that are made for ubuntu

Posted: 07 Jul 2016, 10:45
by geekaz
Thank you fanthom for your fast response.

It's a shame I can't do anything here on my own. I will be asking for source code then.

Thank you.