doelmm
April 5, 2024, 12:38

Raspberry OS, can't use any on-screen keyboards

Wheneber I tried to install the MatchBox-Keyboard, it appears extremely small and not full, letters only, doesnt stay top most, and doesnt print out the text. I tried with onboard, still same cant print out the text.
11person11
April 4, 2024, 17:31

making this function work for time interval

So here the thing, this code only works only once after I run the program, how can i make this thing work again for like 3 minutes or so. anyways here is the code
py
#If someone in your dataset is identified, print their name on the screen
if currentname != name:
currentname = name
print(currentname)
#Take a picture to send in the email
img_name = "image.jpg"
cv2.imwrite(img_name, frame)
print('Taking a picture.')
                
#Now send me an email to let me know who is at the door
request = send_message(name)
print ('Status Code: '+format(request.status_code)) #200 status code means email sent successfully
uefimodule
April 4, 2024, 15:03

Green light issue.

Currently setting up my pi zero w. Right after flashing raspberry pi OS however only the green light is on. Seems to be blinking every 800ms or so. Any ideas? Looking into issue.txt it has 1 log from 2024-03-12 which is weird considering I didnā€™t have it then. Could this point to some pre installed software having issues? Any help is highly appreciated :D
docify
April 4, 2024, 14:51

RuntimeError: failed to add edge detection

So I'm trying to make a callback function for a simple pushbutton. Sadly i keep on getting the same error. I know it's not in the coding as a issue because my old code that has worked before, now gives this error when compiling... is this is a known issue with a simple fix? any help is appreciated
incapabele_badeend
April 4, 2024, 10:31

2 raspberry pi 4s not booting anymore

Hi, I have 2 raspberry pi 4's and they are not booting anymore. 1 pi shows a solid green and red light and another only a solid red light. The power to the gpio pins work. I think that it has to due with a charger that I used with it. Is there anything I can do to troubleshoot?
avistheastronaut
April 4, 2024, 08:33

Composite on Rpi4B with bookworm

Hi, I'm trying to enable an analog display, the things I've added to my config.txt are below
enable_tvout=1
And
dtoverlay=vc4-kms-v3d,composite
As well as
vc4.tv_norm=PAL
in cmdline.txt However when booting, the screen on the display shows the rainbow image, then flickers white, a second later the raspberry pi logo splash screen shows up for a split second and the screen goes black with nothing else. I read somewhere that the white flash is the pi deciding not to use that display, but what else do I have to change so it does? I've tried changing the config.txt to read
dtoverlay=vc4-kms-v3d,composite=1
And
vc4.tv_norm=PAL video=Composite-1
to cmdline.txt Like I saw someone do online but that hasn't worked either.
jacked_ripper
April 4, 2024, 06:04

sending image from the raspberry pi to discord

Completely new to this. I got raspberry pi4 and I am trying to setup a security system that will send me pictures when the camera recognizes a face. I just started working on this. I heard we hooks on discord can be used to send a message from the pi to the app. How do I even begin with all this
dailytinker
April 3, 2024, 21:45

Lighttpd Going back to port 80 when I have it set to 8081 on pihole

So I run Pihole on Synology NAS and everytime I update the container Lighttpd which is supposed to be on port 8081 is back on port 80 and then it fails because port 80 is used on my Synology NAS for web server which is on https://athernas.net and it gets annoying because It makes my internet experience slow and not work half the time if you need more let me know
k9t33n
April 3, 2024, 10:58

internet problems pi 5

my pi 5 cannot access the internet and since i am accessing via ssh i have no clue why it would have troubles.
kameron@pi5:~ $ ping google.com
PING google.com (142.250.187.238) 56(84) bytes of data.
From 192.168.1.10 (192.168.1.10) icmp_seq=1 Destination Host Unreachable
ping: sendmsg: No route to host
From 192.168.1.10 (192.168.1.10) icmp_seq=2 Destination Host Unreachable
From 192.168.1.10 (192.168.1.10) icmp_seq=3 Destination Host Unreachable
From 192.168.1.10 (192.168.1.10) icmp_seq=5 Destination Host Unreachable
ping: sendmsg: No route to host
From 192.168.1.10 (192.168.1.10) icmp_seq=6 Destination Host Unreachable
From 192.168.1.10 (192.168.1.10) icmp_seq=7 Destination Host Unreachable
^C
--- google.com ping statistics ---
11 packets transmitted, 0 received, +6 errors, 100% packet loss, time 10168ms
pipe 3
any clue why? it also can not pip install anything or update because of it.
sadma_ashiq
April 3, 2024, 08:33

My first ever Raspberry pi project [The PodBerry Touch]

So I like small sized phones that can literally fit in your palm like ipod or any old Samsung phone or the Palm Phone. So I wanted to make a phone with a touch screen, headphone jack and a battery for charging and working without power cable. I think a raspberry Pi Pico is good as it is small in size and cheap but I don't know about it's processing power
starsalt
April 3, 2024, 02:01

Iā€™m trying to connect to mobaxterm Vnc with raspberry pi and it wonā€™t let me connect.

