Page 1 of 2

Rpi3 + Screen 3,5 Kedei + Runeaudio

PostPosted: 09 Mar 2018, 17:02
by dom_france

I need your help for my screen : ... 0.0.pHfkDV

I see this topics :

A lots of information for me, but I have a screen : modele 3'5 Kedei.

The driver is available :

How to do ?

I'm blocked......

Thank you


Re: Rpi3 + Screen 3,5 Kedei + Runeaudio

PostPosted: 10 Mar 2018, 16:37
by Urlin
I'm on the way "RuneAudio_rp2_rp3_0.4-beta_20170229_2GB.img " do so. I have only display "waveshare the 3.5". In folder /boot/overlays insert file "waveshare35a.dtb "and rename it to" waveshare35a.dtbo". In the file /boot/cmdline add at the end "fbcon=map:10 fbcon=font:VGA8x8". In the file /boot/config I add at the end
Code: Select all

2. Create the file /etc/X11/xorg.conf.d/99-calibration.conf and insert the following:
Code: Select all
Section "InputClass"
        Identifier      "calibration"
        MatchProduct    "ADS7846 Touchscreen"
        Option  "Calibration"   "3932 300 294 3801"
        Option  "SwapAxes"      "1"

3. In /etc/X11/xorg.conf.d/99-fbdev.conf, change
Code: Select all
Option          "fbdev" "/dev/fb0"

Code: Select all
Option          "fbdev" "/dev/fb1"

4. Reboot

Re: Rpi3 + Screen 3,5 Kedei + Runeaudio

PostPosted: 10 Mar 2018, 19:09
by dom_france
Hello Urlin,

thank you for your answer.

I just tried to do what you told me, but without success at the end : my TFT Kedei 3'5 screen stays always white !

I have some question, because I read this topic after my test :

for waveshare, OK, but just by comparison...

My question :
1) Do I have to install the xf86-video-fbturbo driver ? ( I think so, but are there any other drivers to install? )

Code: Select all
pacman -S xf86-video-fbturbo

2) in "waveshare" topic, in /boot/config.txt : there are many lines added, like "start x, gpu_mem=128, etc..." ?
Important ?

3) in "waveshare" topic : it's necessary to add line in / /etc/modules-load.d/raspberrypi.conf like :

Code: Select all
flexfb  width=320  height=480  regwidth=16 init=-1,0xb0,0x0,-1,0x11,-2,250,-1,0x3A,0x55,-1,0xC2,0x44,-1,0xC5,0x00,0x00,0x00,0x00,-1,0xE0,0x0F,0x1F,0x1C,0x0C,0x0F,0x08,0x48,0x98,0x37,0x0A,0x13,0x04,0x11,0x0D,0x00,-1,0xE1,0x0F,0x32,0x2E,0x0B,0x0D,0x05,0x47,0x75,0x37,0x06,0x10,0x03,0x24,0x20,0x00,-1,0xE2,0x0F,0x32,0x2E,0x0B,0x0D,0x05,0x47,0x75,0x37,0x06,0x10,0x03,0x24,0x20,0x00,-1,0x36,0x28,-1,0x11,-1,0x29,-3
fbtft_device debug=3 rotate=90 name=flexfb speed=16000000 gpios=reset:25,dc:24
ads7846_device model=7846 cs=1 gpio_pendown=17  keep_vref_on=1 swap_xy=1 pressure_max=255 x_plate_ohms=60 x_min=200 x_max=3900 y_min=200 y_max=3900

Remarque :
For information, I updated my raspberry pi 3 with this image : RuneAudio_rpi2_rp3_0.4-beta_20170229_2GB.img

and for the moment, I try only modification for my screen Kedei, just this, and after, if it's OK, I will be able to put back my IR remote (Keyes), but now, I'm only focusing on my KEDEI brand screen. (I specify this to avoid looking for other problem : interference with the remote control, with GPIO, etc.)

thank you for your help...

See you later



Re: Rpi3 + Screen 3,5 Kedei + Runeaudio

PostPosted: 10 Mar 2018, 20:51
by Urlin
Instruction "" works only on version " RuneAudio_rpi2_rp3_0.4-beta_20160321_2GB.img". On the version "RuneAudio_rp2_rp3_0.4-beta_20170229_2GB.img" do according to my instructions. The driver "fbturbo" should not be put. There is a driver "fbdev", it is enough. Try to copy the file "99-fbdev.conf " and " 99-calibration.conf " to the usr/share/x11/xorg folder.conf.d. In / boot / config.txt add only my text if you put " startx,..." it won't start. Instead of driver " waveshare35a.dtb " put your own. Only change to /boot / config.txt "dtoverlay=waveshare35a" to " overlay=your driver"

Re: Rpi3 + Screen 3,5 Kedei + Runeaudio

