[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[BUG]i2c_hid_acpi broken with 4.17.2 on Framework Laptop 13 AMD



Hello,

 Trying to get the Framework Laptop 13 AMD to work with QubesOS I hit the following Xen issue :

Xen version : 4.17.2
Kernel : 6.5.12-300.fc39.x86_64
CPU  model name : AMD Ryzen 7 7840U w/ Radeon  780M Graphics

The touchpad is not working (not detected by evtest) because ( see below for XXXXXXX values) :
[   10.215870] i2c_hid_acpi i2c-FRMXXXXXXX: failed to reset device: -61

which is maybe related to the previous messages :

[    2.065750] [Firmware Bug]: ACPI MWAIT C-state 0x0 not supported by HW (0x0)
...
[    2.464598] amd_gpio AMDI0030:00: failed to enable wake-up interrupt


Possibly related issues :  
  

Here's the complete diff of dmesg with and without xen loaded up to the failed i2c_hid_acpi init :

[    0.000000] Command line: placeholder root=UUID=71b1dc59-ea00-484c-b5e4-ee77ede771db ro rhgb quiet
[    0.000000] Released 0 page(s)
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] efi: ACPI=0x5affe000 ACPI 2.0=0x5affe014 TPMFinalLog=0x5af3f000 SMBIOS=0x51677000 SMBIOS 3.0=0x51674000 (MEMATTR=0x4b719018 unusable) ESRT=0x5af9b018 MOKvar=0x5187c000
[    0.000000] Hypervisor detected: Xen PV
[    0.026644] tsc: Detected 3294.105 MHz processor
[    0.026645] tsc: Detected 3293.856 MHz TSC
[    0.026732] MTRR map: 3 entries (0 fixed + 3 variable; max 16), built from 8 variable MTRRs
[    0.026733] MTRRs set to read-only
[    0.026735] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WC  WP  UC  UC  
[    0.026753] esrt: Reserving ESRT space from 0x000000005af9b018 to 0x000000005af9b050.
[    1.042047] ACPI: BGRT 0x000000005AFB8000 000038 (v01 INSYDE EDK2     00000002 ACPI 00040000)
[    1.042095] Setting APIC routing to Xen PV.
[    1.042116] NUMA turned off
[    1.101730] On node 0, zone DMA: 128 pages in unavailable ranges
[    1.136828] p2m virtual area at (____ptrval____), size is 40000000
[    1.401457] Remapped 728641 page(s)
[    1.402499] Booting kernel on Xen
[    1.402500] Xen version: 4.17.2 (preserve-AD)
[    1.406607] xen: PV spinlocks enabled
[    1.406609] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes, linear)
[    1.406610] Kernel command line: placeholder root=UUID=71b1dc59-ea00-484c-b5e4-ee77ede771db ro rhgb quiet
[    1.406661] Unknown kernel command line parameters "placeholder rhgb", will be passed to user space.
[    1.406867] random: crng init done
[    1.411447] Built 1 zonelists, mobility grouping on.  Total pages: 15403418
[    1.497107] Memory: 60184272K/62591736K available (18432K kernel code, 3267K rwdata, 14476K rodata, 4532K init, 17364K bss, 2407212K reserved, 0K cma-reserved)
[    1.508627] xen:events: Using FIFO-based ABI
[    1.508634] xen: --> pirq=1 -> irq=1 (gsi=1)
[    1.508636] xen: --> pirq=2 -> irq=2 (gsi=2)
[    1.508638] xen: --> pirq=3 -> irq=3 (gsi=3)
[    1.508639] xen: --> pirq=4 -> irq=4 (gsi=4)
[    1.508640] xen: --> pirq=5 -> irq=5 (gsi=5)
[    1.508642] xen: --> pirq=6 -> irq=6 (gsi=6)
[    1.508643] xen: --> pirq=7 -> irq=7 (gsi=7)
[    1.508644] xen: --> pirq=8 -> irq=8 (gsi=8)
[    1.508646] xen: --> pirq=9 -> irq=9 (gsi=9)
[    1.508647] xen: --> pirq=10 -> irq=10 (gsi=10)
[    1.508649] xen: --> pirq=11 -> irq=11 (gsi=11)
[    1.508650] xen: --> pirq=12 -> irq=12 (gsi=12)
[    1.508652] xen: --> pirq=13 -> irq=13 (gsi=13)
[    1.508653] xen: --> pirq=14 -> irq=14 (gsi=14)
[    1.508654] xen: --> pirq=15 -> irq=15 (gsi=15)
[    1.508913] printk: console [hvc0] enabled
[    1.543395] ACPI BIOS Warning (bug): Incorrect checksum in table [BGRT] - 0xC1, should be 0x4C (20230331/utcksum-58)
[    1.543432] clocksource: xen: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[    1.543434] Xen: using vcpuop timer interface
[    1.543436] installing Xen timer for CPU 0
[    1.543449] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x2f7aa0787ee, max_idle_ns: 440795321263 ns
[    1.543452] Calibrating delay loop (skipped), value calculated using timer frequency.. 6587.71 BogoMIPS (lpj=3293856)
[    1.543485] Spectre V2 : Mitigation: Retpolines
[    1.543487] Spectre V2 : Spectre v2 / SpectreRSB : Filling RSB on VMEXIT
[    1.543489] Speculative Store Bypass: Vulnerable
[    1.543505] x86/fpu: Enabled xstate features 0xe7, context size is 2432 bytes, using 'compacted' format.
[    1.556516] cpu 0 spinlock event irq 57
[    1.556526] VPMU disabled by hypervisor.
[    1.556812] Performance Events: PMU not available due to virtualization, using software events only.
[    1.559433] NMI watchdog: Perf NMI watchdog permanently disabled
[    1.559727] installing Xen timer for CPU 1
[    1.559965] installing Xen timer for CPU 2
[    1.560180] installing Xen timer for CPU 3
[    1.560396] installing Xen timer for CPU 4
[    1.560599] installing Xen timer for CPU 5
[    1.560813] installing Xen timer for CPU 6
[    1.561021] installing Xen timer for CPU 7
[    1.561230] installing Xen timer for CPU 8
[    1.561420] installing Xen timer for CPU 9
[    1.561597] installing Xen timer for CPU 10
[    1.561783] installing Xen timer for CPU 11
[    1.561980] installing Xen timer for CPU 12
[    1.562155] installing Xen timer for CPU 13
[    1.562327] installing Xen timer for CPU 14
[    1.562503] installing Xen timer for CPU 15
[    1.562551] cpu 1 spinlock event irq 137
[    1.562551] cpu 2 spinlock event irq 138
[    1.562551] cpu 3 spinlock event irq 139
[    1.562551] cpu 4 spinlock event irq 140
[    1.562551] cpu 5 spinlock event irq 141
[    1.562551] cpu 6 spinlock event irq 142
[    1.562551] cpu 7 spinlock event irq 143
[    1.562551] cpu 8 spinlock event irq 144
[    1.563499] cpu 9 spinlock event irq 145
[    1.563502] cpu 10 spinlock event irq 146
[    1.563502] cpu 11 spinlock event irq 147
[    1.563502] cpu 12 spinlock event irq 148
[    1.563502] cpu 13 spinlock event irq 149
[    1.563502] cpu 14 spinlock event irq 150
[    1.563502] cpu 15 spinlock event irq 151
[    1.573211] PM: RTC time: 09:08:20, date: 2023-12-03
[    1.573947] xen:grant_table: Grant tables using version 1 layout
[    1.573958] Grant table initialized
[    1.574502] audit: type=2000 audit(1701594499.512:1): state=initialized audit_enabled=0 res=1
[    1.606054] xen: registering gsi 9 triggering 0 polarity 1
[    1.697597] xen: registering gsi 8 triggering 1 polarity 0
[    1.697705] xen: registering gsi 13 triggering 1 polarity 0
[    1.700360] xen: registering gsi 7 triggering 0 polarity 1
[    1.700819] xen: registering gsi 10 triggering 1 polarity 0
[    1.701110] xen: registering gsi 6 triggering 1 polarity 0
[    1.701690] xen: registering gsi 50 triggering 0 polarity 1
[    1.701706] xen: --> pirq=50 -> irq=50 (gsi=50)
[    1.701757] xen: registering gsi 51 triggering 0 polarity 1
[    1.701768] xen: --> pirq=51 -> irq=51 (gsi=51)
[    1.701810] xen: registering gsi 52 triggering 0 polarity 1
[    1.701818] xen: --> pirq=52 -> irq=52 (gsi=52)
[    1.701860] xen: registering gsi 53 triggering 0 polarity 1
[    1.701869] xen: --> pirq=53 -> irq=53 (gsi=53)
[    1.707071] xen:balloon: Initialising balloon driver
[    1.743187] resource: Expanded resource Reserved due to conflict with PCI Bus 0000:00
[    1.743524] sysfb: VRAM smaller than advertised
[    1.759417] hugetlbfs: disabling because there are no supported hugepage sizes
[    1.765826] xen: registering gsi 1 triggering 1 polarity 0
[    1.771944] PM-Timer failed consistency check  (0xffffff) - aborting.
[    1.775360] xen: registering gsi 40 triggering 0 polarity 1
[    1.775387] xen: --> pirq=40 -> irq=40 (gsi=40)
[    1.775481] xen: registering gsi 37 triggering 0 polarity 1
[    1.775494] xen: --> pirq=37 -> irq=37 (gsi=37)
[    1.775841] xen: registering gsi 38 triggering 0 polarity 1
[    1.775855] xen: --> pirq=38 -> irq=38 (gsi=38)
[    1.776235] xen: registering gsi 40 triggering 0 polarity 1
[    1.776238] Already setup the GSI :40
[    1.776281] xen: registering gsi 46 triggering 0 polarity 1
[    1.776293] xen: --> pirq=46 -> irq=46 (gsi=46)
[    1.776646] xen: registering gsi 47 triggering 0 polarity 1
[    1.776656] xen: --> pirq=47 -> irq=47 (gsi=47)
[    1.777614] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2f7aa0787ee, max_idle_ns: 440795321263 ns
[    1.777677] clocksource: Switched to clocksource tsc
[    2.061207] pcieport 0000:00:02.2: PME: Signaling with IRQ 162
[    2.061369] pcieport 0000:00:02.4: PME: Signaling with IRQ 163
[    2.061604] pcieport 0000:00:03.1: PME: Signaling with IRQ 164
[    2.062263] pcieport 0000:00:04.1: PME: Signaling with IRQ 165
[    2.062813] pcieport 0000:00:08.1: PME: Signaling with IRQ 166
[    2.062953] xen: registering gsi 40 triggering 0 polarity 1
[    2.062967] Already setup the GSI :40
[    2.063063] pcieport 0000:00:08.2: PME: Signaling with IRQ 167
[    2.063213] pcieport 0000:00:08.3: PME: Signaling with IRQ 168
[    2.063345] efifb: probing for efifb
[    2.063985] efifb: No BGRT, not showing boot graphics
[    2.063986] efifb: framebuffer at 0x8800000000, using 13536k, total 13536k
[    2.063988] efifb: mode is 2256x1504x32, linelength=9216, pages=1
[    2.063989] efifb: scrolling: redraw
[    2.063990] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    2.064032] fbcon: Deferring console take-over
[    2.064033] fb0: EFI VGA frame buffer device
[    2.065750] [Firmware Bug]: ACPI MWAIT C-state 0x0 not supported by HW (0x0)
[    2.065860] [Firmware Bug]: ACPI MWAIT C-state 0x0 not supported by HW (0x0)
[    2.066008] [Firmware Bug]: ACPI MWAIT C-state 0x0 not supported by HW (0x0)
[    2.066140] [Firmware Bug]: ACPI MWAIT C-state 0x0 not supported by HW (0x0)
[    2.066370] [Firmware Bug]: ACPI MWAIT C-state 0x0 not supported by HW (0x0)
[    2.066586] [Firmware Bug]: ACPI MWAIT C-state 0x0 not supported by HW (0x0)
[    2.066818] [Firmware Bug]: ACPI MWAIT C-state 0x0 not supported by HW (0x0)
[    2.066923] [Firmware Bug]: ACPI MWAIT C-state 0x0 not supported by HW (0x0)
[    2.067082] [Firmware Bug]: ACPI MWAIT C-state 0x0 not supported by HW (0x0)
[    2.067170] [Firmware Bug]: ACPI MWAIT C-state 0x0 not supported by HW (0x0)
[    2.067296] [Firmware Bug]: ACPI MWAIT C-state 0x0 not supported by HW (0x0)
[    2.067473] [Firmware Bug]: ACPI MWAIT C-state 0x0 not supported by HW (0x0)
[    2.067669] [Firmware Bug]: ACPI MWAIT C-state 0x0 not supported by HW (0x0)
[    2.067973] [Firmware Bug]: ACPI MWAIT C-state 0x0 not supported by HW (0x0)
[    2.068215] [Firmware Bug]: ACPI MWAIT C-state 0x0 not supported by HW (0x0)
[    2.068522] [Firmware Bug]: ACPI MWAIT C-state 0x0 not supported by HW (0x0)
[    2.068923] ACPI: thermal: Thermal Zone [TZ00] (26 C)
[    2.069085] ACPI: thermal: Thermal Zone [TZ01] (30 C)
[    2.069242] ACPI: thermal: Thermal Zone [TZ02] (28 C)
[    2.069402] ACPI: thermal: Thermal Zone [TZ03] (46 C)
[    2.072038] hpet_acpi_add: no address or irqs in _CRS
[    2.092763] xen: registering gsi 37 triggering 0 polarity 1
[    2.092769] Already setup the GSI :37
[    2.101751] xen: registering gsi 38 triggering 0 polarity 1
[    2.101755] Already setup the GSI :38
[    2.105493] xen: registering gsi 46 triggering 0 polarity 1
[    2.105496] Already setup the GSI :46
[    2.109521] xen: registering gsi 47 triggering 0 polarity 1
[    2.109525] Already setup the GSI :47
[    2.116721] rtc_cmos 00:01: setting system clock to 2023-12-03T09:08:21 UTC (1701594501)
[    2.117134] amd_pstate: driver load is disabled, boot with specific mode to enable this
[    2.130271] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2
[    2.138905] sched_clock: Marking stable (2104001974, 34790120)->(2142780210, -3988116)
[    2.464598] amd_gpio AMDI0030:00: failed to enable wake-up interrupt
[    2.465229] amd_gpio AMDI0030:00: failed to enable wake-up interrupt
[    2.465462] amd_gpio AMDI0030:00: failed to enable wake-up interrupt
[    2.465694] amd_gpio AMDI0030:00: failed to enable wake-up interrupt
[    2.466003] amd_gpio AMDI0030:00: failed to enable wake-up interrupt
[    2.466189] amd_gpio AMDI0030:00: failed to enable wake-up interrupt
[    2.466387] amd_gpio AMDI0030:00: failed to enable wake-up interrupt
[    2.466584] amd_gpio AMDI0030:00: failed to enable wake-up interrupt
[    3.790268]     placeholder
[    3.809946] usb 1-2: New USB device found, idVendor=1e7d, idProduct=2e22, bcdDevice= 1.01
[    3.809950] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.809952] usb 1-2: Product: ROCCAT Kone XTD
[    3.809953] usb 1-2: Manufacturer: ROCCAT
[    3.826019] systemd[1]: Detected virtualization vm-other.
[    3.941883] usb 1-4: new full-speed USB device number 3 using xhci_hcd
[    4.099853] usb 1-4: New USB device found, idVendor=27c6, idProduct=609c, bcdDevice= 1.00
[    4.099862] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.099866] usb 1-4: Product: Goodix USB2.0 MISC
[    4.099869] usb 1-4: Manufacturer: Goodix Technology Co., Ltd.
[    4.099873] usb 1-4: SerialNumber: UIDD5F04A7B_XXXX_MOC_B0
[    4.193119] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
[    4.221808] usb 1-5: new high-speed USB device number 4 using xhci_hcd
[    4.936497] xen: registering gsi 36 triggering 0 polarity 1
[    4.936543] xen: --> pirq=36 -> irq=36 (gsi=36)
[    4.948276] ccp 0000:c1:00.2: tee: ring init command failed (0x00000005)
[    4.948285] ccp 0000:c1:00.2: tee: failed to init ring buffer
[    4.948287] ccp 0000:c1:00.2: tee initialization failed
[    4.948302] ccp 0000:c1:00.2: psp initialization failed
[    5.018031] fbcon: Taking over console
[    5.018181] Console: switching to colour frame buffer device 282x94
[   10.215870] i2c_hid_acpi i2c-FRMW0005:00: failed to reset device: -61
[   10.215917] i2c_hid_acpi i2c-PIXA3854:00: failed to reset device: -61
[   10.215950] i2c_hid_acpi i2c-FRMW0004:00: failed to reset device: -61
[   10.220217] i2c_hid_acpi i2c-FRMW0004:00: failed to change power setting.
[   16.359856] i2c_hid_acpi i2c-PIXA3854:00: failed to reset device: -61
[   16.359856] i2c_hid_acpi i2c-FRMW0004:00: failed to reset device: -61
[   16.359871] i2c_hid_acpi i2c-FRMW0005:00: failed to reset device: -61
[   22.503879] i2c_hid_acpi i2c-FRMW0005:00: failed to reset device: -61
[   22.503915] i2c_hid_acpi i2c-PIXA3854:00: failed to reset device: -61
[   22.503921] i2c_hid_acpi i2c-FRMW0004:00: failed to reset device: -61
[   28.647874] i2c_hid_acpi i2c-FRMW0005:00: failed to reset device: -61
[   28.647879] i2c_hid_acpi i2c-PIXA3854:00: failed to reset device: -61
[   28.647910] i2c_hid_acpi i2c-FRMW0004:00: failed to reset device: -61
[   29.671873] i2c_hid_acpi i2c-FRMW0005:00: can't add hid device: -61
[   29.671874] i2c_hid_acpi i2c-FRMW0004:00: can't add hid device: -61
[   29.671874] i2c_hid_acpi i2c-PIXA3854:00: can't add hid device: -61
[   29.686460] i2c_hid_acpi: probe of i2c-FRMW0005:00 failed with error -61
[   29.686492] i2c_hid_acpi: probe of i2c-PIXA3854:00 failed with error -61
[   29.686683] i2c_hid_acpi: probe of i2c-FRMW0004:00 failed with error -61

Thanks
Sébastien

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.