Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dixonge/07c6ceaa1e66501f484141ac64bc4c5e to your computer and use it in GitHub Desktop.
Save dixonge/07c6ceaa1e66501f484141ac64bc4c5e to your computer and use it in GitHub Desktop.
Kernel customization to enable Elan touchpad on Lenovo Ideapad 330 w/ Ubuntu 18.04
#ifdef CONFIG_ACPI static const struct acpi_device_id elan_acpi_id[] = {
{ "ELAN0000", 0 },
{ "ELAN0100", 0 },
{ "ELAN0600", 0 },
{ "ELAN0602", 0 },
{ "ELAN0605", 0 },
{ "ELAN0608", 0 },
{ "ELAN0609", 0 },
{ "ELAN060B", 0 },
{ "ELAN060C", 0 },
{ "ELAN0611", 0 },
{ "ELAN0612", 0 },
{ "ELAN0618", 0 },
{ "ELAN061C", 0 }, <-add this
{ "ELAN061D", 0 }, <- and this for the lenovo 330 with the core i3
{ "ELAN1000", 0 },
{ } }; MODULE_DEVICE_TABLE(acpi, elan_acpi_id);
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment