Commit 422d93c
committed
Yet another workaround for HP LaserJet Enterprise M406 devices
Some HP LaserJet Enterprise M406 devices may return a current
configuration value that does not match the bConfigurationValue of any
existing configuration.
This can happen if the device is not configured, or if the firmware
returns an incorrect number for the current configuration.
Unfortunately, I don't have more detailed information to investigate,
though such investigation would have only academic value.
As a workaround, we assume that if only one configuration exists, it is
the current configuration, regardless of its bConfigurationValue.1 parent 7500a47 commit 422d93c
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
542 | 542 | | |
543 | 543 | | |
544 | 544 | | |
| 545 | + | |
| 546 | + | |
545 | 547 | | |
546 | 548 | | |
547 | 549 | | |
548 | 550 | | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
549 | 566 | | |
550 | 567 | | |
551 | 568 | | |
| |||
0 commit comments