Hi guix, There was recently a change in the packaging of SANE drivers (https://codeberg.org/guix/guix/pulls/541 and https://codeberg.org/guix/guix/pulls/2789) and now I can't figure out how to make either simple-scan or xsane detect my scanner again.
Here's the situation: - I'm on guix system and haven't touched the default SANE service in %desktop-services. Simple-scan is part of my guix home profile. No other scanner-related package or configuration. Now, simple-scan simply shows "no scanner detected" and I can't figure out what's wrong. - My scanner is listed as supported by sane-backends-1.4.0, via the libsane-genesys backend. - $SANE_BACKEND_LIB_PATH is set and points to the directory containing libsane-genesys.so. - I tried `guix shell simple-scan sane-backends -- simple-scan` since the closed PR says that should work for custom backends (so assumedly for non-custom ones too), without success. - If I reboot into an older system generation from the beginning of September (guix commit 9b30ff5), the old simple-scanner package does detect the scanner. - In the old system generation with the new simple-scan package (I think the only difference is that the sane-backends input was replaced by sane): no scanner detected. - There was also an update of sane-backends from 1.3.1 to 1.4.0 in the meantime, so to exclude that the problem comes from that, still in the old system+home+guix generations, I built simple-scan with the updated sane-backends (`guix shell simple-scan --with-version=sane-backends=1.4.0 --without-tests=gtk`). The scanner was still detected, so I assume the problem really comes from the changes in guix. - In both the old and new system generations, the scanner is detected by `guix shell sane -- sane-find-scanner`, but not by `guix shell sane -- scanimage -L`. Never used these tools before, so I can only assume that's normal. - `simple-scan -d` has no useful debug information, only this repeated a few times: [+0.11s] DEBUG: scanner.vala:1686: Requesting redetection of scan devices [+0.17s] DEBUG: scanner.vala:1619: sane_init () -> SANE_STATUS_GOOD [+0.17s] DEBUG: scanner.vala:1625: SANE version 1.4.0 [+0.17s] DEBUG: scanner.vala:863: Processing request I'm out of ideas what to try. I'm not particularly familiar with SANE so I don't know how to figure out what broke. Is anybody else in the same situation? I sure am glad it's possible to simply reboot into an older system generation in this kind of situations, though :)
