News for hackers. Stuff that matters.
Re:I Hacked a Train Toilet by lukan on Sunday January 28, 2024 @05:13AM (#39164187)
Was there anything wrong, with the good old mechanical locks in train toilets?

I have seen so many (elderly) people struggle to properly use the fancy electric ones (and lots of embarrassment, with doors that were indeed not locked) and apparently some people have fun, intentionally disabling them. You know, some people sometimes just have a urgent buisness and are in need of a working toilet on a train.

Re:I Hacked a Train Toilet by jeroenhd on Sunday January 28, 2024 @05:38AM (#39164321)
I'm not elderly yet, but I have struggled with a similar train toilet door. _Why_ does this stupid thing need a lock button? In what scenario do I want to go into a toilet, hit the "close door" button, and _not_ want the door to be locked? It didn't help that the design of the buttons wasn't particularly clear, either.

I can see the benefit of the electric opening/closing mechanism, because sliding doors are heavy, but the lock should've been a physical mechanism, or at least acted like one.

Re:I Hacked a Train Toilet by bemmu on Sunday January 28, 2024 @05:44AM (#39164358)
Without the lock button you could hit the "close door" button and leave the toilet while it is closing, and then no-one would be able to enter to unlock it. But I agree something familiarly mechanical with the mechanism clearly visible would be better than any fancy solution.
Re:I Hacked a Train Toilet by lostlogin on Sunday January 28, 2024 @07:34PM (#39171473)
> Without the lock button you could hit the "close door" button and leave the toilet while it is closing, and then no-one would be able to enter to unlock it.

According to the article, you can do that anyway.

“you can close the door, then hold the lever just beyond the point at which the locking pin could engage with it, but not to the point where it reads as “locked”. Then you can open the door, but the locking pin projects into thin air; thus the lever is free and can be moved to the locked position. The door close button remains active and you can then close the door. I confirmed that the door will then immediately lock as soon as the door is closed. Since I could do this and then jump out before the door closes, this is effectively a toilet DoS vulnerability on a train.”

Re:I Hacked a Train Toilet by Symbiote on Sunday January 28, 2024 @07:22AM (#39165006)
Your question is answered at the start of the article, which also shows a photograph of your suggested solution on the newest trains in use in Britain.
Re:I Hacked a Train Toilet by madsbuch on Sunday January 28, 2024 @05:45AM (#39164361)
A physical lock can get stuck. Especially on a moving trains with vibrations that could tense up the door.

Weakened people, anxious people and other people with disabilities need to be able to lock and unlock the doors without getting stuck.

My guess is that the metaphor used for this train is too allow people full control over door lock.

I don't think many people realise what it takes to build toilet in trains in a place like the UK where the disabled associations and protections are really strong.

Re:I Hacked a Train Toilet by lukan on Sunday January 28, 2024 @05:50AM (#39164391)
"Weakened people, anxious people and other people with disabilities need to be able to lock and unlock the doors without getting stuck."

I have never experienced a simple lock to get stuck, but there are panic buttons inside the toilets as well.

"I don't think many people realise what it takes to build toilet in trains in a place like the UK where the disabled associations and protections are really strong."

And I don't think this is a bad thing.

Re:I Hacked a Train Toilet by madsbuch on Sunday January 28, 2024 @06:29AM (#39164625)
I never said it was a bad thing. I merely point out that is is ignorant to straight up believe that a "simple lock" is the solution without properly understanding the issue - just like you do.
Re:I Hacked a Train Toilet by lukan on Sunday January 28, 2024 @06:47AM (#39164754)
Ah, I did not try to imply that you did. I was actually unsure how you meant it, but just wanted to emphasize anyway, that those regulations are very useful for disabled people. Because in most places, you would just get stuck using a wheelchair on your own. (German trains for example, in most trains you would just not get into - and if you managed to arrive at your destination, you might find out, that there are only stairs and no elevator, despite there should be one. But on this day they maybe changed the lane or whatever, they don't care. I noticed while travelling with a 2 person stroller)
Re:I Hacked a Train Toilet by justsomehnguy on Sunday January 28, 2024 @06:09AM (#39164509)
The trains in the past two centuries: OH NOES.

Seriously, why it was not a problem for two centuries yet nowadays it's suddenly a new problem which requires a complex, electromechanical computer operated solution?

Re:I Hacked a Train Toilet by doix on Sunday January 28, 2024 @06:14AM (#39164543)
Because in the past people did not care about people with disabilities. It's like saying why we need wheel chair ramps when we didn't in the past.

Don't get me wrong, I'm not defending the current implementation, but it makes sense to me to try and improve the world to make it more disability friendly.

Re:I Hacked a Train Toilet by zilti on Sunday January 28, 2024 @06:59AM (#39164838)
But it isn't improving anything. Just like with the idiotic new door beeping the EU made mandatory, nobody can tell who it's actually for.
Re:I Hacked a Train Toilet by hlandau on Sunday January 28, 2024 @07:10AM (#39164914)
Do you mean the exterior door beeping (officially known as a "hustle alarm" in the rail industry - now you know)? There has been a wave of adapting or replacing train door controllers to comply with the latest disability regulations recently. But all motorised train doors that I know of in the UK have had a hustle alarm.

I don't much care for the new "compliant" controllers though, not least because the sounds they emanate are quite unpleasant and often much less nice than the ones emitted by the door systems they replaced. Older hustle alarms, etc. sounded like they were produced by something at least slightly polyphonic, whereas all of these new systems seem to produce all of their sounds via an ear-piercing piezo buzzer only.

Besides the hustle alarm there's the sound to notify you the doors can now be opened (often not present on older, non-compliant systems, but now seemingly deemed required). I was always fond of the sound the Class 365/465 Networker used for this - an actual mechanical bell, which produced a pleasant sound. Of course it's now been torn out and retrofitted with an awful piezoelectric tone of the most ear-violating variety. It feels like nobody even tried to make these sounds pleasant, and probably went with a piezo buzzer rather than a mechanical bell because it costs less, and what hardware designer even knows how to integrate a mechanical bell these days?

The closest to not having a hustle alarm I'm aware of in the UK is for London Underground and DLR stock, which basically starts to play the hustle alarm at the same time as the doors close, making it a bit of a token affair.

Those interested in this sort of thing might be interested in this TfL report which actually studied in minute detail whether they should change the delay on the doors closing after the warning sounds. I encountered this once and was fascinated by the details. https://assets.publishing.service.gov.uk/government/uploads/...

BTW, the applicable safety requirements standard for power-operated passenger train doors is GM/RT2473 (or its predecessor on older rolling stock, GO/OTS300). Don't ask me how I know this...

Re:I Hacked a Train Toilet by SoftTalker on Sunday January 28, 2024 @12:19PM (#39167747)
An electronic lock can get stuck also. At least with the physical lock/sliding lever you have a chance to be able to force it open.
Re:I Hacked a Train Toilet by lofaszvanitt on Sunday January 28, 2024 @12:27PM (#39167805)
Bullshite.
Re:I Hacked a Train Toilet by userbinator on Sunday January 28, 2024 @04:19PM (#39169921)
Weakened people, anxious people and other people with disabilities need to be able to lock and unlock the doors without getting stuck.

Simple levers don't need much force to operate.

The idea of a motorised door and the rest of that automated mechanism just scares me. There's so much more complexity and points of failure that I could imagine someone getting crushed if other interlocks fail, or otherwise having the door open / close unexpectedly.

Re:I Hacked a Train Toilet by Eisenstein on Sunday January 28, 2024 @05:47AM (#39164371)
They mention it in the article but it is to keep people from pressing 'close' and then jumping out while it closes and becomes unable to be opened from the outside.
Re:I Hacked a Train Toilet by PeterisP on Sunday January 28, 2024 @08:01AM (#39165290)
The context here is toilets specifically designed for disabled people. Some disabilities make it very hard to operate latches or levers, and in that context pushing a button is considered the more accessible control option.
Re:I Hacked a Train Toilet by Kwpolska on Sunday January 28, 2024 @11:36AM (#39167284)
How common are those disabilities, compared to people confused by the buttons? Is turning the lock really that different to pushing a button?
Re:I Hacked a Train Toilet by PeterisP on Sunday January 28, 2024 @12:14PM (#39167694)
They are rare, but if you build a specific toilet targeted for people with disabilities (next to ordinary, simpler, smaller toilets) then you generally try to make it as accessible as you reasonably can and target a wide variety of different disabilities. Such toilets tend to have many adaptations e.g. different controls for faucets on the sink, different handling of toilet paper, different dimensions and spacing, etc.; and yes, for some people a button instead of a knob that needs to be turned is all the difference in the world, as they simply can't turn a knob. For a trivial (but not nearly the only) scenario imagine a person with prosthetic hands, or extremely limited grip strength caused by e.g. some cases of cerebral palsy.
Re:I Hacked a Train Toilet by yanellena on Monday January 29, 2024 @04:24AM (#39174384)
There are other benefits to this too. With an electronic lock you can display the state of the toilet to other passengers on digital signage screens onboard the train. You could do this with physical locks but it would likely be more costly.
Re:I Hacked a Train Toilet by lucb1e on Saturday February 03, 2024 @12:25PM (#39242532)
Putting a simple contact sensor on the deep end of a mechanical lock (costs about as much as a button since it can be the same hardware, except it needs to neither be big nor have controllable lights around it) is more expensive than designing a whole bunch of electronic circuitry and state machines and figuring out the best text you can write to make (young and old) people understand the state machine?!

The doors are also slow as heck, both because they slide a large distance at the speed of a snail in a hairpin turn and because half the people don't get the system. I'd be surprised if these electronic systems merely halve a toilet's hourly capacity compared to it being fully mechanical besides that 10-pence "occupied" sensor in the frame/wall side of the lock

Re:I Hacked a Train Toilet by lucb1e on Saturday February 03, 2024 @12:22PM (#39242497)
> Is turning the lock really that different to pushing a button?

I don't know what type of hypothetical disability the person above means, but I know the problem of round doorknobs and gloves so I suppose something like that?

But a horizontal sliding lock as seen on many types of bathroom stalls already should be similar enough that anyone who can push a button in the right direction can also push these in the right direction

However, does a mechanical lock glow and look fancy when you can sell your electronic high-tech locking system to the train manufacturer??

Re:I Hacked a Train Toilet by madsbuch on Sunday January 28, 2024 @05:19AM (#39164225)
My guess is that this type of round sliding door takes up much less space compared to solutions where you manually close the door. Unfortunately, manually round sliding doors can be very heavy to close. Especially for wheel chair users.

My guess is that this is probably the only way, if you also want to support disabled users while ensuring them most agency in the intimate process of using a toilet.

Re:I Hacked a Train Toilet by hlandau on Sunday January 28, 2024 @05:21AM (#39164236)
(Author here.) I have seen videos (not on trains) of one hybrid - a power-operated round sliding door, but with a physical lock on it, that hooks onto the door frame. So that would be one option.

I think the current iteration is fine though - the replacement of the confusing "lock button" with the physical handle, even if emulated, is comprehensible to most, I would think. The "the door is now locked" voiceover also helps reassure people. (Most people are just trying to lock the door and not "fuzz test" the lock handle...)

Re:I Hacked a Train Toilet by lukan on Sunday January 28, 2024 @05:29AM (#39164275)
Ah, you were the author as well. Have you noticed anyone from the train company about this flaw? (not saying that much would come out of it, but I think one should try)
Re:I Hacked a Train Toilet by zilti on Sunday January 28, 2024 @07:02AM (#39164863)
I've just way too often seen these fake-physical locks be broken, or working in an unexpected way (with a fucking explanatory sticker with three lines of text explaining it). Who signs off on such crap?
Re:I Hacked a Train Toilet by lukan on Sunday January 28, 2024 @07:09AM (#39164913)
"Who signs off on such crap?"

Cynical me: people who benefit from the deal and don't have to use it themself.

Re:I Hacked a Train Toilet by lukan on Sunday January 28, 2024 @05:25AM (#39164258)
This makes some sense, but I think you still could have used an actual mechanical lock on the door. So open and close still be buttons, but once the electric door closed, you engaged the lock (some electronics required there obviously, to tell the state to the system, so it does not try to open with the lock engaged).
Re:I Hacked a Train Toilet by userbinator on Sunday January 28, 2024 @04:15PM (#39169877)
Was there anything wrong, with the good old mechanical locks in train toilets?

The only thing wrong was the fact that they weren't "modern" enough, i.e. too simple and predictable.

That said, you can easily "DoS" a mechanical lock too, if it doesn't have any form of interlock. Everyone who has locked themselves out of cars and buildings (e.g. leaving the key inside) will clearly remember this.

Re:I Hacked a Train Toilet by ozim on Sunday January 28, 2024 @05:48PM (#39170647)
Just as thought excercise:

- mechanical cannot be easily unlocked by conductors in case of emergency - mechanical would break more often because people don’t care and would push on door even if it is occupied. - in a hurry might be more convenient to simply push button assuming one is already familiar with the system. - having only buttons it is easier to keep it clean and having people less contact with door handles/latches. - can be automatically locked on stations so people use them between stations so you don’t get foul smells while boarding and waiting