![]() |
Read/Write GPIO Q1900TM-ITX with Linux |
Post Reply ![]() |
Author | |||
lexaiden ![]() Newbie ![]() ![]() Joined: 18 Nov 2016 Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() Posted: 18 Nov 2016 at 8:56am |
||
Hello,
I have an Asrock Q1900TM-ITX Motherboard, which has 4 GPIOs (General Purpose Input Output). How can I access these GPIO pins under Linux? What I have tried: https://www.kernel.org/doc/Documentation/gpio/sysfs.txt
and I have tried https://pypi.python.org/pypi/gpio/0.1.2 and get also an error message: "Invalid argument" Why did I get this error? Is "1" the wrong pin number? Well, I have tried the pin numbers from 1 to 300, same error message...
Do I need a special driver for the GPIO pins? Where can I get the driver? Maybe I can write my own kernel module, but I need infos, where can I get the infomations (the manual is useless). I use Linux Manjaro (an Arch based distribution) with Kernel 4.4.31-2-MANJARO #1 SMP PREEMPT Sun Nov 13 11:02:33 UTC 2016 x86_64 GNU/Linux Edited by lexaiden - 18 Nov 2016 at 8:59am |
|||
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |