GpioShutdownService for Odroid M1 (And others)

User avatar
joerg
Posts: 2002
Joined: Tue Apr 01, 2014 2:14 am
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2, N1, N2, C4
Location: Germany
Has thanked: 208 times
Been thanked: 454 times
Contact:

Re: GpioShutdownService for Odroid M1

Post by joerg »

Can you post a full logcat at around this time when it crashes? Around 10 sec before and after?

User avatar
zyssai
Posts: 1031
Joined: Wed Jan 27, 2021 6:42 pm
languages_spoken: english, french
ODROIDs: Odroid N2+ 4Gb
VU7C
Has thanked: 502 times
Been thanked: 215 times
Contact:

Re: GpioShutdownService for Odroid M1

Post by zyssai »

joerg wrote:
Fri Oct 20, 2023 1:17 am
Can you post a full logcat at around this time when it crashes? Around 10 sec before and after?
I never really worked with logcat so I hope you will succeed reading this huge log :?

User avatar
joerg
Posts: 2002
Joined: Tue Apr 01, 2014 2:14 am
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2, N1, N2, C4
Location: Germany
Has thanked: 208 times
Been thanked: 454 times
Contact:

Re: GpioShutdownService for Odroid M1

Post by joerg »

I see in logs that it crashes in libWiringPi:pinMode. I identified that it crashes with pins 11, 15 and 16. Pins 15 and 16 are used by serial port, 11 I don't know. It might be that it crashes with other pins also, but not with 24, 3 and 23. You can check it by yourself, which pins are working.

[edit]
I don't know why pins are occupied by serial port and spi and i2c also the overlays are not set in env.ini.

User avatar
zyssai
Posts: 1031
Joined: Wed Jan 27, 2021 6:42 pm
languages_spoken: english, french
ODROIDs: Odroid N2+ 4Gb
VU7C
Has thanked: 502 times
Been thanked: 215 times
Contact:

Re: GpioShutdownService for Odroid M1

Post by zyssai »

Thanks for investigating, I hope it was easy to find.
So, are you facing the same behavior with pins other than 3 and 24?

Also, is it possible that I2C overlay is included into display_vu7c_no_dai?

User avatar
joerg
Posts: 2002
Joined: Tue Apr 01, 2014 2:14 am
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2, N1, N2, C4
Location: Germany
Has thanked: 208 times
Been thanked: 454 times
Contact:

Re: GpioShutdownService for Odroid M1

Post by joerg »

There is something weird with wiringPi on the vulcan edition. On C4 with my own LOS20, I can set also 15, 16, 12, 13 etc without crashing. This pins are set by overlay to serial and spi, but I can set them from my app.
Also I tried to read the Alt information, but it does not work with all pins. A lot of pins report back 0 for Alt. So far I found only wpi pin 10 that reports 1 for being SS as chip select of spi.
Means it doesn't make sense to scan them with my service to not let crash the service.
Who uses the service on N2 vulcan edition, needs to put the pins step by step, to identify working pins.

User avatar
zyssai
Posts: 1031
Joined: Wed Jan 27, 2021 6:42 pm
languages_spoken: english, french
ODROIDs: Odroid N2+ 4Gb
VU7C
Has thanked: 502 times
Been thanked: 215 times
Contact:

Re: GpioShutdownService for Odroid M1

Post by zyssai »

Thanks, so it is a good information for me, it confirms I have not an hardware problem with my N2. Do you think there is something to improve working with voodik?
Or it's better to come back to non-vulkan?

User avatar
joerg
Posts: 2002
Joined: Tue Apr 01, 2014 2:14 am
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2, N1, N2, C4
Location: Germany
Has thanked: 208 times
Been thanked: 454 times
Contact:

Re: GpioShutdownService for Odroid M1

Post by joerg »

Good question. Right now I don't know the benefit that brings vulcan to normal users. You need it? if no, better return, or wait if voodik or Hardkernel team finds something.

User avatar
voodik
Posts: 2660
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: armenian, english, russian
Location: Armenia
Has thanked: 114 times
Been thanked: 802 times
Contact:

Re: GpioShutdownService for Odroid M1

Post by voodik »

I will take a look
These users thanked the author voodik for the post:
joerg (Sun Oct 22, 2023 12:35 am)
Buy me a beer ;)
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io
--------------------------------------------------------
ADB enhanced PuTTY :!:
https://github.com/voodik/puttyadb/releases

User avatar
zyssai
Posts: 1031
Joined: Wed Jan 27, 2021 6:42 pm
languages_spoken: english, french
ODROIDs: Odroid N2+ 4Gb
VU7C
Has thanked: 502 times
Been thanked: 215 times
Contact:

Re: GpioShutdownService for Odroid M1

Post by zyssai »

joerg wrote:
Sat Oct 21, 2023 11:02 pm
Good question. Right now I don't know the benefit that brings vulcan to normal users. You need it? if no, better return, or wait if voodik or Hardkernel team finds something.
voodik wrote:
Sun Oct 22, 2023 12:02 am
I will take a look
Thanks, personally I do not really need vulkan Ed. Anyway it's good to know this bug exist now.

dlugaz
Posts: 6
Joined: Thu Sep 12, 2019 7:50 pm
languages_spoken: english
Has thanked: 1 time
Been thanked: 0
Contact:

Re: GpioShutdownService for Odroid M1

Post by dlugaz »

I've tried version 1.15.1 on Odroid C4, but I'm getting error:
odroid_not_supported.PNG
odroid_not_supported.PNG (213.26 KiB) Viewed 297 times
I've tried 1.13.1 version from the previous topic and it did work, but it didn't support inverted input.

logcat:

Code: Select all

2023-04-14 08:58:21.521  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Autostart Service
2023-04-14 08:58:21.538  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  onCreate() entry
2023-04-14 08:58:21.544  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Checking for su
2023-04-14 08:58:21.546  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  CommandHandler not created
2023-04-14 08:58:21.550  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Starting Shell!
2023-04-14 08:58:21.552  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Starting shell: /system/bin/sh
2023-04-14 08:58:21.552  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Context: normal
2023-04-14 08:58:21.552  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Timeout: 0
2023-04-14 08:58:21.568  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Using Existing Shell!
2023-04-14 08:58:21.569  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Command is in position 0 currently executing command at position 0 and the number of commands is 1
2023-04-14 08:58:21.569  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Processed 0 of 0 output from command.
2023-04-14 08:58:21.571  4610-4643  RootShell v1.6          com.jw.shutdownservice               D  Executing: stat /sbin/su
                                                                                                     with context: NORMAL
2023-04-14 08:58:21.572  4610-4646  RootShell v1.6          com.jw.shutdownservice               D  Command 0 is waiting for: 20000
2023-04-14 08:58:21.596  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  stat: '/sbin/su': Permission denied
2023-04-14 08:58:21.597  4610-4644  Command                 com.jw.shutdownservice               D  ID: 0, stat: '/sbin/su': Permission denied
2023-04-14 08:58:21.597  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  Read all output
2023-04-14 08:58:21.597  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  Command 0 finished.
2023-04-14 08:58:21.597  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  CommandHandler not created
2023-04-14 08:58:21.597  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Using Existing Shell!
2023-04-14 08:58:21.598  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Using Existing Shell!
2023-04-14 08:58:21.598  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Command is in position 1 currently executing command at position 1 and the number of commands is 2
2023-04-14 08:58:21.598  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Processed 0 of 0 output from command.
2023-04-14 08:58:21.601  4610-4643  RootShell v1.6          com.jw.shutdownservice               D  Executing: stat /system/sbin/su
                                                                                                     with context: NORMAL
