Activate Elantech toucpad probe but fail.

Now we can see who has Elantech touchpad.
Driver is currently in very bad shape on my hw:
 * mouse jumps
 * mouse clicks maps to wrong button
 * keyboard not working properly when enabled
 * power button only works in force shutdown mode
This commit is contained in:
Fredrik Holmqvist 2017-04-09 15:14:02 +02:00
parent 34ac7f7ac3
commit 044cab8e74
2 changed files with 2 additions and 4 deletions

View File

@ -89,13 +89,11 @@ ps2_dev_detect_pointing(ps2_dev* dev, device_hooks** hooks)
goto dev_found;
}
#if 0
status = probe_elantech(dev);
if (status == B_OK) {
*hooks = &gElantechDeviceHooks;
goto dev_found;
}
#endif
// reset the mouse for the case that the previous probes leaf the mouse in
// a undefined state

View File

@ -274,12 +274,12 @@ probe_elantech(ps2_dev* dev)
return B_ERROR;
}
INFO("Elantech found\n");
INFO("Elantech found, under development so no features activated!\n");
dev->name = kElantechPath[dev->idx];
dev->packet_size = PS2_PACKET_ELANTECH;
return B_OK;
return B_ERROR;
}