[sane-devel] Brother: does not scan

AugustQ augustq at gmx.net
Tue May 5 13:16:15 BST 2020


Hi Alexander,


sorry, did not help:


august at August-Ryzen:~$ sudo simple-scan --debug
[+0,00s] DEBUG: simple-scan.vala:637: Starting Simple Scan 3.28.0, PID=16415
[+0,03s] CRITICAL: g_action_print_detailed_name: assertion
'g_action_name_is_valid (action_name)' failed
[+0,03s] CRITICAL: gtk_application_set_accels_for_action: assertion
'detailed_action_name != NULL' failed
[+0,05s] DEBUG: app-window.vala:1714: Loading state from
/home/august/.cache/simple-scan/state

.....

[+0,43s] DEBUG: scanner.vala:1454: sane_init () -> SANE_STATUS_GOOD
[+0,43s] DEBUG: scanner.vala:1460: SANE version 1.0.1
[+0,43s] DEBUG: scanner.vala:1521: Requesting redetection of scan devices
[+0,43s] DEBUG: scanner.vala:806: Processing request
[+0,43s] DEBUG: scanner.vala:341: sane_get_devices () -> SANE_STATUS_GOOD
[+0,43s] DEBUG: scanner.vala:353: Device: name="bus4;dev1"
vendor="Brother" model="DCP-7010" type="USB scanner"
[+0,53s] DEBUG: app-window.vala:1775: Saving state to
/home/august/.cache/simple-scan/state
[+3,13s] DEBUG: simple-scan.vala:454: Requesting scan at 300 dpi from
device 'bus4;dev1'
[+3,13s] DEBUG: scanner.vala:1569: Scanner.scan ("bus4;dev1", dpi=300,
scan_mode=ScanMode.COLOR, depth=8, type=ScanType.SINGLE, paper_width=0,
paper_height=0, brightness=0, contrast=0, delay=10000ms)
[+3,13s] DEBUG: scanner.vala:806: Processing request
[+3,26s] DEBUG: app-window.vala:1775: Saving state to
/home/august/.cache/simple-scan/state
[+9,18s] DEBUG: scanner.vala:867: sane_open ("bus4;dev1") ->
SANE_STATUS_INVAL
[+9,18s] WARNING: scanner.vala:871: Unable to get open device: Invalid
argument

How can I activate the DBG-macros? Maybe this gives more help where it
fails.


AugustQ


Am 05.05.20 um 13:59 schrieb Alexander Pevzner:
> Hi,
>
>> I have an old workhorse, a Brother DCP 7010. This works (=scans) on
>> Ubuntu 16.04, but refuses to scan on Ubuntu 18.04 and 20.04 (in VM).
>>
>> It prints without any problems.
>
> Try to run your scanning app (xsane or simple-scan or even scanimage,
> it doesn't matter) from root. The problem may be due to access rights
> to USB devices.
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20200505/ff7a17a4/attachment.sig>


More information about the sane-devel mailing list