2023-04-14 08:58:21.604  4610-4650  RootShell v1.6          com.jw.shutdownservice               D  Command 0 is waiting for: 20000
2023-04-14 08:58:21.625  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  stat: '/system/sbin/su': No such file or directory
2023-04-14 08:58:21.625  4610-4644  Command                 com.jw.shutdownservice               D  ID: 0, stat: '/system/sbin/su': No such file or directory
2023-04-14 08:58:21.625  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  Read all output
2023-04-14 08:58:21.625  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  Command 0 finished.
2023-04-14 08:58:21.626  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  CommandHandler not created
2023-04-14 08:58:21.626  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Using Existing Shell!
2023-04-14 08:58:21.627  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Using Existing Shell!
2023-04-14 08:58:21.627  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Command is in position 2 currently executing command at position 2 and the number of commands is 3
2023-04-14 08:58:21.627  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Processed 0 of 0 output from command.
2023-04-14 08:58:21.627  4610-4643  RootShell v1.6          com.jw.shutdownservice               D  Executing: stat /system/bin/su
                                                                                                     with context: NORMAL
2023-04-14 08:58:21.628  4610-4653  RootShell v1.6          com.jw.shutdownservice               D  Command 0 is waiting for: 20000
2023-04-14 08:58:21.644  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  su was found here: /system/bin/
2023-04-14 08:58:21.644  4610-4644  RootShell v1.6          com.jw.shutdownservice               D    File: `/system/bin/su' -> `../xbin/su'
2023-04-14 08:58:21.644  4610-4644  Command                 com.jw.shutdownservice               D  ID: 0,   File: `/system/bin/su' -> `../xbin/su'
2023-04-14 08:58:21.644  4610-4644  RootShell v1.6          com.jw.shutdownservice               D    Size: 10	 Blocks: 0	 IO Blocks: 512	symbolic link
2023-04-14 08:58:21.644  4610-4644  Command                 com.jw.shutdownservice               D  ID: 0,   Size: 10	 Blocks: 0	 IO Blocks: 512	symbolic link
2023-04-14 08:58:21.644  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  Device: b310h/45840d	 Inode: 1436	 Links: 1
2023-04-14 08:58:21.644  4610-4644  Command                 com.jw.shutdownservice               D  ID: 0, Device: b310h/45840d	 Inode: 1436	 Links: 1
2023-04-14 08:58:21.644  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  Access: (755/lrwxr-xr-x)	Uid: (    0/    root)	Gid: ( 2000/   shell)
2023-04-14 08:58:21.644  4610-4644  Command                 com.jw.shutdownservice               D  ID: 0, Access: (755/lrwxr-xr-x)	Uid: (    0/    root)	Gid: ( 2000/   shell)
2023-04-14 08:58:21.645  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  Access: 2023-12-28 12:38:03.227000012
2023-04-14 08:58:21.645  4610-4644  Command                 com.jw.shutdownservice               D  ID: 0, Access: 2023-12-28 12:38:03.227000012
2023-04-14 08:58:21.645  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  Modify: 2023-04-14 06:44:39.000000000
2023-04-14 08:58:21.645  4610-4644  Command                 com.jw.shutdownservice               D  ID: 0, Modify: 2023-04-14 06:44:39.000000000
2023-04-14 08:58:21.645  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  Change: 2023-04-14 06:44:39.000000000
2023-04-14 08:58:21.645  4610-4644  Command                 com.jw.shutdownservice               D  ID: 0, Change: 2023-04-14 06:44:39.000000000
2023-04-14 08:58:21.646  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  Read all output
2023-04-14 08:58:21.646  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  Command 0 finished.
2023-04-14 08:58:21.646  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Root is available
2023-04-14 08:58:21.646  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Checking for Root access
2023-04-14 08:58:21.646  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  CommandHandler not created
2023-04-14 08:58:21.646  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Starting Root Shell!
2023-04-14 08:58:21.646  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Trying to open Root Shell, attempt #0
2023-04-14 08:58:21.646  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Starting shell: su
2023-04-14 08:58:21.647  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Context: normal
2023-04-14 08:58:21.647  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Timeout: 0
2023-04-14 08:58:21.868  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Command is in position 0 currently executing command at position 0 and the number of commands is 1
2023-04-14 08:58:21.868  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Processed 0 of 0 output from command.
2023-04-14 08:58:21.872  4610-4680  RootShell v1.6          com.jw.shutdownservice               D  Executing: id
                                                                                                     with context: NORMAL
2023-04-14 08:58:21.876  4610-4684  RootShell v1.6          com.jw.shutdownservice               D  Command 158 is waiting for: 20000
2023-04-14 08:58:21.899  4610-4681  Command                 com.jw.shutdownservice               D  ID: 158, uid=0(root) gid=0(root) groups=0(root) context=u:r:su:s0
2023-04-14 08:58:21.902  4610-4681  RootShell v1.6          com.jw.shutdownservice               D  Read all output
2023-04-14 08:58:21.902  4610-4681  RootShell v1.6          com.jw.shutdownservice               D  Command 158 finished.
2023-04-14 08:58:21.902  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  groups=0(root)
2023-04-14 08:58:21.903  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  gid=0(root)
2023-04-14 08:58:21.903  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  uid=0(root)
2023-04-14 08:58:21.903  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Access Given
2023-04-14 08:58:21.903  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  RootTools access is given
2023-04-14 08:58:21.903  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Using Existing Root Shell!
2023-04-14 08:58:21.903  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Model: hardkernel co., ltd. odroid-c4
2023-04-14 08:58:21.903  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Checking ro.product.device, check = true
2023-04-14 08:58:21.903  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Entering wiringPiSetup, check = true
2023-04-14 08:58:21.928  4610-4610  wpi_android             com.jw.shutdownservice               I  Entering wiringPiSetup
2023-04-14 08:58:21.924  4610-4610  shutdownservice         com.jw.shutdownservice               I  type=1400 audit(0.0:201): avc: denied { read } for name="model" dev="sysfs" ino=63 scontext=u:r:untrusted_app:s0:c75,c256,c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
2023-04-14 08:58:21.924  4610-4610  shutdownservice         com.jw.shutdownservice               I  type=1400 audit(0.0:202): avc: denied { open } for path="/sys/firmware/devicetree/base/model" dev="sysfs" ino=63 scontext=u:r:untrusted_app:s0:c75,c256,c512,c768 tcontext=u:object_r:sysfs:s0
                                                                                                    tclass=file permissive=1
2023-04-14 08:58:21.924  4610-4610  shutdownservice         com.jw.shutdownservice               I  type=1400 audit(0.0:203): avc: denied { getattr } for path="/sys/firmware/devicetree/base/model" dev="sysfs" ino=63 scontext=u:r:untrusted_app:s0:c75,c256,c512,c768 tcontext=u:object_r:sysfs:s0
                                                                                                    tclass=file permissive=1
