Please make screen lock persist through resets

Please post your suggestions for software changes here
DetroitCW
Posts: 10
Joined: Fri Oct 20, 2017 10:53 pm

Please make screen lock persist through resets

Postby DetroitCW » Thu Feb 22, 2018 3:03 pm

I have my printer in an environment such that I am not always monitoring it. The screen PIN works great. That is until someone figured out you can just tap the screen reset button to unlock the printer.

Can you make this persist through resets please? If there is a PIN set, it should be entered before the printer is available for use.

User avatar
Vicky@Raise3D
Posts: 3495
Joined: Fri Mar 25, 2016 3:54 am

Re: Please make screen lock persist through resets

Postby Vicky@Raise3D » Fri Feb 23, 2018 7:27 am

Do you mean the reset button at the back side of the screen box?
It is a hardware reset, force the board to reboot, like you unplug the main power and replug it or trigger the main power switch at the back side.

DetroitCW
Posts: 10
Joined: Fri Oct 20, 2017 10:53 pm

Re: Please make screen lock persist through resets

Postby DetroitCW » Mon Feb 26, 2018 3:19 pm

You don't have to pull the power completely. Only need to tap the reset button on the back of the screen housing to bypass the PIN.

Jetguy
Posts: 2352
Joined: Tue Mar 22, 2016 1:40 am
Location: In a van, down by the river

Re: Please make screen lock persist through resets

Postby Jetguy » Mon Feb 26, 2018 5:19 pm

We get that. The problem here is reset is being used by folks who should not have access to the printer. Reset is only to be used in emergency or fault (stuck in a reboot loop). Screen lock is not meant to be ultimate security for the printer to prevent users from accessing. It's a simple function meant to prevent screen presses from causing a failure mid print.

If a user has physical access, then they "own" the printer. Even if the function changes and screenlock now makes it happen before the Raise 3D UI app starts, nothing prevents your malicious users (and anyone willing to press reset and reboot the machine without a proper shutdown is malicious) then you have to solve that problem first.

The first "fix" is open the control box and unplug the reset switch from the pcDuino board. The next issue is, if they figure out that doesn't work anymore, they then likely turn off or unplug and plug the printer which is also not great for the electronics. Bottom line, screen lock is not user lock. If you cannot trust these folks to treat equipment properly and monitor it, they cannot have physical access. Again, screen lock was never intended as user access control. Even if a patch or change happens, physical access to a reset button and the power switch are still problems.

Jetguy
Posts: 2352
Joined: Tue Mar 22, 2016 1:40 am
Location: In a van, down by the river

Re: Please make screen lock persist through resets

Postby Jetguy » Mon Feb 26, 2018 5:27 pm

Please don't take my reply the wrong way. Yes, you have every right to make the request and yes, maybe one or more users will use the function in the same way you intend- user access control.

The problem remains that physical access to both power and reset switches and buttons by a user just randomly resetting the machine repeatedly could minimally corrupt the operating system and worse case, damage the electronics. They simply were meant to be used by a trained operator with due care for the machine only when absolutely needed and there is no other option. Again, reset and power cycling of the printer is not meant to be something that should happen on a regular basis. If you have users willing to do that without understanding what could go wrong, they should not have any physical access to the device.

Jetguy
Posts: 2352
Joined: Tue Mar 22, 2016 1:40 am
Location: In a van, down by the river

Re: Please make screen lock persist through resets

Postby Jetguy » Mon Feb 26, 2018 5:31 pm

Or, since it is a 3D printer, you could design and print a cover that locks over the reset button VS unplugging it. Again, the issue is, once you have a user willing to push the reset button, screen lock or not, we have a different problem a software patch cannot solve.

DetroitCW
Posts: 10
Joined: Fri Oct 20, 2017 10:53 pm

Re: Please make screen lock persist through resets

Postby DetroitCW » Tue Feb 27, 2018 1:46 am

So, these printers aren't intended to be used in an area where people other than the "owner" have access? This severely limits the use-cases for large firms that have common areas that can smell like melting plastic. Moving the printers to a secure-access area is not an option for us as we are an open office plan. The printer(s) are (will be) prominently displayed for visitors, inverviewees, customers, and clients. As such, they are put in an area where access is open.

If adding a check to the startup init code is an issue, then I understand it. If there is no PIN, don't require one. If there is a PIN set (I assume this is non-volatile as it persists through reboots and will go active when the screen times out), then require the PIN before joining the network or allowing touch screen access.

This isn't a hardware issue that I am asking for consideration on. It's purely software. The init code does not check for a PIN. It seems the PIN is locked to the event handler for the screen timeout.

Jetguy
Posts: 2352
Joined: Tue Mar 22, 2016 1:40 am
Location: In a van, down by the river

Re: Please make screen lock persist through resets

Postby Jetguy » Tue Feb 27, 2018 2:44 am

then require the PIN before joining the network

I'm pretty sure that other users would object to that function. Some users are using screen lock, but definitely do not want to go over and put in a pin before they could upload a print file over the network. What if there is a power loss and the printer reboots, it's sitting there running fine, and waiting for a user to walk over to it and enter a pin before anyone can use it or access over the network?

It's not that what you are asking is wrong, it's that you have a special use case and what works for you is HIGHLY likely to make other users upset.

Put another way, if screen lock is modified the way you are asking, other users who use screen lock currently will not be happy when it breaks their workflow.

If you want a security pin on boot, fine, that's a feature that could be toggled on off. This would prevent the network access before the operating system boots. This is an operating system level modification. What happens when you loose this pin, forget it, and now the machine is a brick?

If you want a pin after boot but just prevents the user interface app- that's a mod to the QT5 Raise Touch app. Doable, but probably should be a completely separate feature. Much of the error handling, safety checking, power shutdown, print resume, and other features have to be all worked around this new logical workflow.

If users want a screen saver or screen wake or a 100 other variants of a no password screen sleep/dim/or screensaver- that's a new feature in the QT5 Raise Touch app. It's been asked for a few times but not yet implemented. Most likely due to logistical complexity. You cannot shut down or sleep the pcDuino- it's powering the screen. It cannot detect a screen press in sleep. There is no exposed power button or other input line into the pcduino. Again, lots of logistics and integration, deep thought about workflow and "what if" and "if then" use cases.

DetroitCW
Posts: 10
Joined: Fri Oct 20, 2017 10:53 pm

Re: Please make screen lock persist through resets

Postby DetroitCW » Tue Feb 27, 2018 2:57 am

Fair enough. That makes sense then Jetguy. I appreciate the responses.

We have our printers on their own dedicated UPS and we don't lose power for more than .5 seconds until the backup generators take over. I hadn't thought about the one-printer shops that do not have safeguards against power outages in place.


Return to “Software”

Who is online

Users browsing this forum: No registered users and 1 guest