Talk:Multitouch
From nookDevs
Very nice - thank you! --Spec 07:08, 28 November 2010 (PST)
It doesn't work for me. Rooted with 1.5 (2.5.1). Unresponsive lcd after installing the module. Only works the nook menu. And touching an icon and waiting long (4 seconds)... --Hlastras 11:59, 28 November 2010 (PST)
-
-
Noone knows what kernel is inside "2.5.1" firmware. Driver is designed for 2.6.27-svn29953 and I really doubt it would work with any other kernel. Also your bugreport leaves too much questions. Doesn't work at all, or works, but only in main launcher menu? Touching 4+ seconds in which applications? --Nomad 13:02, 28 November 2010 (PST)
- Kernel in 2.5.1 is exactly the same as official 1.5.0. --Spec 13:24, 28 November 2010 (PST)
-
Noone knows what kernel is inside "2.5.1" firmware. Driver is designed for 2.6.27-svn29953 and I really doubt it would work with any other kernel. Also your bugreport leaves too much questions. Doesn't work at all, or works, but only in main launcher menu? Touching 4+ seconds in which applications? --Nomad 13:02, 28 November 2010 (PST)
More data:
-
- Loading the module:
<3>Previous driver found: synaptics-rmi-ts, addr 0xc0477100, owner 0 <3>Prev driver removed <6>synaptics_ts_probe: Product Major Version 1 <6>synaptics_ts_probe: Product Minor Version 2 <6>synaptics_ts_probe: product property 2 <6>synaptics_ts_probe: device control 81 <6>synaptics_ts_probe: interrupt enable 3 <6>synaptics_ts_probe: 0xe0: 1 1 1 2 1 2 1 0 <6>synaptics_ts_probe: max_x 7078, max_y 13518 <6>synaptics_ts_probe: inactive_x 0 0, inactive_y 0 0 <6>synaptics_ts_probe: snap_x 0-0 0-0, snap_y 0-0 0-0 <6>input: synaptics-rmi-touchscreen as /class/input/input2 <6>synaptics_ts_probe: Start touchscreen synaptics-rmi-touchscreen in interrupt mode <4>synaptics_ts_work_func: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 43, ret 2 <4>synaptics_ts_work_func: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 40, ret 2 <4>Resuming picture tubes <4>PICTURE TUBE INIT START! <4>PICTURE TUBE INIT DONE <4>Setting up GPIO LCD interface
-
- Tap doesn't wake the device
- sweep don't works on main launche and on reader
- after wake with power button, double tap on nook button opens the main launcher
- seems that right tap works, but no effect:
<4>Sent KEY_RIGHTsynaptics_ts_work_func: 11 16 1a b6 a 3d 11 16 0 0 0 0 0 0 40, ret 2--Hlastras 14:47, 28 November 2010 (PST)
-
- And:
cat version Linux version 2.6.27-svn29953 () (gcc versi on 4.3.1 (for S3C64XX Samsung Electronics AP Development Team) ) #1 Tue Nov 9 09
- 48:12 PST 2010
--Hlastras 14:49, 28 November 2010 (PST)
-
-
-
- Hlastras thanks for the detailed report! That is much better - as we see, driver is working! I know about waking issue (it is also mentioned on the page) but I've never faced issues with sweeps. Also, new right/left buttons send keycodes for DPAD_LEFT/DPAD_RIGHT and regular reader does not responds to them. You can change it in synaptics-rmi-touchscreen.kl file. Try downloading latest version from http://runserver.net/temp/synaptics_mt.7z. File size is 42451. Also here is muti-touch test utility: http://runserver.net/temp/nookMTTest.apk
-
-
the test utility works ok. But, on the menus, the touch is a little unresponsivenes. And on reading books, no way to turn pages (no working swipe, no working right or left dpad). Only through buttons.--Hlastras 13:10, 29 November 2010 (PST)
-
Driver is updated to new version. Now it is able to wake the LCD by double or long tap. Also it has increased sensitivity and fixed left/right swipes. I remind you that EPUB reader is not able to turn pages with DPAD_LEFT/DPAD_RIGHT keys so you need either a modified version, another reader app (FB2Reader, CoolReader) or DPAD_LEFT/DPAD_RIGHT keys reassigned. --Nomad 05:50, 30 November 2010 (PST)
-
Just a reminder that distribution of programs licensed under GPL must be accompanied program's source code. --Spec 09:05, 30 November 2010 (PST)
-
Oh, I'd love to see B&N honoring GPL license and posting their sourcesĀ :) Here is modified driver source code: http://runserver.net/temp/synaptics_i2c_rmi.c. I really doubt it would be useful to someone. --Nomad 10:14, 30 November 2010 (PST)
-
Here's the B&N sources: http://www.barnesandnoble.com/nook/legal/ You have to scroll down a little. --Spec 10:18, 30 November 2010 (PST)
-
Have you looked at it, Spec? That is outdated linux kernel from 1.2 firmware that is actually NOT WORKING. I've spend about a week trying to compile it and finally succeeded only after changing some parts in Virtual Framebuffer. I think we'll never see 1.4 or 1.5 kernel sources as we'll never see B&N modifications to Android 1.5 source (Apache2 license). --Nomad 10:35, 30 November 2010 (PST)
- I dont really want to get into license argument here. From what I understand they've provided all the sources they were required to (GPL and Apache is very different). If i needed to compile the kernel i would look for clues in jesusfreke or perfinion's github accounts - they successfully compiled modules for nook kernel link. At least jesusfreke is a frequent visitor on nookdevs irc channel. --Spec 10:49, 30 November 2010 (PST)
-
Have you looked at it, Spec? That is outdated linux kernel from 1.2 firmware that is actually NOT WORKING. I've spend about a week trying to compile it and finally succeeded only after changing some parts in Virtual Framebuffer. I think we'll never see 1.4 or 1.5 kernel sources as we'll never see B&N modifications to Android 1.5 source (Apache2 license). --Nomad 10:35, 30 November 2010 (PST)
-
Here's the B&N sources: http://www.barnesandnoble.com/nook/legal/ You have to scroll down a little. --Spec 10:18, 30 November 2010 (PST)
-
Oh, I'd love to see B&N honoring GPL license and posting their sourcesĀ :) Here is modified driver source code: http://runserver.net/temp/synaptics_i2c_rmi.c. I really doubt it would be useful to someone. --Nomad 10:14, 30 November 2010 (PST)
-
Just a reminder that distribution of programs licensed under GPL must be accompanied program's source code. --Spec 09:05, 30 November 2010 (PST)
-
Driver is updated to new version. Now it is able to wake the LCD by double or long tap. Also it has increased sensitivity and fixed left/right swipes. I remind you that EPUB reader is not able to turn pages with DPAD_LEFT/DPAD_RIGHT keys so you need either a modified version, another reader app (FB2Reader, CoolReader) or DPAD_LEFT/DPAD_RIGHT keys reassigned. --Nomad 05:50, 30 November 2010 (PST)
-
I've also tried JF sources and they are the same obsolete 1.2 with additional ADB-over-USB module. That would be enough to build additional kernel modules (as I did for this multi-touch driver), but definitely not enough to build "same-as-original" quality kernel. --Nomad 11:53, 30 November 2010 (PST)
- Well but that's what you're building for multitouch support - a kernel module, so those sources should be sufficient. Anyways, thanks for working on that. I have doubts if we'll ever going to see 1.6 update, and if that's true all the software will come to nookdevs developers like yourself. --Spec 12:07, 30 November 2010 (PST)
-
I downloaded the link, but the swipe still isn't working, when I decompress I noticed it still has the ko file as the 29th. Great work though, thanks. --Radar92 18:01, 30 November 2010 (PST)
-
-
I've uploaded a new driver version this morning. It processes swipes normally and also you are able to wake touchscreen with double tap. --Nomad 14:14, 1 December 2010 (PST)
- Loaded it, works greats. Thanks again.
-
I've uploaded a new driver version this morning. It processes swipes normally and also you are able to wake touchscreen with double tap. --Nomad 14:14, 1 December 2010 (PST)
-
-
-
-
New version released today. New features are: waking device with single tap, false swipe recognition fix, misc bug fixes, added filtering and snapping routines as in default driver. --Nomad 06:36, 7 December 2010 (PST)
- Thanks Nomad. I have still to check it out, but I was thinking: for apps that are designed for android phones that think all the screen is touchscreen would it be possible to make the nook touchscreen work the same way like the touchpad on laptops and tap as left mouse button. The goal here would be to use the touchscreen as a touchpad to be able to move the mouse cursor on the eink and click on items on eink. I'm not sure if such thing is even possible since there's no concept of mouse or mouse pointer on android AFAIK. But it would allow all sorts of apps to be installed and used on nook classic. --Spec 08:53, 7 December 2010 (PST)
-
New version released today. New features are: waking device with single tap, false swipe recognition fix, misc bug fixes, added filtering and snapping routines as in default driver. --Nomad 06:36, 7 December 2010 (PST)
-
-
I'm getting a "Is a directory" error when I try and push the first file to the nook, have not tried the second file. any thoughts?
-
-
Have you created the "modules" directory before tying to move the ko file? "adb push synaptics_i2c_rmi.ko /system/lib/modules/" --Radar92 17:15, 7 December 2010 (PST)
-
It would be a big problem if that directory didnt exist. But you're right - probably the forward slash after modules/ is missing (so /system/lib/modules/). --Spec 20:14, 7 December 2010 (PST)
-
I forgot I updated to 2.5.0 a week or so ago, not really sure if that is the deal-breaker. That being said, I have everything installed and modified correctly. I've double checked through adb shell. And still a no go on multi-touch. side-note: 2.5.1 worth upgrading to?
-
run adb mkdir /system/lib/modules/ before writing files to make sure that directory exists. After pushing both files reboot the device. Also the only program that works with multi-touch is MTTest from the link on this page, so you should not see any difference in regular apps (except for additional buttons of course). --Nomad 00:56, 8 December 2010 (PST)
- Forgive me for stupid question, but why doesnt it go to /lib/modules? --Spec 07:20, 8 December 2010 (PST)
-
run adb mkdir /system/lib/modules/ before writing files to make sure that directory exists. After pushing both files reboot the device. Also the only program that works with multi-touch is MTTest from the link on this page, so you should not see any difference in regular apps (except for additional buttons of course). --Nomad 00:56, 8 December 2010 (PST)
-
I forgot I updated to 2.5.0 a week or so ago, not really sure if that is the deal-breaker. That being said, I have everything installed and modified correctly. I've double checked through adb shell. And still a no go on multi-touch. side-note: 2.5.1 worth upgrading to?
-
It would be a big problem if that directory didnt exist. But you're right - probably the forward slash after modules/ is missing (so /system/lib/modules/). --Spec 20:14, 7 December 2010 (PST)
-
Have you created the "modules" directory before tying to move the ko file? "adb push synaptics_i2c_rmi.ko /system/lib/modules/" --Radar92 17:15, 7 December 2010 (PST)
- There is no explicit reason for this. Actually .ko could be placed anywhere. Regular Nook modules are at /lib/modules/, so custom one could be also placed here. Just the same things as placing binaries at /system/xbin or /sbin or /system/sbin. --Nomad 09:16, 8 December 2010 (PST)
So I was finally able to test this and here's my feedback. Since nothing makes use of multitouch on touchscreen that part is useless at this point. I installed it so that I can flip pages by pressing on the left or right side of the are above LCD screen. It doesn't work at all in epub reader application. It does flip pages in the list of books in B&N library application, but you got to press it like 5 times to turn to the next page - most of the time it doesnt work. This is a great concept but until there are apps that use it, it's not worth installing. --Spec 09:10, 9 December 2010 (PST)
-
-
It is possible to change DPAD_LEFT/DPAD_RIGHT to LEFT_SWIPE/RIGHT_SWIPE in .kl config file to make in work in epub reader, but I agree that it mostly useless until there are multitouch-capable apps. --Nomad 11:08, 9 December 2010 (PST)
- It's actually the other way around DPAD_LEFT needs to be changed to RIGHT_SWIPE and DPAD_RIGHT to LEFT_SWIPE and it works great. Something that I can use the driver for. Responds almost every time, it would be great if it responded every time, but an extra tap is still good. Thanks. --Spec 20:50, 11 December 2010 (PST)
- Except that functionality wakes up the touchscreen.... ahhhh.... --Spec 20:54, 11 December 2010 (PST)
-
It is possible to change DPAD_LEFT/DPAD_RIGHT to LEFT_SWIPE/RIGHT_SWIPE in .kl config file to make in work in epub reader, but I agree that it mostly useless until there are multitouch-capable apps. --Nomad 11:08, 9 December 2010 (PST)
Great job again, swiping is much better in the latest. I remapped to get dpad functionality so this is just what I needed to finish. I haven't notice mass non-responsiveness in the left and right press. Once in a while it desn't respond, I chalk it up to how I do it. --Radar92 13:13, 9 December 2010 (PST)
It's really great to have DPAD_LEFT/DPAD_RIGHT function that I can really free from the hardware left/right page buttons. (mine got cracked too) With the multi-touch test problem, the driver seems to have some difficulty distinguish in y-axis of the two finger touch. I guess it's not easy for the limited space anyway. YChao 14:40, 2 February 2011 (PST)
May I ask you how you got coolreader to run on the nook? Is there an official version? Thanks! --Reini1305 07:17, 27 February 2011 (PST)
could you please recompile the module for the 1.7.0 nook firmware? Thanks!- mscoolnerd 13:31, 1 June 2011 (PST)