Go to advanced search

by DRAgon715205
Sat Nov 27, 2021 8:47 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: vc4-fkms-v3d and i2c-gpio at bullseye
Replies: 5
Views: 159

Re: vc4-fkms-v3d and i2c-gpio at bullseye

I find if I use

Code: Select all

target = <&i2c1> ;   
which use pi hardware I2C with gpio 2 3 not software gpio-i2c with gpio 10 11

The gt911 touch will all work well with or without fkmks
by DRAgon715205
Sat Nov 27, 2021 8:43 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: vc4-fkms-v3d and i2c-gpio at bullseye
Replies: 5
Views: 159

Re: vc4-fkms-v3d and i2c-gpio at bullseye

because gt911 address some time will change automatically between 0x14 and 0x5d So I use Double dtoverlay with two different gt911 address at my config,txt dtoverlay=waveshare-28dpi-3b dtoverlay=waveshare-28dpi-4b this is waveshare-28dpi-3b.dts fragment@0 { target = <&i2c_gpio>; __overlay__ { /*...
by DRAgon715205
Sat Nov 27, 2021 3:58 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: vc4-fkms-v3d and i2c-gpio at bullseye
Replies: 5
Views: 159

Re: vc4-fkms-v3d and i2c-gpio at bullseye

/dts-v1/; /plugin/; / { compatible = "brcm,bcm2708"; fragment@0 { target = <&i2c_gpio>; __overlay__ { /* needed to avoid dtc warning */ #address-cells = <1>; #size-cells = <0>; mygt911: mygt911@14 { compatible = "goodix,gt911"; reg = <0x14>; interrupt-parent = <&gpio>; i...
by DRAgon715205
Sat Nov 27, 2021 3:47 am
Forum: Graphics, sound and multimedia
Topic: vc4-kms-v3d and DPI
Replies: 8
Views: 281

Re: vc4-kms-v3d and DPI

I can display ok with fkms now

but the gt911 not work with i2c-gpio when open fkms

about this touch question I open a new detailed discussion about i2c-gpio

viewtopic.php?t=324828
by DRAgon715205
Sat Nov 27, 2021 3:42 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: vc4-fkms-v3d and i2c-gpio at bullseye
Replies: 5
Views: 159

vc4-fkms-v3d and i2c-gpio at bullseye

I use i2c-gpio(gpio10 gpio11) drive a gt911 touch screen without fkms work well But when I open fkms , the gt911 touch can not work I have checked that the i2c-gpio have worked , I find a I2C device i2c-22 under /dev/ and I use cmd i2cdetect -y 22 can find gt911 address 0x5d I think when I open fkms...
by DRAgon715205
Fri Nov 26, 2021 7:24 am
Forum: Graphics, sound and multimedia
Topic: vc4-kms-v3d and DPI
Replies: 8
Views: 281

Re: vc4-kms-v3d and DPI

OK , thank you
by DRAgon715205
Fri Nov 26, 2021 6:21 am
Forum: Graphics, sound and multimedia
Topic: vc4-kms-v3d and DPI
Replies: 8
Views: 281

Re: vc4-kms-v3d and DPI

If I do not use fkms

the touch panel work well
by DRAgon715205
Fri Nov 26, 2021 6:21 am
Forum: Graphics, sound and multimedia
Topic: vc4-kms-v3d and DPI
Replies: 8
Views: 281

Re: vc4-kms-v3d and DPI

I use i2cdetect -y 22 can find the touch panel 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- ...
by DRAgon715205
Fri Nov 26, 2021 6:18 am
Forum: Graphics, sound and multimedia
Topic: vc4-kms-v3d and DPI
Replies: 8
Views: 281

Re: vc4-kms-v3d and DPI

Thank you for your reply I use this LCD https://www.waveshare.com/2.8inch-dpi-lcd.htm I have find the reason , when open fmks , the gpio 18 of the lcd backlight controling pin can not output high level I use this cmd raspi-gpio set 18 dh the LCD can display ok but other question , this LCD us gpio i...
by DRAgon715205
Fri Nov 26, 2021 4:44 am
Forum: Graphics, sound and multimedia
Topic: vc4-kms-v3d and DPI
Replies: 8
Views: 281

vc4-kms-v3d and DPI

When I use a DPI LCD with vc4-kms-v3d , the DPI LCD can display debug log but can not enter desktop

when I not use vc4-kms-v3d, The DPI LCD can enter desktop well

I use 4b raspbian os 2021-10-30-raspios-bullseye

Have any way which the DPI LCD can enter desktop with vc4-kms-v3d ??
by DRAgon715205
Wed Nov 10, 2021 4:10 am
Forum: Camera board
Topic: Raspbian bullseye open vc4-kms-v3d make camera not work
Replies: 2
Views: 240

Raspbian bullseye open vc4-kms-v3d make camera not work

The Raspbian have been updateed to bullseye Open vc4-kms-v3d make my some LCD can not display ok at Raspberry Pi 4B , So I not use vc4-kms-v3d But which will make my camera not work How can I use camera and vc4-kms-v3d together ??? Or How can I use old raspcam app like raspistill/raspivid to use cam...
by DRAgon715205
Fri Feb 19, 2021 12:38 pm
Forum: Ubuntu
Topic: ubuntu mate 1210 fbtft not work but work at ubuntu 1204
Replies: 0
Views: 190

ubuntu mate 1210 fbtft not work but work at ubuntu 1204

I use waveshare 3.5B V2 sudo nano /boot/firmware/config.txt Add this code dtparam=spi=on dtoverlay=waveshare35b-v2 sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf Section "Device" Identifier "Allwinner A10/A13 FBDEV" Driver "fbturbo" Option "fbdev" "...
by DRAgon715205
Mon Jan 11, 2021 11:11 am
Forum: Graphics, sound and multimedia
Topic: 1.54LCD ST7789v fbtft display at kernel 5.4
Replies: 12
Views: 1915

Re: 1.54LCD ST7789v fbtft display at kernel 5.4

@xlla

Do you solve this problem??
by DRAgon715205
Thu Dec 31, 2020 2:25 am
Forum: Gaming
Topic: retropie not work well with DPI LCD on 4B
Replies: 0
Views: 162

retropie not work well with DPI LCD on 4B

I use a DPI LCD work well at 3B , but when I use the latest retropie on 4B

the DPI LCD just can display retropie logo then go to black

can not enter Emulator and can not start the game

the DPI LCD need some configuration at retropie on 4B ??
by DRAgon715205
Wed Dec 16, 2020 7:04 am
Forum: Graphics, sound and multimedia
Topic: 1.54LCD ST7789v fbtft display at kernel 5.4
Replies: 12
Views: 1915

Re: 1.54LCD ST7789v fbtft display at kernel 5.4

QAQ > ? who have any idea ? thanks
by DRAgon715205
Tue Dec 15, 2020 3:07 am
Forum: Graphics, sound and multimedia
Topic: 1.54LCD ST7789v fbtft display at kernel 5.4
Replies: 12
Views: 1915

Re: 1.54LCD ST7789v fbtft display at kernel 5.4

I try to change compatible = "sitronix,st7789v"; to compatible = "ilitek,ili9340"; the color will all go right ,
but I can not change the right Display direction
by DRAgon715205
Tue Dec 15, 2020 3:02 am
Forum: Graphics, sound and multimedia
Topic: 1.54LCD ST7789v fbtft display at kernel 5.4
Replies: 12
Views: 1915

Re: 1.54LCD ST7789v fbtft display at kernel 5.4

change 0x10000C0 0x2C to 0x10000C0 0x0C and add bgr ;

or not change 0x10000C0 0x2C , keep it , but not add bgr ;

I get the same right color, but still have some problem. the yellow color Seems more brighter

like this

Image
by DRAgon715205
Tue Dec 15, 2020 2:58 am
Forum: Graphics, sound and multimedia
Topic: 1.54LCD ST7789v fbtft display at kernel 5.4
Replies: 12
Views: 1915

Re: 1.54LCD ST7789v fbtft display at kernel 5.4

I change the new int code reg = <0>; pinctrl-names = "default"; pinctrl-0 = <&waveshare154_pins>; spi-max-frequency = <48000000>; rotate = <270>; width = <240>; height = <240>; fps = <30>; buswidth = <8>; txbuflen = <32768>; custom = <1> ; reset-gpios = <&gpio 27 1>; dc-gpios = <&a...
by DRAgon715205
Mon Dec 14, 2020 1:38 pm
Forum: Graphics, sound and multimedia
Topic: 1.54LCD ST7789v fbtft display at kernel 5.4
Replies: 12
Views: 1915

Re: 1.54LCD ST7789v fbtft display at kernel 5.4

see this

https://elixir.bootlin.com/linux/v5.10- ... 7789v.yaml

I not see this parameter
dc-gpios = <&gpio xx 0>;
by DRAgon715205
Mon Dec 14, 2020 1:32 pm
Forum: Graphics, sound and multimedia
Topic: 1.54LCD ST7789v fbtft display at kernel 5.4
Replies: 12
Views: 1915

Re: 1.54LCD ST7789v fbtft display at kernel 5.4

sorry about that,

can you give a init code work well ??/
by DRAgon715205
Mon Dec 14, 2020 6:53 am
Forum: Graphics, sound and multimedia
Topic: 1.54LCD ST7789v fbtft display at kernel 5.4
Replies: 12
Views: 1915

Re: 1.54LCD ST7789v fbtft display at kernel 5.4

kernel 5.4 need extra other code for st7789v >?
by DRAgon715205
Mon Dec 14, 2020 6:52 am
Forum: Graphics, sound and multimedia
Topic: 1.54LCD ST7789v fbtft display at kernel 5.4
Replies: 12
Views: 1915

Re: 1.54LCD ST7789v fbtft display at kernel 5.4

why is it not different between kernel 4.9 and 5.4 with the same int code ?
by DRAgon715205
Mon Dec 14, 2020 6:51 am
Forum: Graphics, sound and multimedia
Topic: 1.54LCD ST7789v fbtft display at kernel 5.4
Replies: 12
Views: 1915

1.54LCD ST7789v fbtft display at kernel 5.4

https://www.aliexpress.com/item/32970035492.html?gps-id=pcStoreLeaderboard&scm=1007.22922.122102.0&scm_id=1007.22922.122102.0&scm-url=1007.22922.122102.0&pvid=bf355d74-92c6-4b60-b558-9bad8e05d2e7&spm=a2g0o.store_home.smartLeaderboard_825966147.32970035492 I use this 1.54 lcd . w...
by DRAgon715205
Mon Dec 14, 2020 6:35 am
Forum: Device Tree
Topic: replacement for fbtft "init=" section in 5.4+?
Replies: 4
Views: 1822

Re: replacement for fbtft "init=" section in 5.4+?

hello, I use this int , but color error init = <0x1000011 0x20000ff 0x1000036 0x70 0x100003a 0x05 0x10000b2 0x0c 0x0c 0x00 0x33 0x33 0x10000b7 0x35 0x10000bb 0x1a 0x10000c0 0x2c 0x10000c2 0x01 0x10000c3 0x0b 0x10000c4 0x20 0x10000c6 0x0f 0x10000d0 0xa4 0xa1 0x1000021 0x10000e0 0x00 0x19 0x1E 0x0A 0x...

Go to advanced search