aarch64-laptops / build

Build an Linux OS based image
221 stars 47 forks source link

lenovo c630 rtc issues #74

Open bm16ton opened 3 years ago

bm16ton commented 3 years ago

Never noticed till a recent move and waiting a few days for internet hookup, my rtc apparently dont work in linux. The bios has correct time, but I cannot set the hardware cock at all. I have very little experience with this so could very well be me, but it doesnt seem that complicated. I simply get permission errors ad it never says anything other then the 1970. I see the sdm850 dts pulls in pm8998.dtsi like the chezna etc. Just curious if anyone else has same issue or if its simply my config. Its very annoying having it think all source code changes are from the future and error out after every reboot. Well its silly but ill share a simple script to recursively fix file dates;

find ./* -print | while read filename; do

do whatever you want with the file

touch -a -m -t 202108130522.09 "$filename"

done

when I have more time ill look into a proper fix. I deletd windows way back and now am curios about the spi fingerprint reader, mostly the spi bus its connected to, and if its wired directly to a security chip bypassing the chance your print will be "sniffed" from main memory, (I wanna breakout those pins if not) so booting acpi and dumping it will hopefully give me a little data on both. And maybe someone here will have sum info