mirror of https://github.com/pikvm/pikvm.git
Update gpio.md
This commit is contained in:
parent
4a10a30999
commit
36b9158eb9
|
|
@ -153,6 +153,8 @@ The driver `gpio` provides access to regular GPIO pins with input and output mod
|
|||
|
||||
You can use the [interactive scheme](https://pinout.xyz/) when selecting the pins to use. Please note that when selecting a pin for a channel, you need to use a logical number instead of a physical number. That is, if you want to use a physical pin with the number 40, the channel must have the number 21 corresponding to the logical GPIO21.
|
||||
|
||||
Channels should not use duplicate pins. You can also not use already used pins. To see which pins are currently used, run the command `gpioinfo`.
|
||||
|
||||
### USB HID Relay
|
||||
The driver `hidrelay` provides access to cheap managed [USB HID relays](http://vusb.wikidot.com/project:driver-less-usb-relays-hid-interface) that can be found on AliExpress. This driver does not support input mode, only output. To use it, you need to specify the path to the device file (like `/dev/hidraw0`) using the `device` parameter.
|
||||
|
||||
|
|
@ -160,3 +162,5 @@ Additionally, we recommend to configure access rights and static device name usi
|
|||
```
|
||||
SUBSYSTEM=="usb", ATTR{idVendor}=="16c0", ATTR{idProduct}=="05df", MODE="666"
|
||||
```
|
||||
|
||||
Channels should not use duplicate physical numbers.
|
||||
|
|
|
|||
Loading…
Reference in New Issue