a_lameira |
02-02-2023 05:54 PM |
Thanks for the reply! On Windows the touchpad is connected to the AMD I2C interface. I got some information from the Device Manager:
Code:
Device description
ELAN pointing device
Device instance path
HID\ELAN0642&COL01\4&2E996A7F&0&0000
Hardware Ids
HID\VEN_ELAN&DEV_0642&Col01
HID\ELAN0642&Col01
HID\*ELAN0642&Col01
HID\VID_04F3&UP:0001_U:0002
HID_DEVICE_SYSTEM_MOUSE
HID_DEVICE_UP:0001_U:0002
HID_DEVICE
Capabilities
000000A0
CM_DEVCAP_SILENTINSTALL
CM_DEVCAP_SURPRISEREMOVALOK
Status
0180200A
DN_DRIVER_LOADED
DN_STARTED
DN_DISABLEABLE
DN_NT_ENUMERATOR
DN_NT_DRIVER
Problem code
00000000
Config flags
00000000
Class
Mouse
Class guid
{4d36e96f-e325-11ce-bfc1-08002be10318}
Inf name
oem41.inf
Driver date
9/23/2020
Driver version
27.4.10.3
Provider
ELAN
Inf section
ETD_HID_PTP_WIN10_Group1_Inst
Included infs
msmouse.inf
Matching device Id
HID\VEN_ELAN&DEV_0642&Col01
Rank of driver
00F90000
Service
mouhid
Upper filters
ETD
Address
00000001
Base container Id
{00000000-0000-0000-ffff-ffffffffffff}
Bus number
00000001
Bus type Guid
{eeaf37d0-1963-47c4-aa48-72476db7cf49}
Configuration Id
oem41.inf:HID\VEN_ELAN&DEV_0642&Col01,ETD_HID_PTP_WIN10_Group1_Inst
Container Id
{00000000-0000-0000-ffff-ffffffffffff}
Device stack
\Driver\mouclass
\Driver\ETD
\Driver\mouhid
\Driver\mshidkmdf
Display name
ELAN pointing device
Driver description
ELAN pointing device
Driver key
{4d36e96f-e325-11ce-bfc1-08002be10318}\0000
Driver node strong name
oem41.inf:4777d1a3604f6974:ETD_HID_PTP_WIN10_Group1_Inst:27.4.10.3:HID\VEN_ELAN&DEV_0642&Col01
Enumerator
HID
First install date
12/25/2021 3:22:44 AM
Has problem
<false>
In root container
<true>
Install date
12/25/2021 3:27:32 AM
Install state
00000000
Is connected
<true>
Is present
<true>
Is reboot required
<false>
Last arrival date
1/29/2023 8:05:13 PM
Last known parent
ACPI\ELAN0642\3&31ff937c&1
Legacy bus type
0000000F
Manufacturer
ELAN
Parent
ACPI\ELAN0642\3&31ff937c&1
Physical device object name
\Device\0000004f
Power data
Current power state:
D0
Power capabilities:
00000009
PDCAP_D0_SUPPORTED
PDCAP_D3_SUPPORTED
Power state mappings:
S0 -> D0
S1 -> Unspecified
S2 -> Unspecified
S3 -> D3
S4 -> D3
S5 -> D3
Removal policy
00000001
Removal policy default
00000001
Reported device Ids hash
1AD58B6D
Rollback driver node strong name
msmouse.inf:c67c9e42728cee7a:HID_Mouse_Inst.NT:10.0.19041.1:HID_DEVICE_SYSTEM_MOUSE
Safe removal required
<false>
Siblings
HID\ELAN0642&Col02\4&2e996a7f&0&0001
HID\ELAN0642&Col03\4&2e996a7f&0&0002
HID\ELAN0642&Col04\4&2e996a7f&0&0003
Class default service
i8042prt
Class description
Mouse
Class icon path
%SystemRoot%\System32\setupapi.dll,-2
Class name
Mice and other pointing devices
Class upper filters
mouclass
Display name
Mice and other pointing devices
No install class
<true>
I got some info from the Windows driver too:
Code:
;============================================================================
; Installation file (.inf) for Windows 10.
;
; All Rights Reserved, Copyright(C) ELAN Microelectronics Corp. 2003-2020
;============================================================================
[Version]
Signature="$Windows NT$"
Provider=%VenderName%
ClassGUID={4D36E96F-E325-11CE-BFC1-08002BE10318}
Class=Mouse
CatalogFile=ETD.cat
DriverVer=09/23/2020, 27.4.10.3
[SourceDisksNames]
1=%DiskName%,,
[SourceDisksFiles]
ETD.sys = 1
ETDCtrl.exe = 1
ETDApix.dll = 1
ETDCmds.dll = 1
ETDService.exe = 1
ETDUn_inst.exe = 1
;----------------------------------------------------------------------------
; Manufacturer Sections
;----------------------------------------------------------------------------
[Manufacturer]
%VenderName% = ELAN.Mfg, NTamd64, NTamd64.10.0
[ELAN.Mfg.NTamd64]
[ELAN.Mfg.NTamd64.10.0]
%ELANHIDDeviceDesc% = ETD_HID_PTP_WIN10_Group2_Inst, HID\VEN_ELAN&DEV_0660&Col01 ; ClickPad for Capela 14e Windows
%ELANHIDDeviceDesc% = ETD_HID_PTP_WIN10_Group1_Inst, HID\VEN_ELAN&DEV_0661&Col01 ; ClickPad for Windows 100e/300e
%ELANHIDDeviceDesc% = ETD_HID_PTP_WIN10_Group3_Inst, HID\VEN_ELAN&DEV_066C&Col01 ; ClickPad for 100e/300e AMD Pollock
%ELANHIDDeviceDesc% = ETD_HID_PTP_WIN10_Group1_Inst, HID\VEN_ELAN&DEV_066E&Col01 ; ClickPad for 100W&300W Gen3 AMD Pollock
%ELANHIDDeviceDesc% = ETD_HID_PTP_WIN10_Group1_Inst, HID\VEN_ELAN&DEV_066F&Col01 ; ClickPad for 300W Gen3 Intel JasperLake
%ELANHIDDeviceDesc% = ETD_HID_PTP_WIN10_Group1_Inst, HID\VEN_ELAN&DEV_0641&Col01 ; ClickPad for 14W
%ELANHIDDeviceDesc% = ETD_HID_PTP_WIN10_Group1_Inst, HID\VEN_ELAN&DEV_0642&Col01 ; ClickPad for 100W/300W AMD Pollock
;----------------------------------------------------------------------------
; Install Sections
;----------------------------------------------------------------------------
[DestinationDirs]
DefaultDestDir = 12 ; Driver directory
ETDSys.CopyFiles = 12 ; Driver directory
ETDApp.CopyFiles = 11 ; System directory
[ETD_Service_Inst]
DisplayName = %PS2DeviceDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 0 ; SERVICE_ERROR_IGNORE
ServiceBinary = %12%\ETD.sys
LoadOrderGroup = Pointer Port
[ETD_APP_Service_Inst]
DisplayName = "ELAN Service"
ServiceType = 0x00000010 ; SERVICE_WIN32_OWN_PROCESS
StartType = 0x00000002 ; SERVICE_AUTO_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %11%\ETDService.exe
;LoadOrderGroup = "" ; System determines automatically
;----------------------------------------------------------------------------
; Common File Copy and Registry Operations
;----------------------------------------------------------------------------
[ETDSys.CopyFiles]
ETD.sys,,,0x00000001
[ETDApp.CopyFiles]
ETDCtrl.exe,,,0x00004000
ETDApix.dll,,,0x00004000
ETDCmds.dll,,,0x00004000
ETDService.exe,,,0x00000001
ETDUn_inst.exe,,,0x00004000
;----------------------------------------------------------------------------
[ETD_HID_PTP_WIN10_Inst]
FeatureScore=F9
Include = msmouse.inf
Needs = HID_Mouse_Inst.NT
CopyFiles=ETDSys.CopyFiles, ETDApp.CopyFiles
AddReg=ETD_HID_System_Win10.AddReg, ETD_HID_HKR_OtherSetting.AddReg
CopyINF=ETDHCF.inf
Reboot
[ETD_HID_PTP_WIN10_Inst.Services]
Include = msmouse.inf
Needs = HID_Mouse_Inst.NT.Services
AddService = ETD,0x00000000, ETD_Service_Inst
AddService = ETDService,0x00000800, ETD_APP_Service_Inst
[ETD_HID_PTP_WIN10_Inst.HW]
AddReg = ETD_AddReg.HW
[ETD_HID_PTP_WIN10_Inst.Wdf]
KmdfService = ETD, HIDDevice_WdfSect
;----------------------------------------------------------------------------
[ETD_HID_PTP_WIN10_Group1_Inst]
FeatureScore=F9
Include = msmouse.inf
Needs = HID_Mouse_Inst.NT
CopyFiles=ETDSys.CopyFiles, ETDApp.CopyFiles
AddReg=ETD_HID_System_Win10.AddReg, ETD_HID_HKR_OtherSetting_Group1.AddReg
CopyINF=ETDHCF.inf
Reboot
[ETD_HID_PTP_WIN10_Group1_Inst.Services]
Include = msmouse.inf
Needs = HID_Mouse_Inst.NT.Services
AddService = ETD,0x00000000, ETD_Service_Inst
AddService = ETDService,0x00000800, ETD_APP_Service_Inst
[ETD_HID_PTP_WIN10_Group1_Inst.HW]
AddReg = ETD_AddReg.HW
[ETD_HID_PTP_WIN10_Group1_Inst.Wdf]
KmdfService = ETD, HIDDevice_WdfSect
;----------------------------------------------------------------------------
[ETD_HID_PTP_WIN10_Group2_Inst]
FeatureScore=F9
Include = msmouse.inf
Needs = HID_Mouse_Inst.NT
CopyFiles=ETDSys.CopyFiles, ETDApp.CopyFiles
AddReg=ETD_HID_System_Win10.AddReg, ETD_HID_HKR_OtherSetting_Group2.AddReg
CopyINF=ETDHCF.inf
Reboot
[ETD_HID_PTP_WIN10_Group2_Inst.Services]
Include = msmouse.inf
Needs = HID_Mouse_Inst.NT.Services
AddService = ETD,0x00000000, ETD_Service_Inst
AddService = ETDService,0x00000800, ETD_APP_Service_Inst
[ETD_HID_PTP_WIN10_Group2_Inst.HW]
AddReg = ETD_AddReg.HW
[ETD_HID_PTP_WIN10_Group2_Inst.Wdf]
KmdfService = ETD, HIDDevice_WdfSect
;----------------------------------------------------------------------------
[ETD_HID_PTP_WIN10_Group3_Inst]
FeatureScore=F9
Include = msmouse.inf
Needs = HID_Mouse_Inst.NT
CopyFiles=ETDSys.CopyFiles, ETDApp.CopyFiles
AddReg=ETD_HID_System_Win10.AddReg, ETD_HID_HKR_OtherSetting_Group3.AddReg
CopyINF=ETDHCF.inf
Reboot
[ETD_HID_PTP_WIN10_Group3_Inst.Services]
Include = msmouse.inf
Needs = HID_Mouse_Inst.NT.Services
AddService = ETD,0x00000000, ETD_Service_Inst
AddService = ETDService,0x00000800, ETD_APP_Service_Inst
[ETD_HID_PTP_WIN10_Group3_Inst.HW]
AddReg = ETD_AddReg.HW
[ETD_HID_PTP_WIN10_Group3_Inst.Wdf]
KmdfService = ETD, HIDDevice_WdfSect
;----------------------------------------------------------------------------
; Entry point for Uninstallation.
; This section is executed as part of Uninstallation.
;----------------------------------------------------------------------------
;----------------------------------------------------------------------------
; Uninstall Section
;----------------------------------------------------------------------------
;----------------------------------------------------------------------------
; System Section
;----------------------------------------------------------------------------
[ETD_HID_System_Win10.AddReg]
HKLM,%ServiceRoot%"\Elantech",Version,%REG_SZ%,"%DriverVersion%"
HKLM,%ServiceRoot%"\Elantech",DriverVersion,%REG_SZ%,"ELAN Touchpad %DriverVersion%_HIDI2C_%DriverBit%_%DriverVersionExtend%"
HKLM,%ServiceRoot%"\Elantech",ScreenOrientation,%REG_DWORD%,0
;----------------------------------------------------------------------------
; DeviceInfo Section
;----------------------------------------------------------------------------
[ETD_HID_HKR_OtherSetting.AddReg]
HKR,"OtherSetting",DetectTouchPadSMBusProtocol,%REG_DWORD%,0 ; 0 = Not Detect, 1 = Detect
HKR,"OtherSetting",DetectTouchPadI2CProtocol,%REG_DWORD%,1 ; 0 = Not Detect, 1 = Detect
HKR,"OtherSetting",LidStatusControlFunction_Enable,%REG_DWORD%,1 ; 0: Close Function , 1: Open Function
HKR,"OtherSetting",LidStatusNotifyFW_Enable,%REG_DWORD%,1 ; 0: Close Function , 1: Open Function
HKR,"OtherSetting",CustomerDefinition,%REG_DWORD%,8
HKR,"OtherSetting",ToggleFunction_Enable,%REG_DWORD%,0 ; Toggle Function Key Enable
HKR,"OtherSetting",ToggleScanCode,%REG_DWORD%,0xE073 ; Toggle Scan Code
HKR,"OtherSetting",SwitchFunction_Enable,%REG_DWORD%,0 ; Switch Function Key Enable
HKR,"OtherSetting",Switch_On_Key,%REG_DWORD%,0xE03E ; Switch On Key
HKR,"OtherSetting",Switch_Off_Key,%REG_DWORD%,0xE03F ; Switch Off Key
HKR,"OtherSetting",ShowTopIconWhenDeviceOnOff,%REG_DWORD%,0
HKR,"OtherSetting",PTPChangeStatusByLidControl,%REG_DWORD%,0
[ETD_HID_HKR_OtherSetting_Group1.AddReg]
HKR,"OtherSetting",DetectTouchPadSMBusProtocol,%REG_DWORD%,0 ; 0 = Not Detect, 1 = Detect
HKR,"OtherSetting",DetectTouchPadI2CProtocol,%REG_DWORD%,1 ; 0 = Not Detect, 1 = Detect
HKR,"OtherSetting",LidStatusControlFunction_Enable,%REG_DWORD%,1 ; 0: Close Function , 1: Open Function
HKR,"OtherSetting",LidStatusNotifyFW_Enable,%REG_DWORD%,1 ; 0: Close Function , 1: Open Function
HKR,"OtherSetting",CustomerDefinition,%REG_DWORD%,8
HKR,"OtherSetting",ToggleFunction_Enable,%REG_DWORD%,0 ; Toggle Function Key Enable
HKR,"OtherSetting",ToggleScanCode,%REG_DWORD%,0xE073 ; Toggle Scan Code
HKR,"OtherSetting",SwitchFunction_Enable,%REG_DWORD%,1 ; Switch Function Key Enable
HKR,"OtherSetting",Switch_On_Key,%REG_DWORD%,0x62 ; Switch On Key
HKR,"OtherSetting",Switch_Off_Key,%REG_DWORD%,0x63 ; Switch Off Key
HKR,"OtherSetting",Send97CommandEnable,%REG_DWORD%,0
HKR,"OtherSetting",ShowTopIconWhenDeviceOnOff,%REG_DWORD%,0
HKR,"OtherSetting",HardwareID,%REG_DWORD%,0x0600
HKR,"OtherSetting",PTPChangeStatusByLidControl,%REG_DWORD%,1
[ETD_HID_HKR_OtherSetting_Group2.AddReg]
HKR,"OtherSetting",DetectTouchPadSMBusProtocol,%REG_DWORD%,0 ; 0 = Not Detect, 1 = Detect
HKR,"OtherSetting",DetectTouchPadI2CProtocol,%REG_DWORD%,1 ; 0 = Not Detect, 1 = Detect
HKR,"OtherSetting",LidStatusControlFunction_Enable,%REG_DWORD%,1 ; 0: Close Function , 1: Open Function
HKR,"OtherSetting",LidStatusNotifyFW_Enable,%REG_DWORD%,1 ; 0: Close Function , 1: Open Function
HKR,"OtherSetting",CustomerDefinition,%REG_DWORD%,8
HKR,"OtherSetting",ToggleFunction_Enable,%REG_DWORD%,1 ; Toggle Function Key Enable
HKR,"OtherSetting",ToggleScanCode,%REG_DWORD%,0xE073 ; Toggle Scan Code
HKR,"OtherSetting",SwitchFunction_Enable,%REG_DWORD%,0 ; Switch Function Key Enable
HKR,"OtherSetting",Switch_On_Key,%REG_DWORD%,0x62 ; Switch On Key
HKR,"OtherSetting",Switch_Off_Key,%REG_DWORD%,0x63 ; Switch Off Key
HKR,"OtherSetting",EC_Notify_Enable,%REG_DWORD%,1
HKR,"OtherSetting",EC_Notify_Inhibit_WhenForceEnable,%REG_DWORD%,0 ; Send cmd after force enable
HKR,"OtherSetting",EC_Notify_On_Port,%REG_DWORD%,0x97 ; To 64h
HKR,"OtherSetting",EC_Notify_On_Data,%REG_DWORD%,0x02 ; To 60h
HKR,"OtherSetting",EC_Notify_Off_Port,%REG_DWORD%,0x97 ; To 64h
HKR,"OtherSetting",EC_Notify_Off_Data,%REG_DWORD%,0x01 ; To 60h
HKR,"OtherSetting",Send97CommandEnable,%REG_DWORD%,1
HKR,"OtherSetting",ECChannel,%REG_DWORD%,1
HKR,"OtherSetting",ResumeNeedSend97Command,%REG_DWORD%,1
HKR,"OtherSetting",ShowTopIconWhenDeviceOnOff,%REG_DWORD%,0
HKR,"OtherSetting",HardwareID,%REG_DWORD%,0x0600
HKR,"OtherSetting",PTPChangeStatusByLidControl,%REG_DWORD%,0
[ETD_HID_HKR_OtherSetting_Group3.AddReg]
HKR,"OtherSetting",DetectTouchPadSMBusProtocol,%REG_DWORD%,0 ; 0 = Not Detect, 1 = Detect
HKR,"OtherSetting",DetectTouchPadI2CProtocol,%REG_DWORD%,1 ; 0 = Not Detect, 1 = Detect
HKR,"OtherSetting",LidStatusControlFunction_Enable,%REG_DWORD%,1 ; 0: Close Function , 1: Open Function
HKR,"OtherSetting",LidStatusNotifyFW_Enable,%REG_DWORD%,1 ; 0: Close Function , 1: Open Function
HKR,"OtherSetting",CustomerDefinition,%REG_DWORD%,8
HKR,"OtherSetting",ToggleFunction_Enable,%REG_DWORD%,0 ; Toggle Function Key Enable
HKR,"OtherSetting",ToggleScanCode,%REG_DWORD%,0xE073 ; Toggle Scan Code
HKR,"OtherSetting",SwitchFunction_Enable,%REG_DWORD%,1 ; Switch Function Key Enable
HKR,"OtherSetting",Switch_On_Key,%REG_DWORD%,0x62 ; Switch On Key
HKR,"OtherSetting",Switch_Off_Key,%REG_DWORD%,0x63 ; Switch Off Key
HKR,"OtherSetting",EC_Notify_Enable,%REG_DWORD%,1
HKR,"OtherSetting",EC_Notify_Inhibit_WhenForceEnable,%REG_DWORD%,0 ; Send cmd after force enable
HKR,"OtherSetting",EC_Notify_On_Port,%REG_DWORD%,0x97 ; To 64h
HKR,"OtherSetting",EC_Notify_On_Data,%REG_DWORD%,0x02 ; To 60h
HKR,"OtherSetting",EC_Notify_Off_Port,%REG_DWORD%,0x97 ; To 64h
HKR,"OtherSetting",EC_Notify_Off_Data,%REG_DWORD%,0x01 ; To 60h
HKR,"OtherSetting",Send97CommandEnable,%REG_DWORD%,0
HKR,"OtherSetting",Send97CommandEnableWhenInit,%REG_DWORD%,1
HKR,"OtherSetting",ShowTopIconWhenDeviceOnOff,%REG_DWORD%,0
HKR,"OtherSetting",HardwareID,%REG_DWORD%,0x0600
HKR,"OtherSetting",PTPChangeStatusByLidControl,%REG_DWORD%,1
HKR,"OtherSetting",LidCloseBeforeD0Exit,%REG_DWORD%,1
HKR,"OtherSetting",ECChannel,%REG_DWORD%,2
[ETD_AddReg.HW]
HKR,,"UpperFilters",0x00010000,"ETD"
[HIDDevice_WdfSect]
KmdfLibraryVersion = 1.11
;----------------------------------------------------------------------------
; String Table
;----------------------------------------------------------------------------
[Strings]
PS2DeviceDesc = "ELAN PS/2 Port Input Device"
ELANHIDDeviceDesc = "ELAN pointing device"
Publisher = "ELAN Microelectronic Corp."
TargetDir = "Elantech"
NewTargetDir = "NewElantech"
DiskName = "ETDWare Driver Disk"
VenderName = "ELAN"
ServiceRoot = "System\CurrentControlSet\Control"
; Registry Type
REG_EXPAND_SZ = 0x00020000
REG_DWORD = 0x00010001
REG_MULTI_SZ = 0x00010000
REG_BINARY = 0x00000001
REG_SZ = 0x00000000
; ELAN Driver Information
ELANStringName = "ELAN Input Device Driver"
ThinkPadStringName = "ThinkPad UltraNav Driver"
ThinkPadStringNameNew = "ELAN pointing device"
LenovoStringName = "ELAN pointing device"
ELANProgamName = "ELAN Pointing Driver"
DriverDate = "09/23/2020"
DriverVersion = "27.4.10.3"
DriverBit = "X64"
DriverVersionExtend = "WHQL" ; Beta or WHQL
I am not familiar with UEFI modification. The Legacy BIOS option has been blocked by Lenovo. I don't know if it is because of Intel's decision to no longer support this type of BIOS or if it is because of an agreement with Microsoft, which has occurred in the past, to block BIOS options that are not of interest to the company. In any case, I think Ryzen chips still support legacy boot.
I am not sure how the BIOS would block touchpad detection. When running the command "sudo i2cdetect -l", nothing is detected, which suggests to me that it might be a problem with AMD's i2c interface. Anyway, I am a bit lost amidst so many questions.
|