Jump to content
  • 0

MCC118 gpio_set_output: gpiod_line_request_output failed


vrusu

Question

I am using a MCC118 board with a raspberry pi 5 and when I run continuous_scan I get a lot of:

 

gpio_set_output: gpiod_line_request_output failed

 

Thanks

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

no other HAT boards installed. Running bookworm version of raspbian. No modifications to the DAQ, simply running "python continuous_scan.py". 

 

image.thumb.png.40b6821bda17829ebf3787cebc0b7718.png

Link to comment
Share on other sites

  • 0

Please install the current release (v1.5.0.0) of the MCC DAQ HAT Library and retest the example. 

If you continue to have the same issue, test the finite_scan.py and single_value_read.py examples.

Is this a new MCC 118 board being used for the first time or has the MCC 118 been used previously without an issue?

 

Regards,

Fausto

Link to comment
Share on other sites

  • 0

already running V1.5.0.0

 

finite_scan and single_value_read show the same problem

 

This is a brand new MCC118 board, never used before

 

Perhaps this helps, here is running with DEBUG set in lib/gpio.c, looks like only happens on pin 13.

 

gpio_set_output 26 0

gpio_release 12

gpio_release 13

gpio_release 26

gpio_set_output 12 0

gpio_set_output 13 0

gpio_set_output: gpiod_line_request_output failed

gpio_set_output 26 0

gpio_release 12

gpio_release 13

gpio_release 26

gpio_set_output 12 0

gpio_set_output 13 0

gpio_set_output: gpiod_line_request_output failed

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...