Changes
/* Overview */
__TOC__== Installation Overview ==* Download the [http://www.fit-pc2.com/download/fitlet/Not supported in mainline Linux/mint/17/linux-image-3.16.7-generic.fitlet_2015.09.27_amd64.deb kernel image] and * [http[Fitlet:_Linux://www.fit-pc2.com/download/fitlet/_Kernel | Linux/mint/17/linux-headers-3.16.7-generic.fitlet_2015.09.27_amd64.deb kernel headersKernel for Fitlet] ] must be installed to the fitlet. * Open the terminal and install the new linux-*.deb packages: $ sudo dpkg -i /path/to/linux-*.deb * Reboot the system: $ sudo reboot -f == GPIO ==make this feature work
* GPIO interface on fitlet consists of 9 GPIOs provided by AMD FCH (Fusion Controller Hub)
* The responsible kernel module is gpio_fch
{| cellpadding="3" border="1" style="border: 1px solid rgb(85, 85, 85); border-collapse: collapse;"
|+ GPIO pin naming convention on fitlet with ribbon cableconnector pinout
|-
| Pin numberNumber| Color codeCode
| GPIO name
| Power domain
| HW source
| Notes
|-
| 1
| Brown
| GPIO89
| 3.3V
| InSoC| PU
|-
| 2
| Red
| GPIO132
| 3.3V
| InSoC| PU
|-
| 3
| Orange
| GPIO65
| 3.3V
| Out/HighSoC| PU
|-
| 4
| Yellow
| GPIO66
| 3.3V
| Out/HighSoC| PU
|-
| 5
| Green
| GPIO29
| 1.5V
| InSoC| PD
|-
| 6
| Blue
| I2C Clock
| 3.3V
| SoC
|
|-
| 7
| Purple
| I2C Data
| 3.3V
| SoC
|
|-
| 8
| Grey
| GPIO73
| 3.3V
| Out/LowSoC| PD
|-
| 9
| White
| GPIO27
| 1.5V
| InSoC| PD
|-
| 10
| Black
| GPIO28
| 1.5V
| InSoC| PD
|-
| 11
| Brown
| GPIO12
| 3.3V
| InSoC| PU
|-
| 12
| Red
| UART Rx
| 3.3V
| SuperIO
|
|-
| 13
| Orange
| UART Tx
| 3.3V
| SuperIO
|
|-
| 14
| Yellow
|
|
| GND
|
|}
== Usage ==
* The GPIO sysfs interface allows users to manipulate any GPIO from userspace dynamically.
* A basic example of GPIO P-1 (Brown) usage (as root user):
$ modprobe fch_gpiogpio_fch
$ echo 89 > /sys/class/gpio/export
$ echo out > /sys/class/gpio/gpio89/direction
$ echo 89 > /sys/class/gpio/unexport
[[category:fitlet]]