scanning from feeder, only the first page is scanned

I have Canon MF237 printer/scanner. My OS is ubuntu kde.

When I try to scan with simple-scan/xsane/gscan2pdf with the feeder, the feeder goes through all the pages and loops through all of them but the scanning app shows only the first page.

This also happened on my previous samsung printer.

Is this a known problem for multi-page feeder scanning in current software/drivers? Has anybody encountered this problem and was able to fix it?

update 1

I have tried using cli scanimage. This happens also there but with slight more insight. There is seems to be some cancelation on the second page scanning?

scanimage --source "Automatic Document Feeder" --format tiff
--batch=$(date +%Y%m%d_%H%M%S)_p%04d.tiff  --resolution 150

Scanning infinity pages, incrementing by 1, numbering from 1 
Scanning page 1 
Scanned page 1. (scanner status = 5) 
Scanning page 2 
scanimage: sane_read: Operation was cancelled 
Scanned page 2. (scanner status = 2) 
Batch terminated, 2 pages scanned

Solution 1:

If you are using XSane, in the main control window set the number of pages to scan (top LH corner) to greater than or equal to the number of pages in your stack, then set the transport mode to ADF (not Flatbed). Set operation type to Multipage or Save (make sure you have a trailing page number in the file name). Check the area to scan in the preview window. Load up the stack and press "Scan".

I found the answer here: https://nuance.custhelp.com/app/answers/detail/a_id/16559/~/only-the-first-page-is-being-scanned-when-scanning-multi-page-document

Good luck jg