intel-aero / meta-intel-aero

Yocto layer to support Intel Aero platform
https://github.com/intel-aero/meta-intel-aero
GNU General Public License v2.0
217 stars 119 forks source link

dev/spidev* not found #356

Closed abhi11796acharya closed 6 years ago

abhi11796acharya commented 6 years ago

Hello,

I installed latest version of yocto and everything was working fine. I was able to access all I2C and SPI buses. But after installing ubuntu, I am not able to access SPI buses. Whenever I try to the below mentioned command on shell, it throws an error saying "dev/spidev3.0 not found".

spi_xfer -b 3 -c 0 -d 0x80 -w 2

I followed the wiki page procedure to install ubuntu. Kindly help me!!

Thank you!!

Rjasuja commented 6 years ago

Can you check if aero-spi-xfer package got installed ?

abhi11796acharya commented 6 years ago

how can I check this ..?

Rjasuja commented 6 years ago

Run dpkg -s <package_name> command

abhi11796acharya commented 6 years ago

yes it is installed. system is throwing following error:

ERROR: failed to open /dev/spidev3.0

When I searched for spidev3.0 in /dev directory, I didnt find it.

abhi11796acharya commented 6 years ago

I installed everything again and now spidev1.1 and spidev3.0 are present in the dev directory but I am still getting the same error when trying spi_xfer command on shell.

"ERROR: failed to open /dev/spidev3.0"

abhi11796acharya commented 6 years ago

I used sudo and now it is working. :)

Thank you!!