Giter Club home page Giter Club logo

Comments (9)

notro avatar notro commented on July 21, 2024

The rpi-firmware kernel is deprecated now, the official Pi kernel has all the necessary pieces.

  1. sudo rpi-update
  2. /boot/config.txt -> dtparam=spi=on
  3. sudo nano /etc/modules -> fbtft_device name=tm022hdh26 gpios=dc:24,reset:25,led:18 rotate=90
  4. /usr/share/X11/xorg.conf.d/99-fbturbo.conf -> fb1
  5. /boot/cmdline.txt -> fbcon=map:10

Now you should have /dev/fb1
If it doesn't show up, use dmesg to look for errors in the kernel log.
Also try loading fbtft_device manually from the command line.

from rpi-firmware.

Jakkawad avatar Jakkawad commented on July 21, 2024

dmesg = Failed to start Load Kernel Modules.

but i'm try sudo mod probe fbtft_device name=tm022hdh26 gpios=reset:25,dc:24,led:18 rotate=90 it work but not load when start

Thank you

from rpi-firmware.

notro avatar notro commented on July 21, 2024

If you use Raspian Jessie (the latest) it uses systemd, so try this: https://github.com/notro/fbtft/wiki#make-it-permanent-arch-linux

from rpi-firmware.

Jakkawad avatar Jakkawad commented on July 21, 2024

thank you i will try ,and it work for 3.5 inch touch screen? i order i from eBay .

from rpi-firmware.

notro avatar notro commented on July 21, 2024

and it work for 3.5 inch touch screen?

I don't know

from rpi-firmware.

Jakkawad avatar Jakkawad commented on July 21, 2024

screen shot 2558-10-16 at 12 48 17 am

screen shot 2558-10-16 at 12 48 37 am

screen shot 2558-10-16 at 12 49 00 am

i'm try this
https://github.com/notro/fbtft/wiki#make-it-permanent-arch-linux

from rpi-firmware.

notro avatar notro commented on July 21, 2024

fbtft_device apparently is loaded before spi-bcm2835 so there's no spi bus 0.
Try adding spi-bcm2835 before fbtft_device.

from rpi-firmware.

Jakkawad avatar Jakkawad commented on July 21, 2024

thank you,i will try now

from rpi-firmware.

Jakkawad avatar Jakkawad commented on July 21, 2024

it work!!! THANK YOU

from rpi-firmware.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.