Go to advanced search

by trejan
Fri Jun 26, 2020 9:11 pm
Forum: Troubleshooting
Topic: 4,7 Volt or 5,8 Volt for Raspberry supply
Replies: 9
Views: 469

Re: 4,7 Volt or 5,8 Volt for Raspberry supply

Your car charger is very badly made if it is outputting 5.8V. Send it back for a refund and buy a better quality one that actually outputs 5V or 5.1V. I wouldn't trust or rely on that car charger at all. Don't work around it with a DC to DC converter.
by trejan
Fri Jun 26, 2020 5:54 pm
Forum: Troubleshooting
Topic: ValueError: No I2C device at address: 67
Replies: 6
Views: 216

Re: ValueError: No I2C device at address: 67

It has already been connected to 3.3V There is something wrong with your module if so. It uses 0x60 if the ADDR pin is connected to ground. Either work out why the ADDR pin isn't working or change your code to use 0x60. The documentation says the second argument to the adafruit_mcp9600.MCP9600 cons...
by trejan
Fri Jun 26, 2020 4:40 pm
Forum: Troubleshooting
Topic: ValueError: No I2C device at address: 67
Replies: 6
Views: 216

Re: ValueError: No I2C device at address: 67

Connect the ADDR pin to 3.3V if you want 0x67.
by trejan
Fri Jun 26, 2020 1:57 pm
Forum: General discussion
Topic: Pi 4B BOOT_ORDER
Replies: 2
Views: 245

Re: Pi 4B BOOT_ORDER

The bootloader recovery process with a SD card would be able to reset it. The boot ROM inside the SoC always checks for recovery.bin before reading bootcode from EEPROM.
by trejan
Fri Jun 26, 2020 1:27 pm
Forum: Beginners
Topic: Locate command in Bash
Replies: 8
Views: 421

Re: Locate command in Bash

bjtheone wrote:
Fri Jun 26, 2020 1:25 pm
The advantage of "which" is that it uses your defined path. If "which" cannot find the command any shell script you run will not find it unless you use appropriately qualified paths.
which isn't equivalent to locate. locate will find any file. It isn't only for commands.
by trejan
Thu Jun 25, 2020 11:31 pm
Forum: Troubleshooting
Topic: Raspberry Repo http://raspbian.raspberrypi.org invalid
Replies: 8
Views: 417

Re: Raspberry Repo http://raspbian.raspberrypi.org invalid

what? you can see the other repository just working fine. actually i added another repository and its working fine as well: fruitoftheloom is correct. Your clock is wrong. It is complaining that InRelease has an invalid timestamp that isn't valid for another 4 days. Go look at http://raspbian.raspb...
by trejan
Thu Jun 25, 2020 10:43 pm
Forum: Raspberry Pi OS
Topic: No Raspberry Pi imager for Raspberry Pi
Replies: 8
Views: 692

Re: No Raspberry Pi imager for Raspberry Pi

saxonpaul92 wrote:
Thu Jun 25, 2020 10:40 pm
I was wondering why there is a Raspberry Pi Imager for Windows, MAC, and Ubuntu but not for Raspberry Pi.
It already exists. "sudo apt install rpi-imager"
by trejan
Thu Jun 25, 2020 10:39 pm
Forum: General discussion
Topic: I2C-SENSOR dtoverlay on i2c bus other than 1
Replies: 7
Views: 223

Re: I2C-SENSOR dtoverlay on i2c bus other than 1

Your modified dtb looks okay to me. You checked /boot/config.txt?
jgarvey955 wrote:
Thu Jun 25, 2020 6:45 pm
This did not work. it does not see the sensor. i see the 1-0068 for the RTC but there is no 9-0076 for the bme280.
What are you doing to determine if it works?
by trejan
Thu Jun 25, 2020 10:36 pm
Forum: General discussion
Topic: Raspberry pi b ci u16 gets very hot [obsolete thread]
Replies: 6
Views: 554

Re: Raspberry pi b ci u16 gets very hot

Thread necro by adduser self Noobs. OP was last active in 2016.
by trejan
Thu Jun 25, 2020 6:49 pm
Forum: General discussion
Topic: I2C-SENSOR dtoverlay on i2c bus other than 1
Replies: 7
Views: 223

Re: I2C-SENSOR dtoverlay on i2c bus other than 1

Show your edited i2c-sensor-i2c9-overlay.dts
by trejan
Thu Jun 25, 2020 6:10 pm
Forum: General discussion
Topic: I2C-SENSOR dtoverlay on i2c bus other than 1
Replies: 7
Views: 223

Re: I2C-SENSOR dtoverlay on i2c bus other than 1

You need to make your own custom copy of the i2c-server overlay. Download https://github.com/raspberrypi/linux/blob/rpi-4.19.y/arch/arm/boot/dts/overlays/i2c-sensor-overlay.dts and save it as i2c-sensor-i2c9-overlay.dts. Edit it and change all the target lines from i2c_arm to i2c9. Compile it and in...
by trejan
Thu Jun 25, 2020 2:00 pm
Forum: General discussion
Topic: google coral camera with Raspberry Pi 4
Replies: 14
Views: 959

Re: google coral camera with Raspberry Pi 4

Thanks for the detailed explanation Trejan. Been looking for this solution for weeks. Actually, I've been confused on the voltage part and passing the lower volt to it. Anyways, thanks again. P.S. Sorry for my bad English. Sorry. I'm wrong about the voltages. The documentation I looked at wasn't ve...
by trejan
Wed Jun 24, 2020 10:38 pm
Forum: General discussion
Topic: DPI display colors are incorrect
Replies: 6
Views: 284

