Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 76505 Details for
Bug 115381
brscan2 sane backends for brother
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
usb-claim.diff
usb-claim.diff (text/plain), 1.81 KB, created by
James Cassidy
on 2006-01-08 01:18:21 UTC
(
hide
)
Description:
usb-claim.diff
Filename:
MIME Type:
Creator:
James Cassidy
Created:
2006-01-08 01:18:21 UTC
Size:
1.81 KB
patch
obsolete
>diff -uNr brother2-1.0.0.orig/backend/brother2.c brother2-1.0.0/backend/brother2.c >--- brother2-1.0.0.orig/backend/brother2.c 2005-05-12 01:27:49.000000000 -0400 >+++ brother2-1.0.0/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; > > // ¥Ç¥Ð¥¤¥¹¥ª¡¼¥×¥ó >diff -uNr brother2-1.0.0.orig/backend/brother_scanner.c brother2-1.0.0/backend/brother_scanner.c >--- brother2-1.0.0.orig/backend/brother_scanner.c 2005-05-12 01:27:49.000000000 -0400 >+++ brother2-1.0.0/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; > > // ¥Ç¥Ð¥¤¥¹¥ª¡¼¥×¥ó >diff -uNr brother2-1.0.0.orig/backend/temp/brother.c brother2-1.0.0/backend/temp/brother.c >--- brother2-1.0.0.orig/backend/temp/brother.c 2005-05-12 01:27:49.000000000 -0400 >+++ brother2-1.0.0/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; > > // ¥Ç¥Ð¥¤¥¹¥ª¡¼¥×¥ó
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 115381
:
76503
|
76504
| 76505