I updated my post with the instructions again to add the detail about forcing version 2 for the Dell Mini.
I updated my post with the instructions again to add the detail about forcing version 2 for the Dell Mini.
As I said in my reply to Florian about forcing Dell Mini 10 to hardware version 2, his patch needs to
Remove:
if ((etd->fw_version_maj == 0x02 && etd->fw_version_min >= 0x30) ||
etd->fw_version_maj > 0x02) {
and Add:
if(1) {
I dont think that the code will compile after his patch.
Oh. Heh. That patch must be in the wrong order.. I'll make a note of that extra line. Thanks for pointing that out
I figured out how to modify his patch to be correct:
I am sure he will figure it out, so I won't bother posting to the bug report.Code:diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c index a138b5d..07f6b17 100644 --- a/drivers/input/mouse/elantech.c +++ b/drivers/input/mouse/elantech.c @@ -666,7 +666,7 @@ int elantech_init(struct psmouse *psmouse) * Assume every version greater than this is new EeePC style * hardware with 6 byte packets */ - if (etd->fw_version_maj >= 0x02 && etd->fw_version_min >= 0x30) { + if (1) { etd->hw_version = 2; /* For now show extra debug information */ etd->debug = 1;
If someone wants a downloadable copy of this patch, I am hosting one at the following url:
http://dl.dropbox.com/u/123623/Ubunt...rce_hwv2.patch
Great! The original patch work for me. I'm on ASUS K40IN, with Elantech touchpad.
It worked perfect for me, on Asus A52F. The only thing is that now, two fingers tap is right click, and three fingers tap is middle click. Before I had the opposite, which I think made more sense:
- One finger tap, mouse button 1 (left click)
- Two fingers tap, mouse button 2 (middle click)
- Three fingers tap, mouse button 3 (right click)
Was this change done on purpose, or it happens accidentally on my model?
You can change that in your xorg.conf in your InputDevice section for the touchpad:
Code:Option "TapButton2" "3" Option "TapButton3" "2"
I dont have a xorg.conf file. Is there another way to do that? Or any way to automatically create a new xorg.conf on ubuntu lucid 64bit?
Sure, see:
http://wiki.debian.org/DebianEeePC/H...#Configuration
If that doesn't work as-is add this to the inputdevice section:
Code:Option "AutoServerLayout" "true"
ok, I don't need a xorg.conf. I just found out with "synclient -l" that TapButton2 was set to 3, and TapButton3 was set to 2. So I did:
synclient TapButton2=2
synclient TapButton3=3
That fixed it. Now I realized I could set PalmDetect to 1 (it was disabled), but after that and also setting PalmMinWidth and PalmMinZ very low, I can still move my touchpad easily with my palm, and even make clicks.
Is this an expected behaviour?
Bookmarks