I found some documentation but it looks a bit outdated:
http://www.cyberciti.biz/tips/linux-server-predicting-hardware-failure.html
I see that I can specify a device as input but the documentation does not mention anything specific about that. How should I proceed if (for example) I want to detect if there is a webcam problem?
Also is it a good idea to run mcelog at start with a systemd unit? if yes, which options should I use?