element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products & Partners
    Products & Partners
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products & Partners
  • More
Raspberry Pi
Raspberry Pi Forum Raspberry pi camera issue
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 29 replies
  • Subscribers 705 subscribers
  • Views 6262 views
  • Users 0 members are here
  • raspberry_pi
  • raspberrypi
Related

Raspberry pi camera issue

e14 Contributor
e14 Contributor over 12 years ago

When I try to read the camera I got the following debug error on the screen  "received unexpected camera control callback event 0x4f525245", can anybody help how to resolve this issue. or is this raspberry pi board has problem.

  • Sign in to reply
  • Cancel
  • e14 Contributor
    0 e14 Contributor over 11 years ago in reply to clem57

    yep - re-seated it on this one and many of the others...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 11 years ago in reply to e14 Contributor

    the paste added the "1"'s...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 11 years ago in reply to e14 Contributor

    Please would you open a brand new question just for you. We kind of bootlegged someone else and not polite. Over there I will carefully post code and dialogue.

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 11 years ago in reply to clem57

    Yeah, Clem - as I mentioned before:

    Cables were swapped out.

    I tested the bad camera, you have the error message that I photographed (you can read it but it's blurry, and I pasted the text in this chain). "mmal: Received unexpected camera control callback event, 0x4f525245"

    I reseated the cable, have replaced the cable on many of the suspect ones, and mentioned that I reseated the camera module connector (see prior post).

    I have now reseated the bad camera after proving that a known good camera works (again see images). The suspect camera again fails with the same error I provided earlier.

     

    Please not that this is not solely *my* issue - there are many others with this same error... just google: mmal: Received unexpected camera control callback event, 0x4f525245"

     

    I will check on the FW state, though the problem does not follow the firmware version. I can reproduce good functionality on boards of all kinds as I can reproduce the failure on the same hardware - again, the problem seems to follow the camera hardware...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 11 years ago in reply to e14 Contributor

    #!/usr/bin/env python

    importtime

    importRPi.GPIO as GPIO

    GPIO.setmode(GPIO.BCM)

    # Set GPIO for camera LED

    # Use 5 for Model A/B and 32 for Model B+

    CAMLED =5

    # Set GPIO to output

    GPIO.setup(CAMLED, GPIO.OUT, initial=False)

    # Five iterations with half a second

    # between on and off

    for i in range(5):

        GPIO.output(CAMLED,True)   # On

        time.sleep(0.5)

        GPIO.output(CAMLED,False)  # Off

        time.sleep(0.5)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 11 years ago in reply to clem57

    No - in both shots, the cameras connected to the Pi have the red light on.

    In the second shot, I have the bad camera in the pic, disconnected.

     

    In the first shot, the suspect pi light turns on until I cntrl+c out of the raspistill -o command...

     

    I am more than happy to mail you a few of the bad Pi's - I don't want them back... I just want to know what happened.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • rew
    0 rew over 11 years ago in reply to e14 Contributor

    Eh.... bad PI? It was a bad camera, right?

     

    I'm game. :-)

     

    I was already secretly considering sending you a free raspberry pi camera extension kit from my shop, as well as an extra flatcable so that if that happens to be the problem you can repair one other camera with that.

     

    Deal?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14 Contributor
    0 e14 Contributor over 11 years ago in reply to rew

    I got your hardware, and will use it if any more cameras go bad. I have shipped the bad cameras to Clem - I will let you know what he sees when he gets back to me. I will return your hardware when all this dust settles. Thanks so much for your help, Roger!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • rew
    0 rew over 11 years ago in reply to e14 Contributor

    Charlie, please just test the camera extension with working hardware, and then let everybody know something like: "It works, but I've got no use for it". Or maybe you do find a use for it.... :-)  No need to return the hardware.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
<
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube