News for hackers. Stuff that matters.
Re:Why are all Windows drivers dated June 21, 2006? by royjacobs on Wednesday February 08, 2017 @04:52PM (#13602510)
So how would you fix this, keeping in mind you are not allowed to touch the vendor driver's binaries in any way?
Re:Why are all Windows drivers dated June 21, 2006? by jewbacca on Wednesday February 08, 2017 @07:56PM (#13603693)
Separate directories for system and vendor drivers. System directory given lowest priority.

Wouldn't require modifying vendor drivers or legacy installation or whatever. Just move the system drivers.

I must be missing something pretty fundamental here, because this seems like the immediate natural solution.

----

Disclaimer: I've had basically no meaningful-to-me interactions with drivers that weren't mediated by an installer or package manager, and I haven't used any form of Windows in 10 years.

Re:Why are all Windows drivers dated June 21, 2006? by RickHull on Wednesday February 08, 2017 @04:59PM (#13602564)
Drivers have a priority field 0-255. Vendor drivers can only use 128-255. System drivers start at 255 baseline. Highest priority (0 is highest) always wins, and ties are broken with version or date comparison or what-have-you.

Disclaimer: near zero forethought

Re:Why are all Windows drivers dated June 21, 2006? by monochromatic on Wednesday February 08, 2017 @05:46PM (#13602929)
> keeping in mind you are not allowed to touch the vendor driver's binaries in any way
Re:Why are all Windows drivers dated June 21, 2006? by RickHull on Wednesday February 08, 2017 @06:17PM (#13603133)
Right, the system baseline (255) starts well below the vendor's max priority (128). The vendor would start at 254 presumably, and overeager vendors wanting to start at 128 would only harm themselves (in terms of future flexibility).

When MS needs to supersede the vendor driver, they can issue priority 253 (i.e. vendor + 1) graciously or 127 violently. They can also retract the 127 driver or overwrite its priority back to 255 when appropriate.

Re:Why are all Windows drivers dated June 21, 2006? by DashRattlesnake on Wednesday February 08, 2017 @06:03PM (#13603054)
Default to 192 if an explicit priority is not set.
Re:Why are all Windows drivers dated June 21, 2006? by krapp on Wednesday February 08, 2017 @06:10PM (#13603089)
What's certain to happen is all vendors setting all of their drivers to the highest priority possible, all the time.
Re:Why are all Windows drivers dated June 21, 2006? by jessaustin on Wednesday February 08, 2017 @09:11PM (#13604069)
If a vendor were sure that this version of a driver will be the last they ever issue, they could do that. That seems a fairly rare circumstance.
Re:Why are all Windows drivers dated June 21, 2006? by Retra on Thursday February 09, 2017 @12:23AM (#13604878)
They'd be shooting themselves in the foot doing that. They could never override their own code.
Re:Why are all Windows drivers dated June 21, 2006? by breischl on Wednesday February 08, 2017 @06:55PM (#13603385)
Actually, I think you made that too easy. Microsoft itself has lots of legacy drivers - probably thousands. Changing them would require finding, recompiling, retesting, and redistributing all of them at best. That's certain to be expensive, and may not even be possible in all cases, so you're probably not going to do it.

So how would you fix this without changing any drivers from any vendor that have already been released?

Also keep in mind that this is a minor convenience feature that most people will rarely see, so you probably don't have a massive budget.

Re:Why are all Windows drivers dated June 21, 2006? by yellowapple on Wednesday February 08, 2017 @05:00PM (#13602573)
Not the grandparent, but my first thought would be to use the signature. If the driver's signed by Microsoft, and another matching driver is signed by the hardware vendor (or is unsigned and the user has already gone through the relevant approval tomfoolery), then prefer the vendor's.
Re:Why are all Windows drivers dated June 21, 2006? by awalton on Wednesday February 08, 2017 @06:16PM (#13603130)
> So how would you fix this, keeping in mind you are not allowed to touch the vendor driver's binaries in any way?

I'd change the premise, since Microsoft definitely is allowed to enforce policy on vendor drivers through its WHQL/code signing program, and has wielded this power.

Not that I necessarily agree that all drivers should have to be signed, but refusing to sign drivers to solve quality problems is entirely in scope for having such a code signing program in the first place. Unsigned drivers Microsoft can simply wash their hands of: "We can't enforce policy on those, sorry." Since manufacturers want signed drivers to ease confusion, they will come in line, especially since it's a particularly low bar to set.

Re:Why are all Windows drivers dated June 21, 2006? by chebucto on Wednesday February 08, 2017 @07:44PM (#13603629)
Sign microsoft drivers with the microsoft key. Give MS signed drivers a lower rank than all other drivers.
Re:Why are all Windows drivers dated June 21, 2006? by nindalf on Wednesday February 08, 2017 @07:49PM (#13603655)
Even if MS drivers might be superior for certain devices?
Re:Why are all Windows drivers dated June 21, 2006? by pyre on Thursday February 09, 2017 @12:59AM (#13605002)
At least in the date check.
Re:Why are all Windows drivers dated June 21, 2006? by Sunset on Thursday February 09, 2017 @02:27AM (#13605300)
Let the user pick with a dropdown in the properties in the device manager?
Re:Why are all Windows drivers dated June 21, 2006? by ysavir on Wednesday February 08, 2017 @06:33PM (#13603251)
This is far from a field with which I have experience, so I can't provide any sort of solid answer. I imagine that it would be a significant change, and would take time to do right.

But not a decade. Surely, something could have been introduced in any of the 3 OSs released since that date that could have addressed the issue.

I'm not trying to play them out to be evil, or incompetent. I think this is just an example of a problem that was on the "let's do this tomorrow" list for 10 years running. Understandable, in a way, but somewhat less understandable when in the context of a giant like MicroSoft.

Re:Why are all Windows drivers dated June 21, 2006? by DashRattlesnake on Wednesday February 08, 2017 @06:02PM (#13603041)
You add a metadata to the MS drivers that tells Windows they have a special low priority. If a driver doesn't have the flag explicitly set, then it gets a default "normal." priority.
Re:Why are all Windows drivers dated June 21, 2006? by tinus_hn on Thursday February 09, 2017 @12:56PM (#13609088)
Microsoft requires signed drivers for modern 64bit versions of Windows. That excludes these legacy drivers so there's their chance to fix it.
Re:Why are all Windows drivers dated June 21, 2006? by CamperBob2 on Wednesday February 08, 2017 @06:03PM (#13603050)
Fix the license agreement with the vendor. If I'm going to be nice enough to distribute your driver for you, I reserve the right to alter its metadata in any way I deem necessary.