Re: DPI display colors are incorrect

How did you rewire the GPIO connection? You sure it is correct for your new 565 mode?
by trejan
Wed Jun 24, 2020 8:44 pm
Forum: Networking and servers
Topic: Pi hole ads
Replies: 7
Views: 467

Re: Pi hole ads

Pi-hole can't block every type of advert. It depends on how it is hosted on the servers. You should ask on https://discourse.pi-hole.net/ as they'll know more and may be able to give you workarounds for the specific sites you're trying to use.
by trejan
Wed Jun 24, 2020 7:10 pm
Forum: Beginners
Topic: Locate command in Bash
Replies: 8
Views: 421

Re: Locate command in Bash

What RonR said but I'd suggest using mlocate instead of locate. Several implementations of locate exist: the original implementation from GNU's findutils, slocate, and mlocate. The advantages of mlocate are: . * it indexes all the filesystem, but results of a search will only include files that the ...
by trejan
Wed Jun 24, 2020 6:49 pm
Forum: Graphics programming
Topic: Enable or read HDCP Settings
Replies: 6
Views: 520

Re: Enable or read HDCP Settings

The SoC can do HDCP but it isn't available for the Raspberry Pi. It needs to be enabled in the firmware and keys programmed into OTP memory. Neither of which is supported on a Raspberry Pi. If you pay £lots for the customisation service then they might be willing to talk. If HDCP is vital for your p...
by trejan
Wed Jun 24, 2020 11:05 am
Forum: Troubleshooting
Topic: Has anyone got a laptop eGPU to work using a Mini PCI-E Hat?
Replies: 2
Views: 146

Re: Has anyone got a laptop eGPU to work using a Mini PCI-E Hat?

Looking at the sixfab PCI-E hat and after all the research I had done on eGPU's for the past couple weeks it looks like a feasible way to drastically upgrade a RPi's gaming capability. Making a custom enclosure for the power source, the GPU and a way to mount the Pi to it It might be possible to ma...
by trejan
Wed Jun 24, 2020 1:55 am
Forum: Troubleshooting
Topic: Fixing incorrect undervoltage warnings
Replies: 33
Views: 1293

Re: Fixing incorrect undervoltage warnings

Avamander wrote:
Wed Jun 24, 2020 1:51 am
It is really fair to assume that it's the Pi.
What does "vcgencmd get_throttled", "vcgencmd measure_temp pmic" and "vcgencmd pmicrd 1a" say?
by trejan
Tue Jun 23, 2020 7:02 pm
Forum: Troubleshooting
Topic: Why this tool does not run?
Replies: 9
Views: 415

Re: Why this tool does not run?

Yes, my reply came before the update. The only binaries I see on the linked site are for Windows. OP, did you build from source? They used Add/Remove Software as Actiona is in the regular apt repo. The website gives Windows binaries but also tells you to install from the repo if you're using Ubuntu...
by trejan
Tue Jun 23, 2020 5:29 pm
Forum: Troubleshooting
Topic: Fixing incorrect undervoltage warnings
Replies: 33
Views: 1293

Re: Fixing incorrect undervoltage warnings

The undervoltage detection is handled by a dedicated circuit inside the PMIC. It has a fixed 4.63V threshold so can't be adjusted. The firmware polls it over I2C and adjusts the clocks + displays the lightning bolt. A Linux kernel module polls the firmware throttle status via a VC mailbox and prints...
by trejan
Tue Jun 23, 2020 12:33 pm
Forum: Troubleshooting
Topic: Fixing incorrect undervoltage warnings
Replies: 33
Views: 1293

Re: Fixing incorrect undervoltage warnings

i only started getting that after i went wireless. a trick i'm currently using is to flip the cord around, i know it's a usb c & it's not suppose to matter but it works, just shutdown, pull the power cord out a little & give it a twist & back in. That sounds like a bad contact in the socket or plug...
by trejan
Tue Jun 23, 2020 1:17 am
Forum: Beginners
Topic: vcgencmd otp_dump | grep 66 not showing results
Replies: 10
Views: 452

Re: vcgencmd otp_dump | grep 66 not showing results

When I type vcgencmd otp_dump I get a list that start with 08:00000000 and ends with 65:01009daa Eh? That doesn't make any sense. It should be 8 to 66 and OTP register 65 being set on a 3B is weird. 01009daa is a valid value for 66 and has the bit set for the longer USB timeout. Have you set any ot...
by trejan
Mon Jun 22, 2020 5:52 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: thunderbolt adapter
Replies: 8
Views: 346

Re: thunderbolt adapter

Nephe wrote:
Mon Jun 22, 2020 5:43 pm
Just as a reference though, you say the pi can be used as a usb 3 peripheral?
No. I said that even if it was a peripheral, it wouldn't support Thunderbolt.

There is the old USB 2.0 controller connected to the USB-C socket on the Pi 4 which is capable of acting as a peripheral.
by trejan
Mon Jun 22, 2020 5:35 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: thunderbolt adapter
Replies: 8
Views: 346

Re: thunderbolt adapter

The usb 3 controller on the pi is working as a host though, not as a peripheral? or is it possible to make it work as a peripheral only? It is host only. Even if it was capable of operating as a peripheral, it doesn't support Thunderbolt. The pi would be taking several adat (8 if possible, each ada...

Go to advanced search