| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
ok tb@
|
| |
|
|
|
|
|
| |
- document "flag", for I2C devices
- "pin" is not optional
ok matthieu
|
| |
|
|
|
|
| |
value to swap the SDA and SCL pins assigment during attach.
Mostly from work with mbalmer@NetBSD.
ok miod@
|
| | |
|
| | |
|
| |
|
|
| |
numerical values when writing to a pin; fix an error message.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
more readable and straightforward format. Note that there is no longer
a default GPIO device, but it has to be sepcified on the command line
always (and as Theo mentioned, newfs also does not default to /dev/sd0a...)
You must do a 'make includesi' in /usr/src before building this command or
before your next system build.
ok uwe@
|
| |
|
|
| |
- kill .Tn
|
| |
|
|
|
|
| |
runtime to a gpio bus.
ok uwe, drahn
|
| |
|
|
|
|
| |
Introduce new flags, GPIO_PIN_INVIN and GPIO_PIN_INVOUT, for this.
ok grange
|
| |
|
|
|
|
| |
e.g. the AMD Geode C5536 GPIO.
ok grange
|
| |
|
|
| |
12-line song and dance that standard functions need; bret.lambert@gmail
|
| | |
|
| | |
|
| | |
|
|
|
The gpioctl program allows to manipulate GPIO devices pins
Quick start for the Soekris net4801 users:
# gpioctl -c 20 out pp
# gpioctl 20 1
This will turn on the red error led.
If you want to use JP5 I/O pins, just use the /dev/gpio1 device.
Quick start for the PC Engines WRAP.1C users:
# gpioctl 40
This will read the state of the button (0 means pressed).
# gpioctl -c 2 pp out
This will turn the first led on, to turn off write 1 to the pin,
it's reversed. For the second and the third leds use pins 3 and 18.
ok deraadt@
|