Created attachment 167896 [details] Pictographic depiction of the problem. SUMMARY Skanlite is reproducibly unable to detect scanner dimensions upon scanner reselection. It always initializes with the correct values, but never acquires them on scanner reselection. STEPS TO REPRODUCE Always reproducible. 1. Install https://kojipkgs.fedoraproject.org//packages/epson-inkjet-printer-escpr2/1.1.49/5.1lsb3.2.fc40/noarch/epson-inkjet-printer-escpr2-1.1.49-5.1lsb3.2.fc40.noarch.rpm 2. Install https://kojipkgs.fedoraproject.org//packages/skanlite/24.02.0/1.fc40/x86_64/skanlite-24.02.0-1.fc40.x86_64.rpm with OBSERVED RESULT I am unable to choose a preset size, and the individual value slider-inputs are all set to 0. The attached PNG file depicts this. EXPECTED RESULT It should act the same as when it was first initialized. SOFTWARE/OS VERSIONS -----------------------|---------------------------------------- Operating System | cpe:/o:fedoraproject:fedora:40 KDE Plasma Version | 6.0.2 KDE Frameworks Version | 6.0.0 Qt Version | 6.6.2 Kernel Version | 6.8.2-300.fc40.x86_64 (64-bit) Graphics Platform | Wayland Processors | 12 × AMD Ryzen 5 7600X 6-Core Processor Memory | 30.5 GiB of RAM Graphics Processor | AMD Radeon RX 5700 Manufacturer | ASRock Product Name | X670E Taichi -----------------------|---------------------------------------- ADDITIONAL INFORMATION Discovered whilst testing the diagnostic method that https://bugs.kde.org/show_bug.cgi?id=484246#c2 describes, so I do at least have consistent logging for this.
Created attachment 167901 [details] Videographic depiction of the problem.
(In reply to `{third: "Beedell", first: "Roke"}`{.JSON5} from comment #0) > RokeJulianLockhart@sayw4i:~$ SANE_DEBUG_EPSON2=16 skanlite > [18:37:02.158611] [sanei_debug] Setting debug level of epson2 to 16. > [18:37:02.158633] [epson2] sane_epson2_init: version 1.2.1 > [18:37:02.158702] [epson2] sane_epson2_get_devices > [18:37:02.158707] [epson2] probe_devices > [18:37:02.158711] [epson2] free_devices > [18:37:02.158722] [epson2] attach_one_config: len = 10, line = scsi EPSON > [18:37:02.158908] [epson2] attach_one_config: len = 3, line = usb > [18:37:02.158914] [epson2] attach_one_usb: dev = libusb:005:013 > [18:37:02.158918] [epson2] attach: devname = libusb:005:013, type = 3 > [18:37:02.158923] [epson2] e2_dev_init > [18:37:02.158928] [epson2] open_scanner: libusb:005:013 > [18:37:02.158956] [epson2] scanner opened > [18:37:02.158961] [epson2] found valid Epson scanner: 0x4b8/0x1116 (vendorID/productID) > [18:37:02.158966] [epson2] e2_set_model: model is 'generic' > [18:37:02.158971] [epson2] esci_reset > [18:37:02.158975] [epson2] e2_cmd_simple: size = 2 > [18:37:02.158980] [epson2] e2_send: size = 2, reply = 1 > [18:37:02.158984] [epson2] e2_send: ESC @ > [18:37:02.159018] [epson2] e2_recv: size = 1, buf = 0x7f3298bfe4f7 > [18:37:02.159764] [epson2] e2_txrx: eds_recv status, Success > [18:37:02.159775] [epson2] e2_discover_capabilities > [18:37:02.159780] [epson2] esci_request_identity > [18:37:02.159785] [epson2] e2_cmd_info_block, params len = 2, reply len = 0, buf = 0x7f3298bfe4b8 > [18:37:02.159790] [epson2] e2_send: size = 2, reply = 0 > [18:37:02.159795] [epson2] e2_send: ESC I > [18:37:02.161021] [epson2] e2_recv: size = 4, buf = 0x7f3298bfe392 > [18:37:02.162337] [epson2] e2_recv_info_block: payload length: 19 > [18:37:02.162348] [epson2] e2_recv: size = 19, buf = 0x7f32700044d0 > [18:37:02.163081] [epson2] e2_set_cmd_level: D7 > [18:37:02.163093] [epson2] e2_add_resolution: add (dpi): 75 > [18:37:02.163098] [epson2] e2_add_resolution: add (dpi): 300 > [18:37:02.163103] [epson2] e2_add_resolution: add (dpi): 600 > [18:37:02.163107] [epson2] e2_add_resolution: add (dpi): 1200 > [18:37:02.163112] [epson2] maximum scan area: 10200x14040 > [18:37:02.163116] [epson2] e2_set_fbf_area: 0.000000,0.000000 215.899994,297.179993 1200 [mm] > [18:37:02.163124] [epson2] esci_request_status > [18:37:02.163128] [epson2] e2_send: size = 2, reply = 4 > [18:37:02.163133] [epson2] e2_send: ESC F > [18:37:02.164254] [epson2] e2_recv: size = 4, buf = 0x7f3298bfe402 > [18:37:02.165849] [epson2] status: 42 > [18:37:02.165854] [epson2] scanner in use on another interface > [18:37:02.165859] [epson2] no option equipment installed > [18:37:02.165863] [epson2] support extended commands > [18:37:02.165867] [epson2] detection with request_extended_status > [18:37:02.165872] [epson2] esci_request_extended_status > [18:37:02.165876] [epson2] e2_cmd_info_block, params len = 2, reply len = 42, buf = 0x7f3298bfe438 > [18:37:02.165881] [epson2] e2_send: size = 2, reply = 46 > [18:37:02.165886] [epson2] e2_send: ESC f > [18:37:02.166711] [epson2] e2_recv: size = 4, buf = 0x7f3298bfe372 > [18:37:02.168261] [epson2] e2_recv_info_block: payload length: 42 > [18:37:02.168269] [epson2] e2_recv: size = 42, buf = 0x7f3270033100 > [18:37:02.169076] [epson2] main = 01, ADF = 00, TPU = 00, main 2 = c0 > [18:37:02.169081] [epson2] e2_set_model: model is 'PID 1116' > [18:37:02.169085] [epson2] push button detected > [18:37:02.169090] [epson2] e2_set_fbf_area: 0.000000,0.000000 215.899994,297.179993 1200 [mm] > [18:37:02.169095] [epson2] no command available to detect capabilities > [18:37:02.169099] [epson2] esci_request_identity2 > [18:37:02.169104] [epson2] e2_cmd_info_block, params len = 2, reply len = 0, buf = 0x7f3298bfe4b8 > [18:37:02.169109] [epson2] e2_send: size = 2, reply = 0 > [18:37:02.169113] [epson2] e2_send: ESC i > [18:37:02.182786] [epson2] e2_recv: size = 4, buf = 0x7f3298bfe392 > [18:37:02.183627] [epson2] e2_recv_info_block: payload length: 40 > [18:37:02.183637] [epson2] e2_recv: size = 40, buf = 0x7f3270032be0 > [18:37:02.184495] [epson2] discovering max depth, NAKs are expected > [18:37:02.184500] [epson2] e2_add_depth: add (bpp): 8 > [18:37:02.184505] [epson2] maximum supported color depth: 8 > [18:37:02.184509] [epson2] esci_request_focus_position > [18:37:02.184514] [epson2] getting focus is not supported > [18:37:02.184518] [epson2] esci_request_scanner_status > [18:37:02.184523] [epson2] e2_send: size = 2, reply = 16 > [18:37:02.184527] [epson2] e2_send: FS F > [18:37:02.185659] [epson2] e2_recv: size = 16, buf = 0x7f3298bfe4c0 > [18:37:02.187108] [epson2] e2_txrx: eds_recv status, Success > [18:37:02.187115] [epson2] global status : 0x41 > [18:37:02.187121] [epson2] not ready > [18:37:02.187128] [epson2] warmup can be cancelled > [18:37:02.187134] [epson2] adf status : 0x00 > [18:37:02.187140] [epson2] not installed > [18:37:02.187147] [epson2] not enabled > [18:37:02.187153] [epson2] tpu status : 0x00 > [18:37:02.187161] [epson2] not installed > [18:37:02.187168] [epson2] not enabled > [18:37:02.187174] [epson2] device type : 0xc0 > [18:37:02.187180] [epson2] main body status: 0x00 > [18:37:02.187186] [epson2] e2_dev_post_init > [18:37:02.187193] [epson2] CCT model id is 0x00, profile offset 0 > [18:37:02.187201] [epson2] highest available resolution: 1200 > [18:37:02.187209] [epson2] esci_reset > [18:37:02.187216] [epson2] e2_cmd_simple: size = 2 > [18:37:02.187223] [epson2] e2_send: size = 2, reply = 1 > [18:37:02.187230] [epson2] e2_send: ESC @ > [18:37:02.187993] [epson2] e2_recv: size = 1, buf = 0x7f3298bfe4f7 > [18:37:02.189384] [epson2] e2_txrx: eds_recv status, Success > [18:37:02.189389] [epson2] scanner model: PID 1116 > [18:37:02.189393] [epson2] close_scanner: fd = 0 > [18:37:02.189398] [epson2] esci_request_extended_status > [18:37:02.189402] [epson2] e2_cmd_info_block, params len = 2, reply len = 42, buf = 0x7f3298bfe568 > [18:37:02.189406] [epson2] e2_send: size = 2, reply = 46 > [18:37:02.189411] [epson2] e2_send: ESC f > [18:37:02.190647] [epson2] e2_recv: size = 4, buf = 0x7f3298bfe4a2 > [18:37:02.191784] [epson2] e2_recv_info_block: payload length: 42 > [18:37:02.191789] [epson2] e2_recv: size = 42, buf = 0x7f3270017990 > [18:37:02.192951] [epson2] main = 01, ADF = 00, TPU = 00, main 2 = c0 > [18:37:02.192967] [epson2] attach_one_config: len = 17, line = net autodiscovery > [18:37:02.193015] [epson2] e2_network_discovery, sent discovery packet > [18:37:03.194335] [epson2] e2_network_discovery, end > [18:37:03.194377] [epson2] sane_epson2_get_devices - results: > [18:37:03.194385] [epson2] 0 (3): PID 1116 > [18:37:04.648223] [epson2] sane_epson2_open: name = libusb:005:013 > [18:37:04.648257] [epson2] handle obtained > [18:37:04.648264] [epson2] open_scanner: libusb:005:013 > [18:37:04.648340] [epson2] scanner opened > [18:37:04.648346] [epson2] esci_reset > [18:37:04.648350] [epson2] e2_cmd_simple: size = 2 > [18:37:04.648355] [epson2] e2_send: size = 2, reply = 1 > [18:37:04.648361] [epson2] e2_send: ESC @ > [18:37:04.648392] [epson2] e2_recv: size = 1, buf = 0x7ffc10017c27 > [18:37:04.649039] [epson2] e2_txrx: eds_recv status, Success > kf.i18n: Trying to convert empty KLocalizedString to QString. > kf.i18n: Trying to convert empty KLocalizedString to QString. > [18:37:09.453695] [epson2] * sane_epson2_close > [18:37:09.453716] [epson2] close_scanner: fd = 0 > [18:37:09.453722] [epson2] esci_request_status > [18:37:09.453727] [epson2] e2_send: size = 2, reply = 4 > [18:37:09.453732] [epson2] e2_send: ESC F > [18:37:09.453794] [epson2] e2_recv: size = 4, buf = 0x7ffc10016f42 > [18:37:09.454933] [epson2] status: 02 > [18:37:09.454938] [epson2] ready > [18:37:09.454943] [epson2] no option equipment installed > [18:37:09.454947] [epson2] support extended commands > [18:37:09.980353] [epson2] sane_epson2_get_devices > [18:37:09.980368] [epson2] probe_devices > [18:37:09.980374] [epson2] free_devices > [18:37:09.980384] [epson2] attach_one_config: len = 10, line = scsi EPSON > [18:37:09.980564] [epson2] attach_one_config: len = 3, line = usb > [18:37:09.980570] [epson2] attach_one_usb: dev = libusb:005:013 > [18:37:09.980575] [epson2] attach: devname = libusb:005:013, type = 3 > [18:37:09.980581] [epson2] e2_dev_init > [18:37:09.980585] [epson2] open_scanner: libusb:005:013 > [18:37:09.980613] [epson2] scanner opened > [18:37:09.980618] [epson2] found valid Epson scanner: 0x4b8/0x1116 (vendorID/productID) > [18:37:09.980623] [epson2] e2_set_model: model is 'generic' > [18:37:09.980628] [epson2] esci_reset > [18:37:09.980632] [epson2] e2_cmd_simple: size = 2 > [18:37:09.980637] [epson2] e2_send: size = 2, reply = 1 > [18:37:09.980642] [epson2] e2_send: ESC @ > [18:37:09.980674] [epson2] e2_recv: size = 1, buf = 0x7f3286dfe4f7 > [18:37:09.981322] [epson2] e2_txrx: eds_recv status, Success > [18:37:09.981327] [epson2] e2_discover_capabilities > [18:37:09.981332] [epson2] esci_request_identity > [18:37:09.981336] [epson2] e2_cmd_info_block, params len = 2, reply len = 0, buf = 0x7f3286dfe4b8 > [18:37:09.981341] [epson2] e2_send: size = 2, reply = 0 > [18:37:09.981346] [epson2] e2_send: ESC I > [18:37:09.982755] [epson2] e2_recv: size = 4, buf = 0x7f3286dfe392 > [18:37:09.983885] [epson2] e2_recv_info_block: payload length: 19 > [18:37:09.983897] [epson2] e2_recv: size = 19, buf = 0x7f3270013890 > [18:37:09.984688] [epson2] e2_set_cmd_level: D7 > [18:37:09.984693] [epson2] e2_add_resolution: add (dpi): 75 > [18:37:09.984698] [epson2] e2_add_resolution: add (dpi): 300 > [18:37:09.984702] [epson2] e2_add_resolution: add (dpi): 600 > [18:37:09.984707] [epson2] e2_add_resolution: add (dpi): 1200 > [18:37:09.984711] [epson2] maximum scan area: 10200x14040 > [18:37:09.984716] [epson2] e2_set_fbf_area: 0.000000,0.000000 215.899994,297.179993 1200 [mm] > [18:37:09.984723] [epson2] esci_request_status > [18:37:09.984728] [epson2] e2_send: size = 2, reply = 4 > [18:37:09.984733] [epson2] e2_send: ESC F > [18:37:09.985904] [epson2] e2_recv: size = 4, buf = 0x7f3286dfe402 > [18:37:09.987386] [epson2] status: 02 > [18:37:09.987393] [epson2] ready > [18:37:09.987399] [epson2] no option equipment installed > [18:37:09.987405] [epson2] support extended commands > [18:37:09.987411] [epson2] detection with request_extended_status > [18:37:09.987418] [epson2] esci_request_extended_status > [18:37:09.987424] [epson2] e2_cmd_info_block, params len = 2, reply len = 42, buf = 0x7f3286dfe438 > [18:37:09.987431] [epson2] e2_send: size = 2, reply = 46 > [18:37:09.987438] [epson2] e2_send: ESC f > [18:37:09.988273] [epson2] e2_recv: size = 4, buf = 0x7f3286dfe372 > [18:37:09.989671] [epson2] e2_recv_info_block: payload length: 42 > [18:37:09.989677] [epson2] e2_recv: size = 42, buf = 0x7f325c002770 > [18:37:09.990576] [epson2] main = 01, ADF = 00, TPU = 00, main 2 = c0 > [18:37:09.990581] [epson2] e2_set_model: model is 'PID 1116' > [18:37:09.990585] [epson2] push button detected > [18:37:09.990589] [epson2] e2_set_fbf_area: 0.000000,0.000000 215.899994,297.179993 1200 [mm] > [18:37:09.990596] [epson2] no command available to detect capabilities > [18:37:09.990601] [epson2] esci_request_identity2 > [18:37:09.990605] [epson2] e2_cmd_info_block, params len = 2, reply len = 0, buf = 0x7f3286dfe4b8 > [18:37:09.990609] [epson2] e2_send: size = 2, reply = 0 > [18:37:09.990613] [epson2] e2_send: ESC i > [18:37:10.004180] [epson2] e2_recv: size = 4, buf = 0x7f3286dfe392 > [18:37:10.004966] [epson2] e2_recv_info_block: payload length: 40 > [18:37:10.004972] [epson2] e2_recv: size = 40, buf = 0x7f325c002040 > [18:37:10.005847] [epson2] discovering max depth, NAKs are expected > [18:37:10.005852] [epson2] e2_add_depth: add (bpp): 8 > [18:37:10.005856] [epson2] maximum supported color depth: 8 > [18:37:10.005861] [epson2] esci_request_focus_position > [18:37:10.005865] [epson2] getting focus is not supported > [18:37:10.005869] [epson2] esci_request_scanner_status > [18:37:10.005874] [epson2] e2_send: size = 2, reply = 16 > [18:37:10.005879] [epson2] e2_send: FS F > [18:37:10.006998] [epson2] e2_recv: size = 16, buf = 0x7f3286dfe4c0 > [18:37:10.008504] [epson2] e2_txrx: eds_recv status, Success > [18:37:10.008511] [epson2] global status : 0x01 > [18:37:10.008518] [epson2] warmup can be cancelled > [18:37:10.008524] [epson2] adf status : 0x00 > [18:37:10.008533] [epson2] not installed > [18:37:10.008539] [epson2] not enabled > [18:37:10.008546] [epson2] tpu status : 0x00 > [18:37:10.008552] [epson2] not installed > [18:37:10.008559] [epson2] not enabled > [18:37:10.008565] [epson2] device type : 0xc0 > [18:37:10.008571] [epson2] main body status: 0x00 > [18:37:10.008578] [epson2] e2_dev_post_init > [18:37:10.008586] [epson2] CCT model id is 0x00, profile offset 0 > [18:37:10.008592] [epson2] highest available resolution: 1200 > [18:37:10.008601] [epson2] esci_reset > [18:37:10.008608] [epson2] e2_cmd_simple: size = 2 > [18:37:10.008616] [epson2] e2_send: size = 2, reply = 1 > [18:37:10.008623] [epson2] e2_send: ESC @ > [18:37:10.009366] [epson2] e2_recv: size = 1, buf = 0x7f3286dfe4f7 > [18:37:10.010640] [epson2] e2_txrx: eds_recv status, Success > [18:37:10.010644] [epson2] scanner model: PID 1116 > [18:37:10.010649] [epson2] close_scanner: fd = 0 > [18:37:10.010653] [epson2] esci_request_extended_status > [18:37:10.010658] [epson2] e2_cmd_info_block, params len = 2, reply len = 42, buf = 0x7f3286dfe568 > [18:37:10.010662] [epson2] e2_send: size = 2, reply = 46 > [18:37:10.010667] [epson2] e2_send: ESC f > [18:37:10.012136] [epson2] e2_recv: size = 4, buf = 0x7f3286dfe4a2 > [18:37:10.013160] [epson2] e2_recv_info_block: payload length: 42 > [18:37:10.013167] [epson2] e2_recv: size = 42, buf = 0x7f325c004fb0 > [18:37:10.014204] [epson2] main = 01, ADF = 00, TPU = 00, main 2 = c0 > [18:37:10.014222] [epson2] attach_one_config: len = 17, line = net autodiscovery > [18:37:10.014260] [epson2] e2_network_discovery, sent discovery packet > [18:37:11.015279] [epson2] e2_network_discovery, end > [18:37:11.015315] [epson2] sane_epson2_get_devices - results: > [18:37:11.015320] [epson2] 0 (3): PID 1116 > [18:37:11.423110] [epson2] sane_epson2_open: name = libusb:005:013 > [18:37:11.423140] [epson2] handle obtained > [18:37:11.423147] [epson2] open_scanner: libusb:005:013 > [18:37:11.423218] [epson2] scanner opened > [18:37:11.423225] [epson2] esci_reset > [18:37:11.423231] [epson2] e2_cmd_simple: size = 2 > [18:37:11.423237] [epson2] e2_send: size = 2, reply = 1 > [18:37:11.423243] [epson2] e2_send: ESC @ > [18:37:11.423280] [epson2] e2_recv: size = 1, buf = 0x7ffc10016d27 > [18:37:11.423933] [epson2] e2_txrx: eds_recv status, Success > kf.i18n: Trying to convert empty KLocalizedString to QString. > kf.i18n: Trying to convert empty KLocalizedString to QString. > [18:37:13.222296] [epson2] * sane_epson2_close > [18:37:13.222319] [epson2] close_scanner: fd = 0 > [18:37:13.222327] [epson2] esci_request_status > [18:37:13.222334] [epson2] e2_send: size = 2, reply = 4 > [18:37:13.222341] [epson2] e2_send: ESC F > [18:37:13.222380] [epson2] e2_recv: size = 4, buf = 0x7ffc10017cd2 > [18:37:13.223146] [epson2] status: 02 > [18:37:13.223156] [epson2] ready > [18:37:13.223163] [epson2] no option equipment installed > [18:37:13.223168] [epson2] support extended commands > [18:37:13.225286] [epson2] sane_epson2_exit > [18:37:13.225297] [epson2] free_devices