2023-04-14 08:58:21.924  4610-4610  shutdownservice         com.jw.shutdownservice               I  type=1400 audit(0.0:204): avc: denied { read write } for name="gpiomem" dev="tmpfs" ino=2314 scontext=u:r:untrusted_app:s0:c75,c256,c512,c768 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
2023-04-14 08:58:21.924  4610-4610  shutdownservice         com.jw.shutdownservice               I  type=1400 audit(0.0:205): avc: denied { open } for path="/dev/gpiomem" dev="tmpfs" ino=2314 scontext=u:r:untrusted_app:s0:c75,c256,c512,c768 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
2023-04-14 08:58:21.929  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Starting reading shared preferences, check = true
2023-04-14 08:58:21.946  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Restart: 28
2023-04-14 08:58:21.946  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Shutdown: 0
2023-04-14 08:58:21.947  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Time.Shutdown: 5000
2023-04-14 08:58:21.947  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Time.Shutdown: 5000
2023-04-14 08:58:21.947  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Heartbeat: 
2023-04-14 08:58:21.947  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Time.Heartbeat: 
2023-04-14 08:58:21.947  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.HoldPower: 23
2023-04-14 08:58:21.947  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.GpioRemotePiSequence: 
2023-04-14 08:58:21.948  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra1: 
2023-04-14 08:58:21.948  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra2: 
2023-04-14 08:58:21.948  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra3: 
2023-04-14 08:58:21.948  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra4: 
2023-04-14 08:58:21.948  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra5: 
2023-04-14 08:58:21.948  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra6: 
2023-04-14 08:58:21.949  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra7: 
2023-04-14 08:58:21.949  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra8: 
2023-04-14 08:58:21.949  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra9: 
2023-04-14 08:58:21.949  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra10: 
2023-04-14 08:58:21.949  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra11: 
2023-04-14 08:58:21.949  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra12: 
2023-04-14 08:58:21.950  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  GpioShutdownService is made by J. Wolff and works only on Odroid_C1/C2/ Experimental on XU3/XU4/N1. Use it on your own risk!
                                                                                                    The default values are:
                                                                                                    wiringPi# 24 aka Pin 35: short by resistor 2k to GND triggers Shutdown.
                                                                                                    wiringPi# 27 aka Pin 36: short by resistor 2k to GND triggers Reboot.
                                                                                                    wiringPi# 23 aka Pin 33: output set to high until powered down
                                                                                                    Don't use it on other Platform! You have been warned.
2023-04-14 08:58:21.950  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  pinMode: 0
2023-04-14 08:58:21.950  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  pinMode: 28
2023-04-14 08:58:21.950  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  pinMode: 23
2023-04-14 08:58:21.950  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Starting OnStart timer...
2023-04-14 08:58:21.953  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  ready!
2023-04-14 08:58:21.954  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  onCreate() exit
2023-04-14 08:58:21.977  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  onStartCommand()
2023-04-14 08:58:21.977  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  onStartCommand().t.scheduleAtFixedRate()
2023-04-14 08:58:31.951  4610-4688  RootShell v1.6          com.jw.shutdownservice               D  CommandHandler not created
2023-04-14 08:58:31.953  4610-4680  RootShell v1.6          com.jw.shutdownservice               D  Executing: 
                                                                                                     with context: NORMAL
2023-04-14 08:58:31.953  4610-4734  RootShell v1.6          com.jw.shutdownservice               D  Command 0 is waiting for: 20000
2023-04-14 08:58:31.954  4610-4681  RootShell v1.6          com.jw.shutdownservice               D  Read all output
2023-04-14 08:58:31.954  4610-4681  RootShell v1.6          com.jw.shutdownservice               D  Command 0 finished.
2023-04-14 08:58:45.779  4610-4610  ActivityThread          com.jw.shutdownservice               W  handleWindowVisibility: no activity for token android.os.BinderProxy@2607e1b
2023-04-14 08:58:45.922  4610-4610  OpenGLRenderer          com.jw.shutdownservice               D  Skia GL Pipeline
2023-04-14 08:58:46.427  4610-4615  shutdownservic          com.jw.shutdownservice               I  Compiler allocated 4MB to compile void android.widget.TextView.<init>(android.content.Context, android.util.AttributeSet, int, int)
2023-04-14 08:58:46.622  4610-4755  ConfigStore             com.jw.shutdownservice               I  android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
2023-04-14 08:58:46.622  4610-4755  ConfigStore             com.jw.shutdownservice               I  android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
2023-04-14 08:58:46.622  4610-4755  OpenGLRenderer          com.jw.shutdownservice               I  Initialized EGL, version 1.4
2023-04-14 08:58:46.622  4610-4755  OpenGLRenderer          com.jw.shutdownservice               D  Swap behavior 2
2023-04-14 08:58:46.636  4610-4755  mali_winsys             com.jw.shutdownservice               D  EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
2023-04-14 08:58:46.956  4610-4610  RenderThread            com.jw.shutdownservice               I  type=1400 audit(0.0:232): avc: denied { execute } for path="/vendor/lib64/hw/gralloc.odroidc4.so" dev="mmcblk1p17" ino=939 scontext=u:r:untrusted_app:s0:c75,c256,c512,c768
                                                                                                    tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
2023-04-14 08:58:46.963  4610-4755  gralloc                 com.jw.shutdownservice               E  ioctl c0044901 failed with code -1: Invalid argument
2023-04-14 08:58:46.963  4610-4755  gralloc                 com.jw.shutdownservice               I  ddebug, pair (share_fd=66, user_hnd=1, ion_client=68)
2023-04-14 08:58:47.018  4610-4755  gralloc                 com.jw.shutdownservice               I  ddebug, pair (share_fd=70, user_hnd=2, ion_client=68)
2023-04-14 08:58:47.794  4610-4755  gralloc                 com.jw.shutdownservice               I  ddebug, pair (share_fd=72, user_hnd=3, ion_client=68)
2023-04-14 08:58:51.579  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  onDestroy()
2023-04-14 08:58:51.581  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  onCreate() entry
2023-04-14 08:58:51.581  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Checking for su
2023-04-14 08:58:51.581  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  CommandHandler not created
2023-04-14 08:58:51.581  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Using Existing Shell!
2023-04-14 08:58:51.582  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Using Existing Shell!
2023-04-14 08:58:51.582  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Command is in position 3 currently executing command at position 3 and the number of commands is 4
2023-04-14 08:58:51.582  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Processed 0 of 0 output from command.
2023-04-14 08:58:51.586  4610-4643  RootShell v1.6          com.jw.shutdownservice               D  Executing: stat /sbin/su
                                                                                                     with context: NORMAL
2023-04-14 08:58:51.591  4610-4767  RootShell v1.6          com.jw.shutdownservice               D  Command 0 is waiting for: 20000
2023-04-14 08:58:51.606  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  stat: '/sbin/su': Permission denied
2023-04-14 08:58:51.606  4610-4644  Command                 com.jw.shutdownservice               D  ID: 0, stat: '/sbin/su': Permission denied
2023-04-14 08:58:51.607  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  Read all output
2023-04-14 08:58:51.607  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  Command 0 finished.
2023-04-14 08:58:51.607  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  CommandHandler not created
2023-04-14 08:58:51.607  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Using Existing Shell!
2023-04-14 08:58:51.608  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Using Existing Shell!
2023-04-14 08:58:51.608  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Command is in position 4 currently executing command at position 4 and the number of commands is 5
2023-04-14 08:58:51.608  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Processed 0 of 0 output from command.
2023-04-14 08:58:51.609  4610-4643  RootShell v1.6          com.jw.shutdownservice               D  Executing: stat /system/sbin/su
                                                                                                     with context: NORMAL
