Got there!  I had only a minimal /usr/local/etc/ts.conf, with just:

Code:
--------------------
    module_raw input
  module linear
--------------------


It turns out there's another important line (module pthres pmin=1)

So my full ts.conf file is now:

Code:
--------------------
    module_raw input
  module pthres pmin=1 (important!)
  module dejitter delta=100
  module linear
--------------------


With that, after running ts_calibrate, Jivelite now starts up with a
properly calibrated, responsive touchscreen.

Home straight now: I've set up a script file in /etc/profile.d to set
all the environment variables and start Jivelite, and now it starts
without intervention on boot.  It contains:

Code:
--------------------
    if [ "$(tty)" = "/dev/tty1" ]; then
  export TSLIB_FBDEVICE=/dev/fb0
  export TSLIB_TSDEVICE=/dev/input/event3
  export TSLIB_CALIBFILE=/usr/local/etc/pointercal
  export TSLIB_CONFFILE=/usr/local/etc/ts.conf
  export TSLIB_PLUGINDIR=/usr/local/lib/ts
  export SDL_MOUSEDRV=TSLIB
  export SDL_MOUSEDEV=$TSLIB_TSDEVICE 
  export JIVE_NOPOINTER=1
  /root/jivelite/bin/jivelite
  fi
  
--------------------


I guess I should change that so that it restarts on exit, but for now it
works ok, especially if I remove 'Quit' from the homescreen.

The binary for Jivelite is only 376KB, so now I'd like to look into
putting it into the internal flash storage.  Is it just a case of
copying the binary to the same place, and making sure all these
libraries are in place?

Code:
--------------------
    root@openframe:~/jivelite/bin# ldd jivelite
        linux-gate.so.1 (0xb7771000)
        librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb76fc000)
        libSDL-1.2.so.0 => /usr/local/lib/libSDL-1.2.so.0 (0xb765c000)
        libSDL_ttf-2.0.so.0 => /usr/lib/i386-linux-gnu/libSDL_ttf-2.0.so.0 
(0xb7654000)
        libSDL_image-1.2.so.0 => /usr/lib/i386-linux-gnu/libSDL_image-1.2.so.0 
(0xb7634000)
        libSDL_gfx.so.15 => /usr/lib/i386-linux-gnu/libSDL_gfx.so.15 
(0xb761b000)
        libluajit-5.1.so.2 => /usr/local/lib/libluajit-5.1.so.2 (0xb75a8000)
        libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb74a6000)
        libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb7487000)
        libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb72ab000)
        libts.so.0 => /lib/i386-linux-gnu/libts.so.0 (0xb72a5000)
        libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb729e000)
        libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 
(0xb71e1000)
        libpng16.so.16 => /usr/lib/i386-linux-gnu/libpng16.so.16 (0xb71a7000)
        libjpeg.so.8 => /usr/lib/i386-linux-gnu/libjpeg.so.8 (0xb7136000)
        libtiff.so.5 => /usr/lib/i386-linux-gnu/libtiff.so.5 (0xb70b7000)
        libwebp.so.6 => /usr/lib/i386-linux-gnu/libwebp.so.6 (0xb7043000)
        libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb7025000)
        /lib/ld-linux.so.2 (0xb7772000)
        libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb7006000)
        liblzma.so.5 => /lib/i386-linux-gnu/liblzma.so.5 (0xb6fda000)
        libjbig.so.0 => /usr/lib/i386-linux-gnu/libjbig.so.0 (0xb6fcb000)
--------------------


------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110040

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to