raspberry-pi4

Raspberry pi 4 controle GPIO with java

限于喜欢 提交于 2021-01-01 04:26:47
问题 I want to controle a 16*2 lcd display on my raspberry pi4 with java. The problem is that Pi4J - the solution to modify the gpios with java is not updated to pi4. Is there another solution? This error occures when I start the programm: pi@raspberrypi:~/desktop/gpio $ sudo ./start.sh <--Pi4J--> GPIO Control Example ... started. Maista Unable to determine hardware version. I see: Hardware : BCM2711 , expecting BCM2708 or BCM2709. If this is a genuine Raspberry Pi then please report this to

HugePages on Raspberry Pi 4

ⅰ亾dé卋堺 提交于 2020-12-06 15:51:41
问题 I need help about managing Hugepages on raspberry pi 4 running raspberry pi OS 64 bit. I did not find much reliable information online. First I recompiled the kernel source enabling Memory Management options --->Transparent Hugepage Support option. When I run the command: grep -i huge /proc/meminfo The output is: AnonHugePages: 319488 kB ShmemHugePages: 0 kB FileHugePages: 0 k and running the command: cat /sys/kernel/mm/transparent_hugepage/enabled the output is: [always] madvise never So I

HugePages on Raspberry Pi 4

孤人 提交于 2020-12-06 15:49:01
问题 I need help about managing Hugepages on raspberry pi 4 running raspberry pi OS 64 bit. I did not find much reliable information online. First I recompiled the kernel source enabling Memory Management options --->Transparent Hugepage Support option. When I run the command: grep -i huge /proc/meminfo The output is: AnonHugePages: 319488 kB ShmemHugePages: 0 kB FileHugePages: 0 k and running the command: cat /sys/kernel/mm/transparent_hugepage/enabled the output is: [always] madvise never So I

BlueZ BLE Ecrypted Characteristic Read fails after bonding and connecting

笑着哭i 提交于 2020-07-22 05:17:11
问题 I am using Raspberry Pi as a BLE Peripheral and nRF Connect tool as BLE Client. In Raspberry Pi, I'm running Simple Agent Test Program, Advertisement Program and Gatt Server Program given in the Bluez Test Folder. From the nRF Connect Tool, I, first bonded the devices and connected the devices. I have attached the dbus logs for the process. While bonding, the log shows the following signal time=1595076323.849939 sender=:1.15 -> destination=(null destination) serial=863 path=/org/bluez/hci0

Raspberry Pi 4B… Issues with docker not running because of aufs

北城余情 提交于 2020-04-30 06:43:32
问题 To begin with I bought a raspberry pi 4b. I installed berry boot on the sd and connected a SSD 480gb. I managed to get it working with a Tv as a monitor hdmi group = 1 etc. I then set up ssh with macbook so I can access my pi with my labtop or use the desktop raspbian. Followed a 4 month old youtube video (relatively new). https://www.youtube.com/watch?v=tx-Hfq5Hc6E I used the commands as follows: //install docker #curl -sSL https://get.docker.com/ |sh //Set up so root isn't used as user -

How to play two different videos in two different displays simultaneously using gstreamer

拜拜、爱过 提交于 2020-03-03 06:59:29
问题 I am using Raspberry Pi 4 Model B which has 2 HDMI ports. Gstreamer-1.0 I have two videos saved in memory card. I want to drive two videos to two different HDMI port and play videos in two different Displays simultaneously. I would like to know the Gstreamer pipeline to access the HDMI0 and HDMI1 ports and also play two different videos in different displays simultaneously. 来源: https://stackoverflow.com/questions/57865741/how-to-play-two-different-videos-in-two-different-displays