GPIO on UBUNTU 16.04
Marcello
New Member Posts: 156 ✭
Hello,
Is there a kernel patch to add GPIO support to the stock UBUNTU 16.04 Xenial? (Diff format)
So far we were able to make the HDMI audio work and it would be great to have a complete UP Board support.
Is there a kernel patch to add GPIO support to the stock UBUNTU 16.04 Xenial? (Diff format)
So far we were able to make the HDMI audio work and it would be great to have a complete UP Board support.
Comments
-
Hi MarcFinns,
At the moment the only Ubuntu Kernel available is 4.2 for Ubuntu 14.04.
We are planning to release soon an update for Ubuntu which include 40pin I/O and HDMI audio on both 14.04 and 16.04 with the new Ubuntu 4.4 Kernel. -
dcleri wrote:Hi MarcFinns,
At the moment the only Ubuntu Kernel available is 4.2 for Ubuntu 14.04.
We are planning to release soon an update for Ubuntu which include 40pin I/O and HDMI audio on both 14.04 and 16.04 with the new Ubuntu 4.4 Kernel. -
Hi MarcFinns,
It is going to be published in the coming weeks.
If you want to help us, you could drop an email to "community AT up-board.org" and we will give you access to the private PPA of UP ubuntu kernel for beta testing once available. -
dcleri wrote:Hi MarcFinns,
It is going to be published in the coming weeks.
If you want to help us, you could drop an email to "community AT up-board.org" and we will give you access to the private PPA of UP ubuntu kernel for beta testing once available.
Installing stock Ubuntu 16.04.1 and replacing the kernel with Ubilinux seems to work... (very limited testing so far) -
Hi MarcFinns,
Thank you for trying it out. Unfortunately that is not the one we will use with Ubuntu.
The Ubuntu 4.4 kernel for UP will be based on the Ubuntu 16.04 4.4 kernel (while the ubilinux kernel is based on the Debian 4.4 kernel backports).
PS: Thanks for requesting the beta access to the kernel for testing! -
dcleri wrote:Hi MarcFinns,
Thank you for trying it out. Unfortunately that is not the one we will use with Ubuntu.
The Ubuntu 4.4 kernel for UP will be based on the Ubuntu 16.04 4.4 kernel (while the ubilinux kernel is based on the Debian 4.4 kernel backports).
PS: Thanks for requesting the beta access to the kernel for testing! -
We are in the process of enabling the kernel for beta testers, you will get access as soon as it is avaialble.
-
I am also very interested in Ubuntu on up-board, and I also need GPIO.
-
Hi mikronauts,
I can give you good news as we are currently testing 4.4 kernel for both ubuntu 14.04.5/16.04
We will release it as soon as our internal testing will be complete, hopefully in the coming week. -
dcleri wrote:Hi mikronauts,
I can give you good news as we are currently testing 4.4 kernel for both ubuntu 14.04.5/16.04
We will release it as soon as our internal testing will be complete, hopefully in the coming week. -
Yes, we are now enabling access to beta testers, you should receive an email shortly.
-
dcleri wrote:Yes, we are now enabling access to beta testers, you should receive an email shortly.
-
It does include the Audio patch, the I/O patches and some new addition we will announce soon.
The Audio patch has been created by Pierre Bossart and it is available on Github: https://github.com/plbossart/sound -
Thank you, I am looking forward to it.
Ubuntu is my preferred desktop Linux OSdcleri wrote:Hi mikronauts,
I can give you good news as we are currently testing 4.4 kernel for both ubuntu 14.04.5/16.04
We will release it as soon as our internal testing will be complete, hopefully in the coming week. -
I finally received my UP 4/64 and started off installing Windows 10, but want to dual boot with Ubuntu where I will use it the majority of the time...
So was wondering about instlling 16.04 as it is the LTS. How long until I can try out the GPIO stuff for this release.
Thanks
Kurt -
Any updates on this? Would like to be able to talk to GPIO pins through Ubuntu as well as Windows 10.
Thanks -
How is the beta testing of this going? Would like to be able to try the communications between my Up board and some of my Teensy boards by PJRC. Currently I have a board that I designed to plug into either ODroid or UP board to connect up to Teensy 3.2 boards.
I am in the process of playing around with updating the board to be able to use one of the new up coming Teensy 3.6 or 3.5 boards. Would be nice to be able to try out the different communication types on the Up board to decide how many or which ones to use to communicate with Teensy? Usart or SPI or ...
In case you are interested, there is a Kickstarter for new Teensy boards, which will end in a day or two...
https://www.kickstarter.com/projects/paulstoffregen/teensy-35-and-36?ref=discovery -
Hi KurtE,
The beta testing is going well, the Kernel will be released to the public soon!
Thanks for sharing what you are trying to achieve with the UP Board, it looks very interesting, Keep us posted on the progress! -
Hello all,
I think by now the kernel supports GPIO on Ubuntu, given that now I can view them throughfor f in `ls -d /sys/class/gpio/gpiochip*`; do echo $f `cat $f/label $f/base $f/ngpio` ; done
But now I'm stuck as I'm not sure how to drive them by code. RPi.GPIO package is not found, even aftersudo add-apt-repository ppa:ubilinux/up
MRAA also doesn't work as it gives me "Wrong pin number" error. I was intending to write my own wrapper code to do the driving similarly to how it was done here, but I don't know how to deduce the exact pin mappings I should export to begin with.
Is there any solution to this in the time being? I'd really love to be able to use ROS and the GPIO to drive a robot. -
I assume you saw this thread: https://up-community.org/forum/announcements/866-up-board-4-4-linux-kernel-for-ubuntu-16-04-and-14-04-is-now-available
It has been awhile since I played with it, but earlier did do some playing around with MRAA. Note: I did not use the apt-get to do MRAA, but instead did git to make a clone of it from: https://github.com/intel-iot-devkit/mraa -
Actually my bad :pinch:
It seems that I haven't seen this thread (Not so sure how I missed it). Also my bad for not going through this earlier (Wouldn't have thought some important answers lie there).
I'll give it a try and get back with results. Thanks a lot KurtE! -
@Farid said:
Actually my bad :pinch:
It seems that I haven't seen this thread (Not so sure how I missed it). Also my bad for not going through this earlier (Wouldn't have thought some important answers lie there).
I'll give it a try and get back with results. Thanks a lot KurtE!Hi Farid,
any luck with this one?
I too am getting "wrong pin " complaints in the terminalmatt
-
Hi @Matt10000 ,
As this discussion is very outdated, I am not sure if you tried to install the latest kernel for UP board available in the Wiki:
https://wiki.up-community.org/UbuntuThat is the official kernel for Ubuntu 16, so you could try to test your GPIO using the supported software.