sane-coolscan(5)

🌸 sane-coolscan(5) β€” the SANE Scanner Access Now Easy girlies' guide to the Nikon film-scanner backend 🌸

okay so bestie, buckle up β€” this is sane-coolscan(5), and it's giving "vintage film scanner energy" in the most chaotic-but-iconic way. It's part of the SANE Scanner Access Now Easy universe, and it's here to explain the coolscan backend. Let's get into it πŸ’…


✨ NAME ✨

sane-coolscan β€” the SANE backend for Nikon film-scanners πŸŽžοΈπŸ¦‹


πŸŽ€ ABOUT THIS FILE πŸŽ€

fr fr this file is just a short lil description of the coolscan backend for SANE. That's it, that's the whole vibe. No cap.


πŸ’– DESCRIPTION πŸ’–

The sane-coolscan library implements a SANE backend that gives you the interface to these Nikon Coolscan Film scanners, and yes, here's the full lineup so nobody gets left out:

  • Nikon LS20
  • LS30
  • LS1000
  • LS2000

Now, the tea β˜• β€” even though this backend has genuinely worked for a number of people, there are still some problems, especially when it's combined with certain SCSI card/drivers (AHA-1505/aha152x.o) and with the autofocus command. So like… you should consider this backend 'alpha' and be careful when you use it for the first time, okay? Protect your peace (and your scan) πŸ™ˆ


πŸ› οΈ CONFIGURATION πŸ› οΈ

The configuration file for this backend lives at /etc/sane.d/coolscan.conf.

Its content is a list of device names that correspond to Nikon Coolscan scanners. Empty lines and lines starting with a hash mark (#) are ignored, so go ahead and leave lil comments everywhere, we love that for you πŸ’œ A sample configuration file is shown below:

#scsi Vendor Model Type
scsi Nikon * Scanner
/dev/scanner

The special device name must be a generic SCSI device or a symlink to such a device. To find out to which device your scanner is assigned and how you can set the permissions of that device, have a look at sane-scsi(5) β€” it's the plug, bestie πŸ”Œ


πŸ”₯ SCSI ADAPTER TIPS πŸ”₯

Some SCSI-adapters and low-level SCSI drivers do not work correctly with this backend and the Coolscan scanners. Like, these systems hang when the autofocus command is send to the Scanner β€” and yeah, "send", that's what the original says, we don't edit the source material, that's not the vibe πŸ’€

To see a list of which card/driver combinations work or don't work, have a look at: http://andreas.rick.free.fr/sane/autofocus.html

⚠️ Heads up: this is the actual main-character-danger zone of the page. If your combo is on the naughty list, it hangs. Periodt.

πŸ“ FILES πŸ“

  • The backend configuration file:
    • /etc/sane.d/coolscan.conf
  • The static library implementing this backend:
    • /usr/lib64/sane/libsane-coolscan.a
  • The shared library implementing this backend:
    • /usr/lib64/sane/libsane-coolscan.so (present on systems that support dynamic loading)

🌈 ENVIRONMENT 🌈

SANE_DEBUG_COOLSCAN

If the library was compiled with debug support enabled, this environment variable controls the debug level for this backend. E.g., a value of 128 requests all debug output to be printed. Smaller levels reduce verbosity β€” so like, dial it down if you don't want your terminal to be screaming at you, iykyk 😭

Examples:

On bash:

export SANE_DEBUG_COOLSCAN=8

On csh:

setenv SANE_DEBUG_COOLSCAN 8

πŸ’€ BUGS πŸ’€

Not gonna sugarcoat it, here's the list:

  • The autofocus command does not work with some SCSI card/driver combinations.
  • The gamma table is not implemented for the LS1000 yet.
  • The dust-removal is not working yet.

The way these are all just sitting here unfixed… it's giving "work in progress" and honestly? We respect the honesty 🫢


πŸ‘€ SEE ALSO πŸ‘€


πŸ‘‘ THANKS TO πŸ‘‘

  • Didier Carlier β€” For writing the original Coolscan backend (without it I would not have started this).
  • Oliver Rauch β€” For adapting xsane so quickly to the infrared stuff.
  • All the other people working on SANE.

Shoutout to the icons who built this before us, genuinely obsessed πŸŽ€βœ¨


πŸ¦‹ AUTHOR πŸ¦‹

Andreas Rick


πŸ’Œ EMAIL-CONTACT πŸ’Œ

andreas.rick@free.fr


okay that's the whole page, bestie! And before you go β€” this little masterpiece has been sitting here since 13 Jul 2008, hand-delivered to you as part of sane-coolscan(5). Go scan something iconic πŸ’…πŸ“Έ

πŸ“¦ where this page comes from