Scanner is detected just once
up vote
1
down vote
favorite
I installed SANE backend (hardware.sane.enable = true;
on NixOS) and tested if my scanner is detected by running scanimage -L
(as suggested here https://nixos.wiki/wiki/Scanners).
Interestingly, the first time I run this command, I can see my scanner (and my webcam):
$ scanimage -L
device `xerox_mfp:libusb:001:012' is a Samsung Samsung SCX-3200 Series multi-function peripheral
device `v4l:/dev/video0' is a Noname HP HD Camera virtual device
but the next time I run it, I only see my webcam:
$ scanimage -L
device `v4l:/dev/video0' is a Noname HP HD Camera virtual device
I only have to unplug and replug the USB connection to see it again (only once).
I have tried using simple-scan to scan a document but I get a similar experience (I can see the scanner only if I just plug it in without testing the connection with scanimage -L
but in any case, the application doesn't manage to scan even just a page).
I thought it may be the same issue as in https://unix.stackexchange.com/a/191816/115070 so I disabled USB autosuspend using TLP, I can see that it has been taken into account:
$ tlp-stat -u
--- TLP 1.0 --------------------------------------------
+++ USB
Autosuspend = disabled
but this doesn't help actually.
Update: lsusb
The scanner is always visible with lsusb
:
Bus 001 Device 006: ID 04e8:3441 Samsung Electronics Co., Ltd
Update: sane-find-scanner
The scanner is always visible with sane-find-scanner
(in normal mode or in sudo mode):
found USB scanner (vendor=0x04e8 [Samsung Electronics Co., Ltd.], product=0x3441 [SCX-3200 Series]) at libusb:001:005
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
Update: permissions
scanimage -L
behaves the same in normal and sudo mode. It detects the scanner only the first time after plugging / restarting, including across modes (normal then sudo or sudo then normal).
Update: searching the mailing list and commit history
It really looks like the issue is just that the scanner is unsupported (see https://www.mail-archive.com/sane-devel@lists.alioth.debian.org/msg34458.html in particular). I'm just a bit surprised with the behavior of scanimage -L
in this case. It would have been less confusing if it was never detected.
Important update: works on another laptop
It looks like the problem doesn't come from a lack of support after all.
I have tested the SANE backend with the same scanner and an older laptop (Dell Latitude E6500). It works perfectly well with scanimage -L
and simple-scan
.
Given the lack of difference in the way I configured the two laptops, I can only assume that the problem I was having on my first laptop (HP EliteBook Folio 1040 G3 Notebook PC) is a hardware problem.
nixos scanner sane
|
show 8 more comments
up vote
1
down vote
favorite
I installed SANE backend (hardware.sane.enable = true;
on NixOS) and tested if my scanner is detected by running scanimage -L
(as suggested here https://nixos.wiki/wiki/Scanners).
Interestingly, the first time I run this command, I can see my scanner (and my webcam):
$ scanimage -L
device `xerox_mfp:libusb:001:012' is a Samsung Samsung SCX-3200 Series multi-function peripheral
device `v4l:/dev/video0' is a Noname HP HD Camera virtual device
but the next time I run it, I only see my webcam:
$ scanimage -L
device `v4l:/dev/video0' is a Noname HP HD Camera virtual device
I only have to unplug and replug the USB connection to see it again (only once).
I have tried using simple-scan to scan a document but I get a similar experience (I can see the scanner only if I just plug it in without testing the connection with scanimage -L
but in any case, the application doesn't manage to scan even just a page).
I thought it may be the same issue as in https://unix.stackexchange.com/a/191816/115070 so I disabled USB autosuspend using TLP, I can see that it has been taken into account:
$ tlp-stat -u
--- TLP 1.0 --------------------------------------------
+++ USB
Autosuspend = disabled
but this doesn't help actually.
Update: lsusb
The scanner is always visible with lsusb
:
Bus 001 Device 006: ID 04e8:3441 Samsung Electronics Co., Ltd
Update: sane-find-scanner
The scanner is always visible with sane-find-scanner
(in normal mode or in sudo mode):
found USB scanner (vendor=0x04e8 [Samsung Electronics Co., Ltd.], product=0x3441 [SCX-3200 Series]) at libusb:001:005
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
Update: permissions
scanimage -L
behaves the same in normal and sudo mode. It detects the scanner only the first time after plugging / restarting, including across modes (normal then sudo or sudo then normal).
Update: searching the mailing list and commit history
It really looks like the issue is just that the scanner is unsupported (see https://www.mail-archive.com/sane-devel@lists.alioth.debian.org/msg34458.html in particular). I'm just a bit surprised with the behavior of scanimage -L
in this case. It would have been less confusing if it was never detected.
Important update: works on another laptop
It looks like the problem doesn't come from a lack of support after all.
I have tested the SANE backend with the same scanner and an older laptop (Dell Latitude E6500). It works perfectly well with scanimage -L
and simple-scan
.
Given the lack of difference in the way I configured the two laptops, I can only assume that the problem I was having on my first laptop (HP EliteBook Folio 1040 G3 Notebook PC) is a hardware problem.
nixos scanner sane
Is the scanner all the time visible inlsusb
?
– Tomáš Pospíšek
Dec 21 '17 at 19:24
@TomášPospíšek Sorry for the delay in the answer. Yes, it is.
– Zimm i48
Dec 22 '17 at 22:26
and if you switch on/off the scanner, then the nextscanimage -L
will see it again? Have a look at the sane mailing list and change log, if maybe there were fixes for your scanner.
– Tomáš Pospíšek
Dec 22 '17 at 22:29
@TomášPospíšek switching on and off allows seeing the scanner again, exactly like unplugging / plugging the USB. I could not find the link to SANE change log or a way to search the mailing list archive.
– Zimm i48
Dec 22 '17 at 23:17
1
mailing list: sane-project.org/mailing-lists.html , git repository, where you can go through the changes: sane-project.org/cvs.html - also you might want to ask on the mailing list whysane-find-scanner
is seeing the device butscanimage -L
is not.
– Tomáš Pospíšek
Dec 23 '17 at 8:24
|
show 8 more comments
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I installed SANE backend (hardware.sane.enable = true;
on NixOS) and tested if my scanner is detected by running scanimage -L
(as suggested here https://nixos.wiki/wiki/Scanners).
Interestingly, the first time I run this command, I can see my scanner (and my webcam):
$ scanimage -L
device `xerox_mfp:libusb:001:012' is a Samsung Samsung SCX-3200 Series multi-function peripheral
device `v4l:/dev/video0' is a Noname HP HD Camera virtual device
but the next time I run it, I only see my webcam:
$ scanimage -L
device `v4l:/dev/video0' is a Noname HP HD Camera virtual device
I only have to unplug and replug the USB connection to see it again (only once).
I have tried using simple-scan to scan a document but I get a similar experience (I can see the scanner only if I just plug it in without testing the connection with scanimage -L
but in any case, the application doesn't manage to scan even just a page).
I thought it may be the same issue as in https://unix.stackexchange.com/a/191816/115070 so I disabled USB autosuspend using TLP, I can see that it has been taken into account:
$ tlp-stat -u
--- TLP 1.0 --------------------------------------------
+++ USB
Autosuspend = disabled
but this doesn't help actually.
Update: lsusb
The scanner is always visible with lsusb
:
Bus 001 Device 006: ID 04e8:3441 Samsung Electronics Co., Ltd
Update: sane-find-scanner
The scanner is always visible with sane-find-scanner
(in normal mode or in sudo mode):
found USB scanner (vendor=0x04e8 [Samsung Electronics Co., Ltd.], product=0x3441 [SCX-3200 Series]) at libusb:001:005
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
Update: permissions
scanimage -L
behaves the same in normal and sudo mode. It detects the scanner only the first time after plugging / restarting, including across modes (normal then sudo or sudo then normal).
Update: searching the mailing list and commit history
It really looks like the issue is just that the scanner is unsupported (see https://www.mail-archive.com/sane-devel@lists.alioth.debian.org/msg34458.html in particular). I'm just a bit surprised with the behavior of scanimage -L
in this case. It would have been less confusing if it was never detected.
Important update: works on another laptop
It looks like the problem doesn't come from a lack of support after all.
I have tested the SANE backend with the same scanner and an older laptop (Dell Latitude E6500). It works perfectly well with scanimage -L
and simple-scan
.
Given the lack of difference in the way I configured the two laptops, I can only assume that the problem I was having on my first laptop (HP EliteBook Folio 1040 G3 Notebook PC) is a hardware problem.
nixos scanner sane
I installed SANE backend (hardware.sane.enable = true;
on NixOS) and tested if my scanner is detected by running scanimage -L
(as suggested here https://nixos.wiki/wiki/Scanners).
Interestingly, the first time I run this command, I can see my scanner (and my webcam):
$ scanimage -L
device `xerox_mfp:libusb:001:012' is a Samsung Samsung SCX-3200 Series multi-function peripheral
device `v4l:/dev/video0' is a Noname HP HD Camera virtual device
but the next time I run it, I only see my webcam:
$ scanimage -L
device `v4l:/dev/video0' is a Noname HP HD Camera virtual device
I only have to unplug and replug the USB connection to see it again (only once).
I have tried using simple-scan to scan a document but I get a similar experience (I can see the scanner only if I just plug it in without testing the connection with scanimage -L
but in any case, the application doesn't manage to scan even just a page).
I thought it may be the same issue as in https://unix.stackexchange.com/a/191816/115070 so I disabled USB autosuspend using TLP, I can see that it has been taken into account:
$ tlp-stat -u
--- TLP 1.0 --------------------------------------------
+++ USB
Autosuspend = disabled
but this doesn't help actually.
Update: lsusb
The scanner is always visible with lsusb
:
Bus 001 Device 006: ID 04e8:3441 Samsung Electronics Co., Ltd
Update: sane-find-scanner
The scanner is always visible with sane-find-scanner
(in normal mode or in sudo mode):
found USB scanner (vendor=0x04e8 [Samsung Electronics Co., Ltd.], product=0x3441 [SCX-3200 Series]) at libusb:001:005
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
Update: permissions
scanimage -L
behaves the same in normal and sudo mode. It detects the scanner only the first time after plugging / restarting, including across modes (normal then sudo or sudo then normal).
Update: searching the mailing list and commit history
It really looks like the issue is just that the scanner is unsupported (see https://www.mail-archive.com/sane-devel@lists.alioth.debian.org/msg34458.html in particular). I'm just a bit surprised with the behavior of scanimage -L
in this case. It would have been less confusing if it was never detected.
Important update: works on another laptop
It looks like the problem doesn't come from a lack of support after all.
I have tested the SANE backend with the same scanner and an older laptop (Dell Latitude E6500). It works perfectly well with scanimage -L
and simple-scan
.
Given the lack of difference in the way I configured the two laptops, I can only assume that the problem I was having on my first laptop (HP EliteBook Folio 1040 G3 Notebook PC) is a hardware problem.
nixos scanner sane
nixos scanner sane
edited Dec 24 '17 at 19:50
asked Dec 21 '17 at 18:06
Zimm i48
36418
36418
Is the scanner all the time visible inlsusb
?
– Tomáš Pospíšek
Dec 21 '17 at 19:24
@TomášPospíšek Sorry for the delay in the answer. Yes, it is.
– Zimm i48
Dec 22 '17 at 22:26
and if you switch on/off the scanner, then the nextscanimage -L
will see it again? Have a look at the sane mailing list and change log, if maybe there were fixes for your scanner.
– Tomáš Pospíšek
Dec 22 '17 at 22:29
@TomášPospíšek switching on and off allows seeing the scanner again, exactly like unplugging / plugging the USB. I could not find the link to SANE change log or a way to search the mailing list archive.
– Zimm i48
Dec 22 '17 at 23:17
1
mailing list: sane-project.org/mailing-lists.html , git repository, where you can go through the changes: sane-project.org/cvs.html - also you might want to ask on the mailing list whysane-find-scanner
is seeing the device butscanimage -L
is not.
– Tomáš Pospíšek
Dec 23 '17 at 8:24
|
show 8 more comments
Is the scanner all the time visible inlsusb
?
– Tomáš Pospíšek
Dec 21 '17 at 19:24
@TomášPospíšek Sorry for the delay in the answer. Yes, it is.
– Zimm i48
Dec 22 '17 at 22:26
and if you switch on/off the scanner, then the nextscanimage -L
will see it again? Have a look at the sane mailing list and change log, if maybe there were fixes for your scanner.
– Tomáš Pospíšek
Dec 22 '17 at 22:29
@TomášPospíšek switching on and off allows seeing the scanner again, exactly like unplugging / plugging the USB. I could not find the link to SANE change log or a way to search the mailing list archive.
– Zimm i48
Dec 22 '17 at 23:17
1
mailing list: sane-project.org/mailing-lists.html , git repository, where you can go through the changes: sane-project.org/cvs.html - also you might want to ask on the mailing list whysane-find-scanner
is seeing the device butscanimage -L
is not.
– Tomáš Pospíšek
Dec 23 '17 at 8:24
Is the scanner all the time visible in
lsusb
?– Tomáš Pospíšek
Dec 21 '17 at 19:24
Is the scanner all the time visible in
lsusb
?– Tomáš Pospíšek
Dec 21 '17 at 19:24
@TomášPospíšek Sorry for the delay in the answer. Yes, it is.
– Zimm i48
Dec 22 '17 at 22:26
@TomášPospíšek Sorry for the delay in the answer. Yes, it is.
– Zimm i48
Dec 22 '17 at 22:26
and if you switch on/off the scanner, then the next
scanimage -L
will see it again? Have a look at the sane mailing list and change log, if maybe there were fixes for your scanner.– Tomáš Pospíšek
Dec 22 '17 at 22:29
and if you switch on/off the scanner, then the next
scanimage -L
will see it again? Have a look at the sane mailing list and change log, if maybe there were fixes for your scanner.– Tomáš Pospíšek
Dec 22 '17 at 22:29
@TomášPospíšek switching on and off allows seeing the scanner again, exactly like unplugging / plugging the USB. I could not find the link to SANE change log or a way to search the mailing list archive.
– Zimm i48
Dec 22 '17 at 23:17
@TomášPospíšek switching on and off allows seeing the scanner again, exactly like unplugging / plugging the USB. I could not find the link to SANE change log or a way to search the mailing list archive.
– Zimm i48
Dec 22 '17 at 23:17
1
1
mailing list: sane-project.org/mailing-lists.html , git repository, where you can go through the changes: sane-project.org/cvs.html - also you might want to ask on the mailing list why
sane-find-scanner
is seeing the device but scanimage -L
is not.– Tomáš Pospíšek
Dec 23 '17 at 8:24
mailing list: sane-project.org/mailing-lists.html , git repository, where you can go through the changes: sane-project.org/cvs.html - also you might want to ask on the mailing list why
sane-find-scanner
is seeing the device but scanimage -L
is not.– Tomáš Pospíšek
Dec 23 '17 at 8:24
|
show 8 more comments
1 Answer
1
active
oldest
votes
up vote
1
down vote
I just had the same problem on Scientific-Linux 6.5 with a Fujitsu Scansnap and sane-backends 1.0.24. I compiled 1.0.25 (i.e. not the most recent one, but I just had that one around) and it solved the problem. No special environment variables needed.
All other tricks recommended here and elsewhere (exchanging the scanner for another specimen of the same type, using another USB cable, using another USB socket on the computer) failed.
New contributor
Thanks, I'll try to test this when I get the opportunity.
– Zimm i48
yesterday
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
I just had the same problem on Scientific-Linux 6.5 with a Fujitsu Scansnap and sane-backends 1.0.24. I compiled 1.0.25 (i.e. not the most recent one, but I just had that one around) and it solved the problem. No special environment variables needed.
All other tricks recommended here and elsewhere (exchanging the scanner for another specimen of the same type, using another USB cable, using another USB socket on the computer) failed.
New contributor
Thanks, I'll try to test this when I get the opportunity.
– Zimm i48
yesterday
add a comment |
up vote
1
down vote
I just had the same problem on Scientific-Linux 6.5 with a Fujitsu Scansnap and sane-backends 1.0.24. I compiled 1.0.25 (i.e. not the most recent one, but I just had that one around) and it solved the problem. No special environment variables needed.
All other tricks recommended here and elsewhere (exchanging the scanner for another specimen of the same type, using another USB cable, using another USB socket on the computer) failed.
New contributor
Thanks, I'll try to test this when I get the opportunity.
– Zimm i48
yesterday
add a comment |
up vote
1
down vote
up vote
1
down vote
I just had the same problem on Scientific-Linux 6.5 with a Fujitsu Scansnap and sane-backends 1.0.24. I compiled 1.0.25 (i.e. not the most recent one, but I just had that one around) and it solved the problem. No special environment variables needed.
All other tricks recommended here and elsewhere (exchanging the scanner for another specimen of the same type, using another USB cable, using another USB socket on the computer) failed.
New contributor
I just had the same problem on Scientific-Linux 6.5 with a Fujitsu Scansnap and sane-backends 1.0.24. I compiled 1.0.25 (i.e. not the most recent one, but I just had that one around) and it solved the problem. No special environment variables needed.
All other tricks recommended here and elsewhere (exchanging the scanner for another specimen of the same type, using another USB cable, using another USB socket on the computer) failed.
New contributor
New contributor
answered 2 days ago
Ralf Muschall
112
112
New contributor
New contributor
Thanks, I'll try to test this when I get the opportunity.
– Zimm i48
yesterday
add a comment |
Thanks, I'll try to test this when I get the opportunity.
– Zimm i48
yesterday
Thanks, I'll try to test this when I get the opportunity.
– Zimm i48
yesterday
Thanks, I'll try to test this when I get the opportunity.
– Zimm i48
yesterday
add a comment |
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%2funix.stackexchange.com%2fquestions%2f412331%2fscanner-is-detected-just-once%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
Is the scanner all the time visible in
lsusb
?– Tomáš Pospíšek
Dec 21 '17 at 19:24
@TomášPospíšek Sorry for the delay in the answer. Yes, it is.
– Zimm i48
Dec 22 '17 at 22:26
and if you switch on/off the scanner, then the next
scanimage -L
will see it again? Have a look at the sane mailing list and change log, if maybe there were fixes for your scanner.– Tomáš Pospíšek
Dec 22 '17 at 22:29
@TomášPospíšek switching on and off allows seeing the scanner again, exactly like unplugging / plugging the USB. I could not find the link to SANE change log or a way to search the mailing list archive.
– Zimm i48
Dec 22 '17 at 23:17
1
mailing list: sane-project.org/mailing-lists.html , git repository, where you can go through the changes: sane-project.org/cvs.html - also you might want to ask on the mailing list why
sane-find-scanner
is seeing the device butscanimage -L
is not.– Tomáš Pospíšek
Dec 23 '17 at 8:24