2023-04-14 08:58:51.610  4610-4770  RootShell v1.6          com.jw.shutdownservice               D  Command 0 is waiting for: 20000
2023-04-14 08:58:51.631  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  stat: '/system/sbin/su': No such file or directory
2023-04-14 08:58:51.631  4610-4644  Command                 com.jw.shutdownservice               D  ID: 0, stat: '/system/sbin/su': No such file or directory
2023-04-14 08:58:51.631  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  Read all output
2023-04-14 08:58:51.632  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  Command 0 finished.
2023-04-14 08:58:51.632  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  CommandHandler not created
2023-04-14 08:58:51.632  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Using Existing Shell!
2023-04-14 08:58:51.632  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Using Existing Shell!
2023-04-14 08:58:51.633  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Command is in position 5 currently executing command at position 5 and the number of commands is 6
2023-04-14 08:58:51.633  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Processed 0 of 0 output from command.
2023-04-14 08:58:51.634  4610-4643  RootShell v1.6          com.jw.shutdownservice               D  Executing: stat /system/bin/su
                                                                                                     with context: NORMAL
2023-04-14 08:58:51.634  4610-4773  RootShell v1.6          com.jw.shutdownservice               D  Command 0 is waiting for: 20000
2023-04-14 08:58:51.651  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  su was found here: /system/bin/
2023-04-14 08:58:51.651  4610-4644  RootShell v1.6          com.jw.shutdownservice               D    File: `/system/bin/su' -> `../xbin/su'
2023-04-14 08:58:51.651  4610-4644  Command                 com.jw.shutdownservice               D  ID: 0,   File: `/system/bin/su' -> `../xbin/su'
2023-04-14 08:58:51.652  4610-4644  RootShell v1.6          com.jw.shutdownservice               D    Size: 10	 Blocks: 0	 IO Blocks: 512	symbolic link
2023-04-14 08:58:51.652  4610-4644  Command                 com.jw.shutdownservice               D  ID: 0,   Size: 10	 Blocks: 0	 IO Blocks: 512	symbolic link
2023-04-14 08:58:51.652  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  Device: b310h/45840d	 Inode: 1436	 Links: 1
2023-04-14 08:58:51.652  4610-4644  Command                 com.jw.shutdownservice               D  ID: 0, Device: b310h/45840d	 Inode: 1436	 Links: 1
2023-04-14 08:58:51.652  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  Access: (755/lrwxr-xr-x)	Uid: (    0/    root)	Gid: ( 2000/   shell)
2023-04-14 08:58:51.652  4610-4644  Command                 com.jw.shutdownservice               D  ID: 0, Access: (755/lrwxr-xr-x)	Uid: (    0/    root)	Gid: ( 2000/   shell)
2023-04-14 08:58:51.652  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  Access: 2023-12-28 12:38:03.227000012
2023-04-14 08:58:51.652  4610-4644  Command                 com.jw.shutdownservice               D  ID: 0, Access: 2023-12-28 12:38:03.227000012
2023-04-14 08:58:51.652  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  Modify: 2023-04-14 06:44:39.000000000
2023-04-14 08:58:51.652  4610-4644  Command                 com.jw.shutdownservice               D  ID: 0, Modify: 2023-04-14 06:44:39.000000000
2023-04-14 08:58:51.653  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  Change: 2023-04-14 06:44:39.000000000
2023-04-14 08:58:51.653  4610-4644  Command                 com.jw.shutdownservice               D  ID: 0, Change: 2023-04-14 06:44:39.000000000
2023-04-14 08:58:51.653  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  Read all output
2023-04-14 08:58:51.653  4610-4644  RootShell v1.6          com.jw.shutdownservice               D  Command 0 finished.
2023-04-14 08:58:51.653  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Root is available
2023-04-14 08:58:51.654  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Checking for Root access
2023-04-14 08:58:51.654  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  CommandHandler not created
2023-04-14 08:58:51.654  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Using Existing Root Shell!
2023-04-14 08:58:51.654  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Command is in position 2 currently executing command at position 2 and the number of commands is 3
2023-04-14 08:58:51.654  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Processed 0 of 0 output from command.
2023-04-14 08:58:51.657  4610-4680  RootShell v1.6          com.jw.shutdownservice               D  Executing: id
                                                                                                     with context: NORMAL
2023-04-14 08:58:51.657  4610-4776  RootShell v1.6          com.jw.shutdownservice               D  Command 158 is waiting for: 20000
2023-04-14 08:58:51.681  4610-4681  Command                 com.jw.shutdownservice               D  ID: 158, uid=0(root) gid=0(root) groups=0(root) context=u:r:su:s0
2023-04-14 08:58:51.682  4610-4681  RootShell v1.6          com.jw.shutdownservice               D  Read all output
2023-04-14 08:58:51.682  4610-4681  RootShell v1.6          com.jw.shutdownservice               D  Command 158 finished.
2023-04-14 08:58:51.683  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  groups=0(root)
2023-04-14 08:58:51.683  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  gid=0(root)
2023-04-14 08:58:51.683  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  uid=0(root)
2023-04-14 08:58:51.683  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Access Given
2023-04-14 08:58:51.683  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  RootTools access is given
2023-04-14 08:58:51.683  4610-4610  RootShell v1.6          com.jw.shutdownservice               D  Using Existing Root Shell!
2023-04-14 08:58:51.683  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Model: hardkernel co., ltd. odroid-c4
2023-04-14 08:58:51.683  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Checking ro.product.device, check = true
2023-04-14 08:58:51.683  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Entering wiringPiSetup, check = true
2023-04-14 08:58:51.684  4610-4610  wpi_android             com.jw.shutdownservice               I  Entering wiringPiSetup
2023-04-14 08:58:51.684  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Starting reading shared preferences, check = true
2023-04-14 08:58:51.684  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Restart: 28
2023-04-14 08:58:51.684  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Shutdown: 0
2023-04-14 08:58:51.684  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Time.Shutdown: 5000
2023-04-14 08:58:51.685  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Time.Shutdown: 5000
2023-04-14 08:58:51.685  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Heartbeat: 
2023-04-14 08:58:51.685  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Time.Heartbeat: 
2023-04-14 08:58:51.685  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.HoldPower: 23
2023-04-14 08:58:51.685  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.GpioRemotePiSequence: 
2023-04-14 08:58:51.685  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra1: 
2023-04-14 08:58:51.685  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra2: 
2023-04-14 08:58:51.685  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra3: 
2023-04-14 08:58:51.685  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra4: 
2023-04-14 08:58:51.686  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra5: 
2023-04-14 08:58:51.686  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra6: 
2023-04-14 08:58:51.686  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra7: 
2023-04-14 08:58:51.686  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra8: 
2023-04-14 08:58:51.686  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra9: 
2023-04-14 08:58:51.686  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra10: 
2023-04-14 08:58:51.686  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra11: 
2023-04-14 08:58:51.687  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra12: 
2023-04-14 08:58:51.687  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  GpioShutdownService is made by J. Wolff and works only on Odroid_C1/C2/ Experimental on XU3/XU4/N1. Use it on your own risk!
                                                                                                    The default values are:
                                                                                                    wiringPi# 24 aka Pin 35: short by resistor 2k to GND triggers Shutdown.
                                                                                                    wiringPi# 27 aka Pin 36: short by resistor 2k to GND triggers Reboot.
                                                                                                    wiringPi# 23 aka Pin 33: output set to high until powered down
                                                                                                    Don't use it on other Platform! You have been warned.
