Le mar. 5 déc. 2023 à 13:03, Sébastien Chaumat <euidzero@xxxxxxxxx> a écrit : > Trying to get Framework Laptop 13 AMD with xen, the touchpad is not > working because (in reverse order) : > > no events received from evtest while device being detected > i2c_hid_acpi i2c-FRMXXXXXXX: failed to reset device: -61 > amd_gpio AMDI0030:00: failed to enable wake-up interrupt > > Tested with xen 4.18.0 and kernel 6.6.4. > We need to get the kernel to be more verbose about the issue to > understand what is happening. booting kernel with "dyndbg=file drivers/gpio/* +p" [ 1.997798] i2c_designware AMDI0010:00: using ACPI '\_SB.I2CA' for 'scl' GPIO lookup [ 1.997804] acpi AMDI0010:00: GPIO: looking up scl-gpios [ 1.997806] acpi AMDI0010:00: GPIO: looking up scl-gpio [ 1.997807] i2c_designware AMDI0010:00: using lookup tables for GPIO lookup [ 1.997809] i2c_designware AMDI0010:00: No GPIO consumer scl found [ 2.007517] i2c_designware AMDI0010:03: using ACPI '\_SB.I2CD' for 'scl' GPIO lookup [ 2.007521] acpi AMDI0010:03: GPIO: looking up scl-gpios [ 2.007523] acpi AMDI0010:03: GPIO: looking up scl-gpio [ 2.007524] i2c_designware AMDI0010:03: using lookup tables for GPIO lookup [ 2.007526] i2c_designware AMDI0010:03: No GPIO consumer scl found [ 2.343905] gpiochip_find_base: found new base at 512 [ 2.344408] gpio gpiochip0: Persistence not supported for GPIO 0 [ 2.344436] gpio gpiochip0: Persistence not supported for GPIO 61 [ 2.344458] gpio gpiochip0: Persistence not supported for GPIO 62 [ 2.344480] gpio gpiochip0: Persistence not supported for GPIO 58 [ 2.344502] gpio gpiochip0: Persistence not supported for GPIO 59 [ 2.344523] gpio gpiochip0: Persistence not supported for GPIO 2 [ 2.344546] gpio gpiochip0: Persistence not supported for GPIO 6 [ 2.344571] gpio gpiochip0: Persistence not supported for GPIO 54 [ 2.344646] gpio gpiochip0: (AMDI0030:00): added GPIO chardev (254:0) [ 2.344648] gpio gpiochip0: registered GPIOs 512 to 767 on AMDI0030:00 [ 2.344650] gpio gpiochip0: (AMDI0030:00): created GPIO range 0->255 ==> AMDI0030:00 PIN 0->255 [ 2.357663] acpi MSFT0101:00: GPIO: looking up 0 in _CRS [ 2.376188] mdio_bus fixed-0: using lookup tables for GPIO lookup [ 2.376193] mdio_bus fixed-0: No GPIO consumer reset found [ 2.401459] rtc_cmos 00:01: using ACPI '\_SB.PCI0.LPC0.RTC' for 'wp' GPIO lookup [ 2.401464] acpi PNP0B00:00: GPIO: looking up wp-gpios [ 2.401465] acpi PNP0B00:00: GPIO: looking up wp-gpio [ 2.401467] rtc_cmos 00:01: using lookup tables for GPIO lookup [ 2.401468] rtc_cmos 00:01: No GPIO consumer wp found [ 2.659765] amd_gpio AMDI0030:00: failed to enable wake-up interrupt [ 2.660047] amd_gpio AMDI0030:00: failed to enable wake-up interrupt [ 2.660162] amd_gpio AMDI0030:00: failed to enable wake-up interrupt [ 2.660277] amd_gpio AMDI0030:00: failed to enable wake-up interrupt [ 2.660393] amd_gpio AMDI0030:00: failed to enable wake-up interrupt [ 2.660504] amd_gpio AMDI0030:00: failed to enable wake-up interrupt [ 2.660609] amd_gpio AMDI0030:00: failed to enable wake-up interrupt [ 2.660726] amd_gpio AMDI0030:00: failed to enable wake-up interrupt [ 5.445265] acpi FRMW0004:00: GPIO: looking up 0 in _CRS [ 5.445396] acpi FRMW0005:00: GPIO: looking up 0 in _CRS [ 5.448467] acpi PIXA3854:00: GPIO: looking up 0 in _CRS [ 5.448483] gpio gpiochip0: Persistence not supported for GPIO 84 [ 5.452476] gpio gpiochip0: Persistence not supported for GPIO 5 [ 5.463304] gpio gpiochip0: Persistence not supported for GPIO 8