• Content Count

  • Joined

  • Last visited

About IgorS

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Yes. Everything but video accel.
  2. I'll take my chances. systemd-tmpfiles just creates and cleans directories based on coniguration, wjhile rest of systemd handles other things. Recently was, as far aa I know disovered security risk in systemd which ie possible to exploit from remote, therefore I wold like to keep last version and I really don't expect troubles because of this. Apt, in other hand cant know nothing about this, bec<use it just keep itts darabase of package versions.
  3. I faced with same problem on OPiplus2e, Ubuntu Xenial, legacy kernel 3.4.113-sun8i. After systemd update to version 229-4ubuntu21.15 program /bin/systemd-tmpfiles which creates tmp directories on start stopped working. For each dir (configured in /usr/lib/tmpfiles.d) message is the same: Failed to validate path /some_path: Bad file descriptor This can be checked by executing as root command: SYSTEMD_LOG_LEVEL=debug systemd-tmpfiles --create sshd I had old backup from august last year, systemd version 229-4ubuntu21.4 I just copied this file (/bin/systemd-tmpfiles) from backup an everything start to work. What is exactly wrong with it I am not sure.
  4. /proc/driver/rtc ... the system clock RTC may expose itself https://www.kernel.org/doc/Documentation/rtc.txt Obviously kernel dependent Rasperry3b: igor@pi-ubuntu:~$ uname -a Linux pi-ubuntu 4.14.34-v7+ #1110 SMP Mon Apr 16 15:18:51 BST 2018 armv7l armv7l armv7l GNU/Linux igor@pi-ubuntu:~$ ls /proc/driver/rtc /proc/driver/rtc igor@pi-ubuntu:~$ cat /proc/driver/rtc rtc_time : 17:23:12 rtc_date : 2018-04-17 alrm_time : 06:17:00 alrm_date : 2018-04-18 alarm_IRQ : no alrm_pending : no update IRQ enabled : no periodic IRQ enabled : no periodic IRQ frequency : 1 max user IRQ frequency : 64 24hr : yes igor@pi-ubuntu:~$ sudo hwclock [sudo] password for igor: Uto 17 Tra 2018 19:23:48 .676962 seconds OrangePi +2e, legacy kernel: igor@orangepiplus2e:~$ uname -a Linux orangepiplus2e 3.4.113-sun8i #18 SMP PREEMPT Wed Jan 24 22:10:49 CET 2018 armv7l armv7l armv7l GNU/Linux igor@orangepiplus2e:~$ ls /proc/driver/rtc /proc/driver/rtc igor@orangepiplus2e:~$ cat /proc/driver/rtc rtc_time : 06:05:49 rtc_date : 1970-01-09 alrm_time : 11:53:47 alrm_date : 1970-01-08 alarm_IRQ : no alrm_pending : no update IRQ enabled : no periodic IRQ enabled : no periodic IRQ frequency : 1 max user IRQ frequency : 64 24hr : yes igor@orangepiplus2e:~$ sudo hwclock [sudo] password for igor: Tue 17 Apr 2018 07:20:29 PM CEST .904616 seconds igor@orangepiplus2e:~$ OrangePi +2e, mainline kernel: igor@websrv:~$ uname -a Linux websrv 4.14.18-sunxi #24 SMP Fri Feb 9 16:24:32 CET 2018 armv7l armv7l armv7l GNU/Linux igor@websrv:~$ ls /proc/driver/rtc ls: cannot access '/proc/driver/rtc': No such file or directory igor@websrv:~$ sudo hwclock [sudo] password for igor: Tue 17 Apr 2018 07:39:22 PM CEST .052402 seconds
  5. As far as I know there is no way to wake Orange Pi +2e with DS3231 widouth additional circuitry.
  6. Can anybody help, please, I can't figure out how to fix this to work. Despite loaded overlay which change emited code to KEY_POWER on button press, there is no event created in /sys, I think that still something missing. This is beyond of my knowledge so please help.
  7. It should work on every kernel after 4.9.xxx which have rtc_ds3232 kernel module included.
  8. Tested also on Raspberry Pi 3b, kernel 4.14.33
  9. Tested on OPi+2E, OPi One, OPi Zero with mainline kernel 4.14.18-sunxi.
  10. Update: Newer kernels have module rtc_ds3232 and using this module you will be able to read temperature from DS3231 sensor board via hwmon. example: rtctemp=$(cat /sys/class/i2c-adapter/i2c-0/0-0068/hwmon/hwmon0/temp1_input) rtctemp=$(bc -l <<< "$rtctemp / 1000") echo "RTC temp = $rtctemp" Attached is changed fake-hwclock which tryes to load rtc_ds3232 module if ds3231attached variable = yes, and falls back to rtc_ds1307 module on older kernels. fake-hwclock.tar.gz
  11. Compiled and activated overlay, but still nothing from acpi_listen
  12. I am looking to example: https://github.com/armbian/sunxi-DT-overlays/blob/master/examples/gpio-button.dts Could I only change pin number in this example?
  13. Thank you very much for answer... But I really don't know how to write such Device Tree overlay. Can you help me with this?