Re: How about mandatory software updates?
That would be really hard to mandate - would it really be reasonable to mandate (say) 6 years of updates to something intended as a cheap disposable item ? Similarly, would only (say) 6 years be sufficient for an expensive home automation system ?
Better to make the manufacturer state the support length, then the buyer can decide if that suits their needs. If I want something cheap that I know I'll only use for a short while, I'd have that option; but if it's something I need to work for a long time (e.g. I'd not buy any home automation stuff which wasn't guaranteed to work for at least a decade) then I can weed out the cheap c**p.
Of course it needs to be enforced, and really it needs to be a strict liability - i.e. just failing to meet the stated time should be enough for the buyer to win, not have the buyer have to show that the manufacturer's excuses are not reasonable. In the UK it would also need changes to other rules if we were to have one like this - otherwise, get to 6 years in England and Wales, 5 years in Scotland (dunno about NI), and the buyer is time barred from any claim against the supplier under out statute of limitations laws.
I see a further issue. How many devices these days do not include software from a third party ? For example, I recall reading of a security flaw in some DVR software - and it affected dozens of brands who all built commodity hardware and bought in the software from one (Chinese ?) source. The manufacturer could have a back-back contractual arrangement with their upstream supplier(s) - but what if an upstream supplier fails to uphold it ? Leaves the manufacturer legally required to support a product, but they can't effectively enforce that on their suppliers.
And of course, there's an XKCD that seems appropriate here.