New answers tagged

0

We used the following method to search for the problem. Step 1: verify, that the back-end is installed and enabled. In this case, the scanner was found by sudo sane-find-scanner. The venor an product ID were present in /etc/sane.d/fujitsu.conf, which is the config file for the applicable backend. Step 2: The correct backend is tested during start-up. We ...


0

In order to achieve constant frequency, this is what I tried: Install linux-cpupower: sudo apt install linux-cpupower Check the info: cpupower frequency-info Set the governor to userspace so that we can set the frequency: sudo cpupower frequency-set --governor userspace Set the maximum frequency: sudo cpupower frequency-set --max 600MHz Check the info: ...


1

Your question is confusing to me. You do not explain what you mean by the CAN link - is this a Controller Area Network? If so, why are you provisioning an IP address for it? Did you get the "script" in your question from a tutorial or manufacturer's instructions? If so, you should supply a link (edit your question). Assuming you're following ...


1

You named root as the user for sudo - it should have been pi.


0

As goldilocks said you can enable ssh by adding a file to the boot partition of the SD Card. You can then ssh from most systems using an Ethernet cable with ssh pi@raspberrpypi.local You can then configure the Pi, although it is much easier with a screen and keyboard.


3

You have two options: Try using an ethernet cable; you will probably have to do some configuration on the laptop. Configuring networking on your laptop is off-topic here, but you should be able to enable a DHCP server which is the best option. The Pi should then connect automatically. Unfortunately, actually logging in still requires SSH (and there isn't ...


1

Update: a better solution: uninstall connman Based on the Q&A and comments in connman unable to connect to wifi: No carrier it looks like the installation of connman was an unintended consequence of upgrading the Pi OS from Buster to Bullseye. Thus, uninstalling connman seem to be the best solution. Note: Uninstalling connman will result in the immediate ...


1

I upgraded a Buster install to Bullseye (for pre-release testing of my software) and noted something similar. There appear to be differences in the dpkg rules, but as it wasn't important to my testing I just installed a workaround. No problems with a fresh installation of Bullseye. NOTE using static addresses on a network with a DHCP server is a poor ...


0

If you are planning to run python3 use:- #!/usr/bin/env python3 #!/usr/bin/env python is python2 in most OS. It may not make any difference in Bullseye, but it still doesn't hurt to do it properly. Why are you using sudo. If the code runs it is almost certainly unnecessary.


0

It turns out that I was using the "Legacy" driver ("Original non-GL desktop driver"), which is the default in my Raspberry Pi OS install. To solve the low frame rate problem, run raspi-config in the terminal. In raspi-config's menu, select "Advanced Options", followed by "GL Driver", then select "GL (Fake KMS) ...


1

They do not have to be specifically for a raspi. Also, an rpi4 will work, but it is waaay overkill. The same project an be done with a pi zero. With sensors, if they are 5v you need a level shifter. I recommend a 3.3 volt sensor as level shifters are not requierd for 3.3v components. The 74LVC245 level shifter will work for the sensor (If you choose for a ...


0

You can also add this to config.txt to turn off both Ethernet LEDs, on a Pi 3 and later: # Disable the Ethernet LEDs. dtparam=eth_led0=14 dtparam=eth_led1=14 Note that if you're using the config.txt method to turn off the power and activity LEDs, you should not use the /sys/class/leds/ method as well. This is because the config.txt method inverts the LED ...


0

This message /bin/sh 0 can't access tty itself isn't a problem. Just try another USB keyboard. Not all keyboards work with rpi. The Apple keyboard, USB id 1c4f:0002, doesn't. With the lucky keyboard, just press enter and see the prompt.


2

Now that a few years have past, there are some! Most Notable: -Most Pis used in parallel -Fastest Raspberry Pi -Sending a teddy bear to space using a microcontroller (Highest Altitude) Check out the live update here: https://www.guinnessworldrecords.com/search?term=raspberry%20pi&page=1&type=record&max=20&partial=_Results&


0

None of this works if you have a VNC connection to the raspi, no taskbar and no way to even get a terminal. so the real question would be: how do you get a terminal started while VNC into the raspberry when there is no taskbar. VNC only seems to let you send ctrl-alt-del but you need ctrl-alt-T. Mine broke up after updating to the latest raspian..


1

Ten of these dual-UART add-ons would solve this: CJMCU-752 They're I2C or SPI (selected via a jumper) with selectable I2C address as well. Here's what to put in /boot/config.txt to get one I2C version working (with the i2c/spi pin wired to vcc) using address 0x4d which has the IRQ connected to the RPI GPIO pin 24:- # Set the dual-UART I2C WCMCU-752 IRQ pin ...


0

It turned out that in that remote location the electricity is rather unstable and it would go down, but not completely (sometimes it would be around 50V on the wire), hence creating weird behaviors on these digital devices. Adding a UPS, like I detailed here solved the problem: https://raspberrypi.stackexchange.com/a/133140/33613


Top 50 recent answers are included