Git Product home page Git Product logo

Comments (12)

ladyada avatar ladyada commented on July 24, 2024

can you run this script and paste the output?

https://github.com/adafruit/Adafruit_Python_PlatformDetect/blob/master/bin/detect.py

from adafruit_blinka.

dakhunter avatar dakhunter commented on July 24, 2024

Here's the response from my RPi

python3
Python 3.5.3 (default, Sep 27 2018, 17:25:39) 
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import adafruit_platformdetect
i?", detector.board.any_raspberry_pi_40_pin)
print("Is this a BBB?", detector.board.BEAGLEBONE_BLACK)
print("Is this an Orange Pi PC?", detector.board.ORANGE_PI_PC)
print("Is this an embedded Linux system?", detector.board.any_embedded_linux)
print("Is this a generic Linux PC?", detector.board.GENERIC_LINUX_PC)
if detector.board.any_raspberry_pi:
    print("Raspberry Pi detected.")>>> 

>>> detector = adafruit_platformdetect.Detector()
>>> 
>>> print("Chip id: ", detector.chip.id)
Chip id:  BCM2XXX
>>> 
>>> print("Board id: ", detector.board.id)
Board id:  None
>>> 
>>> print("Is this a Pi 3B+?", detector.board.RASPBERRY_PI_3B_PLUS)
Is this a Pi 3B+? False
>>> print("Is this a 40-pin Raspberry Pi?", detector.board.any_raspberry_pi_40_pin)
Is this a 40-pin Raspberry Pi? False
>>> print("Is this a BBB?", detector.board.BEAGLEBONE_BLACK)
Is this a BBB? False
>>> print("Is this an Orange Pi PC?", detector.board.ORANGE_PI_PC)
Is this an Orange Pi PC? False
>>> print("Is this an embedded Linux system?", detector.board.any_embedded_linux)
Is this an embedded Linux system? True
>>> print("Is this a generic Linux PC?", detector.board.GENERIC_LINUX_PC)
Is this a generic Linux PC? False
>>> 
>>> if detector.board.any_raspberry_pi:
...     print("Raspberry Pi detected.")
... 
Raspberry Pi detected.

from adafruit_blinka.

ladyada avatar ladyada commented on July 24, 2024

ok - please paste the output of cat /proc/cpuinfo

from adafruit_blinka.

dakhunter avatar dakhunter commented on July 24, 2024

processor : 0
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 76.80
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

processor : 1
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 76.80
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

processor : 2
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 76.80
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

processor : 3
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 76.80
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

Hardware : BCM2835
Revision : 2a02082
Serial : 00000000f60f3209

from adafruit_blinka.

ladyada avatar ladyada commented on July 24, 2024

dak, are you doing something 'unusual' with this Pi, overvolting or overclocking or some other mod? 2a02082 is an unusual revcode

from adafruit_blinka.

ladyada avatar ladyada commented on July 24, 2024

(or did you at some time?) its no biggie, we're just trying to figure out why you have that bit set so we can add it

from adafruit_blinka.

dakhunter avatar dakhunter commented on July 24, 2024

I'm not modding my Pi at all. I have tried several times using either the OS from NOOBS and from the stretch img file.
The only thing I did was expanding the SWAPFILE so I could install OpenCV on my Pi. But I returned the SWAPFILE back to default setting. So I don't know where the cause of it
And hopefully this info can help with the troubleshooting, I did install the MotorKit library on this same RPi before, and it worked before Christmas. But after I reinstalled the OS yesterday, I cannot import the library anymore.

from adafruit_blinka.

dakhunter avatar dakhunter commented on July 24, 2024

And I think that revcode is because my RPi is shipped from UK
https://www.raspberrypi-spy.co.uk/2012/09/checking-your-raspberry-pi-board-version/
image

from adafruit_blinka.

ladyada avatar ladyada commented on July 24, 2024

nope, its because of the warranty bit - please hold! :)

from adafruit_blinka.

dakhunter avatar dakhunter commented on July 24, 2024

Oh. I did some modification on my /boot/config.txt then. But it's mostly for gpu_mem, and screen resolution to fit my teamviewer

from adafruit_blinka.

ladyada avatar ladyada commented on July 24, 2024

ok try sudo pip install Adafruit-PlatformDetect --upgrade so you have 0.0.9 and try again

from adafruit_blinka.

dakhunter avatar dakhunter commented on July 24, 2024

Thank you very much. The problem is resolved. Still kinda strange for me when I did the exact thing like I did before Christmas and it did not work
Well, I guess that will remain a mystery of programming lol

from adafruit_blinka.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.