BeagleBone - Ubuntu 12.04 GPIO Export Error

Hey all,

I am trying to export GPIO1_3 and I’m getting an error:

root@omap:~# echo 35 > /sys/class/gpio/export
su -: echo: write error: Device or resource busy

Any ideas on how to remedy this?

Most likely because the 1-wire module already reserved this pin.
This is my own question (on the angstrom distribution), maybe the
information helps:
https://groups.google.com/d/topic/beagleboard/4gJmVGGNLeE/discussion

Markus

Cool. So is there a way to drop the 1-wire module without recompiling the kernel?

is it a module or compiled in the kernel?

I am not with my beagle here now so try this:

lsmod

check if the 1-wire module is on the list. If it is just do:

rmmod <module_name>

but if it is compiled in I believe there is no way to disable it (maybe by boot parameters but I don´t know).

Regards,