Opened 23 months ago
Last modified 19 months ago
#18147 new enhancement
I2c controller not detected (was I2c touchpad not work)
Reported by: | VitaliS | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Drivers/Input/HID/I2C | Version: | R1/beta4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
System not crashed, i send log i2c out info
Attachments (2)
Change History (13)
by , 23 months ago
Attachment: | IMG_20221216_193439.jpg added |
---|
comment:1 by , 23 months ago
Component: | Drivers → Drivers/Input/HID/I2C |
---|---|
Platform: | x86-64 → All |
comment:3 by , 22 months ago
I have the same problem for Sunrise Point IC2 controller.
It seems memory where we check for capabilities is all ones according to the second value on the second line:
KERN: [33mpch_i2c_pci:[0m init_bus() addr 0xfe024000 size 0x1000 irq 0x12 KERN: [33mpch_i2c_pci:[0m init_bus() 0xf (0xffffffff) KERN: [33mpch_i2c_pci:[0m init_bus() device type not supported
Coming from:
TRACE_ALWAYS("init_bus() addr 0x%" B_PRIxPHYSADDR " size 0x%" B_PRIx64 " irq 0x%x\n", bus->base_addr, bus->map_size, bus->irq); [...] TRACE_ALWAYS("init_bus() 0x%" B_PRIx32 " (0x%" B_PRIx32 ")\n", (bus->capabilities >> PCH_SUP_CAPABLITIES_TYPE_SHIFT) & PCH_SUP_CAPABLITIES_TYPE_MASK, bus->capabilities); [...] ERROR("init_bus() device type not supported\n");
Not sure how different this hardware is, might just have capabilites at different offset or need another driver?
comment:4 by , 22 months ago
Summary: | I2c touchpad not work → I2c controller not detected (was I2c touchpad not work) |
---|
comment:5 by , 22 months ago
A syslog would be nice to identify the devices. The device might need to be powered up?
comment:6 by , 22 months ago
It is different hardware, I think it is called systembus and the specs I read for sunrise do not have the cababilities regiester anymore. I'll attach the full syslog as well.
by , 22 months ago
Attachment: | syslog_nighthly_i2c.txt added |
---|
smbus style I2C controller on Sunrise Point
comment:7 by , 20 months ago
I'll probably start experimenting a bit with this (no promises), any pointers?
comment:8 by , 20 months ago
These references are what I can find so far:
Skylake Platform Controller Hub H and LP (SKL PCH H / LP) Register Information (UART, I2C, GSPI, eMMC, SDXC, and GPIO)
and
Intel® 9 Series Chipset Family Platform Controller Hub (PCH) - Datasheet
comment:9 by , 20 months ago
Interesting reading starts at 5.22 SMBus Controller (D31:F3) in the Intel 9 PDF where it starts going into i2c communication a bit.
comment:10 by , 20 months ago
QEMU can emulate it with Q35 so should be able to be done on virtual machine for initial work:
comment:11 by , 19 months ago
Milestone: | → Unscheduled |
---|
The I2C input driver isn't actually included in builds yet.