--- brother2-1.0.0.orig/backend/brother2.c 2005-05-12 01:27:49.000000000 -0400 +++ brother2-1.0.0.orig/backend/brother2.c 2006-01-08 03:01:39.000000000 -0500 @@ -541,10 +541,10 @@ if (!this->hScanner) return SANE_STATUS_IO_ERROR; - if (usb_claim_interface(this->hScanner, 1)) + if (usb_set_configuration(this->hScanner, 1)) return SANE_STATUS_IO_ERROR; - if (usb_set_configuration(this->hScanner, 1)) + if (usb_claim_interface(this->hScanner, 1)) return SANE_STATUS_IO_ERROR; // デバイスオープン --- brother2-1.0.0.orig/backend/brother_scanner.c 2005-05-12 01:27:49.000000000 -0400 +++ brother2-1.0.0.orig/backend/brother_scanner.c 2006-01-08 03:01:23.000000000 -0500 @@ -222,10 +222,10 @@ if (!this->hScanner) return SANE_STATUS_IO_ERROR; - if (usb_claim_interface(this->hScanner, 1)) + if (usb_set_configuration(this->hScanner, 1)) return SANE_STATUS_IO_ERROR; - if (usb_set_configuration(this->hScanner, 1)) + if (usb_claim_interface(this->hScanner, 1)) return SANE_STATUS_IO_ERROR; // デバイスオープン --- brother2-1.0.0.orig/backend/temp/brother.c 2005-05-12 01:27:49.000000000 -0400 +++ brother2-1.0.0.orig/backend/temp/brother.c 2006-01-08 03:01:54.000000000 -0500 @@ -538,10 +538,10 @@ if (!this->hScanner) return SANE_STATUS_IO_ERROR; - if (usb_claim_interface(this->hScanner, 1)) + if (usb_set_configuration(this->hScanner, 1)) return SANE_STATUS_IO_ERROR; - if (usb_set_configuration(this->hScanner, 1)) + if (usb_claim_interface(this->hScanner, 1)) return SANE_STATUS_IO_ERROR; // デバイスオープン