Re: [RFC 0/4] Intel Integrated Sensor Hub Support (ISH)

From: me
Date: Thu Jun 02 2016 - 11:02:59 EST


My thanks to you and your team for releasing this patch to get the sensor
hubs up and running on Linux machines.

I've compiled a new kernel with the patches you've provided, but it appears
that it's not being detected just yet. I have a Thinkpad 460 Yoga that I'm
testing on.

From the compile log for the custom kernel:

 CC   drivers/hid/intel-ish-hid/ipc/pci-ish.o
 CC   fs/proc/vmcore.o
 CC [M] net/netfilter/xt_TCPOPTSTRIP.o
 CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.o
 CC   drivers/hid/intel-ish-hid/ishtp-hid.o
 CC [M] net/rds/connection.o
 CC [M] net/netfilter/xt_TEE.o
 CC   fs/proc/kmsg.o
 CC   drivers/hid/intel-ish-hid/ishtp-hid-client.o
 CC   fs/proc/page.o
 CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.o

 LD   drivers/hid/intel-ish-hid/intel-ishtp.o
 LD   drivers/hid/intel-ish-hid/intel-ish-ipc.o
 LD   drivers/hid/intel-ish-hid/intel-ishtp-hid.o
 LD   drivers/hid/intel-ish-hid/built-in.o
 LD   drivers/hid/usbhid/built-in.o
 CC [M] drivers/hid/usbhid/hid-core.o

 LD   fs/proc/proc.o
 LD   fs/proc/built-in.o
 CC   fs/pstore/inode.o
 CC [M] net/netfilter/xt_TRACE.o
 CC [M] drivers/gpu/drm/amd/amdgpu/cz_smc.o
 CC [M] net/rds/info.o
 CC [M] net/netfilter/xt_IDLETIMER.o
 CC   fs/pstore/platform.o
 CC [M] drivers/hid/usbhid/hid-quirks.o

From lspci -vvvnn:

00:13.0 Non-VGA unclassified device [0000]: Intel Corporation Device
[8086:9d35] (rev 21)
    Subsystem: Lenovo Device [17aa:504c]
    Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Interrupt: pin A routed to IRQ 255
    Region 0: Memory at d564b000 (64-bit, non-prefetchable)
[disabled] [size=4K]
    Capabilities: [80] Power Management version 3
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
        Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0

not much mention from dmesg unfortunately when checking for the hardware

[Â Â 0.453834] pci 0000:00:13.0: [8086:9d35] type 00 class 0x000000
[Â Â 0.453853] pci 0000:00:13.0: reg 0x10: [mem 0xd564b000-0xd564bfff

Please let me know what other information I can provide to help narrow the
issue down, or if there's something that I may be doing incorrectly.


Daniel Turton