add usleep to improve usb performance, from jim a t meyering d o t net

merge-requests/1/head
m. allan noah 2008-03-28 14:37:36 +00:00
rodzic 127c77c1e5
commit 1ee8fa1d8f
2 zmienionych plików z 9 dodań i 1 usunięć

Wyświetl plik

@ -1,3 +1,7 @@
2008-03-28 m. allan noah <kitno455 a t gmail d o t com>
* backend/hp-scl.c: add usleep to improve usb performance, from
jim a t meyering d o t net
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

Wyświetl plik

@ -44,7 +44,10 @@
/*
$Log$
Revision 1.14 2004/10/04 18:09:05 kig-guest
Revision 1.15 2008/03/28 14:37:36 kitno-guest
add usleep to improve usb performance, from jim a t meyering d o t net
Revision 1.14 2004-10-04 18:09:05 kig-guest
Rename global function hp_init_openfd to sanei_hp_init_openfd
Revision 1.13 2004/03/27 13:52:39 kig-guest
@ -1763,6 +1766,7 @@ _hp_scl_inq (HpScsi scsi, HpScl scl, HpScl inq_cmnd,
RETURN_IF_FAIL( hp_scsi_flush (scsi)) ;
RETURN_IF_FAIL( hp_scsi_scl(scsi, inq_cmnd, SCL_INQ_ID(scl)) );
usleep (1000); /* 500 works, too, but not 100 */
status = hp_scsi_read(scsi, buf, &bufsize, 1);
if (FAILED(status))