2023-04-14 08:58:51.688  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  pinMode: 0
2023-04-14 08:58:51.688  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  pinMode: 28
2023-04-14 08:58:51.688  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  pinMode: 23
2023-04-14 08:58:51.688  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Starting OnStart timer...
2023-04-14 08:58:51.692  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  ready!
2023-04-14 08:58:51.693  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  onCreate() exit
2023-04-14 08:58:51.719  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  onStartCommand()
2023-04-14 08:58:51.719  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  onStartCommand().t.scheduleAtFixedRate()
2023-04-14 08:58:52.300  4610-4755  gralloc                 com.jw.shutdownservice               I  ddebug, free share_fd=72, user_hnd=0x3, ion client=68
2023-04-14 08:58:52.301  4610-4755  gralloc                 com.jw.shutdownservice               I  ddebug, free share_fd=66, user_hnd=0x1, ion client=68
2023-04-14 08:58:52.301  4610-4755  gralloc                 com.jw.shutdownservice               I  ddebug, free share_fd=70, user_hnd=0x2, ion client=68
2023-04-14 08:58:52.302  4610-4755  libEGL                  com.jw.shutdownservice               W  EGLNativeWindowType 0x77c6214010 disconnect failed
2023-04-14 08:59:01.690  4610-4778  RootShell v1.6          com.jw.shutdownservice               D  CommandHandler not created
2023-04-14 08:59:01.692  4610-4680  RootShell v1.6          com.jw.shutdownservice               D  Executing: 
                                                                                                     with context: NORMAL
2023-04-14 08:59:01.692  4610-4798  RootShell v1.6          com.jw.shutdownservice               D  Command 0 is waiting for: 20000
2023-04-14 08:59:01.693  4610-4681  RootShell v1.6          com.jw.shutdownservice               D  Read all output
2023-04-14 08:59:01.694  4610-4681  RootShell v1.6          com.jw.shutdownservice               D  Command 0 finished.
2023-04-14 09:00:06.925  5048-5048  shutdownservic          com.jw.shutdownservice               W  Accessing hidden field Landroid/os/Trace;->TRACE_TAG_APP:J (light greylist, reflection)
2023-04-14 09:00:06.926  5048-5048  shutdownservic          com.jw.shutdownservice               W  Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (light greylist, reflection)
2023-04-14 09:00:07.086  5048-5048  OpenGLRenderer          com.jw.shutdownservice               D  Skia GL Pipeline
2023-04-14 09:00:07.249  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  first start
2023-04-14 09:00:07.317  5048-5048  shutdownservic          com.jw.shutdownservice               W  Accessing hidden field Landroid/graphics/Insets;->left:I (light greylist, linking)
2023-04-14 09:00:07.317  5048-5048  shutdownservic          com.jw.shutdownservice               W  Accessing hidden field Landroid/graphics/Insets;->top:I (light greylist, linking)
2023-04-14 09:00:07.317  5048-5048  shutdownservic          com.jw.shutdownservice               W  Accessing hidden field Landroid/graphics/Insets;->right:I (light greylist, linking)
2023-04-14 09:00:07.317  5048-5048  shutdownservic          com.jw.shutdownservice               W  Accessing hidden field Landroid/graphics/Insets;->bottom:I (light greylist, linking)
2023-04-14 09:00:07.747  5048-5053  shutdownservic          com.jw.shutdownservice               I  Compiler allocated 4MB to compile void android.widget.TextView.<init>(android.content.Context, android.util.AttributeSet, int, int)
2023-04-14 09:00:08.064  5048-5078  ConfigStore             com.jw.shutdownservice               I  android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
2023-04-14 09:00:08.064  5048-5078  ConfigStore             com.jw.shutdownservice               I  android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
2023-04-14 09:00:08.064  5048-5078  OpenGLRenderer          com.jw.shutdownservice               I  Initialized EGL, version 1.4
2023-04-14 09:00:08.064  5048-5078  OpenGLRenderer          com.jw.shutdownservice               D  Swap behavior 2
2023-04-14 09:00:08.089  5048-5078  mali_winsys             com.jw.shutdownservice               D  EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
2023-04-14 09:00:08.498  5048-5048  Choreographer           com.jw.shutdownservice               I  Skipped 32 frames!  The application may be doing too much work on its main thread.
2023-04-14 09:00:08.524  5048-5048  RenderThread            com.jw.shutdownservice               I  type=1400 audit(0.0:270): avc: denied { execute } for path="/vendor/lib64/hw/gralloc.odroidc4.so" dev="mmcblk1p17" ino=939 scontext=u:r:untrusted_app:s0:c76,c256,c512,c768
                                                                                                    tcontext=u:object_r:vendor_file:s0 tclass=file permissive=1
