Raspberry Pi 4 Model B Rev 1.4 as TV-PC

Post Reply
admin
Site Admin
Posts: 473
Joined: 06 Feb 2007, 13:36

Raspberry Pi 4 Model B Rev 1.4 as TV-PC

Post by admin »

My Rpi3B+ does now LinuxCNC tasks, with burning laser. More on that later in this forum.

Want my new Rpi4B as TV-Browser with proxy, as 'Smart-TV's still have annoying commercials.
Image
1st Thing to do, make a switched fan for it. I've done all my Pi's with active cooling.

Set the GPIO to 14 in the Rpi-setup and temp on 60.

I was very wondered when I tried:

Code: Select all

pi@DGpi4:~ $ gpio readall
Oops - unable to determine board type... model: 17
???
But searches delivered fast: https://raspberrypi.stackexchange.com/q ... with-rpi-4

Code: Select all

pi@DGpi4:~ $ gpio -v
gpio version: 2.50
Copyright (c) 2012-2018 Gordon Henderson
This is free software with ABSOLUTELY NO WARRANTY.
For details type: gpio -warranty

Raspberry Pi Details:
  Type: Unknown17, Revision: 04, Memory: 0MB, Maker: Sony
  * Device tree is enabled.
  *--> Raspberry Pi 4 Model B Rev 1.4
  * This Raspberry Pi supports user-level GPIO access.
Weird that there's not 1 result from rapsberry itself within those searches ....
But it gave it a try:

Code: Select all

pi@DGpi4:~ $ cd /tmp
pi@DGpi4:/tmp $ wget https://project-downloads.drogon.net/wiringpi-latest.deb
--2021-12-18 19:02:05--  https://project-downloads.drogon.net/wiringpi-latest.deb
Resolving project-downloads.drogon.net (project-downloads.drogon.net)... 188.246.205.22, 2a03:9800:10:7b::2
Connecting to project-downloads.drogon.net (project-downloads.drogon.net)|188.246.205.22|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 52260 (51K) [application/x-debian-package]
Saving to: ‘wiringpi-latest.deb’

wiringpi-latest.deb              100%[==========================================================>]  51.04K  --.-KB/s    in 0.08s

2021-12-18 19:02:06 (606 KB/s) - ‘wiringpi-latest.deb’ saved [52260/52260]

pi@DGpi4:/tmp $ sudo dpkg -i wiringpi-latest.deb
(Reading database ... 170912 files and directories currently installed.)
Preparing to unpack wiringpi-latest.deb ...
Unpacking wiringpi (2.52) over (2.50) ...
Setting up wiringpi (2.52) ...
Processing triggers for man-db (2.8.5-2) ...
pi@DGpi4:/tmp $ gpio -v
gpio version: 2.52
Copyright (c) 2012-2018 Gordon Henderson
This is free software with ABSOLUTELY NO WARRANTY.
For details type: gpio -warranty

Raspberry Pi Details:
  Type: Pi 4B, Revision: 04, Memory: 8192MB, Maker: Sony
  * Device tree is enabled.
  *--> Raspberry Pi 4 Model B Rev 1.4
  * This Raspberry Pi supports user-level GPIO access.
Looks better.
And the readall option does work fine:

Code: Select all

