Hi,

emss wrote: 
> 
> Just found time to experiment.
> 
Follow up, one year later...

I've managed to fix the touchscreen offset.

The thread where this post was written
https://forums.slimdevices.com/showthread.php?110040-Jivelite-on-a-Joggler&p=932654&viewfull=1#post932654
gave me an insight on the way lua, libSDL & libTS work together.

I've added the following to /usr/local/bin/jivelite.sh

Code:
--------------------
    
  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_NOCURSOR=1
  
--------------------

TSLIB_TSDEVICE is found by inspecting the link in /dev/input/by-id/
libSDL has to use TSLIB mouse driver and TSLIB_TSDEVICE to get correct
position events from the touchscreen.

The only remaining issue was related to /etc/pointercal generation via
ts_calibrate (termination on malloc error), so I did install a minimal
Debian, added libts-bin, then ran ts_calibrate and saved the resulting
pointercal file.

After pointercal was copied to /etc on a fresh
daphile-20.08-b040759-x86_64 install, everything worked flawlessly.

I guess I could try to reach Kimmo to see whether this could be refined
and added to the settings (input device & driver choice, touchscreen
calibration).

Regards

Éric



*Server* LMS 7.9 on FreeBSD11-STABLE/amd64, Squeeze2raop bridge on
OpenWRT
*Office* SqueezeBox3, SMSL Q5 Pro, Mission 731 Pro
*Room* Airport Express 11g, FX-Audio D302 Pro, Q-Acoustics 1010i
*Main system* CEC TL-2, DaPhile/NUC & Ultramatch SRC2496, DIY high
efficiency loudspeakers (Hypex Horns & 15" BR enclosures), tuned Naim
NAP140 clone amp, Atoll PR100 preamp, tuned Thorens TD166MkII.
Coming soon, Armature Hecate USB/2IS interface & Audio-GD R1 DAC.
------------------------------------------------------------------------
emss's Profile: http://forums.slimdevices.com/member.php?userid=68557
View this thread: http://forums.slimdevices.com/showthread.php?t=99132

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

Reply via email to