## Try this first i guess? idk if this is right but it(mobaxterm) has smth to do with ssh right? maybe you've already connected to the ip address once on a diff device/flashed pi? in which case you can: ## delete the record from c:/users/username/.ssh/known_hosts (just remove the ip address from the list- open with notepad or smth)
icicubez
April 2, 2024, 18:26

Pi won't connect to network

Hey. I'm flashing Raspbian 64bit on my Pi 4b and I have it set up to connect to the network in the config, but it isn't doing it. On the desktop environment the network icon just shows bars with an X and when I click I am prompted to set my wifi region. When I do this however, nothing happens. I have reflashed loads of times and it isnt working
misterjthegamer
April 2, 2024, 14:56

raspberry pi pico not powering up spi tft display

dosnt work or turn on when i connect my pico to power. also vs code dosnt detect my library
theosib
April 2, 2024, 12:34

Help debugging TinyUSB crash when plugging in multiple devices?

I've hit a wall with a TinyUSB crash when plugging in multiple devices (https://github.com/hathach/tinyusb/issues/2556), and I was wondering if anyone would be interested in doing a live deep-dive debug session with me. We could do that here or the RP Pico Discord or perhaps SciCraft or EigenCraft. It's a fun way to meet new people and make new friends. šŸ˜
koyo00010
April 2, 2024, 09:04

Autostart a chromium in fullscreen

Hi! Can someone help me how to autostart a website in chromium whenever I start the rpi itself. I already tried the 'sudo nano /etc/xdg/lxsession/LXDE-pi/autostart' but it doesnt work for me. Thanks!šŸ™‡
guildedsin
April 2, 2024, 03:54

Need some help setting up jellyfin | Folder permissions and Static IP

Having some issues on setting up a static IP and need some help. The only conf file i have to edit ios etc/dhcp/dhclient.conf Now that would be good and all but its read only, and even trying to edit through putty wont let me change it. Also I have already installed jellyfin and when using hostname -I it returns 127.0.0.1 BUT if i do ifconfig, i get a wlan0 IP of 192.168.1.15 (this is the one my router is reporting as well) and between eth0 and wlan0 there is a section labled lo and that section reports the 127.0.0.1 IP what is going on xD Also to not BOTH ips dont work to connect to the jellyfin server from my windows pc. As of writing this im going to try to connect from the pi as well while waiting on a reply
busitalique
April 1, 2024, 19:49

Trying to connect by SSH to my rpi through cmd promp but the password doesn't input.

Essentially, I run "ssh bus@(ip adress)" then it asks for the password and it doesn't let me input anything. I can press anything on my keyboard it's like cmd prompt just crashes, but it still responds to "enter". I tried to change my keyboard to a bunch of other languages and it just doesn't listen. (yes, even the one that was listed in the imager)
rasmus2099
April 1, 2024, 14:43

How to change raspberry pi pico keyboard language

So i have 2 raspberry pi pico. My problem is that when i try to make it into a badusb it uses american keyboard layout. So when i want it to write example a "." it presses the . icon on a american keyboard wich isnt the same place for my swedish keyboard. I dont know how to fix this. I would assume the peope here outside of USA have exprianced this issue before since the language is American when it comes from the factory. Thank you for help!
meth.heady
April 1, 2024, 07:54

How do you make the raspberry pie pico ducky use it payload

can somebody please tell me how to do this? Iā€™ve looked at a bunch of videos, and I think Iā€™ve done everything right but itā€™s not working. Hereā€™s all the files Iā€™ve configurated from the videos. Please tell me if I missed any files or need any files
vj_ubiquity
April 1, 2024, 00:08

ARM32 Bullseye Raspian Seeking for info on How to run script on boot/load. Tried for 3 weeks long

HellƓ, I'm tring to run this command on BOOT: this would be my optimal command [ sudo lxterminal -e "sudo ./Chataigne-linux-armhf-1.9.17.AppImage" ] since it loads a terminal with privileges and then opens the app with privileges as well. I've tried with rc.local, systemd and other common methods listed on the web (I think I can read and try all the lines written there but none seems to work), the closest I've suceeded is with bashrc so when i open a terminal, is automatically call the appImage. Thanks in advance for any help. Image
jackpotjake8080
March 31, 2024, 19:24

how come the older gen Raspberry pi model 2b has a problem with hdmi or booting problems?

its also a bit of a pain when the kano help disappears on the web as its a was an original kano computer kit has anyone experienced this? when i put the kano os onto the microsd and then put it in and power it why does the it: A. have a problem with booting B. no output is happening nor input as its difficult to see C. both the red and green light are on indicating its working yet its not
hoco_xxsamxx
March 31, 2024, 15:48

RPi5 Not booting or checking SD/USB drive

I have a brand new RPi5, I installed Raspian on a USB drive, booted up, connected via ssh, and ran apt upgrade. It crashed during the upgrade, and now does absolutly nothing when plugged in. All I get is a solid red light. I have tried different images on both USB and SD, pressing the button does nothing. I assume the bootloader got messed up, since it doesn't even check the USB or SD card, and displays nothing on the hdmi out. How can I fix the bootloader if it doesn't access the attached drives?
enclave.dll
March 31, 2024, 09:54

