Brother MFC-J625DW AIO Network Scan Hang - Specific Use Case
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
Ubuntu Server Version
Description: Ubuntu 18.10
Release: 18.10
Codename: cosmic
I have been working through problems with the scanner and think I have it narrowed down to one specific issue.
I am using the scan to pdf script provided by brother here.
The scanner works fine except in one circumstance. When I press the scan key it will scan but if the scanner "times out" at the next page prompt on the scanner, scanadf in the scan script hangs.
I think because this is all initiated by the brscan-skey program, as long as scanadf is hung, the computer ends up unregistering presumably because the parent program brscan-skey is waiting for scanadf to finish. To restore function, I have to manually kill scanadf.
What I've tried:
scanadf --script-wait --> no change, still hangs
nohup scanadf with & to disown --> works but scanadf and brscan-key still hung
what works: launching a kill script on a timer so that when a scan is initiated it waits 5 minutes, and then kills scanadf.
Scanning from the ADF itself works fine when initiated from server using script, using the button and flatbed works fine as long as you remember to push the button "No" for next page. This confirms all the basic underlying stuff is working.
So it seems that the cause is that the scanner is not sending or server not receiving the signal that there is no more coming when the scanner times out. Since ports are open and it works in every other circumstance I think I'm correct on the cause.
I pulled out a lot of hair getting to this point. If anyone has any solutions to solve this single use case, that would be very appreciated.
networking drivers scripts scanner
add a comment |
Ubuntu Server Version
Description: Ubuntu 18.10
Release: 18.10
Codename: cosmic
I have been working through problems with the scanner and think I have it narrowed down to one specific issue.
I am using the scan to pdf script provided by brother here.
The scanner works fine except in one circumstance. When I press the scan key it will scan but if the scanner "times out" at the next page prompt on the scanner, scanadf in the scan script hangs.
I think because this is all initiated by the brscan-skey program, as long as scanadf is hung, the computer ends up unregistering presumably because the parent program brscan-skey is waiting for scanadf to finish. To restore function, I have to manually kill scanadf.
What I've tried:
scanadf --script-wait --> no change, still hangs
nohup scanadf with & to disown --> works but scanadf and brscan-key still hung
what works: launching a kill script on a timer so that when a scan is initiated it waits 5 minutes, and then kills scanadf.
Scanning from the ADF itself works fine when initiated from server using script, using the button and flatbed works fine as long as you remember to push the button "No" for next page. This confirms all the basic underlying stuff is working.
So it seems that the cause is that the scanner is not sending or server not receiving the signal that there is no more coming when the scanner times out. Since ports are open and it works in every other circumstance I think I'm correct on the cause.
I pulled out a lot of hair getting to this point. If anyone has any solutions to solve this single use case, that would be very appreciated.
networking drivers scripts scanner
add a comment |
Ubuntu Server Version
Description: Ubuntu 18.10
Release: 18.10
Codename: cosmic
I have been working through problems with the scanner and think I have it narrowed down to one specific issue.
I am using the scan to pdf script provided by brother here.
The scanner works fine except in one circumstance. When I press the scan key it will scan but if the scanner "times out" at the next page prompt on the scanner, scanadf in the scan script hangs.
I think because this is all initiated by the brscan-skey program, as long as scanadf is hung, the computer ends up unregistering presumably because the parent program brscan-skey is waiting for scanadf to finish. To restore function, I have to manually kill scanadf.
What I've tried:
scanadf --script-wait --> no change, still hangs
nohup scanadf with & to disown --> works but scanadf and brscan-key still hung
what works: launching a kill script on a timer so that when a scan is initiated it waits 5 minutes, and then kills scanadf.
Scanning from the ADF itself works fine when initiated from server using script, using the button and flatbed works fine as long as you remember to push the button "No" for next page. This confirms all the basic underlying stuff is working.
So it seems that the cause is that the scanner is not sending or server not receiving the signal that there is no more coming when the scanner times out. Since ports are open and it works in every other circumstance I think I'm correct on the cause.
I pulled out a lot of hair getting to this point. If anyone has any solutions to solve this single use case, that would be very appreciated.
networking drivers scripts scanner
Ubuntu Server Version
Description: Ubuntu 18.10
Release: 18.10
Codename: cosmic
I have been working through problems with the scanner and think I have it narrowed down to one specific issue.
I am using the scan to pdf script provided by brother here.
The scanner works fine except in one circumstance. When I press the scan key it will scan but if the scanner "times out" at the next page prompt on the scanner, scanadf in the scan script hangs.
I think because this is all initiated by the brscan-skey program, as long as scanadf is hung, the computer ends up unregistering presumably because the parent program brscan-skey is waiting for scanadf to finish. To restore function, I have to manually kill scanadf.
What I've tried:
scanadf --script-wait --> no change, still hangs
nohup scanadf with & to disown --> works but scanadf and brscan-key still hung
what works: launching a kill script on a timer so that when a scan is initiated it waits 5 minutes, and then kills scanadf.
Scanning from the ADF itself works fine when initiated from server using script, using the button and flatbed works fine as long as you remember to push the button "No" for next page. This confirms all the basic underlying stuff is working.
So it seems that the cause is that the scanner is not sending or server not receiving the signal that there is no more coming when the scanner times out. Since ports are open and it works in every other circumstance I think I'm correct on the cause.
I pulled out a lot of hair getting to this point. If anyone has any solutions to solve this single use case, that would be very appreciated.
networking drivers scripts scanner
networking drivers scripts scanner
edited Feb 11 at 10:00
G_L
asked Feb 10 at 22:20
G_LG_L
62
62
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1117231%2fbrother-mfc-j625dw-aio-network-scan-hang-specific-use-case%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1117231%2fbrother-mfc-j625dw-aio-network-scan-hang-specific-use-case%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown