Hi again,

I just rebuilt the kernel configuring CONFIG_GPIO_SUNXI=m. When I boot 
using this kernel (not loading gpio-sunxi) the touchpad loads and works 
fine, i.e. dmesg doesn't show errors and 'cat /dev/input/event3' prints 
output if I use the touchpad.

However, 'modprobe gpio-sunxi' produces the following output in dmesg:

[  200.225949] sunxi_gpio driver init ver 1.3
[  200.229725] IRQ handler type mismatch for IRQ 28
[  200.237285] current handler: ft5x_ts
[  200.248777] [<c0014c38>] (unwind_backtrace+0x0/0x134) from [<c0080bd0>] (
__setup_irq+0x3e0/0x438)
[  200.256834] [<c0080bd0>] (__setup_irq+0x3e0/0x438) from [<c0080d60>] (
request_threaded_irq+0xb0/0x138)
[  200.266469] [<c0080d60>] (request_threaded_irq+0xb0/0x138) from [<
bf13bd94>] (sunxi_gpio_probe+0x408/0x4b8 [gpio_sunxi])
[  200.276025] [<bf13bd94>] (sunxi_gpio_probe+0x408/0x4b8 [gpio_sunxi]) from 
[<c030f78c>] (driver_probe_device+0xb8/0x380)
[  200.284157] [<c030f78c>] (driver_probe_device+0xb8/0x380) from [<c030fb24
>] (__driver_attach+0x8c/0x90)
[  200.291944] [<c030fb24>] (__driver_attach+0x8c/0x90) from [<c030dae0>] (
bus_for_each_dev+0x60/0x94)
[  200.299729] [<c030dae0>] (bus_for_each_dev+0x60/0x94) from [<c030ed2c>] (
bus_add_driver+0xd0/0x28c)
[  200.307507] [<c030ed2c>] (bus_add_driver+0xd0/0x28c) from [<c0310128>] (
driver_register+0x78/0x13c)
[  200.315457] [<c0310128>] (driver_register+0x78/0x13c) from [<c0008660>] (
do_one_initcall+0x11c/0x174)
[  200.323598] [<c0008660>] (do_one_initcall+0x11c/0x174) from [<c006f268>] 
(sys_init_module+0x888/0x1cf4)
[  200.331561] [<c006f268>] (sys_init_module+0x888/0x1cf4) from [<c000e9c0>] 
(ret_fast_syscall+0x0/0x30)
[  200.356869] Can't request irq 28
[  200.365687] gpio-sunxi: probe of gpio-sunxi failed with error -16

It seems to me that ft5x_ts and gpio-sunxi are competing for IRQ 28, not 
being able to share it.

Does anyone have an idea how to fix this? I assume it must be some setting 
in my FEX configuration, but I don't know which one it could be.

Kind regards,

Timo

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to