This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pi touchscreen unsopported 2.0.1
#1
Hi all,

I just upgraded to 2.0.1 but it seems the raspberry touchscreen is no longer supported. Are more people having the same issues?

Thanks!
Reply
#2
Hi 

Could you provide the device model name or spec link?
We can figure out what's happening.

Thanks a lot.
Reply
#3
Hi,


It is:
> Raspberry Pi Touch Display
> https://www.raspberrypi.org/products/ras...h-display/


As I checked the logs of serial console, they are different.

Device(s): tinker-ft5406 and fts_ts


o TinkerOS 1.9 could detected.

Code:
...
[    5.536717] tinker-mcu: send_cmds: 80
[    5.594844] tinker-mcu: init_cmd_check: recv_cmds: 0xC3
[    5.600300] tinker-ft5406: tinker_ft5406_probe: address = 0x38
[    5.606486] input: fts_ts as /devices/platform/ff150000.i2c/i2c-3/3-0038/input/input0
[    5.614694] rk3x-i2c ff150000.i2c: Initialized RK3xxx I2C bus at f091c000
[    5.621559] tinker-ft5406: fts_i2c_read: i2c read error, -6
[    5.627163] tinker-ft5406: tinker_ft5406_work: checking touch ic, countdown: 8
[    5.635322] rk3x-i2c ff160000.i2c: Initialized RK3xxx I2C bus at f091e000
...
[    6.684871] usb 3-1: SerialNumber: 201405280001
[    6.685033] tinker-ft5406: fts_i2c_read: i2c read error, -6
[    6.685036] tinker-ft5406: tinker_ft5406_work: checking touch ic, countdown: 7
[    6.805122] dwmmc_rockchip ff0c0000.dwmmc: Successfully tuned phase to 178
...

[    7.319953]  Enable RX Mitigation via HW Watchdog Timer
[    7.696976] tinker-ft5406: fts_check_fw_ver: Firmware version = 11.0.0
[    8.361818] libphy: stmmac: probed
...



o TinkerOS 2.0.1 shows  "wait connected timeout"

Code:
...
[    4.330882] rk3x-i2c ff140000.i2c: Initialized RK3xxx I2C bus at f08fc000
[    4.338875] tinker-ft5406: tinker_ft5406_probe: address = 0x38
[    4.666488] usb 3-1: config 1 has an invalid interface number: 255 but max is 6
[    4.673830] usb 3-1: config 1 has no interface number 6
[    4.680467] usb 3-1: New USB device found, idVendor=0bda, idProduct=481a
[    4.687170] usb 3-1: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[    4.694330] usb 3-1: Product: USB Audio
[    4.698170] usb 3-1: Manufacturer: Generic
[    4.702286] usb 3-1: SerialNumber: 201405280001
[    4.938744] tinker-ft5406: tinker_ft5406_probe: wait connected timeout
[    4.945315] rk3x-i2c ff150000.i2c: Initialized RK3xxx I2C bus at f08fe000
...

# It's similar log as TinkerOS2.0.1 when TinkerOS1.9 without ft5406.



To enable serial console, I've modified /boot/extlinux/extlinux.conf as below.
Code:
label kernel-4.4
    kernel /zImage
    fdt /rk3288-miniarm.dtb
    append  earlyprintk console=ttyS1,115200n8 root=/dev/mmcblk0p2 rw init=/sbin/init



Can anyone give the advice ?

Thanks,
mt08
Reply
#4
(08-24-2017, 06:28 AM)mt08 Wrote: Hi,


It is:
> Raspberry Pi Touch Display
> https://www.raspberrypi.org/products/ras...h-display/


As I checked the logs of serial console, they are different.

Device(s): tinker-ft5406 and fts_ts


o TinkerOS 1.9 could detected.

Code:
...
[    5.536717] tinker-mcu: send_cmds: 80
[    5.594844] tinker-mcu: init_cmd_check: recv_cmds: 0xC3
[    5.600300] tinker-ft5406: tinker_ft5406_probe: address = 0x38
[    5.606486] input: fts_ts as /devices/platform/ff150000.i2c/i2c-3/3-0038/input/input0
[    5.614694] rk3x-i2c ff150000.i2c: Initialized RK3xxx I2C bus at f091c000
[    5.621559] tinker-ft5406: fts_i2c_read: i2c read error, -6
[    5.627163] tinker-ft5406: tinker_ft5406_work: checking touch ic, countdown: 8
[    5.635322] rk3x-i2c ff160000.i2c: Initialized RK3xxx I2C bus at f091e000
...
[    6.684871] usb 3-1: SerialNumber: 201405280001
[    6.685033] tinker-ft5406: fts_i2c_read: i2c read error, -6
[    6.685036] tinker-ft5406: tinker_ft5406_work: checking touch ic, countdown: 7
[    6.805122] dwmmc_rockchip ff0c0000.dwmmc: Successfully tuned phase to 178
...

[    7.319953]  Enable RX Mitigation via HW Watchdog Timer
[    7.696976] tinker-ft5406: fts_check_fw_ver: Firmware version = 11.0.0
[    8.361818] libphy: stmmac: probed
...



o TinkerOS 2.0.1 shows  "wait connected timeout"

