Installing drivers that are made for ubuntu

Here you can post about the issues related to modifications performed manually (not through the kiosk wizard). Example: swapped kernel, added 3rd party modules or files.
Please describe in detail what has been changed and hopefully other kiosk user will be able to help.
Porteus team wont resolve bugs posted in this category as we support only modifications made by the kiosk wizard.
Post Reply
geekaz
Ronin
Ronin
Posts: 3
Joined: 03 Jul 2015, 09:52
Distribution: Mint
Location: Lithuania

Installing drivers that are made for ubuntu

Post#1 by geekaz » 07 Jul 2016, 08:29

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

User avatar
fanthom
Site Admin
Site Admin
Posts: 4549
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Installing drivers that are made for ubuntu

Post#2 by fanthom » 07 Jul 2016, 10:19

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.
Please add [Solved] to your thread title if the solution was found.

geekaz
Ronin
Ronin
Posts: 3
Joined: 03 Jul 2015, 09:52
Distribution: Mint
Location: Lithuania

Re: Installing drivers that are made for ubuntu

Post#3 by geekaz » 07 Jul 2016, 10:45

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.

Post Reply