04-07-2020, 12:45 PM
(04-07-2020, 01:22 AM)a-wai Wrote:(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.
Oh, I see! Yes, I can interact with the screen now that I removed that file.
I didn't use a ruler (I can get one if necessary) but the readings are:
0cm: over 3000
1cm: 2500-2700
2cm: ~2400-2450
3cm: 2400
5cm: ~2375-2380
10cm: ~2360-2365
No hand, phone comfortable distance from my face (~30cm?) while looking at it: 2360
Phone on flat surface, nothing near it: 2300-2400
*.*.* PinePhone BraveHeart edition w/ distro: Debian + Phosh // GuixOS, Debian, Arch // pocket linux enthusiast // washed up sysadmin *.*.*