Code:
...
[    4.330882] rk3x-i2c ff140000.i2c: Initialized RK3xxx I2C bus at f08fc000
[    4.338875] tinker-ft5406: tinker_ft5406_probe: address = 0x38
[    4.666488] usb 3-1: config 1 has an invalid interface number: 255 but max is 6
[    4.673830] usb 3-1: config 1 has no interface number 6
[    4.680467] usb 3-1: New USB device found, idVendor=0bda, idProduct=481a
[    4.687170] usb 3-1: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[    4.694330] usb 3-1: Product: USB Audio
[    4.698170] usb 3-1: Manufacturer: Generic
[    4.702286] usb 3-1: SerialNumber: 201405280001
[    4.938744] tinker-ft5406: tinker_ft5406_probe: wait connected timeout
[    4.945315] rk3x-i2c ff150000.i2c: Initialized RK3xxx I2C bus at f08fe000
...

# It's similar log as TinkerOS2.0.1 when TinkerOS1.9 without ft5406.



To enable serial console, I've modified /boot/extlinux/extlinux.conf as below.
Code:
label kernel-4.4
    kernel /zImage
    fdt /rk3288-miniarm.dtb
    append  earlyprintk console=ttyS1,115200n8 root=/dev/mmcblk0p2 rw init=/sbin/init



Can anyone give the advice ?

Thanks,
mt08

Wow thanks mt08! I can confirm mt08's findings. 1.9 works fine for me as well.

Kind regards,

Robin Kolk
Reply
#5
Hi All,

This is our known issue.
Please try patch in the attachment.
Hope this could fix your problem.

Thanks.


Attached Files
.txt   TouchScreen.txt (Size: 6.38 KB / Downloads: 93)
Reply
#6
(08-25-2017, 03:49 AM)VictorSun Wrote: Hi All,

This is our known issue.
Please try patch in the attachment.
Hope this could fix your problem.

Thanks.



Hi VictorSun,

Thanks for your patch, and it works for my environment !!
Hope it is included in next release.

So, I share my built object for those who needs.

Code:
wget https://raw.githubusercontent.com/mt08xx/files/master/TinkerOS-2.0.1_kernel_with_RpiTouchScreenPatch-mt08.tbz

# Backup the current ones
sudo mv -v /boot/zImage{,.bak}
sudo mv -v /boot/rk3288-miniarm.dtb{,.bak}

# Extract and copy to '/'
sudo tar xvf ./TinkerOS-2.0.1_kernel_with_RpiTouchScreenPatch-mt08.tbz -C ~
sudo cp -rv ~/TinkerOS-2.0.1_kernel_with_RpiTouchScreenPatch-mt08/* /


# Reboot
sync && sleep 5 && sudo reboot

-mt08
Reply
#7
Hi,

mt08, I tried your object but I can not make my screen work, I just get horizontal color lines filling the screen.

How should I use VictorSun .txt? It could be that what I'm doing wrong.

Thanks for your help.
Reply
#8
(09-22-2017, 11:48 PM)severedgarden Wrote: Hi,

mt08, I tried your object but I can not make my screen work, I just get horizontal color lines filling the screen.

How should I use VictorSun .txt? It could be that what I'm doing wrong.

Thanks for your help.

severedgarden,
 
I tried simply burning TinkerOS2.0.1, and at the 1st boot overwriting the files of TinkerOS-2.0.1_kernel_with_RpiTouchScreenPatch-mt08.tbz, then 
it does work on my TB + RPi-Display as below. Touch operation also does.

I don't know why your environment doesn't, you may check the hardware like Cable-connection or power supply.
(5V-3A or more??I use TWO 5V-2A AC adapter, for each TB and RPi-disp)

> Linux linaro-alip 4.4.71-mt08+
[Image: 4519a44f-1c4f-ef3c-0f51-7e37177e47ce.jpeg]


> How should I use VictorSun .txt?

It is the patches for Linux kernel. When you build your own kernel, it can be included for RPi-Display.


-mt08
Reply
#9
Hi again mt08,
Thanks for the answer. Unfortunately my display doesn't work, it continues showing vertical multicolor lines. Touch operation works, if I connect at the same time the HDMI out to my TV it moves the cursor, reacts to the 'clicks'...
I tried different 2A and 3A adaptors and nothing. I changed the ribbon cable, but everything works if I connect the screen to a Raspberry Pi so...

I guess I'll have to wait till the next OS release to see if it works straight away... Sad

Thanks again for your time!
Reply
#10
(09-26-2017, 11:19 PM)severedgarden Wrote: Hi again mt08,
Thanks for the answer. Unfortunately my display doesn't work, it continues showing vertical multicolor lines. Touch operation works, if I connect at the same time the HDMI out to my TV it moves the cursor, reacts to the 'clicks'...
I tried different 2A and 3A adaptors and nothing. I changed the ribbon cable, but everything works if I connect the screen to a Raspberry Pi so...

I guess I'll have to wait till the next OS release to see if it works straight away... Sad

Thanks again for your time!

Can you help to check this POST and check your H/W version of DSI panel ?
Now Tinker can only support V1.1, but not V1.0.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)