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 1373 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
  • rberk2
    0 rberk2 over 11 years ago

    Hello !

     

    After the latest updates to my rpi 2 mod b

     

    The PIFaceCad and Piface Digital event listeners do not seem to work anymore. Pressing the switches no longer triggers a listener event. My software stopped working, so I tried the example programs, and they do not see switch presses either.

     

    Using the emulators or polling shows the switch states when you press a button on on the real hardware, but any example using listeners does not work any longer on either board ...

     

    The LCD works for write, clear, etc.

     

    Any idea what disabled the interrupts but allows polling of the switches to work. The examples, Like weather, used to work fine.

     

    Both PiFaceCad and PiFaceDigital switch interrupt listeners fail. ( each board is connected to a rpi 2 model b ) Each worked previously.

    Each will show switch states on the emulator, when a button on the real hardware board is pressed.

     

    Thanks !

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • dongduo
    0 dongduo over 9 years ago in reply to rberk2

    I got the same issue.

    Any solution???

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • dongduo
    0 dongduo over 9 years ago in reply to rberk2

    I got the same issue.

    Any solution???

    • 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