2023-04-14 09:00:08.532  5048-5078  gralloc                 com.jw.shutdownservice               E  ioctl c0044901 failed with code -1: Invalid argument
2023-04-14 09:00:08.532  5048-5078  gralloc                 com.jw.shutdownservice               I  ddebug, pair (share_fd=57, user_hnd=1, ion_client=59)
2023-04-14 09:00:08.672  5048-5048  shutdownservic          com.jw.shutdownservice               W  Accessing hidden method Landroid/os/Trace;->asyncTraceBegin(JLjava/lang/String;I)V (light greylist, reflection)
2023-04-14 09:00:08.672  5048-5048  shutdownservic          com.jw.shutdownservice               W  Accessing hidden method Landroid/os/Trace;->asyncTraceEnd(JLjava/lang/String;I)V (light greylist, reflection)
2023-04-14 09:00:08.673  5048-5048  shutdownservic          com.jw.shutdownservice               W  Accessing hidden method Landroid/os/Trace;->traceCounter(JLjava/lang/String;I)V (light greylist, reflection)
2023-04-14 09:00:08.683  5048-5078  gralloc                 com.jw.shutdownservice               I  ddebug, pair (share_fd=60, user_hnd=2, ion_client=59)
2023-04-14 09:00:09.180  5048-5078  gralloc                 com.jw.shutdownservice               I  ddebug, pair (share_fd=62, user_hnd=3, ion_client=59)
2023-04-14 09:00:12.160  5048-5078  mali_winsys             com.jw.shutdownservice               D  EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
2023-04-14 09:00:12.201  5048-5078  gralloc                 com.jw.shutdownservice               I  ddebug, pair (share_fd=68, user_hnd=4, ion_client=59)
2023-04-14 09:00:13.334  5048-5078  gralloc                 com.jw.shutdownservice               I  ddebug, pair (share_fd=71, user_hnd=5, ion_client=59)
2023-04-14 09:00:13.398  5048-5078  gralloc                 com.jw.shutdownservice               I  ddebug, pair (share_fd=73, user_hnd=6, ion_client=59)
2023-04-14 09:00:13.447  5048-5078  mali_winsys             com.jw.shutdownservice               D  EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
2023-04-14 09:00:13.477  5048-5078  gralloc                 com.jw.shutdownservice               I  ddebug, pair (share_fd=76, user_hnd=7, ion_client=59)
2023-04-14 09:00:14.192  5048-5078  gralloc                 com.jw.shutdownservice               I  ddebug, free share_fd=76, user_hnd=0x7, ion client=59
2023-04-14 09:00:14.192  5048-5078  libEGL                  com.jw.shutdownservice               W  EGLNativeWindowType 0x77c42f9010 disconnect failed
2023-04-14 09:00:20.023  5048-5078  gralloc                 com.jw.shutdownservice               I  ddebug, free share_fd=68, user_hnd=0x4, ion client=59
2023-04-14 09:00:20.023  5048-5078  gralloc                 com.jw.shutdownservice               I  ddebug, free share_fd=71, user_hnd=0x5, ion client=59
2023-04-14 09:00:20.023  5048-5078  gralloc                 com.jw.shutdownservice               I  ddebug, free share_fd=73, user_hnd=0x6, ion client=59
2023-04-14 09:00:20.023  5048-5078  libEGL                  com.jw.shutdownservice               W  EGLNativeWindowType 0x77c5d3e010 disconnect failed
2023-04-14 09:00:21.572  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  onCreate() entry
2023-04-14 09:00:21.577  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  Checking for su
2023-04-14 09:00:21.579  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  CommandHandler not created
2023-04-14 09:00:21.582  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  Starting Shell!
2023-04-14 09:00:21.584  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  Starting shell: /system/bin/sh
2023-04-14 09:00:21.584  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  Context: normal
2023-04-14 09:00:21.584  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  Timeout: 0
2023-04-14 09:00:21.599  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  Using Existing Shell!
2023-04-14 09:00:21.599  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  Command is in position 0 currently executing command at position 0 and the number of commands is 1
2023-04-14 09:00:21.599  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  Processed 0 of 0 output from command.
2023-04-14 09:00:21.603  5048-5121  RootShell v1.6          com.jw.shutdownservice               D  Executing: stat /sbin/su
                                                                                                     with context: NORMAL
2023-04-14 09:00:21.603  5048-5126  RootShell v1.6          com.jw.shutdownservice               D  Command 0 is waiting for: 20000
2023-04-14 09:00:21.619  5048-5123  RootShell v1.6          com.jw.shutdownservice               D  stat: '/sbin/su': Permission denied
2023-04-14 09:00:21.619  5048-5123  Command                 com.jw.shutdownservice               D  ID: 0, stat: '/sbin/su': Permission denied
2023-04-14 09:00:21.620  5048-5123  RootShell v1.6          com.jw.shutdownservice               D  Read all output
2023-04-14 09:00:21.620  5048-5123  RootShell v1.6          com.jw.shutdownservice               D  Command 0 finished.
2023-04-14 09:00:21.620  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  CommandHandler not created
2023-04-14 09:00:21.620  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  Using Existing Shell!
2023-04-14 09:00:21.621  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  Using Existing Shell!
2023-04-14 09:00:21.621  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  Command is in position 1 currently executing command at position 1 and the number of commands is 2
2023-04-14 09:00:21.621  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  Processed 0 of 0 output from command.
2023-04-14 09:00:21.622  5048-5121  RootShell v1.6          com.jw.shutdownservice               D  Executing: stat /system/sbin/su
                                                                                                     with context: NORMAL
2023-04-14 09:00:21.622  5048-5129  RootShell v1.6          com.jw.shutdownservice               D  Command 0 is waiting for: 20000
2023-04-14 09:00:21.638  5048-5123  RootShell v1.6          com.jw.shutdownservice               D  stat: '/system/sbin/su': No such file or directory
2023-04-14 09:00:21.638  5048-5123  Command                 com.jw.shutdownservice               D  ID: 0, stat: '/system/sbin/su': No such file or directory
2023-04-14 09:00:21.638  5048-5123  RootShell v1.6          com.jw.shutdownservice               D  Read all output
2023-04-14 09:00:21.638  5048-5123  RootShell v1.6          com.jw.shutdownservice               D  Command 0 finished.
2023-04-14 09:00:21.639  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  CommandHandler not created
2023-04-14 09:00:21.639  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  Using Existing Shell!
2023-04-14 09:00:21.639  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  Using Existing Shell!
2023-04-14 09:00:21.639  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  Command is in position 2 currently executing command at position 2 and the number of commands is 3
2023-04-14 09:00:21.640  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  Processed 0 of 0 output from command.
2023-04-14 09:00:21.648  5048-5121  RootShell v1.6          com.jw.shutdownservice               D  Executing: stat /system/bin/su
                                                                                                     with context: NORMAL
2023-04-14 09:00:21.649  5048-5132  RootShell v1.6          com.jw.shutdownservice               D  Command 0 is waiting for: 20000
2023-04-14 09:00:21.663  5048-5123  RootShell v1.6          com.jw.shutdownservice               D  su was found here: /system/bin/
2023-04-14 09:00:21.663  5048-5123  RootShell v1.6          com.jw.shutdownservice               D    File: `/system/bin/su' -> `../xbin/su'
2023-04-14 09:00:21.663  5048-5123  Command                 com.jw.shutdownservice               D  ID: 0,   File: `/system/bin/su' -> `../xbin/su'
2023-04-14 09:00:21.664  5048-5123  RootShell v1.6          com.jw.shutdownservice               D    Size: 10	 Blocks: 0	 IO Blocks: 512	symbolic link
2023-04-14 09:00:21.664  5048-5123  Command                 com.jw.shutdownservice               D  ID: 0,   Size: 10	 Blocks: 0	 IO Blocks: 512	symbolic link
2023-04-14 09:00:21.664  5048-5123  RootShell v1.6          com.jw.shutdownservice               D  Device: b310h/45840d	 Inode: 1436	 Links: 1
2023-04-14 09:00:21.664  5048-5123  Command                 com.jw.shutdownservice               D  ID: 0, Device: b310h/45840d	 Inode: 1436	 Links: 1
2023-04-14 09:00:21.664  5048-5123  RootShell v1.6          com.jw.shutdownservice               D  Access: (755/lrwxr-xr-x)	Uid: (    0/    root)	Gid: ( 2000/   shell)
2023-04-14 09:00:21.664  5048-5123  Command                 com.jw.shutdownservice               D  ID: 0, Access: (755/lrwxr-xr-x)	Uid: (    0/    root)	Gid: ( 2000/   shell)
2023-04-14 09:00:21.664  5048-5123  RootShell v1.6          com.jw.shutdownservice               D  Access: 2023-12-28 12:38:03.227000012
2023-04-14 09:00:21.664  5048-5123  Command                 com.jw.shutdownservice               D  ID: 0, Access: 2023-12-28 12:38:03.227000012
2023-04-14 09:00:21.664  5048-5123  RootShell v1.6          com.jw.shutdownservice               D  Modify: 2023-04-14 06:44:39.000000000
2023-04-14 09:00:21.665  5048-5123  Command                 com.jw.shutdownservice               D  ID: 0, Modify: 2023-04-14 06:44:39.000000000
2023-04-14 09:00:21.665  5048-5123  RootShell v1.6          com.jw.shutdownservice               D  Change: 2023-04-14 06:44:39.000000000
2023-04-14 09:00:21.665  5048-5123  Command                 com.jw.shutdownservice               D  ID: 0, Change: 2023-04-14 06:44:39.000000000
2023-04-14 09:00:21.665  5048-5123  RootShell v1.6          com.jw.shutdownservice               D  Read all output
2023-04-14 09:00:21.665  5048-5123  RootShell v1.6          com.jw.shutdownservice               D  Command 0 finished.
2023-04-14 09:00:21.666  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Root is available
2023-04-14 09:00:21.666  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  Checking for Root access
2023-04-14 09:00:21.666  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  CommandHandler not created
2023-04-14 09:00:21.666  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  Starting Root Shell!
2023-04-14 09:00:21.666  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  Trying to open Root Shell, attempt #0
2023-04-14 09:00:21.666  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  Starting shell: su
2023-04-14 09:00:21.666  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  Context: normal
2023-04-14 09:00:21.666  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  Timeout: 0
2023-04-14 09:00:21.846  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  Command is in position 0 currently executing command at position 0 and the number of commands is 1
2023-04-14 09:00:21.846  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  Processed 0 of 0 output from command.
2023-04-14 09:00:21.847  5048-5156  RootShell v1.6          com.jw.shutdownservice               D  Executing: id
                                                                                                     with context: NORMAL
2023-04-14 09:00:21.850  5048-5160  RootShell v1.6          com.jw.shutdownservice               D  Command 158 is waiting for: 20000
2023-04-14 09:00:21.864  5048-5157  Command                 com.jw.shutdownservice               D  ID: 158, uid=0(root) gid=0(root) groups=0(root) context=u:r:su:s0
2023-04-14 09:00:21.865  5048-5157  RootShell v1.6          com.jw.shutdownservice               D  Read all output
2023-04-14 09:00:21.865  5048-5157  RootShell v1.6          com.jw.shutdownservice               D  Command 158 finished.
2023-04-14 09:00:21.865  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  groups=0(root)
2023-04-14 09:00:21.865  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  gid=0(root)
2023-04-14 09:00:21.865  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  uid=0(root)
2023-04-14 09:00:21.865  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  Access Given
2023-04-14 09:00:21.866  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  RootTools access is given
2023-04-14 09:00:21.866  5048-5048  RootShell v1.6          com.jw.shutdownservice               D  Using Existing Root Shell!
2023-04-14 09:00:21.866  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Model: hardkernel co., ltd. odroid-c4
2023-04-14 09:00:21.866  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               E  Wrong device! Device: hardkernel co., ltd. odroid-c4
2023-04-14 09:00:21.889  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Checking ro.product.device, check = false
2023-04-14 09:00:21.889  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  buildtype: odroid
2023-04-14 09:00:21.889  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Entering wiringPiSetup, check = false
2023-04-14 09:00:21.901  5048-5048  wpi_android             com.jw.shutdownservice               I  Entering wiringPiSetup
2023-04-14 09:00:21.902  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Starting reading shared preferences, check = false
2023-04-14 09:00:21.903  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Restart: 
2023-04-14 09:00:21.903  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Shutdown: 0
2023-04-14 09:00:21.904  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Time.Shutdown: 300000
2023-04-14 09:00:21.904  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Time.Shutdown: 300000
2023-04-14 09:00:21.904  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Heartbeat: 
2023-04-14 09:00:21.904  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Time.Heartbeat: 
2023-04-14 09:00:21.905  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.HoldPower: 23
2023-04-14 09:00:21.905  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.GpioRemotePiSequence: 
2023-04-14 09:00:21.905  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra1: 
2023-04-14 09:00:21.905  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra2: 
2023-04-14 09:00:21.905  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra3: 
2023-04-14 09:00:21.905  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra4: 
2023-04-14 09:00:21.905  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra5: 
2023-04-14 09:00:21.906  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra6: 
2023-04-14 09:00:21.906  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra7: 
2023-04-14 09:00:21.906  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra8: 
2023-04-14 09:00:21.906  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra9: 
2023-04-14 09:00:21.906  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra10: 
2023-04-14 09:00:21.906  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra11: 
2023-04-14 09:00:21.906  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Gpio.Extra12: 
2023-04-14 09:00:21.907  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  GpioShutdownService is made by J. Wolff and works only on Odroid_C1/C2/ Experimental on XU3/XU4/N1. Use it on your own risk!
                                                                                                    The default values are:
                                                                                                    wiringPi# 24 aka Pin 35: short by resistor 2k to GND triggers Shutdown.
                                                                                                    wiringPi# 27 aka Pin 36: short by resistor 2k to GND triggers Reboot.
                                                                                                    wiringPi# 23 aka Pin 33: output set to high until powered down
                                                                                                    Don't use it on other Platform! You have been warned.
2023-04-14 09:00:21.908  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  pinMode: 0
2023-04-14 09:00:21.908  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  pullUpDnControl: -1
2023-04-14 09:00:21.908  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  pinMode: 23
2023-04-14 09:00:21.908  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Starting OnStart timer...
2023-04-14 09:00:21.909  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  not ready!
2023-04-14 09:00:21.909  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  onCreate() exit
2023-04-14 09:00:21.926  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  onStartCommand()
2023-04-14 09:00:21.985  5048-5048  ActivityThread          com.jw.shutdownservice               W  handleWindowVisibility: no activity for token android.os.BinderProxy@d3535fc
2023-04-14 09:00:22.192  5048-5078  mali_winsys             com.jw.shutdownservice               D  EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
2023-04-14 09:00:22.214  5048-5078  gralloc                 com.jw.shutdownservice               I  ddebug, pair (share_fd=78, user_hnd=4, ion_client=59)
2023-04-14 09:00:22.408  5048-5078  gralloc                 com.jw.shutdownservice               I  ddebug, pair (share_fd=80, user_hnd=5, ion_client=59)
2023-04-14 09:00:22.997  5048-5078  gralloc                 com.jw.shutdownservice               I  ddebug, free share_fd=60, user_hnd=0x2, ion client=59
2023-04-14 09:00:22.997  5048-5078  gralloc                 com.jw.shutdownservice               I  ddebug, free share_fd=62, user_hnd=0x3, ion client=59
2023-04-14 09:00:22.997  5048-5078  gralloc                 com.jw.shutdownservice               I  ddebug, free share_fd=57, user_hnd=0x1, ion client=59
2023-04-14 09:00:23.000  5048-5078  libEGL                  com.jw.shutdownservice               W  EGLNativeWindowType 0x77e03cf010 disconnect failed

User avatar
joerg
Posts: 2002
Joined: Tue Apr 01, 2014 2:14 am
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2, N1, N2, C4
Location: Germany
Has thanked: 208 times
Been thanked: 454 times
Contact:

Re: GpioShutdownService for Odroid M1

Post by joerg »

This is somehow rare, one time the check works, the other time not:

Code: Select all

