All Questions

Filter by
Sorted by
Tagged with
1
vote
0answers
13 views

Restricted movement of mouse cursor on the screen

Is it possible to restrict mouse cursor movement? For example, if I have a screen resolution 1024x768: I want move the mouse cursor only 0 up to 1000 in Y direction and 100 up to 600 in X direction. ...
0
votes
0answers
37 views

Slow Network throughput of raspberry pi-4 [duplicate]

I have setted up samba server for NAS in my raspberry pi 4. The external disk is USB 3.0 and is working fine. sudo hdparm -t /dev/sda shows speed around 120 MBytes/s nperf also shows link of around ...
0
votes
1answer
37 views

Raspberry Pi 3B+ input pin strange behavior

I have few switches connected to Raspberry Pi inputs. Internal pull up resistors are enabled. When I connect pin to the ground Raspberry Pi behave fine - pin state is low. However when I disconnect ...
1
vote
0answers
25 views

Enviro+ Pi Zero

I am having problems with installing the Enviro+ board. I have connected the board and run the install code, however when I reboot the system freezes on the 'Welcome to Raspberry Pi Desktop' screen. I ...
1
vote
2answers
49 views

Tkinter not running on updated python

So, I'm trying to use a project, that uses tkinter on my Raspberry Pi but I have an issue. I needed an updated version of Python, so I updated it to 3.7.4, however, when I try to import tkinter, it ...
0
votes
0answers
39 views

SSH Connection refused on headless install, ssh file not deleted - tried everything?

I have the old Raspberry Pi B. I flashed the latest Raspbian Buster (headless version) using balenaEtcher (macOS). After that, I've connected the SD card again and created a ssh empty file on the boot ...
1
vote
0answers
27 views

Gstreamer OMX encoder doesn't accept parameters?

I'm trying to use Gstreamer 1.0 to send a USB webcam feed over RTMP. I have the following working pipeline that uses the OMX h264 encoder on a Raspberry Pi: gst-launch-1.0 v4l2src device=/dev/video0 !...
3
votes
4answers
253 views

Raspberry Pi run commands on boot

I thought that running commands on raspberry pi on boot was the easiest thing in my project. But it seems that it is complex enough not to work. I've searched a lot on the internet on a simple ...
1
vote
1answer
29 views

Octave is not working in raspbian

I am using Raspberry Pi 4 for one month. I installed octave today by writing sudo apt install octave It installed correctly. But the gui is not working. I can only use it with terminal . But when I ...
0
votes
0answers
22 views

Mode of configuration on Zigbee

I connected one Zigbee with an overlay shield fixed on the RaspberryPi and one Zigbee attached to a vibration sensor. What mode should I configure on the Zigbee's?
-1
votes
0answers
25 views

How to change back in default raspbian desktop preference?

This is what I did, I changed something in the repository listing and my desktop suddenly changed after a reboot. It looks good now but it is using more processor and increasing the heat of my board. ...
0
votes
2answers
33 views

Setting up a shell script to run at boot with sudo permission

I had issue with BLE Connection which would drop after certain time which I solved using solution from this post: https://unix.stackexchange.com/questions/288978/how-to-configure-a-connection-...
1
vote
1answer
34 views

GSM module serial is spamming messages on the serial port

I am using the GSM/GPRS/GNSS HAT for raspberry pi zero and after running a simple script import serial import os, time # Enable Serial Communication port = serial.Serial("/dev/ttyAMA0", baudrate=...
1
vote
1answer
44 views

Why are some file move operations as slow as copy operations? [closed]

I believe I understand how file copy/move operations work (or appear to work). My general understanding being that as long as files and directories are on the same device and filesystem, moving a file ...
0
votes
1answer
48 views

Connect to Raspberry Pi using ssh through usb (ethernet)

I am using Ubuntu 16.04 and I have configured a proper static IP in /etc/network/interfaces auto lo iface lo inet loopback #set static ip auto usb0 iface usb0 inet static address 192.168.0.2 ...
0
votes
0answers
24 views

Python app scheduler issue on Raspberry pi, i got error like this “python[2132]: WARNING:apscheduler.scheduler:Execution of job”

I an using Raspberry PI zero W and connected 5 sensors to getting reading from sensors. i used services for start the sensors scripts and i installed python apscheduler for time sequence. Sometime ...
0
votes
0answers
21 views

“RTNETLINK answer: File exists” renew ip

I want to scrape website with my pi but first id like to know how to ask for a new ip in case i get ban. I tried with: $ sudo dhclient -r >>>Killed old client process $ sudo /etc/init.d/...
0
votes
0answers
32 views