raspberry pi 5 convert rpi.GPIO code to gpiod

i've got this example code
py
import RPi.GPIO as GPIO

pins = [18, 23, 24]

pin_led_states = [
  [1, 0, -1], # A
  [0, 1, -1], # B
  [-1, 1, 0], # C
  [-1, 0, 1], # D
  [1, -1, 0], # E
  [0, -1, 1]  # F
]

GPIO.setmode(GPIO.BCM)

def set_pin(pin_index, pin_state):
    if pin_state == -1:
        GPIO.setup(pins[pin_index], GPIO.IN)
    else:
        GPIO.setup(pins[pin_index], GPIO.OUT)
        GPIO.output(pins[pin_index], pin_state)

def light_led(led_number):
    for pin_index, pin_state in enumerate(pin_led_states[led_number]):
        set_pin(pin_index, pin_state)

set_pin(0, -1)
set_pin(1, -1)
set_pin(2, -1)

while True:
    x = int(input("Pin (0 to 5):"))
    light_led(x)
and i would like someone who understands better than me to help convert it to gpiod the gpiod documantation is a mess. Your help will be appreciated!
zak_ku
March 30, 2024, 18:25

How to spoof the raspberry pi pico w

don't know how to do this things: Change all vid & pid values to the same as your mouse Change 'build.usb_manufacturer' and 'build.usb_product' to your mouse's manufacturer and name Locate \AppData\Local\Arduino15\packages\rp2040\hardware\rp2040\3.6.0\cores\rp2040\RP2040USB.cpp CTRL-F 'if (USBInstallMouse || USBInstallAbsoluteMouse)' Change 0x4000 to 0x0000 in the if statement
sharkieco
March 30, 2024, 17:13

Pi 5 with a usb-connected IDE HDD doesnt boot [FIXED]

Hey guys, my pi5 doesnt boot from a IDE HDD connected to the usb while it can boot from an sd-card. Can anyone help me figure out what the problem is? Thanks!
spiderpoulet
March 28, 2024, 22:47

Pi CM4 with buggy integrated screen

Hi, i recently got a Raspberry Pi Compute Module 4 with an integrated 5" 720p touch screen (The reterminal from seeed, https://www.gotronic.fr/art-reterminal-5-cm4104032-34217.htm), and when it is powered, it does a weird visual bug, except for the little left area of the screen, which is not buggy, does this already happened to you ? Could it be the cables or something like that which are not properly connected ? I correctly install the driver for the display, and when i connect it to an external monitor via the HDMI port, it doesn't do the bug, so it's well the integrated screen which has a problem
junaire_7747
March 28, 2024, 21:44

Mobile Display for 2 Websites

Hi all I have searched quite a bit and think this should be feasible, but maybe somebody has good suggestions on the specific hardware I should get. I would like to achieve the follwing: a mobile, battery operated, rasberry zero powered device with a nice display, with a gsm card, that has a kiosk style OS that always shows the 2 same websites side by side, and the pages should autorefresh. I'm thinking raspberry pi , original display with display case, gsm module, power bank, some kiosk style OS (or the standard OS?), i guess this should work out, right? thanks a bunch!
interr_
March 28, 2024, 20:53

meta-generating error

Hi, Sorry for the trouble, but I would highly appreciate if you could resolve this issue. So it all started when I just set up my raspi, and I also had a camera module, so I tried to test it using this repo: https://github.com/washieuanan/Raspberry-Pi-Emotion-Recognition. However, after the kind help of one of the mods, we seemed to be getting this issue: "metadata-generation-failed", we tried a reboot and everything but it still won't work. This was after using a venv because, when we ran the command pip install -r requirements.txt, we got the following error:. I would really appreciate help because this is urgent. Thanks!!

e_xie
March 28, 2024, 20:07

Speeding up refresh rate of raspberry pi 3'5 inch LCD display (GPIO controlled)

the FPS of my new touchscreen display is very low. Refreshes very slow at like 2 fps. I'm wondering if i can somehow speed this up. Even an increase of 3 fps could help. The drivers are pretty old I'm guessing - https://github.com/goodtft/LCD-show Not sure what the brand or company is, I bought it straight from the Chinese manufacturer.
thijmenl98
March 28, 2024, 19:20

RPi 3B Slow & JavaScript heap issues

Hey guys, I'm trying to serve an angular application using nginx on my RPi 3B (not 3B+, the title is incorrect), but I haven't even passed installing a simple angular application, as using npm install causes the entire thing to freeze (and i need to restart it by unplugging). Every time i get issues such as: FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory or INFO: task kworker/1:0:1273 blocked for more than 120 seconds (or 240 etc) And the commands such as ng serve, ng build are incredibly slow. Is there anything I can do? I am running the latest Ubuntu Server 64x LTS, installed node v20 and cloned a github repo, the rest is all still fresh.