Go to advanced search

by trejan
Sun Feb 09, 2020 8:49 pm
Forum: General programming discussion
Topic: Is it possible to detect if we run X11 legacy or opengl / kms driver ?
Replies: 2
Views: 171

Re: Is it possible to detect if we run X11 legacy or opengl / kms driver ?

The Minecraft Pi startup script does this: if grep -q okay /proc/device-tree/soc/v3d@7ec00000/status \ /proc/device-tree/soc/firmwarekms@7e600000/status 2> /dev/null; then export LD_PRELOAD=libbcm_host.so.1.0 export LD_LIBRARY_PATH=lib/mesa else export LD_LIBRARY_PATH=lib/brcm fi
by trejan
Sat Feb 08, 2020 3:45 pm
Forum: General discussion
Topic: I think my Pi Zero W v1.1 melted its case
Replies: 26
Views: 858

Re: I think my Pi Zero W v1.1 melted its case

I would suggest drilling some unofficial holes to provide more ventilation. You shouldn't need to do this for a Pi Zero as it shouldn't get this hot normally. The case looks like ABS which has a melting point of 105C which is far over the thermal throttle threshold. This is a faulty Pi Zero SoC tha...
by trejan
Sat Feb 08, 2020 3:19 pm
Forum: General discussion
Topic: I think my Pi Zero W v1.1 melted its case
Replies: 26
Views: 858

Re: I think my Pi Zero W v1.1 melted its case

ejolson wrote:
Sat Feb 08, 2020 3:07 pm
I think you are right that it melted the case. Note that 3D-printed cases almost always melt. Is that such a case?
This is the official Pi Zero case.
by trejan
Sat Feb 08, 2020 3:05 pm
Forum: General discussion
Topic: Slow mirrors an epidemic?
Replies: 4
Views: 213

Re: Slow mirrors an epidemic?

You need to say what region/country you're in and the specific mirror URLs being used. If they really are slow then they need to be removed from the mirror director configuration. That can't be done without more information though.
by trejan
Tue Feb 04, 2020 3:12 am
Forum: Troubleshooting
Topic: rpi4 3.3v pin reads 2.1 volts
Replies: 5
Views: 169

Re: rpi4 3.3v pin reads 2.1 volts

Sounds like it is dead. The 3.3V rail getting dragged down to 2.1V and the SoC getting hot without a card inserted means there is an internal short. Most likely cause is something has fried one or more of the GPIO pin drivers. Not much you can do about this except get a new Pi.
by trejan
Mon Feb 03, 2020 2:33 pm
Forum: Troubleshooting
Topic: GSM Module after ATD command Speakers not working
Replies: 1
Views: 74

Re: GSM Module after ATD command Speakers not working

You need to talk to whoever makes the GSM module you're using.
by trejan
Thu Jan 23, 2020 10:03 pm
Forum: Compute Module
Topic: PI 4 Compute module with pci-e?
Replies: 73
Views: 32530

Re: PI 4 Compute module with pci-e?

MysticWhiteDragon wrote:
Thu Jan 23, 2020 7:13 pm
Not enough pins for connections? How about 5093? Use this socket form for a CM. :D
https://www.anandtech.com/show/14182/ha ... ckage-ever
FCBGA5903 isn't a socket...
by trejan
Thu Jan 23, 2020 5:22 pm
Forum: Raspbian
Topic: New user cannot execute vcgencmd
Replies: 2
Views: 122

Re: New user cannot execute vcgencmd

vcgencmd uses the /dev/vchiq interface to talk to the firmware. You need to add bob to the video group if you need them to be able to run vcgencmd without needing sudo. $ ls -al /dev/vchiq crw-rw---- 1 root video 243, 0 Jan 23 13:34 /dev/vchiq Giving bob the video group will also mean they have acce...
by trejan
Thu Jan 23, 2020 4:42 pm
Forum: Troubleshooting
Topic: Unable to decrypt user after firmware update Pi v4
Replies: 8
Views: 347

Re: Unable to decrypt user after firmware update Pi v4

We've had a ponder, and not sure what might have happened. We haven't disabled any encryption etc. How did you set this encrypted account up in the first place? Is this replicable on a new SD card with the latest Raspbian? The encryption is a red herring I think. There is an "mount: No such device"...
by trejan
Wed Jan 22, 2020 6:02 pm
Forum: General discussion
Topic: Gpi Case Raspberry pi 3b wiring issues
Replies: 2
Views: 158

Re: Gpi Case Raspberry pi 3b wiring issues

You'll have to work out the pinout yourself. The cartridge PCB is completely passive so it should be simple. Somebody has already made a replacement cartridge that fits a CM3L+ at http://www.retrogamerestore.com/gpimate/
by trejan
Wed Jan 22, 2020 5:58 pm
Forum: General discussion
Topic: Raspberry Pi Schematics
Replies: 2
Views: 181

Re: Raspberry Pi Schematics

All you get is https://www.raspberrypi.org/documentation/hardware/raspberrypi/schematics/README.md and https://www.raspberrypi.org/documentation/hardware/computemodule/schematics.md There used to be schematics for the original Pi 1B but they seem to have disappeared. The full schematics for the othe...
by trejan
Wed Jan 22, 2020 2:44 pm
Forum: General discussion
Topic: Intercept Ring Doorbell images ?
Replies: 9
Views: 519

Re: Intercept Ring Doorbell images ?