Raspberry Pi4 with Planar PCT2235 touch screen monitor

I'm fairly new to the raspberry pi world and I have a Planar PCT2235 22"touch screen that I would like to use with my raspberry pi4. The display works and the touch function sees the touch of my ...
0
votes
1answer
50 views

Not allowed to use internet in France?

According to the Declaration of Conformity, only indoor use is permitted. Is this just regarding the WiFi, or the whole Pi? What's the reasoning behind this?
0
votes
1answer
80 views

Network dynamic failover with bonding - how to have ethernet interface detect that internet is down (lan is still up)?

after reading this answer from @Ingo for how to setup dynamic network failover I am having a question. First of all thanks a lot to @Ingo posting this manual how to setup bonding/dynamic network ...
0
votes
0answers
11 views

DO3THINK USB camera install into raspberrypi

Actually, I am using USB2.0 DO3THINK camera for personal purposes. I want to connect this camera to my raspberry pi. I research it but couldn't find any proper link for install this camera. The os ...
1
vote
1answer
32 views

RaspberryPi with openfortivpn

I'm using a fresh raspbian stretch SD card. Sorry if I can't get my meaning across well, I'm new to this and still learning. I'm trying to set up my Pi as a sort of VPN gateway/router. I'd love to ...
2
votes
1answer
121 views

backup raspberry Pi OS

Hello i am running ubuntu mate on raspberry pi 3 and i would like to back up the img of the OS straight to an external usb. Do you have any suggestions ? Is this going to work ? sudo dd if=/dev/...
0
votes
0answers
18 views

Raspberry Pi mysql_secure_installation ERROR 2002 (HY000):Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

As said in the title mysql_secure_installation gives this error,I've tried finding a sock file anywhere associated with mysql,no trace,my.cnf has no path written for the sock,neither mysql nor mariadb ...
1
vote
1answer
29 views

When socket programming on raspberry pi, getting ConnectionRefusedError

I am working on a simple project where I need two raspberry pi's communicating each other with an ethernet cable. I connect one end of ethernet cable to let's say first pi and the other end to second ...
0
votes
0answers
33 views

Send audio from one Pi to another Pi, and the “2nd” Pi working as bridge sending audio to next Pi

Send audio from one Pi to another Pi, and the "2nd" Pi working as bridge sending audio to next Pi and so on, each "2nd" Pi as a wifi router to the next Pi and so on also. I want to make a low cost ...
1
vote
1answer
26 views

How to force full reboot of RPI 0W

I need an option to reboot an RPI completly (simulate unplugging it from the power and re-plug via command) I've tried sudo reboot But its not going to run power 0 as I know... sudo halt seems more ...
3
votes
4answers
72 views

gpio turning on/off relay, seems backwards

I have a Raspberry Pi 3b and wired to a 4 port relay I got from Amazon: https://www.amazon.com/JBtek-Channel-Module-Arduino-Raspberry/dp/B00KTEN3TM/ Everything is working, but it seems backwards to ...
1
vote
1answer
20 views

Choosing GPIO for Chip select SPI on Rpi 3B+

I would like to ask what GPIO pins are best suited for Chip select. The Raspberry Pi 3B+ and Raspberry Pi 4 has 2 chip select GPIO 7 and GPIO 8 but i have 6 slave devices (MCP3008 A/D converter). As ...
1
vote
2answers
79 views

How to hibernate/suspend rapberry pi?

I have a RPi connected to TV via it's USB port to display statistics graphs. Every morning I have to power it up and set up the chrome tabs which consumes lots of time. I was looking for a way to ...
-1
votes
2answers
62 views

How to auto-mount usb drive on raspberry pi? [duplicate]

I'm trying to mount my usb drive on my raspberry pi automatically, so that I don't have to redo it every time the device starts. I followed the instructions here: https://www.raspberrypi-spy.co.uk/...
1
vote
0answers
31 views

Transfer of Hebrew filenames from Windows - question marks

I have set up Hebrew localization on Raspbian Buster. Hebrew works OK, and I can save files with Hebrew filenames. However, files with Hebrew filenames which I transfer from Windows appear in the file ...
0
votes
0answers
12 views

Font changes in libreoffice writer while writing! [migrated]

I installed ibus and trying ibus-avro to write bengali in libreoffice writer. I generally write with Noto Sans Bengali font. But while I ma starting writing the font is automatically changing into ...
1
vote
2answers
28 views

Callback parameters to GPIO.add_event_detect?

I have a button object that when pressed needs to perform something, and for this I'd need to get a property of the button. I'd like it to work like: ... GPIO.add_event_detect(button, GPIO.RISING, ...
1
vote
1answer
55 views

Gadgetfs - Filesystem not found

While trying the solutions suggested by a comment on my first question I tried to enable gadgetfs. I tried the following: sudo modprobe dwc2 sudo modprobe gadgetfs sudo mkdir /dev/gadget sudo mount -...
0
votes
2answers
48 views

Command for checking all devices attached to RPI

Is there any command for listing all devices attached to RPI(light bulbs, buzzers, USB-s, etc.)? If there is no that command, how can I check it?
0
votes
1answer
24 views

pi as cups server : pings between pi and win10 laptop => host unreachable

I am a newbie in the raspberry pi world, and I get a problem while trying to use it as a cups server. Raspbian is installed, and I put ssh up, I installed cups, and yesterday, I managed to print ...
1
vote
1answer
152 views

Unable to run JAVA on Raspberry PI Zero? “VM is only supported on ARMv7+ VFP”

I am using Raspberry PI Zero W. I installed java 1.8 and 1.9 jdk's. Installation is successfully done. When i run the JAVA command on the RPi. Its shows error like: "Error occurred during ...
0
votes
0answers
23 views

USB-HID API on RPi Zero? Pro-Controller-Emulation on the RPi

So currently I wanted to connect the RPi to my Nintendo Switch to have it play a specific series of inputs. After some research I found out others have already achieved that, but on Teensy & co ...
1
vote
1answer
83 views

Rpi3B+ buster USB to Serial (/dev/ttyUSB0) Communication Problem

I'm trying to establish a serial communication between my Raspberry PI 3 B+ - running on Raspbian 10 Buster - and a testing machine I have. The normal behavior of the machine is to send test related ...
-2
votes
0answers
80 views

Can't access GUI in Raspap!

Setup: Raspberry Pi Model B Rev 2 Raspbian GNU/Linux 8 Jessie TP Link usb wifi dongle I am about the set up my RP as a hotspot, just like in this link. Used this command to install Raspap: wget -...
0
votes
0answers
21 views

Raspberry PI 3B+ won't connect to smartphone Wi-Fi hotspot if it's “Shared wifi” instead of 4G+

I have a Samsung Galaxy S8 and a Raspberry PI 3B+. The PI can connect to a normal Wi-Fi without any problems. The PI can connect to my S8's hotspot if internet is from 4G(+) The PI CAN NOT CONNECT to ...
1
vote
4answers
204 views

How to remotely turn off the cooling fan of an already software shut down Rpi?

I just bought a case with fa , as pi 4 is not working great without it. Now temperature is low, but as I have it in my room, I would like to turn it off while sleeping. My fan is: https://www.amazon....
0
votes
1answer
22 views

PyQt5 - Problem with update temperature label on GUI. Raspberry Pi [closed]

Can anyone help me with this? When i run the code, the temperature(or umid) is printed on shell but the GUI don open and dont uptade label. from PyQt5 import QtCore, QtGui, QtWidgets import ...
0
votes
1answer
50 views

Run command on Pi based on ping result [closed]

I am very new to this stuff. Trying to see if anyone has accomplished what I am looking to do. I would like to have a ping to my android phone running on my Raspberry Pi. When it gets a response I ...
-2
votes
1answer
47 views

rpi-update Error

What I need to do is PXE boot: https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/net.md however I did not get 17:3020000a, If found another link : https://blockdev.io/...
1
vote
1answer
46 views

Kivy on raspberry pi touchscreen not recognizing touch input

I have kivy installed on a raspberry pi 3B with the official 7" touchscreen attached. The touchscreen its self works perfectly and touch input is working as expected in the desktop environment. I ...
-1
votes
0answers
12 views

Can 4 cameras work together when connected to raspberry pi? [duplicate]

I need working of 4 cameras simultaneously, so how can I connect 4 web cameras to single raspberry pi and can then take input simultaneously?
0
votes
1answer
51 views

Colored emojis in Chromium

This is not a Pi-specific question, but any Pi user will run into this problem eventually if they use it as a desktop computer. I tried this tutorial, but it doesn't fully work, breaks some apps, ...
1
vote
1answer
29 views

Boot time problem

i want to reduce boot time on my Raspberry Pi 3B+. I'm using this tutorial http://himeshp.blogspot.com/2018/08/fast-boot-with-raspberry-pi.html and i done 1,2 and 3 step. After this i reboot Pi and ...

15 30 50 per page