Page 1 of 1

Adding a driver

Posted: 14 Nov 2017, 01:41
by steve_adra
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 :)

Adding a driver

Posted: 14 Nov 2017, 07:09
by fanthom
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

Adding a driver

Posted: 15 Nov 2017, 01:19
by steve_adra
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 :)

Adding a driver

Posted: 15 Nov 2017, 07:20
by fanthom
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

Adding a driver

Posted: 22 Nov 2017, 00:54
by steve_adra
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.