kopia lustrzana https://gitlab.com/sane-project/backends
Also check the number of interfaces for the GT-6816 to avoid conflicts with
other GT chips.merge-requests/1/head
rodzic
1e15afbfb9
commit
4102847b52
|
@ -1,3 +1,8 @@
|
|||
2004-07-10 Henning Meier-Geinitz <henning@meier-geinitz.de>
|
||||
|
||||
* tools/check-usb-chip.c: Also check the number of interfaces for
|
||||
the GT-6816 to avoid conflicts with other GT chips.
|
||||
|
||||
2004-07-09 Henning Meier-Geinitz <henning@meier-geinitz.de>
|
||||
|
||||
* doc/descriptions-external/brother.desc: New file. Added the
|
||||
|
|
|
@ -241,6 +241,16 @@ check_gt6816 (struct usb_device *dev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
if (dev->config[0].bNumInterfaces != 0x01)
|
||||
{
|
||||
if (verbose > 2)
|
||||
printf (" this is not a GT-6816 (bNumInterfaces = 0x%x)\n",
|
||||
dev->config[0].bNumInterfaces);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Check endpoints */
|
||||
if (dev->config[0].interface[0].altsetting[0].bNumEndpoints != 2)
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue