How do I enable drivers in the kernel configuration?
This is not the Linux support forum. Figure it out elsewhere (Google, ChatGPT etc.).
How do I enable drivers in the kernel configuration?
This is not the Linux support forum. Figure it out elsewhere (Google, ChatGPT etc.).
Try the default skin.
Do I need to remove the other files such as keyboard.xml and the gpio info from the config.txt?
Yes, no need.
Nah. You only need the RPi Tools add-on, because it contains the Python GPIO library.
Then the script will run on every boot sequence.
Run this Python script from autostart.sh:
#!/usr/bin/python
# This script was authored by AndrewH7 and belongs to him.
# (www.instructables.com/member/AndrewH7)
# You have permission to modify and use this script only for your own personal usage.
# You do not have permission to redistribute this script as your own work.
# Use this script at your own risk.
import sys
sys.path.append('/storage/.kodi/addons/virtual.rpi-tools/lib')
import RPi.GPIO as GPIO
import os
# Replace YOUR_CHOSEN_GPIO_NUMBER_HERE with the GPIO pin number you wish to use.
# Make sure you know which rapsberry pi revision you are using first.
# The line should look something like this e.g. "gpio_number = 7".
button_gpio_number = 3
# Use BCM pin numbering (i.e. the GPIO number, not pin number).
# WARNING: this will change between Pi versions.
# Check yours first and adjust accordingly.
GPIO.setmode(GPIO.BCM)
# It's very important the pin is an input to avoid short-circuits.
# The pull-up resistor means the pin is high by default.
GPIO.setup(button_gpio_number, GPIO.IN, pull_up_down = GPIO.PUD_UP)
# Use falling edge detection to see if pin is pulled low to avoid repeated polling.
# Send command to system to reboot.
try:
GPIO.wait_for_edge(button_gpio_number, GPIO.FALLING)
os.system("shutdown -r now")
except:
pass
# Revert all GPIO pins to their normal states (i.e. input = safe).
GPIO.cleanup()
Display More
Thank you for your reply.. So if i am reading it right EXT4 is fully supported my LibreELCE naively and kodi as no issues reading and writing to it?
Yes, EXT4 was made for Linux, and LibreELEC is Linux.
SSD1306 is part of the Luma.OLED API:
Import your SSD1306 driver into your Python script:
I can give you pirate "stuff" so you can pirate it yourself, if interested.
Declined.
Legal samples are here: https://kodi.wiki/view/Samples
LE's RPi2 software is optimized to run on RPi2 and RPi3.
Could the hardware be the problem with the videos?
Use that sample to create and publish a log:
Official Kodi samples: https://kodi.wiki/view/Samples
Would you say this is acceptable or is there another model you'd recommend?
You can try one of those Ethernet adapters:
https://www.amazon.com/dp/B0BNWR4H6Z
Yes, I'm using an argon case.
Please try again without that case.
What do i miss?
Try the same on remote.xml with remote tag instead of keyboard.