[Letux-kernel] no interrupts from touchscreen
H. Nikolaus Schaller
hns at goldelico.com
Wed Aug 22 23:31:29 CEST 2018
Hi,
> Am 20.08.2018 um 20:05 schrieb Andreas Kemnade <andreas at kemnade.info>:
>
> Hi,
>
> at the moment I do not get interrupts from touchscreen.
> I am working with 4.17. It seems to have stopped working after suspend.
> This happens randomly, seen it with different kernels. At this time I have
> a working usb connection and investigated.
> via iio I could read out x/y and pressure. They seem to behave same.
> Pressure can go up to > 1000
>
> But I do not get interrupts.
> Nothing happens in /proc/interrupts.
strange. I have just tested with 4.18.4 on a GTA04A4:
root at letux:~# cat /proc/interrupts |fgrep tsc2007
168: 2369 49058000.gpio 0 Edge tsc2007
root at letux:~# cat /proc/interrupts |fgrep tsc2007
168: 2369 49058000.gpio 0 Edge tsc2007
root at letux:~# cat /proc/interrupts |fgrep tsc2007
168: 2369 49058000.gpio 0 Edge tsc2007
root at letux:~# cat /proc/interrupts |fgrep tsc2007
168: 2383 49058000.gpio 0 Edge tsc2007
root at letux:~# cat /proc/interrupts |fgrep tsc2007
168: 2383 49058000.gpio 0 Edge tsc2007
root at letux:~# cat /proc/interrupts |fgrep tsc2007
168: 2397 49058000.gpio 0 Edge tsc2007
root at letux:~# cat /proc/interrupts |fgrep tsc2007
168: 2408 49058000.gpio 0 Edge tsc2007
root at letux:~#
>
> GPS jack irq works, so gpio irqs are not totally messed up.
>
> Some values:
> root at gta04:~# devmem2 0x4905804C w
> /dev/mem opened.
> Memory mapped at address 0xb6f0d000.
> Value at address 0x4905804C (0xb6f0d04c): 0x1
root at letux:~# /usr/bin/arm-linux-gnueabihf/devmem2 0x4905804C w
/dev/mem opened.
Memory mapped at address 0xb6f4c000.
Value at address 0x4905804C (0xb6f4c04c): 0x1
root at letux:~#
> root at gta04:~# devmem2 0x4905801C w
> /dev/mem opened.
> Memory mapped at address 0xb6f07000.
> Value at address 0x4905801C (0xb6f0701c): 0x1
root at letux:~# /usr/bin/arm-linux-gnueabihf/devmem2 0x4905801C w
/dev/mem opened.
Memory mapped at address 0xb6efc000.
Value at address 0x4905801C (0xb6efc01c): 0x1
root at letux:~#
>
>
> This stays the same regards if I touch or not
same for me
> root at gta04:~# devmem2 0x49058038 w
> /dev/mem opened.
> Memory mapped at address 0xb6f4b000.
> Value at address 0x49058038 (0xb6f4b038): 0xB001
root at letux:~# /usr/bin/arm-linux-gnueabihf/devmem2 0x49058038 w
/dev/mem opened.
Memory mapped at address 0xb6f8d000.
Value at address 0x49058038 (0xb6f8d038): 0xE801
root at letux:~#
>
> # devmem2 0x48002194 w
> /dev/mem opened.
> Memory mapped at address 0xb6faa000.
> Value at address 0x48002194 (0xb6faa194): 0x100011C
root at letux:~# /usr/bin/arm-linux-gnueabihf/devmem2 0x48002194 w
/dev/mem opened.
Memory mapped at address 0xb6ff1000.
Value at address 0x48002194 (0xb6ff1194): 0x100011C
root at letux:~#
>
> root at gta04:~# devmem2 0x49058034 w
> /dev/mem opened.
> Memory mapped at address 0xb6f77000.
> Value at address 0x49058034 (0xb6f77034): 0xFBFFBFFF
root at letux:~# /usr/bin/arm-linux-gnueabihf/devmem2 devmem2 0x49058034 w
/dev/mem opened.
Memory mapped at address 0xb6fd6000.
Illegal data type '0'.
root at letux:~#
>
> Any hints? reboot doen not help.
> Power cycle helps.
Maybe you can add some printk to tsc2007.c?
BR,
Nikolaus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20180822/9953fe28/attachment.asc>
More information about the Letux-kernel
mailing list