162306a36Sopenharmony_ciWhat: /sys/devices/platform/docg3/f[0-3]_dps[01]_is_keylocked 262306a36Sopenharmony_ciDate: November 2011 362306a36Sopenharmony_ciKernelVersion: 3.3 462306a36Sopenharmony_ciContact: Robert Jarzmik <robert.jarzmik@free.fr> 562306a36Sopenharmony_ciDescription: 662306a36Sopenharmony_ci Show whether the floor (0 to 4), protection area (0 or 1) is 762306a36Sopenharmony_ci keylocked. Each docg3 chip (or floor) has 2 protection areas, 862306a36Sopenharmony_ci which can cover any part of it, block aligned, called DPS. 962306a36Sopenharmony_ci The protection has information embedded whether it blocks reads, 1062306a36Sopenharmony_ci writes or both. 1162306a36Sopenharmony_ci The result is: 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci - 0 -> the DPS is not keylocked 1462306a36Sopenharmony_ci - 1 -> the DPS is keylocked 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ciUsers: None identified so far. 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ciWhat: /sys/devices/platform/docg3/f[0-3]_dps[01]_protection_key 1962306a36Sopenharmony_ciDate: November 2011 2062306a36Sopenharmony_ciKernelVersion: 3.3 2162306a36Sopenharmony_ciContact: Robert Jarzmik <robert.jarzmik@free.fr> 2262306a36Sopenharmony_ciDescription: 2362306a36Sopenharmony_ci Enter the protection key for the floor (0 to 4), protection area 2462306a36Sopenharmony_ci (0 or 1). Each docg3 chip (or floor) has 2 protection areas, 2562306a36Sopenharmony_ci which can cover any part of it, block aligned, called DPS. 2662306a36Sopenharmony_ci The protection has information embedded whether it blocks reads, 2762306a36Sopenharmony_ci writes or both. 2862306a36Sopenharmony_ci The protection key is a string of 8 bytes (value 0-255). 2962306a36Sopenharmony_ci Entering the correct value toggle the lock, and can be observed 3062306a36Sopenharmony_ci through f[0-3]_dps[01]_is_keylocked. 3162306a36Sopenharmony_ci Possible values are: 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_ci - 8 bytes 3462306a36Sopenharmony_ci 3562306a36Sopenharmony_ci Typical values are: 3662306a36Sopenharmony_ci 3762306a36Sopenharmony_ci - "00000000" 3862306a36Sopenharmony_ci - "12345678" 3962306a36Sopenharmony_ci 4062306a36Sopenharmony_ciUsers: None identified so far. 41