Not possible. The Ring doorbell makes an encrypted connection to the Ring servers and will verify the server certificate so you can't intercept it. You'll need to replace it with something else if you want to do local processing of the video stream.
by trejan
Wed Jan 22, 2020 1:24 am
Forum: Troubleshooting
Topic: SSH Server will not auto-start on boot when not using 0.0.0.0 in sushi_config address
Replies: 5
Views: 398

Re: SSH Server will not auto-start on boot when not using 0.0.0.0 in sushi_config address

Can someone please clue me into why this is happening and what I need to do to fix it, so the ssh server runs on boot even when the ListenAddress is something other than 0.0.0.0 in the sshd_config file? Why do you want to change this anyway? 0.0.0.0 means listen for a SSH connection on all interfac...
by trejan
Tue Jan 21, 2020 6:08 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Use GPIO as USB?
Replies: 9
Views: 437

Re: Use GPIO as USB?

are there other, faster channels to utilize the USB 3.1r2 upstream signal from the host controller chip to the pi? No. The fastest interface on every Pi except the Pi 4 is the built-in USB 2.0 interface. The Pi 4 added a PCIe 2.0 x1 interface but it is used for the onboard VLI USB 3.0 controller. R...
by trejan
Tue Jan 21, 2020 5:27 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Use GPIO as USB?
Replies: 9
Views: 437

Re: Use GPIO as USB?

I don't necessarily need it over SPI, it's more about the concept of adding the host to an IC or SoC so have a similar custom PCB similar to a Raspberry Pi. The Pi has everything embedded and hard-routed to the CPU, so I wanted to do my own version for a pretty specific use case (small screen, weat...
by trejan
Tue Jan 21, 2020 5:05 pm
Forum: Advanced users
Topic: Kernel downgrading with apt-get? (Raspbian)
Replies: 4
Views: 350

Re: Kernel downgrading with apt-get? (Raspbian)

What version is in the book? It is likely that the interfaces haven't changed significantly so your current kernel is fine. If it has changed then you should learn the new method anyway.
by trejan
Tue Jan 21, 2020 4:57 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Use GPIO as USB?
Replies: 9
Views: 437

Re: Use GPIO as USB?

You can use a MAX3421E which is a SPI attached USB host controller if you really need to have USB over the GPIOs. It will appear as a USB controller in Linux but performance will be awful. Why do you want to do this anyway? Whether all chips are pre-programmed or if you'd need to write and flash the...
by trejan
Tue Jan 21, 2020 3:41 pm
Forum: Advanced users
Topic: pi-gen : no space left on device
Replies: 17
Views: 720

Re: pi-gen : no space left on device

Ran out of inodes? Run "df -i"
by trejan
Sat Jan 18, 2020 3:49 pm
Forum: Troubleshooting
Topic: Periodic load average peak but no activity visible on CPU/mem/network
Replies: 2
Views: 104

Re: Periodic load average peak but no activity visible on CPU/mem/network

The load average shows the average number of runnable processes. It doesn't indicate CPU load directly. Anything blocking for I/O will drive up the load average as well. In your case, it doesn't appear to be swapping so it is most likely a process doing something I/O intensive with storage.
by trejan
Sat Jan 18, 2020 3:48 am
Forum: Other
Topic: ESXi on ARM
Replies: 2
Views: 324

Re: ESXi on ARM

No. The version they demonstrated running on a Pi isn't a public release. They've not announced any plans for it either so it may purely be a technical demo for exhibitions.
by trejan
Fri Jan 17, 2020 8:46 pm
Forum: General discussion
Topic: Raspberry Pi 4 GPIO readall broken
Replies: 5
Views: 313

Re: Raspberry Pi 4 GPIO readall broken

Oops. Wrong link. It should be http://wiringpi.com/wiringpi-updated-to ... rry-pi-4b/

He shutdown his Git server.
by trejan
Fri Jan 17, 2020 8:37 pm
Forum: General discussion
Topic: Raspberry Pi 4 GPIO readall broken
Replies: 5
Views: 313

Re: Raspberry Pi 4 GPIO readall broken

Is WiringPi obsolete on the Pi4 You need to manually install 2.52. That was the last release by Gordon. The Raspbian repo was never updated to 2.52. https://github.com/WiringPi/WiringPi is an unofficial fork of WiringPi that people are maintaining but they've not made any releases yet. You'll have ...
by trejan
Fri Jan 17, 2020 6:09 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: External Graphics Card for Raspberry Pi 4?
Replies: 2
Views: 233

Re: External Graphics Card for Raspberry Pi 4?

No. People have added a PCIe slot but it involves some tricky soldering but there are some technical limitations that stop a GPU from working.

Buy a Lattepanda board with PCIe interface if you need to use a desktop GPU.
by trejan
Fri Jan 17, 2020 4:42 pm
Forum: HATs and other add-ons
Topic: HAT for storage (e.MMC?)
Replies: 4
Views: 301

Re: HAT for storage (e.MMC?)

If I were to make a custom HAT and put an e.MMC on it, would there be a way for the Raspberry Pi to access it, while keeping the OS on the microSD? I believe the RPI3 has a single SD/eMMC interface and it's currently used for the microSD slot. Pi 0-3 has two SD controllers. One is SD only and is fo...
by trejan
Thu Jan 16, 2020 11:21 pm
Forum: General discussion
Topic: Future of raspberry pi - software related
Replies: 382
Views: 21632

Re: Future of raspberry pi - software related

an option in raspi-config to make the filesystem read-only (or writeable again) after the next reboot. Not sure this is a good idea. You need to make significant changes to the system to make it work readonly and you end up with a non-standard install so future upgrades may cause problems. The rw/r...

Go to advanced search