Why is the name of the Microsoft Wireless Notebook Presenter Mouse 8000 hard-coded into the Bluetooth drivers?

81 points by polywolf


ubernostrum

A developer’s maxim:

Live your life in such a way that you do not create material for a Raymond Chen blog post.

jrandomhacker

Last time I was at Build in-person, I made sure to go to the session that was basically just “Raymond Chen tells stories for half an hour”, and it was 100% worth it.

hayalci

“That table currently has only one entry.”

I would have guessed there would be many other blunders.

matheusmoreira

Linux drivers also contain a staggering amount of code for handling hardware quirks. It’s like a huge database of hardware defects which must be worked around in software, neatly organized by device identifiers. The hardware world is really ugly.

m_eiman

I wonder if it’s been deliberate choice to make these hacks and fixes instead of having the device makers fix their bugs. The end result is that on Windows everything works thanks to the hacks, and on other OS:es it’s hit or miss if any given device will work or not (unless the OS developers spend a lot of time replicating Windows’ hacks and exceptions).