HID over I2C - Precision Mouse

Technical issues/questions of an intermediate or advanced nature.
Post Reply
raja
Black ninja
Black ninja
Posts: 95
Joined: 02 May 2017, 09:51
Distribution: v3.2.2-32bit and v3.2.2-64 bit
Location: Chennai,India

HID over I2C - Precision Mouse

Post#1 by raja » 12 Dec 2017, 18:50

I have been reporting that latest Kernels v4.13.5-porteus or v4.14.4rc from neko, too are failing to detect Precision Mouse in my Laptop. Just now I found, A Debian Kernel v4.9.0.3 could eneumerate the mouse, loading all required kernel drivers , and XORG could install the driver for the mouse. Mouse is working fine.

I think certian entries for I2C bus/pci in the "config' file are disabled in porteus and Aporteus.

kernel log:
Dec 12 21:44:24 stretch kernel: [ 13.235927] input: SYNA7DB5:00 06CB:7DB7 Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-6/i2c-SYNA7DB5:00/0018:06CB:7DB7.0002/input/input15

Dec 12 21:44:24 stretch kernel: [ 13.236054] hid-multitouch 0018:06CB:7DB7.0002: input,hidraw1: I2C HID v1.00 Mouse [SYNA7DB5:00 06CB:7DB7] on i2c-SYNA7DB5:00
Xorg log:
19.358] (II) config/udev: Adding input device SYNA7DB5:00 06CB:7DB7 Touchpad (/dev/input/event15)
[ 19.358] (**) SYNA7DB5:00 06CB:7DB7 Touchpad: Applying InputClass "evdev touchpad catchall"
[ 19.358] (**) SYNA7DB5:00 06CB:7DB7 Touchpad: Applying InputClass "touchpad catchall"
[ 19.358] (**) SYNA7DB5:00 06CB:7DB7 Touchpad: Applying InputClass "Default clickpad buttons"
[ 19.358] (II) LoadModule: "synaptics"
[ 19.359] (II) Loading /usr/ebian Kernel has loadedlib/xorg/modules/input/synaptics_drv.so
Only it2_hid was loaded in porteus.

I see new faces in debian.

hid_multitouch,i2c_designware_platform ,i2c_designware_core,rtsx_pci_ms ,rtsx_pci_sdmmc ,rtsx_pci,i2c_hid ,intel_lpss_acpi ,intel_lpss_pci ,hid ( 94208 4 i2c_hid,hid_generic,usbhid,hid_multitouch).

I remember long back I suggested neko to apply patches for intel_lpss_pci and _acpi.

Are they the ones ,making kernel to load I2C_designerware_platform and _core?

Brokenman to please look into this. I too will scan the config file, to pin pont the entry.

Thanks.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5758
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

HID over I2C - Precision Mouse

Post#2 by brokenman » 15 Dec 2017, 01:13

I think certian entries for I2C bus/pci in the "config' file are disabled in porteus and Aporteus.
Correct. Also, there was a problem with I2c parport so I removed this capability. If you can pinpoint the required config I will add it in the next release. The rc1 kernel has already been uploaded.
How do i become super user?
Wear your underpants on the outside and put on a cape.

raja
Black ninja
Black ninja
Posts: 95
Joined: 02 May 2017, 09:51
Distribution: v3.2.2-32bit and v3.2.2-64 bit
Location: Chennai,India

HID over I2C - Precision Mouse

Post#3 by raja » 04 Jan 2018, 07:37

Three Cheers. Finally, Precision Mouse is working perfectly.
[ 0.000000] Linux version 4.14.11-porteus (root@porteus) (gcc version 7.2.0 (GCC)) #1 SMP PREEMPT Thu Jan 4 01:56:54 UTC 2018
I made a custom Kernel limiting options exclusively to an Intel machine with support for Ethernet,wireless,sound and video, other input devices.

Changes made to "config" file, for the "touchpad".
#Bus options (PCI etc.)

CONFIG_PCI_BIOS=y
ONFIG_PCIEAER_INJECT
CONFIG_PCIE_DPC=y
CONFIG_PCIE_PTM=y
CONFIG_PCI_MSI_IRQ_DOMAIN=y

# Input Device Drivers:

CONFIG_MOUSE_ELAN_I2C_SMBUS=y


#I2C support:

CONFIG_I2C_COMPAT=y

#Multiplexer I2C Chip support:

CONFIG_I2C_HELPER_AUTO=y

#Other I2C/SMBus bus drivers:

CONFIG_I2C_PCA_ISA=m
CONFIG_SCx200_ACB=m
CONFIG_I2C_STUB=m
CONFIG_SPI=y
CONFIG_SPI_MASTER=y


#Multi Function Driver:

#Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21) needs Intel drivers for LPSS

CONFIG_LPC_ICH=m
CONFIG_LPC_SCH=m
CONFIG_MFD_INTEL_LPSS=m
CONFIG_MFD_INTEL_LPSS_ACPI=m
CONFIG_MFD_INTEL_LPSS_PCI=m

# USB HID support

CONFIG_HID_PID=y
Thanks, Brokenman for the 'Intel Microcode' entry. Loads before, initrd and I don't see any error messages or time delay in 'dmesg'.(v4.14.4)

Webcam too is listed with USB Video Class driver.

Happy New Year!

User avatar
brokenman
Site Admin
Site Admin
Posts: 5758
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

HID over I2C - Precision Mouse

Post#4 by brokenman » 13 Jan 2018, 13:35

Good to see some progress raja. I will add these to the kernel for next release. Thanks for reporting and trouble shooting. We need more people like you! :beer:
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply