Giter Club home page Giter Club logo

Comments (6)

notro avatar notro commented on July 21, 2024

Pulling reset low resets the LCD controller and it looses the setup. Only way to recover is reloading the driver or device.
I'm not sure if there is any backlight control: #6 (comment)

from rpi-firmware.

boazj avatar boazj commented on July 21, 2024

Sorry for my noobiness, I tried rebooting the pi, shouldn't it reload the driver?
Can you please elaborate a bit on how to do that? or direct me to a place that does?

Thanks very much for answering!!!

from rpi-firmware.

notro avatar notro commented on July 21, 2024

Rebooting reloads the driver. The driver briefly pulls 'reset' low during probing.
You know the driver is loaded if you have /dev/fb1

from rpi-firmware.

boazj avatar boazj commented on July 21, 2024

I don't have /dev/fb0
I checked dmesg and no spi were created
I followed imaginal's instructions to letter from here (#6) and it worked perfectly well until I changed 27 to low.

Any help will be greatly appropriated

Thanks!

from rpi-firmware.

notro avatar notro commented on July 21, 2024

Ok, that kernel has the drivers built into the kernel proper (kernel.img)
This should show you if the drivers are present:

ls -l /sys/bus/spi/drivers

If you don't have any fbtft_device entries in the boot log, the driver won't work because the device is not present.

dmesg | grep fbtft_device

Your fbtft_device entries from /boot/cmdline.txt determines if fbtft_device actually does something. They should show up here:

cat /proc/cmdline

from rpi-firmware.

boazj avatar boazj commented on July 21, 2024

Well, the first command gave the answer.
It seems that to install the gpio command from here http://elinux.org/RPi_Low-level_peripherals#Shell_script_-_take_2 required me to update some packages on the OS.
Apparently the update also removed some of said drivers, but running the rpi-update again said I have the latest version.
I remove /boot/.firmware_revision and reinstalled by executing again the rpi-update command and now everything works!!

Thanks Notro for your help and hard work!!

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.