Public bug reported:

$ python3
Python 3.8.6 (default, Sep 25 2020, 09:36:53) 
[GCC 10.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import RPi.GPIO as gpio
>>> print(gpio.RPI_INFO)
{'P1_REVISION': 3, 'REVISION': 'd03114', 'TYPE': 'Pi 4 Model B', 
'MANUFACTURER': 'Sony', 'PROCESSOR': 'BCM2711', 'RAM': 'Unknown'}
>>> gpio.setmode(gpio.BOARD)
>>> gpio.setup(32, gpio.IN)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
RuntimeError: Not running on a RPi!
>>> quit()

$ cat /proc/cpuinfo 
processor       : 0
BogoMIPS        : 108.00
Features        : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 3

processor       : 1
BogoMIPS        : 108.00
Features        : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 3

processor       : 2
BogoMIPS        : 108.00
Features        : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 3

processor       : 3
BogoMIPS        : 108.00
Features        : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd08
CPU revision    : 3

Hardware        : BCM2835
Revision        : d03114
Serial          : 100000008011d9f5
Model           : Raspberry Pi 4 Model B Rev 1.4

** Affects: rpi.gpio (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: rpi.gpio (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: rpi.gpio (Ubuntu Focal)
     Importance: Undecided
         Status: New

** Affects: rpi.gpio (Ubuntu Groovy)
     Importance: Undecided
         Status: New

** Affects: rpi.gpio (Ubuntu Hirsute)
     Importance: Undecided
         Status: New

** Also affects: rpi.gpio (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: rpi.gpio (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: rpi.gpio (Ubuntu Hirsute)
   Importance: Undecided
       Status: New

** Also affects: rpi.gpio (Ubuntu Groovy)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1902177

Title:
  Pi 4B rev 1.4 not recognized

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rpi.gpio/+bug/1902177/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to