8devices Community https://www.8devices.com/community/ |
|
GPIO driver on Carambola https://www.8devices.com/community/viewtopic.php?f=1&t=356 |
Page 1 of 2 |
Author: | BillyWilliams [ 25 Jan 2013, 16:10 ] |
Post subject: | GPIO driver on Carambola |
Author: | JaXXoN [ 25 Jan 2013, 18:11 ] |
Post subject: | Re: GPIO driver on Carambola |
Author: | BillyWilliams [ 25 Jan 2013, 21:51 ] |
Post subject: | Re: GPIO driver on Carambola |
Author: | JaXXoN [ 27 Jan 2013, 00:16 ] |
Post subject: | Re: GPIO driver on Carambola |
GPIO1 is already in use by the I2C driver, i.e. of you try "echo 1 > /sys/class/gpio/export", you will get "ash: write error: Device or resource busy". The pins for /dev/ttyS0 are free (GPIOs 7 to 14, even header pins from 2 to 16). regards Bernhard BTW.: did you edit your posting? First time I read it I couldn't see the gpio_request portion. So I was confused and thought it might help to provide a bunch of options on how to drive the gpios from user space. |
Author: | BillyWilliams [ 28 Jan 2013, 08:51 ] |
Post subject: | Re: GPIO driver on Carambola |
Author: | BillyWilliams [ 28 Jan 2013, 10:42 ] |
Post subject: | Re: GPIO driver on Carambola |
Author: | BillyWilliams [ 28 Jan 2013, 12:51 ] |
Post subject: | Re: GPIO driver on Carambola |
[quote="JaXXoN"][/quote] Hello Bernhard, I've checked the menuconfig. I used the default settings. The default image just added the I2C module. It doesn't add the SPI module. But when I want to access the GPIO3-6, the system output: no access to gpio... Do yo have any idea? Thanks very much! |
Author: | BillyWilliams [ 28 Jan 2013, 15:56 ] |
Post subject: | Re: GPIO driver on Carambola |
Author: | JaXXoN [ 28 Jan 2013, 16:55 ] |
Post subject: | Re: GPIO driver on Carambola |
Author: | JaXXoN [ 29 Jan 2013, 00:57 ] |
Post subject: | Re: GPIO driver on Carambola |
Page 1 of 2 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |