What OS are you using? What version of the OS? "Pradeep" should be related to MCC driver, but this problem should have been solved. So, can you describe your problem?
I'm pretty sure I'm using UDOObuntu 2.1.1. Should I apt-get upgrade it? At the moment uname is: Linux whisky 3.14.56-g801c066-dirty #2 SMP PREEMPT Sat Nov 26 17:36:54 CET 2016 armv7l armv7l armv7l GNU/Linux udooer@whisky:~/script$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.5 LTS Release: 14.04 Codename: trusty I've a running sketch that writes sometimes to the serial port and a python script that reads. I can send the sketch to you if you need it. This is the current top screen:
I see the same process in my top list if I start minicom or Arduino IDE monitor on /dev/ttyMCC. If I close it, it disapears from my top list again. So it seems serial device related. It indeed can take a lot of CPU! Edit: cat /etc/issue I get "Udoobuntu v2.1"
In my case it's due to my python reader script that uses: Code: ardu = serial.Serial(port='/dev/ttyMCC', baudrate=115200) while True: try: in_values = ardu.readline()[:-2] if not in_values: #linebreak case continue print "<< in_values: " + in_values #debug purposes and reads what the sketch is writing to the serial port Code: Serial.begin(LINUXSERIAL_BAUDRATE); In /etc/issue I've "Udoobuntu v2.1" too but I think they didn't edit it. What worries me most is the waste of battery. In 18h It took 11500mAh :/ If It's not gonna be fixed soon I have to drop Udoo for my project With a normal battery It won't last not even a day.
Update: Actually I didn't remember I'm using a github kernel version, the main branch get with: Code: git clone https://github.com/UDOOboard/linux_kernel I HAD to use it because you haven't add yet the UAR6 patch on the kernel (http://www.udoo.org/forum/threads/a9-uart6-and-udoobuntu.3196/page-3) and It's 24th of January now. I rebuild the kernel with the patch. However, I tested the same scripts on Udoobuntu 2.1.1 (website image) Linux udooneo 3.14.56-udooneo-02046-gacf7670 and the pradeep bug is still there. It's a week without any answers now... Plz let us know something
Hi Gorgo, @Francesco on GitHub at the page you linked (https://github.com/UDOOboard/linux_kernel/pull/16) says that UART6 works without such patch. Also, the patch you are talking about refers to the IMX6Q branch, not the IMX6SX branch Quoting: Please, if there is something unclear or wrong, please tell us.
Kernel: Linux udooneo 3.14.56-gacf7670-dirty #13 SMP PREEMPT Tue Feb 7 18:05:50 CET 2017 armv7l armv7l armv7l GNU/Linux UDOObuntu v2.1.1 I've a ublox neo 7 plugged to UDOO Neo Full connected to UART6 (btw in http://www.udoo.org/docs-neo/Hardware_&_Accessories/UART_serial_ports.html please make the uart image zoomable ). In the device tree tool I added the UART6 on the pins. With the "&& !sport->port.flags == UPF_LOW_LATENCY" patch, I can gpsmon the gps sensor and get data. I've just tried to comment the patch, recompiled the kernel and I can't gpsmon it anymore. It doesn't detect the gps sensor.