Hello,

here are the outputs

 ➜  scanimage -L
[17:17:44.369262] [sanei_debug] Setting debug level of xerox_mfp to 50.
[17:17:44.369303] [xerox_mfp] sane_init: Xerox backend (build 13), version != null, authorize != null
[17:17:44.373228] [xerox_mfp] sane_xerox_mfp_get_devices: 0x7ffd8c696620, 0
[17:17:44.373311] [xerox_mfp] list_one_device: libusb:003:026
[17:17:44.373319] [xerox_mfp] usb_dev_open: open 0x62e3c9d43a50
[17:17:44.374920] [xerox_mfp] :: dev_command(INQUIRY[0x12], 70)
[17:17:44.390739] [xerox_mfp] [70] a8 00 43 10 53 41 4d 53 55 4e 47 20 4f 52 49 4f 4e 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 11 3f 06 29 00 00 27 d8 00 00 41 a0 00 01 2f 00 00 01 00 00 00 00 41 a0 00 00 36 d8 01 1d 05 05 00...
[17:17:44.390781] [xerox_mfp] dev_inquiry: found SAMSUNG/ORION
[17:17:44.390795] [xerox_mfp] JPEG compression enabled
[17:17:44.390806] [xerox_mfp] usb_dev_close: closing dev 0x62e3c9d43a50
device `xerox_mfp:libusb:003:026' is a SAMSUNG ORION multi-function peripheral device `smfp:usb;04e8;3419;SERIALNUMBERREDACTED.' is a Samsung SCX-4x21 Series on USB Scanner

➜ SANE_DEBUG_XEROX_MFP=50 scanimage -o testscan20230117-1.tiff -d "xerox_mfp:libusb:003:026"
[17:18:17.986006] [sanei_debug] Setting debug level of xerox_mfp to 50.
[17:18:17.986081] [xerox_mfp] sane_init: Xerox backend (build 13), version != null, authorize != null
[17:18:17.992905] [xerox_mfp] sane_xerox_mfp_open: 'libusb:003:026'
[17:18:17.992936] [xerox_mfp] sane_xerox_mfp_get_devices: (nil), 1
[17:18:17.993012] [xerox_mfp] list_one_device: libusb:003:026
[17:18:17.993019] [xerox_mfp] usb_dev_open: open 0x6543bfa9da50
[17:18:17.994769] [xerox_mfp] :: dev_command(INQUIRY[0x12], 70)
[17:18:18.996855] [xerox_mfp] usb_dev_request: sanei_usb_read_bulk: Error during device I/O [17:18:18.996938] [xerox_mfp] dev_command: dev_request: Error during device I/O
[17:18:18.996949] [xerox_mfp] usb_dev_close: closing dev 0x6543bfa9da50
[17:18:18.999199] [xerox_mfp] list_one_device: dev_inquiry(libusb:003:026): Error during device I/O
scanimage: open of device xerox_mfp:libusb:003:026 failed: Invalid argument

Thank you.

On 2024/01/17 16:35, Ralph Little wrote:
Hi,

On Tue, Jan 16, 2024 at 11:14 PM <[email protected] <mailto:[email protected]>> wrote:

    Hello,


    Hope you are having a great day. The output from the command as follow:

      >  ➜ scanimage -L
      > device `xerox_mfp:libusb:003:023' is a SAMSUNG ORION multi-function
    peripheral
      > device `smfp:usb;04e8;3419;SERIALNUMBERREDACTED.' is a Samsung
    SCX-4x21 Series on USB Scanner


    I have already tried both and both didn't scan. The result from the
    previous email is from the xerox_mfp one

    Thank you very much.


Could you let us see some diag output from the xerox_mfp backend?

SANE_DEBUG_XEROX_MFP=50 scanimage  {whatever options you use}

If there is a *lot* of output, perhaps just send it to me as an attachment.

Cheers,
Ralph

    On 2024/01/17 7:04, Ralph Little wrote:
     > Hi,
     >
     > On 2024-01-14 06:20, sqe6nouc--- via sane-devel wrote:
     >> Hello,
     >>
     >> I am currently trying to get SANE to scan with a Samsung
    SCX-4x21F MFP
     >> on Arch Linux.
     >>
     >> I have sane 1.2.1-5 and xsane 0.999-6 on kernel 6.6.10-arch1-1 (KDE
     >> Plasma Wayland) with the following driver packages:
     >>
     >> samsung-unified-driver 1.00.39-7
     >> samsung-unified-driver-common 1.00.39-7
     >> samsung-unified-driver-printer 1.00.39-7
     >> samsung-unified-driver-scanner 1.00.39-7
     >>
     >> dmesg:
     >>
     >> [75005.102178] usb 3-9: new full-speed USB device number 6 using
    xhci_hcd
     >> [75005.245210] usb 3-9: New USB device found, idVendor=04e8,
     >> idProduct=3419, bcdDevice= 1.00
     >> [75005.245235] usb 3-9: New USB device strings: Mfr=1, Product=2,
     >> SerialNumber=3
     >> [75005.245245] usb 3-9: Product: SCX-4x21 Series
     >> [75005.245248] usb 3-9: Manufacturer: Samsung
     >> [75005.245249] usb 3-9: SerialNumber: <serial redacted>.
     >> [75005.926529] usblp 3-9:1.1: usblp0: USB Bidirectional printer
    dev 6
     >> if 1 alt 0 proto 2 vid 0x04E8 pid 0x3419
     >> [75005.926577] usbcore: registered new interface driver usblp
     >>
     >> Error I am getting:
     >> Failed to start scanner: Error during device I/O
     >>
     >> If I wait a bit then click scan again, it starts scanning,
    however the
     >> scan head stuck at the end of the flatbed and XSane hangs for a bit
     >> then the following error is shown:
     >> Error during read: Error during device I/O
     >>
     >> After this, the scan head is still stuck at the end of the flatbed
     >>
     >> Any help would be appreciated. Thank you.
     >>
     >
     > I wonder why the xerox_mfp backend wouldn't provide you with
    support for
     > this device. You have a very recent version of the backends and
    it is
     > supposed to be supported.
     > Could you show us the output of:
     >
     > scanimage -L
     >
     > Cheers,
     > Ralph


Reply via email to