vikram u

Need info on exporting/registering a GPIO pin via sysfs.

Discussion created by vikram u on May 30, 2011
Latest reply on Jul 8, 2011 by vikram u

Hi ,

  On the iMX233, with ltib we have configured GPIO threough sys class support as detailed here <>


However creating/exporting the device fails with a BUSY error (status code 16).


for "echo 59 >>/sys/class/gpio/export"   -- 59 is Bank 1 Pin 27 - for GPIO-PMW1.

Kernel dmesg reports status 16.

>>gpio_request: gpio-59 (sysfs) status -16
>>export_store: status -16

This has been seen in bot kernel/module space(as a .ko and via uImage).

Kindly provide pointers if the GPIO export via sysfs needs any additional configuration?.