tslib: ts_calibrate utility on Beaglebone Black.

413 views
Skip to first unread message

Emran Caan

unread,
Jan 31, 2018, 6:09:53 AM1/31/18
to BeagleBoard
Hi Forum,
I am using a recent kernel from the branch 'remotes/origin/am33x-v4.15'
for the BBB from RCN site, the detail as follow:

kernel details
======================================
ubuntu@arm:~$ uname -a
Linux arm 4.15.0-bone2.1 #1 Tue Jan 30 11:48:09 GMT 2018 armv7l armv7l armv7l GNU/Linux
ubuntu@arm:~$ ts_calibrate
ts_setup: No such file or directory

ubuntu@arm
OS: Ubuntu 16.04 xenial
Kernel: armv7l Linux 4.15.0-bone2.1
Uptime: 56m
Packages: 418
Shell: 14888
CPU: ARMv7 rev 2 (v7l) @ 1GHz
RAM: 47MiB / 491Mi
============ Eof kernal details =================

IS ANYONE has clue how to get it work, please?
I read Hartley Sweeten blog but modifying and rebuilding an entire OS is not in my interest.
But I assume the following patch has been merged into
the stated branch ('remotes/origin/am33x-v4.15')?

PATCH details
===================================================================
diff --git a/drivers/input/touchscreen/ti_am335x_tsc.c b/drivers/input/touchscreen/ti_am335x_tsc.c
index f1043ae71dcc..ea982fa3742f 100644
--- a/drivers/input/touchscreen/ti_am335x_tsc.c
+++ b/drivers/input/touchscreen/ti_am335x_tsc.c
@@ -446,6 +446,7 @@ static int titsc_probe(struct platform_device *pdev)
input_dev->name = "ti-tsc";
input_dev->dev.parent = &pdev->dev;

+ __set_bit(INPUT_PROP_DIRECT, input_dev->propbit);
input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS);
input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH);
=======================Eof details=================
Thank you,
IK

Robert Nelson

unread,
Jan 31, 2018, 10:00:04 AM1/31/18
to Beagle Board
On Wed, Jan 31, 2018 at 5:09 AM, Emran Caan <imra...@gmail.com> wrote:
> Hi Forum,
> I am using a recent kernel from the branch 'remotes/origin/am33x-v4.15'
> for the BBB from RCN site, the detail as follow:
>
> kernel details
> ======================================
> ubuntu@arm:~$ uname -a
> Linux arm 4.15.0-bone2.1 #1 Tue Jan 30 11:48:09 GMT 2018 armv7l armv7l armv7l GNU/Linux
> ubuntu@arm:~$ ts_calibrate
> ts_setup: No such file or directory
>
> ubuntu@arm
> OS: Ubuntu 16.04 xenial
> Kernel: armv7l Linux 4.15.0-bone2.1
> Uptime: 56m
> Packages: 418
> Shell: 14888
> CPU: ARMv7 rev 2 (v7l) @ 1GHz
> RAM: 47MiB / 491Mi
> ============ Eof kernal details =================
>
> IS ANYONE has clue how to get it work, please?
> I read Hartley Sweeten blog but modifying and rebuilding an entire OS is not in my interest.
> But I assume the following patch has been merged into
> the stated branch ('remotes/origin/am33x-v4.15')?

No, it had not yet been merged..

now it is:

https://github.com/RobertCNelson/bb-kernel/commit/a61383d227d21f83b00eefa9a3fa07792a85c418

Regards,

--
Robert Nelson
https://rcn-ee.com/
Reply all
Reply to author
Forward
0 new messages