Grrr... This is a bigger can of worms than I thought...

libsdl1.2debian is available in wheezy, jessie, stretch, buster, and sid 
but the
package is compiled differently on each system.

wheezy has:
libsdl1.2debian version 1.2.15-5 with libdirectfb-1.2.9 and libts-0.0-0
This version should work without X and provide working touchscreen support.

jessie has:
libsdl1.2debian version 1.2.15-10+b1 with libdirectfb-1.2-9
This version should work without X but the touchscreen support is broken.
libts is also not available.

stretch has:
libsdl1.2debian version 1.2.15+dfsg1-4
This version probably will not work without X.
libdirectfb-1.2-9 is available but libts is not.

buster has:
libsdl1.2debian version 1.2.15+dsfg2-0.1
This version probably will not work without X.
libdirectfb-1.2-9 is not avaialble but libts0 is.

sid has:
libsdl1.2debian version 1.2.15+dsfg2-0.1
This version probably will not work without X.
libdirectfb-1.2-9 is available but not for armhf, libts0 is.

So... It looks like the only version that will work with the touchscreen 
without X
is wheezy. Ugh...

Hartley

On Thursday, January 4, 2018 at 7:17:54 PM UTC-7, Hartley Sweeten wrote:
>
> Hi Robert,
>
> That appears to work.
>
> With the 4.4.91-ti-r133 kernel I had to do this to run the libts-bin 
> utilities:
>
> $ sudo TSLIB_TSDEVICE=/dev/input/event2 ts_calibrate
> $ sudo TSLIB_TSDEVICE=/dev/input/event2 ts_test
>
> With the 4.4.91-ti-r141.1 kernel the utilities now work with just:
>
> $ sudo ts_calibrate
> $ sudo ts_test
>
> Thanks!
>
> Unfortunately, this didn't fix the problems I see with SDL1.2 and pygame.
>
> It appears the 1.2.15+dfsg1-4 version of libsdl1.2debian has support for 
> tslib
> removed since that package is not available in the "normal" jessie repos.
>
> It looks like you are providing tslib from you repos:
>
> $ dpkg -l | grep libts
> ii  libts-bin                             1.14-1rcnee0~stretch+20171122    
>              armhf        touch screen library utilities
> ii  libts0:armhf                          1.14-1rcnee0~stretch+20171122    
>              armhf        touch screen library
>
> Any chance you could provide a libsdl1.2debian package that works with 
> tslib?
>
> I can go back to a wheezy image but I would rather use a newer one.
>
> Thanks,
> Hartley
>
> On Wednesday, January 3, 2018 at 8:30:42 PM UTC-7, RobertCNelson wrote:
>>
>> On Wed, Jan 3, 2018 at 5:34 PM,  <[email protected]> wrote: 
>> > Hello all, 
>> > 
>> > The TI touch screen driver does not work _right_ with the libts-bin 
>> package 
>> > in the jessie image. 
>> > 
>> > $ cat /etc/dogtag 
>> > BeagleBoard.org Debian Image 2018-01-01 
>> > 
>> > $ lsb_release -a 
>> > No LSB modules are available. 
>> > Distributor ID: Debian 
>> > Description:    Debian GNU/Linux 8.10 (jessie) 
>> > Release:        8.10 
>> > Codename:       jessie 
>> > 
>> > $ dpkg -l | grep  libts-bin 
>> > ii  libts-bin                             1.14-1rcnee0~jessie+20171122 
>> > armhf        touch screen library utilities 
>> > 
>> > $ sudo ts_calibrate 
>> > ts_setup: No such file or directory 
>> > 
>> > It is possible to make it work by setting the TSLIB_TSDEVICE 
>> environment 
>> > variable: 
>> > 
>> > $ sudo su 
>> > # export TSLIB_TSDEVICE=/dev/input/event2 
>> > # ts_calibrate 
>> > 
>> > But, that's a bit of a pain since the environment variable always needs 
>> to 
>> > be set in order to use the touchscreen. 
>> > 
>> > It appears that this version of the utilities uses the 
>> INPUT_PROP_DIRECT 
>> > propbit to automatically detect which /dev/input/event device is the 
>> > touchscreen. 
>> > 
>> > It looks like the following is the only change needed to make it work. 
>> > 
>> > Unfortunately, I don't have currently have a way to build a custom 
>> kernel 
>> > for the BeagleBone in order to test it. If there is anyone that could I 
>> > would 
>> > appreciate it. 
>>
>>
>> Give this a test: 
>>
>> wget 
>> http://rcn-ee.online/builds/linux-image-4.4.91-ti-r141.1_1cross_armhf.deb 
>>
>> sudo dpkg -i linux-image-4.4.91-ti-r141.1_1cross_armhf.deb 
>>
>> src: 
>>
>> https://github.com/RobertCNelson/ti-linux-kernel-dev/commit/39cf0016bff73697ee59783e5747b49f128fea5b
>>  
>>
>> Regards, 
>>
>> -- 
>> Robert Nelson 
>> https://rcn-ee.com/ 
>>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/cf00e2e4-7708-4614-8a34-193a12c7cf8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to