/dev/uleds problem when executing a C program on SAMA5D27-SOM1-EK1 board

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

Gaston
Posts: 28
Joined: Fri May 10, 2019 12:21 pm

/dev/uleds problem when executing a C program on SAMA5D27-SOM1-EK1 board

Fri Aug 23, 2019 3:45 pm

Hello!

I am using sama5d27-som1-ek1 embedded board which i build for it Linux image operating system and a cross compiler with YOCTO project.

I wanted to test a C code on my board. This code creates a new userspace LED class device and monitors it. A timestamp and brightness value is printed each time the brightness changes. I compiled it with the corss compiler but when i tried to run it, it tells me:
Failed to open /dev/uleds: No such file or directory
When i check /dev directory for the sama5 board I can't find uleds. I think that this is the problem. Do you have any suggestions ?

This is the code:
https://github.com/linux4sam/linux-at91 ... /uledmon.c

I run the code tapping: ./uledmon.c red
I did not change anything from the code

Return to “LINUX”

Who is online

Users browsing this forum: No registered users and 3 guests