2023-04-14 08:58:51.683  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Model: hardkernel co., ltd. odroid-c4
2023-04-14 08:58:51.683  4610-4610  com.jw.gpioshutdown     com.jw.shutdownservice               I  Checking ro.product.device, check = true

Code: Select all

2023-04-14 09:00:21.866  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Model: hardkernel co., ltd. odroid-c4
2023-04-14 09:00:21.866  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               E  Wrong device! Device: hardkernel co., ltd. odroid-c4
2023-04-14 09:00:21.889  5048-5048  com.jw.gpioshutdown     com.jw.shutdownservice               I  Checking ro.product.device, check = false
I'll look into it.

User avatar
joerg
Posts: 2002
Joined: Tue Apr 01, 2014 2:14 am
languages_spoken: german, english, español
ODROIDs: C1, C1+, C2, N1, N2, C4
Location: Germany
Has thanked: 208 times
Been thanked: 454 times
Contact:

Re: GpioShutdownService for Odroid M1

Post by joerg »

I have corrected this part and checked if it works, also to invert the polarity.

Code: Select all

 +-----+-----+---------+------+---+--- C4 ---+---+------+---------+-----+-----+
 | I/O | wPi |   Name  | Mode | V | Physical | V | Mode |  Name   | wPi | I/O |
 +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+
 |     |     |    3.3V |      |   |  1 || 2  |   |      | 5V      |     |     |
 | 493 |   8 |   SDA.2 | ALT1 | 1 |  3 || 4  |   |      | 5V      |     |     |
 | 494 |   9 |   SCL.2 | ALT1 | 1 |  5 || 6  |   |      | 0V      |     |     |
 | 481 |   7 |  IO.481 |   IN | 1 |  7 || 8  | 1 | ALT1 | TxD1    | 15  | 488 |
 |     |     |      0V |      |   |  9 || 10 | 1 | ALT1 | RxD1    | 16  | 489 |
 | 479 |   0 |  IO.479 |   IN | 1 | 11 || 12 | 1 | IN   | IO.492  | 1   | 492 |
 | 480 |   2 |  IO.480 |   IN | 1 | 13 || 14 |   |      | 0V      |     |     |
 | 483 |   3 |  IO.483 |   IN | 1 | 15 || 16 | 1 | IN   | IO.476  | 4   | 476 |
 |     |     |    3.3V |      |   | 17 || 18 | 1 | IN   | IO.477  | 5   | 477 |
 | 484 |  12 |    MOSI | ALT4 | 1 | 19 || 20 |   |      | 0V      |     |     |
 | 485 |  13 |    MISO | ALT4 | 1 | 21 || 22 | 1 | IN   | IO.478  | 6   | 478 |
 | 487 |  14 |    SLCK | ALT4 | 1 | 23 || 24 | 1 | OUT  | SS      | 10  | 486 |
 |     |     |      0V |      |   | 25 || 26 | 0 | IN   | IO. 23  | 11  | 433 |
 | 474 |  30 |   SDA.3 | ALT2 | 1 | 27 || 28 | 1 | ALT2 | SCL.3   | 31  | 475 |
 | 490 |  21 |  IO.490 |   IN | 1 | 29 || 30 |   |      | 0V      |     |     |
 | 491 |  22 |  IO.491 |   IN | 1 | 31 || 32 | 0 | IN   | IO. 24  | 26  | 434 |
 | 482 |  23 |  IO.482 |  OUT | 1 | 33 || 34 |   |      | 0V      |     |     |
 | 495 |  24 |  IO.495 |   IN | 1 | 35 || 36 | 1 | OUT  | IO. 22  | 27  | 432 |
 |     |  25 |   AIN.2 |      |   | 37 || 38 |   |      | 1V8     | 28  |     |
 |     |     |      0V |      |   | 39 || 40 |   |      | AIN.0   | 29  |     |
 +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+
 | I/O | wPi |   Name  | Mode | V | Physical | V | Mode |  Name   | wPi | I/O |
 +-----+-----+---------+------+---+--- C4 ---+---+------+---------+-----+-----+
And after starting with -24, polarity is inverted, also the pin is pulled down:

Code: Select all

 +-----+-----+---------+------+---+--- C4 ---+---+------+---------+-----+-----+
 | I/O | wPi |   Name  | Mode | V | Physical | V | Mode |  Name   | wPi | I/O |
 +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+
 |     |     |    3.3V |      |   |  1 || 2  |   |      | 5V      |     |     |
 | 493 |   8 |   SDA.2 | ALT1 | 1 |  3 || 4  |   |      | 5V      |     |     |
 | 494 |   9 |   SCL.2 | ALT1 | 1 |  5 || 6  |   |      | 0V      |     |     |
 | 481 |   7 |  IO.481 |   IN | 1 |  7 || 8  | 1 | ALT1 | TxD1    | 15  | 488 |
 |     |     |      0V |      |   |  9 || 10 | 1 | ALT1 | RxD1    | 16  | 489 |
 | 479 |   0 |  IO.479 |   IN | 1 | 11 || 12 | 1 | IN   | IO.492  | 1   | 492 |
 | 480 |   2 |  IO.480 |   IN | 1 | 13 || 14 |   |      | 0V      |     |     |
 | 483 |   3 |  IO.483 |   IN | 1 | 15 || 16 | 1 | IN   | IO.476  | 4   | 476 |
 |     |     |    3.3V |      |   | 17 || 18 | 1 | IN   | IO.477  | 5   | 477 |
 | 484 |  12 |    MOSI | ALT4 | 1 | 19 || 20 |   |      | 0V      |     |     |
 | 485 |  13 |    MISO | ALT4 | 1 | 21 || 22 | 1 | IN   | IO.478  | 6   | 478 |
 | 487 |  14 |    SLCK | ALT4 | 1 | 23 || 24 | 1 | OUT  | SS      | 10  | 486 |
 |     |     |      0V |      |   | 25 || 26 | 0 | IN   | IO. 23  | 11  | 433 |
 | 474 |  30 |   SDA.3 | ALT2 | 1 | 27 || 28 | 1 | ALT2 | SCL.3   | 31  | 475 |
 | 490 |  21 |  IO.490 |   IN | 1 | 29 || 30 |   |      | 0V      |     |     |
 | 491 |  22 |  IO.491 |   IN | 1 | 31 || 32 | 0 | IN   | IO. 24  | 26  | 434 |
 | 482 |  23 |  IO.482 |  OUT | 1 | 33 || 34 |   |      | 0V      |     |     |
 | 495 |  24 |  IO.495 |   IN | 0 | 35 || 36 | 1 | OUT  | IO. 22  | 27  | 432 |
 |     |  25 |   AIN.2 |      |   | 37 || 38 |   |      | 1V8     | 28  |     |
 |     |     |      0V |      |   | 39 || 40 |   |      | AIN.0   | 29  |     |
 +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+
 | I/O | wPi |   Name  | Mode | V | Physical | V | Mode |  Name   | wPi | I/O |
 +-----+-----+---------+------+---+--- C4 ---+---+------+---------+-----+-----+
You can find version 1.15.2 in first post.
These users thanked the author joerg for the post (total 2):
zyssai (Tue Feb 06, 2024 1:37 am) • dlugaz (Mon Feb 19, 2024 7:13 pm)

Post Reply

Return to “Android”

Who is online

Users browsing this forum: No registered users and 1 guest