pi@DGpi4:/tmp $ gpio readall
 +-----+-----+---------+------+---+---Pi 4B--+---+------+---------+-----+-----+
 | BCM | wPi |   Name  | Mode | V | Physical | V | Mode | Name    | wPi | BCM |
 +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+
 |     |     |    3.3v |      |   |  1 || 2  |   |      | 5v      |     |     |
 |   2 |   8 |   SDA.1 |   IN | 1 |  3 || 4  |   |      | 5v      |     |     |
 |   3 |   9 |   SCL.1 |   IN | 1 |  5 || 6  |   |      | 0v      |     |     |
 |   4 |   7 | GPIO. 7 |   IN | 0 |  7 || 8  | 0 | OUT  | TxD     | 15  | 14  |
 |     |     |      0v |      |   |  9 || 10 | 1 | IN   | RxD     | 16  | 15  |
 |  17 |   0 | GPIO. 0 |  OUT | 0 | 11 || 12 | 0 | IN   | GPIO. 1 | 1   | 18  |
 |  27 |   2 | GPIO. 2 |   IN | 0 | 13 || 14 |   |      | 0v      |     |     |
 |  22 |   3 | GPIO. 3 |   IN | 0 | 15 || 16 | 0 | IN   | GPIO. 4 | 4   | 23  |
 |     |     |    3.3v |      |   | 17 || 18 | 0 | IN   | GPIO. 5 | 5   | 24  |
 |  10 |  12 |    MOSI |   IN | 0 | 19 || 20 |   |      | 0v      |     |     |
 |   9 |  13 |    MISO |   IN | 0 | 21 || 22 | 0 | IN   | GPIO. 6 | 6   | 25  |
 |  11 |  14 |    SCLK |   IN | 0 | 23 || 24 | 1 | IN   | CE0     | 10  | 8   |
 |     |     |      0v |      |   | 25 || 26 | 1 | IN   | CE1     | 11  | 7   |
 |   0 |  30 |   SDA.0 |   IN | 1 | 27 || 28 | 1 | IN   | SCL.0   | 31  | 1   |
 |   5 |  21 | GPIO.21 |   IN | 1 | 29 || 30 |   |      | 0v      |     |     |
 |   6 |  22 | GPIO.22 |   IN | 1 | 31 || 32 | 0 | IN   | GPIO.26 | 26  | 12  |
 |  13 |  23 | GPIO.23 |   IN | 0 | 33 || 34 |   |      | 0v      |     |     |
 |  19 |  24 | GPIO.24 |   IN | 0 | 35 || 36 | 0 | IN   | GPIO.27 | 27  | 16  |
 |  26 |  25 | GPIO.25 |   IN | 0 | 37 || 38 | 0 | IN   | GPIO.28 | 28  | 20  |
 |     |     |      0v |      |   | 39 || 40 | 0 | IN   | GPIO.29 | 29  | 21  |
 +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+
 | BCM | wPi |   Name  | Mode | V | Physical | V | Mode | Name    | wPi | BCM |
 +-----+-----+---------+------+---+---Pi 4B--+---+------+---------+-----+-----+
DG.
admin
Site Admin
Posts: 473
Joined: 06 Feb 2007, 13:36

Re: Raspberry Pi 4 Model B Rev 1.4

Post by admin »

My Rpi 4 pictures can be found here.

XRDP does not work on Rpi4
Next would be Xrdp, but also weird is that all my Rpi's (2's and 3's) do work with it, only not the Pi4 ??
I do get a session and looks all ok, even the mouse pointer moves, but any other input, like a mouse-click / roll or keystroke: nothing happens.
It's exactly like: https://raspberrypi.stackexchange.com/q ... ot-working
But there's no solution? Weird.
Have to check: Although : https://forums.raspberrypi.com/viewtopi ... p#p1941848

Rpi & Proxy
First to setup a proxy for the Rpi: https://www.instructables.com/Adding-lo ... aspberry-/
Testing & looks working, although it must also be set within Firefox-ESR.
And still we have commercials on Rpi yt (not on my PC...again Idk why).

Youtube on Chromium does NOT work!
Tested youtube on Chromium but it just quits Chromium?!? Wtf is going on?
Just removed Chromium from Rpi4 (sudo apt-get remove chromium-browser) and we have Firefox-ESR, better as it shows youtube.
Why (t.f.) is Chromium just quits when trying to goto youtube? Idk.

DG.
admin
Site Admin
Posts: 473
Joined: 06 Feb 2007, 13:36

Re: Raspberry Pi 4 Model B Rev 1.4 as TV-PC

Post by admin »

I think after updates it is already 1 year working as TV-PC.
Although with Chromium it gets 'hotter' running yt video's , it is working fine
Linux DGrpi4 5.15.76-v8+ #1597 SMP PREEMPT Fri Nov 4 12:16:41 GMT 2022 aarch64 GNU/Linux

Code: Select all

,--------------------------------.
| oooooooooooooooooooo J8   +======
| 1ooooooooooooooooooo  PoE |   Net
|  Wi                    1o +======
|  Fi  Pi Model 4B  V1.4 oo      |
|        ,----. +---+         +====
| |D|    |SoC | |RAM|         |USB3
| |S|    |    | |   |         +====
| |I|    `----' +---+            |
|                   |C|       +====
|                   |S|       |USB2
| pwr   |hd|   |hd| |I||A|    +====
`-| |---|m0|---|m1|----|V|-------'

