Adding a driver

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.
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
steve_adra
White ninja
White ninja
Posts: 4
Joined: 08 Nov 2017, 03:44
Distribution: portues kiosk

Adding a driver

Post#1 by steve_adra » 14 Nov 2017, 01:41

Hi

I need to discover a way to add a driver to the porteus kiosk system, can someone point me at some documentation at all ?

All suggetions and comments welcome, thanks for your contributions :)

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Adding a driver

Post#2 by fanthom » 14 Nov 2017, 07:09

Is it printer driver? Then here:
http://porteus-kiosk.org/faq.html#14

Documentation is on the kiosk webpage:
http://porteus-kiosk.org/documentation.html
Please add [Solved] to your thread title if the solution was found.

steve_adra
White ninja
White ninja
Posts: 4
Joined: 08 Nov 2017, 03:44
Distribution: portues kiosk

Adding a driver

Post#3 by steve_adra » 15 Nov 2017, 01:19

Hi fanthom,

I have a HP 300-1000 Touchscreen all in one pc.

Porteus Kiosk does not recognise the touchscreen.

NextWindow controller:
T: Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1926 ProdID=0006 Rev=00.01
S: Manufacturer=NextWindow
S: Product=Touchscreen
C: #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=00(>ifc ) Sub=00 Prot=00 Driver=(none)
I: If#= 1 Alt= 0 #EPs= 2 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid

I'm currently searching google for any info on drivers. I've found a few leads in the following places.
http://www.fusionnetwork.us/index.php/a ... w-working/
https://launchpad.net/nwfermi/
https://wiki.ubuntu.com/Multitouch/HardwareSupport

I've had a look at the documentation, and think I need this : http://porteus-kiosk.org/kiosk-customization.html

I'll start experimenting and see if I can work this out :)

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Adding a driver

Post#4 by fanthom » 15 Nov 2017, 07:20

You will have to recreate kiosk kernel sources and then compile NextWindow driver against them.

See here for similar case:
[Solved] WIFI-problems on some recent laptops?

It may be easier to use 'customized kiosk builds' service instead:
http://porteus-kiosk.org/builds.html

Thanks
Please add [Solved] to your thread title if the solution was found.

steve_adra
White ninja
White ninja
Posts: 4
Joined: 08 Nov 2017, 03:44
Distribution: portues kiosk

Adding a driver

Post#5 by steve_adra » 22 Nov 2017, 00:54

Ok, have followed http://porteus-kiosk.org/kiosk-customization.html so far (I figured out I'd have to do this on a standard linux system. Not something locked down like porteus kiosk. I ended up trying Porteus Desktop, assuming it would have everything I need in it.)

I've gotten as far as running the following commands

Code: Select all

    mkdir /tmp/kiosk_ISO
    mount -o loop kiosk.iso /mnt/cdrom
    cp -a /mnt/cdrom/* /tmp/kiosk_ISO
    umount /mnt/cdrom
And then followed this guide http://porteus-kiosk.org/modules.html to unpack my 000-kernel.xzm file

I"ve emailed support and received the .config file.

I have some questions.

How do I "recreate kiosk kernel sources" ?
How do I "compile my driver against them" ?

Thansk.

Locked