09-22-2019, 07:33 PM
(09-19-2019, 05:38 PM)Daniel_BlueWave Wrote: If you would configure it correctly then it would work. The OpenAuto Pro is an application running under regular Raspbian OS and error you have mentioned is coming from OS. Looks like you did not read any posts in RTC section at forum or in User Manual.Thanks for the recommendation, but I did follow the steps that I found in the RTC section.
We recommend to do that.
I found the source of the error, it has something to do with adress interfering on the i2c bus I think
When I pull the touchscreen out of SDA and SCL, then hwclock -r returns the date&time
When I connect the touchscreen again, I get one of the following errors
rhwclock: ioctl(RTC_RD_TIME) to /dev/rtc0 to read the time failed: Invalid argument
hwclock: ioctl(RTC_RD_TIME) to /dev/rtc0 to read the time failed: Remote I/O error
I also noticed that the touchscreen sometimes uses the same adress as the RTC ( 0x68 ).
This is only with the touchscreen connected to the i2c bus.,
pi@raspberrypi:~ $ i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- 17 -- 19 -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- 38 -- -- -- -- -- -- --
40: -- -- -- -- -- 45 -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- 68 -- -- -- 6c -- -- --
70: -- -- -- -- -- -- -- --
Any tips?