Linux does not recognize the Hantick touchpad as a touchpad and does not enable all the functions

Bug #1688625 reported by slimbook
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Hello,
We have laptops with touchpad Hantick, that on Miscrosft Windows work with Elan driver.

Linux does not recognize the Hantick touchpad as a touchpad and does not enable all the functions of evdev or libinput.

Thanks
--------

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-77-generic 4.4.0-77.98
ProcVersionSignature: Ubuntu 4.4.0-77.98-generic 4.4.59
Uname: Linux 4.4.0-77-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: slimbook 1720 F.... pulseaudio
CurrentDesktop: Unity
Date: Fri May 5 20:01:33 2017
HibernationDevice: RESUME=UUID=eef047d2-92ea-4166-a300-7a4de6af1448
InstallationDate: Installed on 2017-05-05 (0 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 004: ID 090c:037c Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) 300k Pixel Camera
 Bus 001 Device 003: ID 8087:0a2a Intel Corp.
 Bus 001 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: SLIMBOOK KATANA
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-77-generic.efi.signed root=UUID=00a6febb-4980-4147-a2e8-29930aed3d30 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-77-generic N/A
 linux-backports-modules-4.4.0-77-generic N/A
 linux-firmware 1.157.8
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/25/2016
dmi.bios.vendor: INSYDE Corp.
dmi.bios.version: 16L
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: KATANA
dmi.board.vendor: SLIMBOOK
dmi.board.version: Type2 - Board Version
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: SLIMBOOK
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnINSYDECorp.:bvr16L:bd07/25/2016:svnSLIMBOOK:pnKATANA:pvrTBDbyOEM:rvnSLIMBOOK:rnKATANA:rvrType2-BoardVersion:cvnSLIMBOOK:ct10:cvrChassisVersion:
dmi.product.name: KATANA
dmi.product.version: TBD by OEM
dmi.sys.vendor: SLIMBOOK

Revision history for this message
slimbook (slimbook) wrote :
description: updated
Revision history for this message
slimbook (slimbook) wrote :

Details with "evdev"

$ xinput --list-props 11
Device 'ImExPS/2 Generic Explorer Mouse':
 Device Enabled (139): 1
 Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
 Device Accel Profile (267): 0
 Device Accel Constant Deceleration (268): 1.000000
 Device Accel Adaptive Deceleration (269): 1.000000
 Device Accel Velocity Scaling (270): 10.000000
 Device Product ID (259): 2, 6
 Device Node (260): "/dev/input/event10"
 Evdev Axis Inversion (271): 0, 0
 Evdev Axes Swap (273): 0
 Axis Labels (274): "Rel X" (149), "Rel Y" (150), "Rel Horiz Wheel" (265), "Rel Vert Wheel" (266)
 Button Labels (275): "Button Left" (142), "Button Middle" (143), "Button Right" (144), "Button Wheel Up" (145), "Button Wheel Down" (146), "Button Horiz Wheel Left" (147), "Button Horiz Wheel Right" (148), "Button Side" (263), "Button Extra" (264), "Button Unknown" (262), "Button Unknown" (262), "Button Unknown" (262), "Button Unknown" (262)
 Evdev Scrolling Distance (276): 1, 1, 1
 Evdev Middle Button Emulation (277): 0
 Evdev Middle Button Timeout (278): 50
 Evdev Third Button Emulation (279): 0
 Evdev Third Button Emulation Timeout (280): 1000
 Evdev Third Button Emulation Button (281): 3
 Evdev Third Button Emulation Threshold (282): 20
 Evdev Wheel Emulation (283): 0
 Evdev Wheel Emulation Axes (284): 0, 0, 4, 5
 Evdev Wheel Emulation Inertia (285): 10
 Evdev Wheel Emulation Timeout (286): 200
 Evdev Wheel Emulation Button (287): 4
 Evdev Drag Lock Buttons (288): 0

description: updated
Revision history for this message
slimbook (slimbook) wrote :

Details with "libinput"

$ xinput --list-props 11
Device 'ImExPS/2 Generic Explorer Mouse':
 Device Enabled (139): 1
 Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
 libinput Accel Speed (275): 1.000000
 libinput Accel Speed Default (276): 0.000000
 libinput Accel Profiles Available (277): 1, 1
 libinput Accel Profile Enabled (278): 1, 0
 libinput Accel Profile Enabled Default (279): 1, 0
 libinput Natural Scrolling Enabled (280): 0
 libinput Natural Scrolling Enabled Default (281): 0
 libinput Send Events Modes Available (259): 1, 0
 libinput Send Events Mode Enabled (260): 0, 0
 libinput Send Events Mode Enabled Default (261): 0, 0
 libinput Left Handed Enabled (282): 0
 libinput Left Handed Enabled Default (283): 0
 libinput Scroll Methods Available (284): 0, 0, 1
 libinput Scroll Method Enabled (285): 0, 0, 0
 libinput Scroll Method Enabled Default (286): 0, 0, 0
 libinput Button Scrolling Button (287): 2
 libinput Button Scrolling Button Default (288): 274
 libinput Middle Emulation Enabled (289): 0
 libinput Middle Emulation Enabled Default (290): 0
 Device Node (262): "/dev/input/event10"
 Device Product ID (263): 2, 6
 libinput Drag Lock Buttons (291): <no items>
 libinput Horizonal Scroll Enabled (264): 1

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
slimbook (slimbook) wrote :

