baal86
Posts: 1
Joined: Mon Dec 18, 2017 4:08 pm

Re: STICKY: Optional interfaces (I2C, I2S, SPI) and Device Tree

Mon Dec 18, 2017 4:11 pm

Regarding the

Code: Select all

RTNETLINK answers: Numerical argument out of domain
error:

This is actually a hardware problem. Your oscillator on the CAN baor dis not fast enough. (Let me guess: You've got an 8MHz crystal?) If you replace it with a 16MHz crystal and update your config it works.

scorpion_08
Posts: 2
Joined: Thu Mar 08, 2018 6:43 am

Re: STICKY: Optional interfaces (I2C, I2S, SPI) and Device Tree

Fri Mar 09, 2018 9:30 am

i tried by replacing crystal with 12Mhz. i updated config.txt. but still i get same error..
RTNETLINK answers: Numerical argument out of domain

trieup
Posts: 7
Joined: Wed Mar 14, 2018 5:27 am

Re: STICKY: Optional interfaces (I2C, I2S, SPI) and Device Tree

Wed Mar 14, 2018 6:16 am

I am running CentOS.
I added the line :

dtparam=i2c_arm=on

to the end on the config.txt then reboot. After reboot I ran the test program and still get the error:
Unable to open I2C device: No file or directory.
You have mentioned manual load the I2C-dev. can you give more details. I am running CentOS.

Return to “Interfacing (DSI, CSI, I2C, etc.)”

Who is online

Users browsing this forum: No registered users and 12 guests