add class 6 to usb detection code, fix scsi detection bug

merge-requests/1/head
m. allan noah 2008-03-28 14:13:23 +00:00
rodzic b85ec879da
commit 127c77c1e5
3 zmienionych plików z 8 dodań i 3 usunięć

Wyświetl plik

@ -1,4 +1,9 @@
2008-03-02 Stéphane Voltz <stef.dev@free.fr>
2008-03-28 m. allan noah <kitno455 a t gmail d o t com>
* sanei/sanei_usb.c: add usb class 6 (imaging) to detected devices
* sanei/sanei_scsi.c: fix bug in sanei_scsi_find_devices() which
caused early return if attach callback returned error.
2008-03-22 Stéphane Voltz <stef.dev@free.fr>
* AUTHORS configure configure.in backend/dll.conf.in
backend/Makefile.in backend/rts8891.c backend/rts8891.conf.in
backend/rts8891_devices.c backend/rts8891.h backend/rts8891_low.c

Wyświetl plik

@ -2882,8 +2882,7 @@ issue (struct req *req)
channel, id, lun)
&& ((*attach) (dev_name) != SANE_STATUS_GOOD))
{
fclose (proc_fp);
return;
DBG(1,"sanei_scsi_find_devices: bad attach\n");
}
}
vendor[0] = model[0] = type[0] = 0;

Wyświetl plik

@ -476,6 +476,7 @@ sanei_usb_init (void)
{
case USB_CLASS_VENDOR_SPEC:
case USB_CLASS_PER_INTERFACE:
case 6: /* imaging? */
case 16: /* data? */
found = SANE_TRUE;
break;