Hi,
attached patch changes the dediprog code to properly initialize the
access to the device. It's definitely necessary should bulk transfers be
used (as in my local tree), and won't do harm.
Signed-off-by: Patrick Georgi <[email protected]>
Patrick
Index: dediprog.c
===================================================================
--- dediprog.c (Revision 881)
+++ dediprog.c (Arbeitskopie)
@@ -294,6 +294,8 @@
dev->descriptor.idVendor,
dev->descriptor.idProduct);
dediprog_handle = usb_open(dev);
+ usb_set_configuration(dediprog_handle, 1);
+ usb_claim_interface(dediprog_handle, 0);
/* URB 6. Command A. */
if (dediprog_command_a())
return 1;
_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom