STEP 2: Mengecek RTC di Terminal OpenWRT
- Pastikan Device sudah terpasang DBAI Docking Board
- Buka
Terminal OpenWRT di Browser atau bisa dengan SSH
- Mengecek bahwa
RTC Tersambung dengan command dibawah
i2cdetect 1
Jika Tersambung, maka Output dari terminal tersebut akan seperti ini
root@A2OS:~# i2cdetect 1
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-1.
I will probe address range 0x08-0x77.
Continue? [Y/n]
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
- Jika sudah terdeteksi seperti diatas, maka kita cek
DUMP port I2C nya
i2cdump -y 1 0x68
Apabila Output sudah terdeteksi seperti dibawah, maka RTC sudah siap digunakan
root@A2OS:~# i2cdump -y 1 0x68
No size specified (using byte-data access)
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 80 00 00 01 01 01 00 b3 b3 95 36 3e e5 da 8f 5d ?..???.???6>???]
10: 93 df 85 5a 1d bf 56 f7 a5 9d 16 e7 73 56 17 d5 ???Z??V?????sV??
20: d3 4e d3 57 1b 85 c1 dd f4 d1 b4 ad 9f e7 43 37 ?N?W??????????C7
30: c8 eb e7 8e 3f b7 7e d1 75 f5 f6 dd bd 57 4d 95 ??????~?u????WM?
40: 80 00 00 01 01 01 00 b3 b3 95 36 3e e5 da 8f 5d ?..???.???6>???]
50: 93 df 85 5a 1d 00 56 f7 a5 9d 16 e7 73 56 17 d5 ???Z?.V?????sV??
60: d3 4e d3 57 1b 85 c1 dd f4 d1 b4 ad 9f e7 43 37 ?N?W??????????C7
70: c8 eb e7 8e 3f b7 7e d1 75 f5 f6 dd bd 57 4d 95 ??????~?u????WM?
80: 80 00 00 01 01 01 00 b3 b3 95 36 3e e5 da 8f 5d ?..???.???6>???]
dst....