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] <javascript:>>
> 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/97cecace-db12-44c8-94b0-d4a85ce73ebf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.