Comment 24 for bug 1229658

Revision history for this message
Mohammad Merajul Islam Molla (meraj-enigma) wrote :

Hi Sanjay,

In that case, I think users need to export GPIOs first via /sys/kernel/gpio/export. Otherwise, the below lines don't appear in /sys/kernel/debug/gpio file -

  gpio-0 (tfp410 PD ) out lo
  gpio-1 (hsusb1_vbus ) out hi

Atleast thats what I see on my Samsung Arndale Board with Linaro Saucy Server.

If that is the case, then patch mentioned in comment #21 is not necessary. Simply configuring kernel with SYSFS_GPIO won't do it (may be a warning message in gpio page of powerdebug will help - export gpios first by writing to /sys/kernel/gpio/export file?) Please correct me if I am wrong.

However, patch mentioned in comment #20 is still necessary to avoid build errors and segmentation fault.

Please suggest.

--
Thanks,
-Meraj