Touch not working for HP Touchsmart tx2-1025dx

423 views
Skip to first unread message

Dominick Totaro

unread,
May 12, 2014, 2:49:47 PM5/12/14
to andro...@googlegroups.com
Product Name: HP TouchSmart tx2 Notebook PC
Board Name: 3045
Uevent: MODALIAS=dmi:bvnHewlett-Packard:bvrF.25:bd11/06/2009:svnHewlett-Packard:pnHPTouchSmarttx2NotebookPC:pvrRev1:rvnQuanta:rn3045:rvr16.15:cvnQuanta:ct10:cvrN/A:

Everything else seems to work oob except for the touch screen (and fingeprint scanner)
Any ideas as to how I could get this working?

Chih-Wei Huang

unread,
May 14, 2014, 10:53:19 PM5/14/14
to Android-x86
First, figure out what driver it needs.
You may boot a normal linux distro like ubuntu or fedora
to see if touch works.
If yes, check dmesg, lsmod and /proc/bus/input/devices.


--
Chih-Wei
Android-x86 project
http://www.android-x86.org

Dominick Totaro

unread,
May 15, 2014, 4:09:36 PM5/15/14
to andro...@googlegroups.com
Okay I have Ubuntu 12.04 installed and touch works as well.
The device is the N-trig touch and multitouch
devices.txt
dmesg.txt
lsmod.txt

Chih-Wei Huang

unread,
May 15, 2014, 9:35:46 PM5/15/14
to Android-x86
2014-05-16 4:09 GMT+08:00 Dominick Totaro <epi...@gmail.com>:
> Okay I have Ubuntu 12.04 installed and touch works as well.
> The device is the N-trig touch and multitouch

N-trig driver is in android-x86 image. It's strange
why it wasn't detected and loaded automatically.
What's it VID/PID?

You may try to load it manually:

(Switch to the console by Alt-F1)
busybox modprobe hid-ntrig

Then switch back to graphic mode by Alt-F7
and see if the touch works.

Dominick Totaro

unread,
May 16, 2014, 2:14:36 AM5/16/14
to andro...@googlegroups.com
The VID is 1B96 and the PID is 0001
I ran that command but touch still didn't work.

Dominick Totaro

unread,
May 16, 2014, 7:47:42 PM5/16/14
to andro...@googlegroups.com
I suppose I should mention that a couple times after running "busybox modprobe hid-ntrig" and switch back to the gui, it would just be a frozen screen of the command line. So I had to switch back to the cli and restart zygote.

I also tried hid_ntrig as well as hid_multitouch and hid-multitouch. 

Yo Abe

unread,
May 21, 2014, 6:52:11 PM5/21/14
to andro...@googlegroups.com
On my modified tx2500 (with a tx2 screen) I have the n-trig working only up to ICS. on JB 4.4 RC2, still n-trig is not working. In Virtualbox, I also noticed, that the UI would freeze when it tries to enter sleep (dims the screen first). That can be prevented by disabling sleep timer (set at 30 secs by default) in display settings. tx2500 Wacom Pen/Touch was confirmed working (connected to a different machine).

It was necessary to load the appropriate modules (hid-ntrig and hid-multitouch) manually in a script or include them in a user-compiled kernel in ICS, but on JB n-trig doesn't work even though hid-ntrig is automatically loaded. Re-loading the modules manually doesn't help.

Does anyone have an n-trig device working on JB?

Yo Abe

unread,
May 22, 2014, 9:51:34 AM5/22/14
to andro...@googlegroups.com
Ohwell...
This may be several steps back in terms of code, but it's working for my n-trig multitouch (on a tx2500 with tx2 screen).
As the n-trig module was working in 4.0 (ICS) I took the old code and replaced the USB calls (just a few lines) with the newer syntax from the 4.4 code.

--> the easy way: replace the kernel file (easily accessible for USB stick installations) with the attached one. It has the necessary modules already included, so you don't need to worry about the module files located in one of the filesystem images. (ok. this is not the clean way, but it worked for me)

--> the hard way: replace or patch hid-ntrig.c in kernel/drivers/hid/ and re-compile the iso.

--> update (downdate?) the code in the 4.4 branch instead of me. I don't have the faintest idea how to do that. (shouldn't be too difficult, but i was too lazy to look it up)
hid-ntrig.c
hid-ntrig.patch
kernel.tar.gz

Chih-Wei Huang

unread,
May 26, 2014, 8:22:45 AM5/26/14
to Android-x86
I can't judge whether if the patch is correct or appropriate.
I'm not the expert.
Could you please send the patch to the driver author
for review? Thanks a lot!
> --
> You received this message because you are subscribed to the Google Groups
> "Android-x86" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-x86...@googlegroups.com.
> To post to this group, send email to andro...@googlegroups.com.
> Visit this group at http://groups.google.com/group/android-x86.
> For more options, visit https://groups.google.com/d/optout.

Yo Abe

unread,
May 29, 2014, 12:22:28 PM5/29/14
to andro...@googlegroups.com
It seems the driver has been updated at least twice since its original release by people other than the original author. AFAIK the latest modifications since the version used in the ICS kernel are meant to configure some driver bitmasks and names (input_configured = ntrig_input_configured;) before actually probing the device (and some minor changes in how the module is invoked). Some code has been moved from ntrig_probe to the new ntrig_input_configured routine, but support for devices with multiple inputs (namely pen and touch for the ntrig panel in hp tx2 and slate 500) was dropped. The original driver went through a list of inputs during probe while the new one only seems to check one input. I tried to implement multiple inputs code into the input_configured routine, but without success (maybe the list of inputs is only retrieved during the probe process).

The driver included in JB may work correctly with touch-only ntrig devices (which I cannot verify, because I don't have such a device), but only the old probe method works correctly on my ntrig pen/multitouch screen from the HP tx2. 
If the patch does not break compatibility with touch only ntrig devices, I would think going back to the old method is appropriate, since the new driver does obviously not (yet) work with pen/multitouch devices.

Here is an updated version of hid_ntrig.c and a precompiled kernel with hid-ntrig and hid-multitouch included. (supports multiple inputs: pen and multitouch through older code from ICS release; minor update: restored the newer module syntax from the original JB module) 

It would be nice to see some success or failure reports on other ntrig devices, before deciding on the fate of this patch.
Has not been tested as add-on module yet(only included in the kernel).
hid-ntrig.c
kernel_with_ntrig.tar.gz

Dominick Totaro

unread,
Jun 21, 2014, 3:58:49 AM6/21/14
to andro...@googlegroups.com
I tried the pre-patched kernel. It doesn't make it past the console boot up - shows 'ANDROIDx86: _' and just hangs. Since I have no clue how to patch manually I'm going to try downgrading.

Dominick Totaro

unread,
Jul 4, 2014, 1:35:54 AM7/4/14
to andro...@googlegroups.com
I tried a lower version and it didn't work so then I tried the latest version with your modded kernel again and it works!

Chih-Wei Huang

unread,
Aug 8, 2014, 4:34:11 PM8/8/14
to Android-x86
I'll apply this version.
Thanks!
Reply all
Reply to author
Forward
0 new messages