WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Touch support for official Raspberry Pi touchscreen On piCore-9.0.3  (Read 2539 times)

Offline gotu

  • Newbie
  • *
  • Posts: 2
Hi,
 
Just connected the official raspberry-pi touchscreen on raspberry-pi model-3B and the display is working right.

However, the touch function is not working.

I am using piCore-9.0.3.img

I downloaded an extracted the additional modules using
"wget http://tinycorelinux.net/9.x/armv6/releases/RPi/src/kernel/4.9.22-piCore_modules.tar.xz -O - | tar -xvJf -"

and found the "rpi-ft5406.ko" inside directory
"lib/modules/4.9.22-piCore/kernel/drivers/input/touchscreen"

however,I'm getting "insmod: can't insert 'rpi-ft5406.ko': invalid module format" when trying to run "sudo insmod rpi-ft5406.ko"

while checking dmesg i got "rpi_ft5406: disagrees about version of symbol module_layout"

the output of "uname -a"
"Linux box 4.9.22-piCore-v7 #1 SMP Sat Apr 15 12:27:07 UTC 2017 armv7l GNU/Linux"

the output of "modinfo rpi-ft5406.ko"

"
filename:       rpi-ft5406.ko
author:         Gordon Hollingworth
description:    Touchscreen driver for memory based FT5406
license:        GPL
alias:          of:N*T*Crpi,rpi-ft5406C*
alias:          of:N*T*Crpi,rpi-ft5406
srcversion:     DB66A69A316ED69891EEA89
depends:
intree:         Y
vermagic:       4.9.22-piCore mod_unload modversions ARMv6 p2v8
"

can anyone help me to fix this ?

would be happy to provide any additional information that would be helpful

Thank you for your help.


Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1229
Re: Touch support for official Raspberry Pi touchscreen On piCore-9.0.3
« Reply #1 on: July 02, 2017, 07:19:31 PM »
That pack s for the single core boards.  You need to get the armv7 modules.

http://distro.ibiblio.org/tinycorelinux/9.x/armv7/releases/RPi/src/kernel/4.9.22-piCore-v7_modules.tar.xz

Offline gotu

  • Newbie
  • *
  • Posts: 2
Re: Touch support for official Raspberry Pi touchscreen On piCore-9.0.3
« Reply #2 on: July 03, 2017, 11:52:15 AM »
That pack s for the single core boards.  You need to get the armv7 modules.

http://distro.ibiblio.org/tinycorelinux/9.x/armv7/releases/RPi/src/kernel/4.9.22-piCore-v7_modules.tar.xz

Thank you sir,Its working like a charm :)