kopia lustrzana https://gitlab.com/sane-project/backends
Improved rts8822l-01h chipset detection by adding check for descriptor.bcdUSB ==
0x110 reported by some scanners and accepting any value diferent to 0, read from 0xfe11 register. Patch from Jonathan Bravo Lopez <JKD@JKDSoft.cjb.net>.merge-requests/1/head
rodzic
3f9935c734
commit
2844681728
|
@ -1,3 +1,11 @@
|
|||
2006-01-14 Henning Meier-Geinitz <henning@meier-geinitz.de>
|
||||
|
||||
* tools/check-usb-chip.c: Improved rts8822l-01h chipset
|
||||
detection by adding check for descriptor.bcdUSB == 0x110 reported
|
||||
by some scanners and accepting any value diferent to 0, read
|
||||
from 0xfe11 register. Patch from Jonathan Bravo Lopez
|
||||
<JKD@JKDSoft.cjb.net>.
|
||||
|
||||
2006-01-10 Oliver Schwartz <Oliver.Schwartz@gmx.de>
|
||||
|
||||
* doc/descriptions/snapscan.desc: Changed entries for duplicate USB IDs,
|
||||
|
|
|
@ -2767,7 +2767,7 @@ check_rts8822l01h (struct usb_device *dev)
|
|||
dev->descriptor.bDeviceClass);
|
||||
return 0;
|
||||
}
|
||||
if (dev->descriptor.bcdUSB != 0x200)
|
||||
if ((dev->descriptor.bcdUSB != 0x200)&&(dev->descriptor.bcdUSB != 0x110))
|
||||
{
|
||||
if (verbose > 2)
|
||||
printf (" this is not a RTS8822L-01H (bcdUSB = 0x%x)\n",
|
||||
|
@ -2882,7 +2882,7 @@ check_rts8822l01h (struct usb_device *dev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
if ((data[0] & 0x01) != 0x01)
|
||||
if (data == 0)
|
||||
{
|
||||
if (verbose > 2)
|
||||
printf (" Unexpected result from register 0xfe11 : 0x%0x%0x\n",
|
||||
|
|
Ładowanie…
Reference in New Issue