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
    Products
    • 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
  • More
Raspberry Pi
Raspberry Pi Forum Anyone got PiFace Control & Display 2 working with RPi 2 Model B?
  • 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 Verified Answer
  • Replies 7 replies
  • Subscribers 707 subscribers
  • Views 1370 views
  • Users 0 members are here
  • raspberry_pi
  • raspeberry_pi_accessories
Related

Anyone got PiFace Control & Display 2 working with RPi 2 Model B?

e14 Contributor
e14 Contributor over 11 years ago

Installed as per instructions here but getting a Python error related to GPIO25 when trying to run sysinfo.py

 

pi@raspberrypi ~ $ sudo python3 /usr/share/doc/python3-pifacecad/examples/sysinfo.py

Traceback (most recent call last):

  File "/usr/lib/python3/dist-packages/pifacecommon/interrupts.py", line 363, in bring_gpio_interrupt_into_userspace

    with open(GPIO_INTERRUPT_DEVICE_VALUE):

IOError: [Errno 2] No such file or directory: '/sys/devices/virtual/gpio/gpio25/value'

 

During handling of the above exception, another exception occurred:

 

Traceback (most recent call last):

  File "/usr/share/doc/python3-pifacecad/examples/sysinfo.py", line 61, in <module>

    cad = pifacecad.PiFaceCAD()

  File "/usr/lib/python3/dist-packages/pifacecad/core.py", line 50, in __init__

    self.init_board()

  File "/usr/lib/python3/dist-packages/pifacecad/core.py", line 87, in init_board

    self.enable_interrupts()

  File "/usr/lib/python3/dist-packages/pifacecad/core.py", line 59, in enable_interrupts

    self.gpio_interrupts_enable()

  File "/usr/lib/python3/dist-packages/pifacecommon/interrupts.py", line 210, in gpio_interrupts_enable

    bring_gpio_interrupt_into_userspace()

  File "/usr/lib/python3/dist-packages/pifacecommon/interrupts.py", line 368, in bring_gpio_interrupt_into_userspace

    export_file.write(str(GPIO_INTERRUPT_PIN))

IOError: [Errno 16] Device or resource busy

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

    EDIT: I suspect the problem may be related to the version of Raspian I was using: 2015-01-31-raspbian. I took the SD card out of the RPi 2 Model B and placed it into an older RPi which was known to work with the PiFace CAD 2. A similar error occurred as in the previous post. After downgrading the version of Raspian on the same older model RPi the PiFace CAD 2 then worked. Not sure what to do know whether to wait and see if Raspian gets an update or if the problem lies elsewhere? It would be useful to know if anyone else is having the same problem or if they have PiFace CAD 2 working on RPi 2 Model B running 2015-01-31-raspbian.

    • 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

    Hi Brett,

     

    Thank goodness!

     

    I had a working project. I built a new sd card to increase storage and then the project didn't work showing a very similar error you show above! I thought the piface had failed while I was building the new sd card.

     

    Thanks for posting this. I hope something is sorted soon. Did you say you can downgrade the Raspbian version?

     

    I hope something is sorted soon as I need to finish this project asap and now nothing works!

     

    Chris.

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

    Hi Brett,

     

    Thank goodness!

     

    I had a working project. I built a new sd card to increase storage and then the project didn't work showing a very similar error you show above! I thought the piface had failed while I was building the new sd card.

     

    Thanks for posting this. I hope something is sorted soon. Did you say you can downgrade the Raspbian version?

     

    I hope something is sorted soon as I need to finish this project asap and now nothing works!

     

    Chris.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
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