As I said at the beginning, the Miscrosoft Windows the Hantick touchpad is recognized as ELAN and works correctly.
Other linux users with other hardware recognized as ELAN, have more parameters available:

https://gist.github.com/snambi/cfaede7bf4497e12d49c5c4c510c3083

Revision history for this message
Tavin Cole (tavin) wrote :

So perhaps it is possible to build a custom kernel for ubuntu with ELAN touchpad support enabled?

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.11 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
slimbook (slimbook) wrote :

Hello,
The problem continue.

How can add the tag?
kernel-bug-exists-upstream

Thanks,

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Tavin Cole (tavin)
tags: added: kernel-bug-exists-upstream
Revision history for this message
Otto Kekäläinen (otto) wrote :

I just tested with the latest 4.12rc7 kernel and it still detects the touchpad as a generic mouse:

Device 'ImExPS/2 Generic Explorer Mouse':
 Device Enabled (142): 1
 Coordinate Transformation Matrix (144): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
 libinput Accel Speed (279): 1.000000
 libinput Accel Speed Default (280): 0.000000
 libinput Accel Profiles Available (281): 1, 1
 libinput Accel Profile Enabled (282): 1, 0
 libinput Accel Profile Enabled Default (283): 1, 0
 libinput Natural Scrolling Enabled (284): 0
 libinput Natural Scrolling Enabled Default (285): 0
 libinput Send Events Modes Available (264): 1, 0
 libinput Send Events Mode Enabled (265): 0, 0
 libinput Send Events Mode Enabled Default (266): 0, 0
 libinput Left Handed Enabled (286): 0
 libinput Left Handed Enabled Default (287): 0
 libinput Scroll Methods Available (288): 0, 0, 1
 libinput Scroll Method Enabled (289): 0, 0, 0
 libinput Scroll Method Enabled Default (290): 0, 0, 0
 libinput Button Scrolling Button (291): 2
 libinput Button Scrolling Button Default (292): 2
 libinput Middle Emulation Enabled (293): 0
 libinput Middle Emulation Enabled Default (294): 0
 Device Node (267): "/dev/input/event6"
 Device Product ID (268): 2, 6
 libinput Drag Lock Buttons (295): <no items>
 libinput Horizontal Scroll Enabled (296): 1

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Otto,

Can you add "i2c-hid.dyndbg=+p" to your kernel parameter and attach full dmesg here?

Revision history for this message
slimbook (slimbook) wrote :

Hello @kaihengfeng,

We add i2c-hid.dyndbg=+p to kernel parameter and attach dmesg.

More information:
All laptops whit the touchpad have same "Unique ID"

slimbook@slimbook:$ hwinfo --mouse
33: PS/2 00.0: 10500 PS/2 Mouse
  [Created at input.249]
  Unique ID: AH6Q.bGO0sOimOM3
  Hardware Class: mouse
  Model: "ImExPS/2 Generic Explorer Mouse"
  Vendor: 0x0002
  Device: 0x0006 "ImExPS/2 Generic Explorer Mouse"
  Compatible to: int 0x0210 0x0025
  Device File: /dev/input/mice (/dev/input/mouse1)
  Device Files: /dev/input/mice, /dev/input/mouse1, /dev/input/event7
  Device Number: char 13:63 (char 13:33)
  Driver Info #0:
    Buttons: 5
    Wheels: 2
    XFree86 Protocol: explorerps/2
    GPM Protocol: exps2
  Config Status: cfg=new, avail=yes, need=no, active=unknown

Revision history for this message
slimbook (slimbook) wrote :

Sorry, attach now.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Try this:
$ sudo sh -c 'echo -n "elantech" > /sys/bus/serio/devices/serio2/protocol

Revision history for this message
slimbook (slimbook) wrote :

Do, and the pointer is crazy.
:(

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Well, then you probably need to ask Hantick or Elan for their support.

Revision history for this message
slimbook (slimbook) wrote :

Thanks @kaihengfeng
Neither Hantik nor Elan support Linux, we have already consulted with them.
We have the same computers with 2 different touchpad. We can assemble the orders with Cypress touchpad and Hantik touchpad (Synaptics does not manufacture in the correct size of these cases)

Your solution solved other bug opened, but partialy.
Can you read my last response?
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-synaptics/+bug/1650788

Thank you very much

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

From the git log, I can see several commits are wrote by Elantech guy...

Revision history for this message
slimbook (slimbook) wrote :

Hello @kaihengfeng

To start I just need the hardware to be recognized as touchpad, so that in the control panel, in Mouse options, also appear on options of Touchpad.

Hardware Unique ID: AH6Q.bGO0sOimOM3

The touchpad works reasonably with libinput and with evdev, but it is recognized as a mouse and therefore not configurable by the user. The user can not activate options like "Natural Scrolling", Velocity, etc.

We have developed an application [1] that allows users to change parameters of libinput and evdev, to activate the natural scrolling. But the customers have to install it additionally.
The correct is that it recognizes that unique hardware like touchpad, which is what it really is, and thus Ubuntu allows to configure parameters without needing to install third-party applications.

[1]: https://slimbook.es/images/imagetuto/touchpadevdev.png

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote : Re: [Bug 1688625] Re: Linux does not recognize the Hantick touchpad as a touchpad and does not enable all the functions
Download full text (3.9 KiB)

On Sat, Aug 26, 2017 at 22:20 slimbook <email address hidden> wrote:

> Hello @kaihengfeng
>
> To start I just need the hardware to be recognized as touchpad, so that
> in the control panel, in Mouse options, also appear on options of
> Touchpad.
>
> Hardware Unique ID: AH6Q.bGO0sOimOM3
>
> The touchpad works reasonably with libinput and with evdev, but it is
> recognized as a mouse and therefore not configurable by the user. The
> user can not activate options like "Natural Scrolling", Velocity, etc.

That's why you need vendor support.

>
>
> We have developed an application [1] that allows users to change
> parameters of libinput and evdev, to activate the natural scrolling. But
> the customers have to install it additionally.
> The correct is that it recognizes that unique hardware like touchpad,
> which is what it really is, and thus Ubuntu allows to configure parameters
> without needing to install third-party applications.
>
> [1]: https://slimbook.es/images/imagetuto/touchpadevdev.png
>
> --
> You received this bug notification because you are subscribed to linux
> in Ubuntu.
> https://bugs.launchpad.net/bugs/1688625
>
> Title:
> Linux does not recognize the Hantick touchpad as a touchpad and does
> not enable all the functions
>
> Status in linux package in Ubuntu:
> Confirmed
>
> Bug description:
> Hello,
> We have laptops with touchpad Hantick, that on Miscrosft Windows work
> with Elan driver.
>
> Linux does not recognize the Hantick touchpad as a touchpad and does
> not enable all the functions of evdev or libinput.
>
> Thanks
> --------
>
> ProblemType: Bug
> DistroRelease: Ubuntu 16.04
> Package: linux-image-4.4.0-77-generic 4.4.0-77.98
> ProcVersionSignature: Ubuntu 4.4.0-77.98-generic 4.4.59
> Uname: Linux 4.4.0-77-generic x86_64
> ApportVersion: 2.20.1-0ubuntu2.5
> Architecture: amd64
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: slimbook 1720 F.... pulseaudio
> CurrentDesktop: Unity
> Date: Fri May 5 20:01:33 2017
> HibernationDevice: RESUME=UUID=eef047d2-92ea-4166-a300-7a4de6af1448
> InstallationDate: Installed on 2017-05-05 (0 days ago)
> InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64
> (20160719)
> Lsusb:
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 001 Device 004: ID 090c:037c Silicon Motion, Inc. - Taiwan
> (formerly Feiya Technology Corp.) 300k Pixel Camera
> Bus 001 Device 003: ID 8087:0a2a Intel Corp.
> Bus 001 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129
> Card Reader Controller
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> MachineType: SLIMBOOK KATANA
> ProcFB: 0 inteldrmfb
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-77-generic.efi.signed
> root=UUID=00a6febb-4980-4147-a2e8-29930aed3d30 ro quiet splash vt.handoff=7
> RelatedPackageVersions:
> linux-restricted-modules-4.4.0-77-generic N/A
> linux-backports-modules-4.4.0-77-generic N/A
> linux-firmware 1.157.8
> SourcePackage: linux
> UpgradeStatus: No upgrade log present (probably fresh install)
> dmi.bios.date: 07/25/2016
> d...

Read more...

Revision history for this message
slimbook (slimbook) wrote :

We assemble the pieces.
The touchpad manufacturer does not support Linux and refuses to give it.

I just need the hardware ID: AH6Q.bGO0sOimOM3 to be recognized as touchpad, it does not matter if it uses the protocol of libinput or evdev, because both protocols allow to configure the natural scrolling.
But Ubuntu says that this hardware is a mouse and does not display the option to activate the natural scrolling.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.