Can't end phone calls because of black screen

Thanks, I just installed CPU-Z. The sensor seems to work.

I also found this thread:

It seems to be a quite common issue with no real solution at hands yet.