^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/devices/platform/docg3/f[0-3]_dps[01]_is_keylocked
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: November 2011
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) KernelVersion: 3.3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Contact: Robert Jarzmik <robert.jarzmik@free.fr>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) Show whether the floor (0 to 4), protection area (0 or 1) is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) keylocked. Each docg3 chip (or floor) has 2 protection areas,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) which can cover any part of it, block aligned, called DPS.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) The protection has information embedded whether it blocks reads,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) writes or both.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) The result is:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) - 0 -> the DPS is not keylocked
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) - 1 -> the DPS is keylocked
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Users: None identified so far.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) What: /sys/devices/platform/docg3/f[0-3]_dps[01]_protection_key
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) Date: November 2011
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) KernelVersion: 3.3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) Contact: Robert Jarzmik <robert.jarzmik@free.fr>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) Enter the protection key for the floor (0 to 4), protection area
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) (0 or 1). Each docg3 chip (or floor) has 2 protection areas,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) which can cover any part of it, block aligned, called DPS.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) The protection has information embedded whether it blocks reads,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) writes or both.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) The protection key is a string of 8 bytes (value 0-255).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) Entering the correct value toggle the lock, and can be observed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) through f[0-3]_dps[01]_is_keylocked.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) - 8 bytes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) Typical values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) - "00000000"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) - "12345678"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) Users: None identified so far.