PostPosted: 10 Mar 2018, 20:54
by dom_france
Hello, just pour Information, my screen work with raspian : (I just did this test to dismiss a hardware problem)

No good for the moment with runeaudio (Archlinux) :

With Archlinux (runeaudio), it's very difficult for me to understand the problem...

thank you


feature of my screen :

Re: Rpi3 + Screen 3,5 Kedei + Runeaudio

PostPosted: 10 Mar 2018, 21:16
by Urlin
You have the version RuneAudio ? Which version do you use?

Re: Rpi3 + Screen 3,5 Kedei + Runeaudio

PostPosted: 10 Mar 2018, 21:50
by dom_france
version 0.4b (20170229) :


Re: Rpi3 + Screen 3,5 Kedei + Runeaudio

PostPosted: 11 Mar 2018, 07:36
by Urlin
I have the same version, everything works. Just follow my instructions. Please send here your file "cmdline" and "config".
View more here

Re: Rpi3 + Screen 3,5 Kedei + Runeaudio

PostPosted: 11 Mar 2018, 08:45
by dom_france
my file /boot/config.txt :

Code: Select all
# Uncomment some or all of these to enable the optional hardware interfaces
# Params:
#         i2c_arm                  Set to "on" to enable the ARM's i2c interface
#                                  (default "off")
#         i2c_vc                   Set to "on" to enable the i2c interface
#                                  usually reserved for the VideoCore processor
#                                  (default "off")
#         i2c_arm_baudrate         Set the baudrate of the ARM's i2c interface
#                                  (default "100000")
#         i2c_vc_baudrate          Set the baudrate of the VideoCore i2c interface
#                                  (default "100000")
#         i2c_baudrate             An alias for i2c_arm_baudrate
#         i2s                      Set to "on" to enable the i2s interface
#                                  (default "off")
#         spi                      Set to "on" to enable the spi interfaces
#                                  (default "off")
#         act_led_trigger          Choose which activity the LED tracks.
#                                  Use "heartbeat" for a nice load indicator.
#                                  (default "mmc")
#         act_led_activelow        Set to "on" to invert the sense of the LED
#                                  (default "off")
#         act_led_gpio             Set which GPIO pin to use for the activity LED
#                                  (in case you want to connect it to an external
#                                  device)
#                                  (default "16" on a non-Plus board, "47" on a
#                                  Plus or Pi 2)
#         N.B. It is recommended to only enable those interfaces that are needed.
#         Leaving all interfaces enabled can lead to unwanted behaviour (i2c_vc
#         interfering with Pi Camera, I2S and SPI hogging GPIO pins, etc.)
#         Note also that i2c, i2c_arm and i2c_vc are aliases for the physical
#         interfaces i2c0 and i2c1. Use of the numeric variants is still possible
#         but deprecated because the ARM/VC assignments differ between board
#         revisions. The same board-specific mapping applies to i2c_baudrate,
#         and the other i2c baudrate parameters.



## RuneAudio HDMI & 3,5mm jack

## RuneAudio I2S-Settings

# Uncomment to enable the lirc-rpi module
# Params: gpio_out_pin             GPIO pin for output (default "17")
#         gpio_in_pin              GPIO pin for input (default "18")
#         gpio_in_pull             Pull up/down/off on the input pin
#                                  (default "down")
#         sense                    Override the IR receive auto-detection logic:
#                                    "1" = force active high
#                                    "0" = force active low
#                                    "-1" = use auto-detection
#                                  (default "-1")
#         softcarrier              Turn the software carrier "on" or "off"
#                                  (default "on")
#         invert                   "on" = invert the output pin (default "off")
#         debug                    "on" = enable additional debug messages
#                                  (default "off")

# LCD settings
# 180 degrees
# Normal

# Uncomment if you get no picture on HDMI for a default "safe" mode

# Uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan

# Uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border

# Uncomment to force a console size. By default it will be display's size minus
# overscan.

# Uncomment if hdmi display is not detected and composite is being output

# Uncomment to force a specific HDMI mode (this will force VGA)

# Uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes

# Uncomment to set monitor mode to DMT

# Uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display

# setting the max usb current to 1200mA

# memory options

# Overclocking options

// Screen KEDEI 3'5 (DOM mars 2018)

and my other file /boot/cmdline.txt :

Code: Select all
root=/dev/mmcblk0p2 rw rootwait rootfstype=ext4 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0x3 elevator=noop ipv6.disable=1 logo.nologo quiet loglevel=3 rd.systemd.show_status=false rd.udev.log-priority=3 fbcon=map:10 fbcon=font:VGA8x8

Re: Rpi3 + Screen 3,5 Kedei + Runeaudio

PostPosted: 11 Mar 2018, 09:45
by Urlin
Instead, " dtoverlay=waveshare35a "should be"dtoverlay=your driver's name". Send your driver "LCD_show_v6_1_3.tar " is a file with an extension .dtb or .dtbo