04-07-2020, 01:22 AM
(04-06-2020, 06:24 PM)buffer Wrote: I was busy but I wanted to get back to you on this -- so basically I tried accessing /sys/ by way of both JumpDrive and mounting the SD card. But, there is nothing in /sys/ folder ($ sudo ls -a /media/user/rootfs/sys/ ). I think that's because the operating system needs to be running.@buffer yes, sysfs is a virtual filesystem, populated by the kernel only at runtime.
You have to remove /etc/udev/rules.d/10-proximity.rules (workaround to your issue) first, THEN run the system, and only then check the proximity sensor values in sysfs.