From 7xsuazlhhtls at gmail.com Sat Aug 1 14:51:25 2026 From: 7xsuazlhhtls at gmail.com (7xsuazlhhtls at gmail.com) Date: Sat, 1 Aug 2026 08:51:25 -0500 Subject: [sane-devel] scanning negatives using HP4850 and genesys backend In-Reply-To: <119f625d-f8d1-44af-b727-8e35ec6665a8@gmail.com> References: <7c8c105f-1b7d-4461-8a20-e6cb83788192@gmail.com> <2d3d1219-1365-4b09-a4ea-feeb08e72f10@gmail.com> <119f625d-f8d1-44af-b727-8e35ec6665a8@gmail.com> Message-ID: <04cda455-c474-4cf9-b348-b9589bebe7f2@gmail.com> Thanks for the additional info. I don't have a machine running Windows so USB captures from that platform aren't possible at the current time. Jon On 7/31/26 12:18 PM, Ralph Little wrote: > Hi, > There are other backends that support transparency but the genesys > chips are pretty much a world of their own. On the upside, the GL646 > is pretty well documented. > I believe the main ways in which the transparency support would be > invoked would be via the source and options related to capture type. I > don't see any specific image capture type-related options in the > backend but some would have to be added I suspect (e.g. for selecting > between positive and negative, IR etc). > > The main challenge with genesys-based devices is that every model is > different to every other in implementation. The Genesys chips are very > flexible and offer all sorts of driving options and they need to be > set up for the particular hardware that they are matched with. The > main way to tackle this task is to observe Windows driver behaviour > through capturing traffic and looking at the register values that are > set. It's a little more involved but that is the main gist. > > I have had some dealings myself with looking at a GL646 device before > although it was a fairly superficial look at motor stepping tables but > I may be able to look at it in the future sometime. > One thing you *can* do (if you have the inclination) is to make some > USB captures on Windows and post them to an issue at our GitLab issue > tracker (https://gitlab.com/sane-project/backends/-/work_items), if > you don't intend to do the implementation yourself. That way someone > could pick up the issue at some point. Ideally a developer needs the > hardware at hand, but a rough stab could be made by looking at the > traffic. > > Cheers, > Ralph > > On 2026-07-31 10:01, 7xsuazlhhtls at gmail.com wrote: >> >> Ralph, >> >> Thanks for the reply. >> >> I looked at the Genesys Datasheet for the chip (GL646USB) that is >> used in the HP4850.? I see the register that appears to control the >> slide scanning lamp. >> >> Is there another backend that has support for a similar feature? >> Possibly I could use that as a template to better understand how >> support for this feature might be implemented in the genesys backend. >> >> Thanks again, >> >> Jon >> >> >> On 7/31/26 11:21 AM, Ralph Little wrote: >>> Hi, >>> According to our Supported Scanners list >>> (http://www.sane-project.org/sane-supported-devices.html) the >>> genesys backend doesn't yet support the slide scanning feature of >>> this device. It requires additional code to drive the extra hardware >>> involved. >>> We don't have an active maintainer for the genesys backend at the >>> moment unfortunately, so I don't know when someone would be able to >>> get to this task in the future. :( >>> >>> Regards, >>> Ralph >>> >>> On 2026-07-30 20:58, 7xsuazlhhtls at gmail.com wrote: >>>> >>>> |I recently acquired an HP Scanjet 4850 scanner. The document >>>> scanning works with no problems.? This particular scanner has a >>>> negative/slide scanning component built in to the lid of the >>>> device.? This includes a separate lamp to illuminate the film for >>>> scanning.? The lamp in the lid comes when I run a hardware self >>>> test procedure but I have not discovered any way to have the lamp >>>> come on when scanning using sane. >>>> >>>> Is this capability supported? >>>> >>>> info about my setup --- >>>> >>>> HP Scanjet 4850 >>>> >>>> $ scanimage -V >>>> scanimage (sane-backends) 1.4.0; backend version 1.4.0 >>>> >>>> genesys backend >>>> >>>> Fedora Linux 44 (Workstation Edition) >>>> Linux 7.1.5-200.fc44.x86_64| >>>> >>> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tqzamf at googlemail.com Wed Aug 5 12:58:57 2026 From: tqzamf at googlemail.com (Alex) Date: Wed, 5 Aug 2026 13:58:57 +0200 Subject: [sane-devel] Monolta Dimage Scan Dual II (avision backend) Message-ID: Hi, I recently acquired a Monolta Dimage Scan Dual II which would not scan using SANE (1.2.1 in that case, but the relevant code is identical in master). It would just hang when uploading the gamma table, then timeout and abort the scan.?The attached patch fixes scanning with my particular device. Comparison with the windows driver's USB bus traffic shows that my particular unit needs to be sent 4096 bytes of gamma table. It reports an ASIC of 3, i.e. AV_ASIC_C2, so SANE 1.2.1 sends it 512 bytes. This write times out, and so do all further commands sent to the device afterwards. I suspect the firmware ignores the length provided in the send command and just expects 4096 bytes anyway? It would sure explain the observed behavior since the next 3584 bytes of commands will be interpreted as gamma table data instead... In any case, setting gamma_table_raw_size = gamma_table_size = 4096 in send_gamma() works and the device scans beautifully in 8-bit mode. In the patch I set that for all AV_ASIC_C2 devices... Not sure if that's safe to do, or if it's specific to this particular model and will break other models. 12-bit mode didn't work properly (very strong banding). The related code in reader_process() is clearly wrong: It's a 12- and 16-bit only codepath, it produces a 16-bit sample... but then writes only a single byte (lowest 8 bits) to the output buffer. The output buffer clearly advances by 2 bytes per pixel, so I just made it write a 16-bit host-endian pixel instead. Scanning then works perfectly in 12-bit mode as well. That change should also fix 12- and 16-bit scanning for all other avision devices (I don't see how any of them can scan correctly in 12- or 16-bit mode when only 8 bits of the sample data are written). Please let me know if you need further information or need me to test something. Regards, - Alex PS: Sorry for reporting this the old-fashioned way. I don't have an existing gitlab.com account, and their current verification process is quite excessive IMHO. -------------- next part -------------- A non-text attachment was scrubbed... Name: avision.patch Type: text/x-patch Size: 619 bytes Desc: not available URL: From jffry at posteo.net Sun Aug 9 16:46:46 2026 From: jffry at posteo.net (Jeff) Date: Sun, 09 Aug 2026 15:46:46 +0000 Subject: [sane-devel] scantpaper v3.0.15 released Message-ID: <369d207f-e028-4e27-945a-bdc21ab3b647@posteo.net> Changes compared to v3.0.14: * Add new metadata to suggestions * Match metadata suggestions against any part of the entered text, ordering prefix matches above the rest * Ensure progress bar is hidden after scanner error * Fix untitled title in metadata * Change page numbering to always run from 1-n with no gaps. Scanning reverse pages therefore interleaves. Please see README.md for more details. Available on Github: https://github.com/carygravel/scantpaper/releases/tag/v3.0.15 Or via the PPA: https://launchpad.net/~jeffreyratcliffe/+archive/ubuntu/ppa -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature.asc Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: From briand.erwan.g at gmail.com Mon Aug 10 19:31:04 2026 From: briand.erwan.g at gmail.com (Erwan Briand) Date: Mon, 10 Aug 2026 20:31:04 +0200 Subject: [sane-devel] Trying to use Reflecta RPS 10S with pieusb Message-ID: <2214F9A3-B3ED-4906-866A-9FE7AC3639A3@gmail.com> Hello, I?m trying to use the Reflecta RPS 10S to scan 35mm film I saw that the RPS 10M was supported by the pieusb backend, unfortunately it does not work with the 10S even though they have the same vendor ID and same product ID: sane-find-scanner ... found possible USB scanner (vendor=0x05e3, product=0x0144, chip=GL128) at libusb:002:003 ? Also, in ?pieusb.conf.in? I have found the following lines : # Format # usb #... # Reflecta RPS 10M (aka Pacific Image PrimeFilm XAs) usb 0x05e3 0x0144 0x0048 0x00 I thought that I could add the line for the RPS 10S but I cannot find the I?m on macOS 26 if that helps, Thanks, Erwan -------------- next part -------------- An HTML attachment was scrubbed... URL: