Bug 1761001
| Summary: | Canon CanoScan LiDE 110 is no longer detected properly using sane-backends-1.0.28-1 (REGRESSION) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Alex Markley <alex> |
| Component: | sane-backends | Assignee: | Nils Philippsen <nphilipp> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 30 | CC: | bruguel, ced, kaarle.ritvanen, nphilipp, thibault.north, zdohnal |
| Target Milestone: | --- | Flags: | alex:
needinfo-
|
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | sane-backends-1.0.28-4.fc30 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-10-19 17:41:45 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Alex Markley
2019-10-11 21:48:43 UTC
Same problem with LIDE220. Bus 003 Device 008: ID 04a9:190f Canon, Inc. CanoScan LiDE 220 Downgrading to 1.0.27-24.fc30 fixes the issue. (In reply to Philippe Troin from comment #1) > Same problem with LIDE220. > Bus 003 Device 008: ID 04a9:190f Canon, Inc. CanoScan LiDE 220 > > Downgrading to 1.0.27-24.fc30 fixes the issue. After investigation, this is a different problem. Please disregard comment 1. Hi Alex and Philippe, thank you for reporting the issue! Actually it is caused by missing genesys backend as whole, who took care of this type of scanners. Genesys backend is now written in C++11 and it cannot be built without it due settings during configure phase. Buildroot did not have gcc-c++ during build and configure produced only warning about genesys will not be created. Adding gcc-c++ to buildrequires fixes it. Would you mind trying this build if it fixes it? https://koji.fedoraproject.org/koji/taskinfo?taskID=38290503 D'oh, the build failed, wait a minute... x86_64 build is ok, so it is possible for you to test. Hi,
I had the same issue today (Canon LiDE 110 not detected with sane-backends-1.0.28-1 because of missing genesys driver).
Using the build you linked to:
Upgraded:
sane-backends-1.0.28-2.fc30.x86_64 sane-backends-libs-1.0.28-2.fc30.x86_64 sane-backends-drivers-scanners-1.0.28-2.fc30.x86_64
genesys driver is back:
❯ locate genesys
/etc/sane.d/genesys.conf
/usr/lib64/sane/libsane-genesys.so
/usr/lib64/sane/libsane-genesys.so.1
/usr/lib64/sane/libsane-genesys.so.1.0.28
/usr/share/man/man5/sane-genesys.5.gz
And the scanner is detected:
❯ scanimage -L
device `genesys:libusb:001:014' is a Canon LiDE 110 flatbed scanner
But it crashes in xsane preview or scanimage test:
❯ scanimage --test
Output format is not set, using pnm as a default.
/usr/include/c++/9/bits/stl_vector.h:1042: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = short unsigned int; _Alloc = std::allocator<short unsigned int>; std::vector<_Tp, _Alloc>::reference = short unsigned int&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed.
[1] 19216 abort (core dumped) scanimage --test
@ced That's the bug https://bugzilla.redhat.com/show_bug.cgi?id=1761530 , please follow discussion there. FEDORA-2019-4c80d8cf5f has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-4c80d8cf5f sane-backends-1.0.28-3.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-4c80d8cf5f FEDORA-2019-4e0ac1c8bb has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-4e0ac1c8bb sane-backends-1.0.28-4.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-4e0ac1c8bb Hi, dame issue with lide 120. Problem resolved with package installation from fedora (not update) repository in 1.0.27. Cheers, sane-backends-1.0.28-4.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. Everything is ok with sane-backends-1.0.28-4.fc30 with lide 120. Thank you very much. Please fix this in Fedora 29 as well. Kaarle, it is already fixed for F29, but the update is still in bodhi https://bodhi.fedoraproject.org/updates/FEDORA-2019-37c002492b with no karma - so it seems nobody wants to have it fixed fast. So there are two options: 1) you and two other people will add karma to the update and the fix will be in stable repos within days 2) you will install the fixed package by hand - either by enabling testing and installing sane-backends&friends, or get link to koji (which is in the update too) and install needed rpms by links. |