Revision           : d03114
SoC                : BCM2711
RAM                : 8GB
Storage            : MicroSD
USB ports          : 4 (of which 2 USB3)
Ethernet ports     : 1 (1000Mbps max. speed)
Wi-fi              : True
Bluetooth          : True
Camera ports (CSI) : 1
Display ports (DSI): 1

J8:
   3V3  (1) (2)  5V
 GPIO2  (3) (4)  5V
 GPIO3  (5) (6)  GND
 GPIO4  (7) (8)  GPIO14
   GND  (9) (10) GPIO15
GPIO17 (11) (12) GPIO18
GPIO27 (13) (14) GND
GPIO22 (15) (16) GPIO23
   3V3 (17) (18) GPIO24
GPIO10 (19) (20) GND
 GPIO9 (21) (22) GPIO25
GPIO11 (23) (24) GPIO8
   GND (25) (26) GPIO7
 GPIO0 (27) (28) GPIO1
 GPIO5 (29) (30) GND
 GPIO6 (31) (32) GPIO12
GPIO13 (33) (34) GND
GPIO19 (35) (36) GPIO16
GPIO26 (37) (38) GPIO20
   GND (39) (40) GPIO21

POE:
TR01 (1) (2) TR00
TR03 (3) (4) TR02

For further information, please refer to https://pinout.xyz/
DG.
admin
Site Admin
Posts: 473
Joined: 06 Feb 2007, 13:36

Re: Raspberry Pi 4 Model B Rev 1.4 as TV-PC

Post by admin »

Installed Brave Browser on RPI4, works better :)
No commercials anymore.

As the M625q won't get audio over HDMI working and not 1 OS install even detects Sony Bravia TV as monitor, I keep the RPI4 as TVPC.

DG.
admin
Site Admin
Posts: 473
Joined: 06 Feb 2007, 13:36

Re: Raspberry Pi 4 Model B Rev 1.4 as TV-PC

Post by admin »

Had some issues after updating Brave to 1.60.110
https://github.com/brave/brave-browser/issues/33596
Solved this issue (118 version).

DG.
admin
Site Admin
Posts: 473
Joined: 06 Feb 2007, 13:36

Raspberry Pi 4 Model B Rev 1.4 Upgrade FAILED to bookworm, Debian 12

Post by admin »

Upgrade to bookworm, Debian 12...
And it failed during update process, lost WiFi as I was doing the upgrade from a remote ssh-session.

Killed the process on GUI terminal, tried to re-run: had to do: dpkg --reconfigure -a , then the update process continues.
Afterwards did a sudo reboot and now only the colored screen and very short the Raspbian logo is seen, then nothing.
Red LED stays on, green LED keeps flashing intermitted, but nothing on screen and no WiFi.

SD card is -kinda- readable on other Linux PC, but most logs even unreadable due to permission settings?

So I have to make a complete new setup? And afterwards install my DG-Light system, restore files etc?
What a bummer for Raspberry.

Links so far:
https://forums.raspberrypi.com/viewtopi ... ef7f516307
https://github.com/raspberrypi/rpi-eeprom/issues/260
https://github.com/raspberrypi/Raspberr ... issues/217
https://raspberrypi.stackexchange.com/q ... te-upgrade
https://github.com/raspberrypi/firmware/issues/1393
https://superuser.com/questions/1009173 ... tion-reset

Changed config.txt to display hdmi, but still after the pi logo nothing on screen, green LED keeps flashing.

Meanwhile I make a new (bookworm) Raspbian SD card.
Also found that disabling the screensaver is not that easy.
Old gpio command no longer available: http://wiringpi.com/
Proxy needs to be set on new OS, remuser and all code/programs for 433MHz RF system.

Really a bummer to Raspberypi.org that a normal upgrade destroys the complete OS.
Cost me over 1 full (sun)day to fix this.

DG.
admin
Site Admin
Posts: 473
Joined: 06 Feb 2007, 13:36

Raspberry Pi 4 Model B Rev 1.4 latest Debian 12

Post by admin »

As we changed the micro-SD card to a 32GB version instead of 16GB.
New Debian 12 version of RaspberryPi OS. We keep the old 16GB as we can read it, although it won't boot anymore!

But it won't install WiringPi anymore.
Therefore rpi-rftransmitter can also NOT be installed (it needs WiringPi)?
And therefore my DGlight-RF-system is NOT working anymore :(

We have to find new solution for DGlight.php on the webserver.

DG.
Post Reply