Quantcast

Scanner Lide 210 working with old and bleeding edge distro, but not with current stable distro

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Scanner Lide 210 working with old and bleeding edge distro, but not with current stable distro

Sebastian Weber
Hi!

I have a Canon LIDE 210, which is well supported by SANE and the genesys backend.

So far, I have been using the scanner connected to my PC, which did run openSuse 13.2  (And SANE 1.0.24 or .25)
Now I upgraded to openSuse Leap 42.1 ("stable release"), and the scanner does not work. (SANE 1.0.24 and .25)
However, my laptop runs openSuse Tumbleweed ("bleeding edge release"), and the scanner works fine. (SANE 1.0.25)

In all cases, SANE was installed from the official openSuse repositories.

About the problems with openSuse Leap 42.1:
With 1.0.24, the scanner hesitates about 10 seconds, and then starts to stutter. The head moves just a centimeter or so, and does not home. The picture consists of many vertical, noisy stripes, so the computer seems to receive at least something analog...
With 1.0.25, the scanner behaves the same way, but the software aborts with an I/O error.

(Of course, I tried other USB ports, but the scanner was definitely working at them before!)

I'm a bit clueless. The scanner is in general supported by these SANE versions, but does not work with my particular distribution. However, SANE uses libusb, which means it talks more or less directly to the scanner - this should work straight forward. So I have no idea what the problem could be.

Does anybody have an idea?


---

Another issue: I also tried to compile the latest stable version of SANE from the official SANE websites.
I have libusb 1.0.0 and 0.1.4 installed (plus development packages for headers etc.).
I configured the build with/without --enable-libusb_1_0. In both cases, scanimage claims that it was built without USB support, and does not find my scanner (sane-find-scanner does). I saw this when I enabled debug outputs by setting SANE_DEBUG_...=255.

Any Idea what I've done wrong?


Thanks!

Sebastian

--
sane-devel mailing list: [hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to [hidden email]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Scanner Lide 210 working with old and bleeding edge distro, but not with current stable distro

Johannes Meixner

Hello Sebastian,

On Feb 21 01:43 Sebastian Weber wrote (excerpt):
> Canon LIDE 210 ... genesys backend
...
> So far, I have been using the scanner connected to my PC,
> which did run openSuse 13.2  (And SANE 1.0.24 or .25)
> Now I upgraded to openSuse Leap 42.1 ("stable release"),
> and the scanner does not work. (SANE 1.0.24 and .25)
> However, my laptop runs openSuse Tumbleweed ("bleeding
> edge release"), and the scanner works fine. (SANE 1.0.25)
...
> I tried other USB ports, but the scanner was definitely
> working at them before

I guess "lsusb" and then "lsusb -t" will tell you that
for the USB bus and port where your scanner is connected to
the "xhci_hcd" USB kernel driver (a.k.a. "USB 3") is used.

See
https://bugzilla.suse.com/show_bug.cgi?id=955079#c2
and
https://bugzilla.opensuse.org/show_bug.cgi?id=856794
in particular see
https://bugzilla.opensuse.org/show_bug.cgi?id=856794#c50

Regarding "USB 2" versus "USB 3" see also
http://lists.alioth.debian.org/pipermail/sane-devel/2015-December/034197.html
and
http://lists.alioth.debian.org/pipermail/sane-devel/2015-December/034207.html


Kind Regards
Johannes Meixner
--
SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard,
Graham Norton - HRB 21284 (AG Nuernberg)


--
sane-devel mailing list: [hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to [hidden email]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Scanner Lide 210 working with old and bleeding edge distro, but not with current stable distro

Sebastian Weber
(Sorry for two mails - my first wasn't CC'd to the list)

Hi Johannes!

Am 22.02.2016 um 11:19 schrieb Johannes Meixner:
>
> I guess "lsusb" and then "lsusb -t" will tell you that
> for the USB bus and port where your scanner is connected to
> the "xhci_hcd" USB kernel driver (a.k.a. "USB 3") is used.
>

Thanks for your reply.

My pc is from 2008 and has no USB3. However, I checked the software
side. My laptop (Tumbleweed)  has xhci drivers, my PC (Leap 42.1) has
not. Further more, there is no driver associated to the scanner on both
machines. See the output of lsusb [-t] and lsmod below.

Thanks

Sebastian


> lsusb
Bus 001 Device 005: ID 04a9:190a Canon, Inc. CanoScan LiDE 210
#######     HERE IT IS
Bus 001 Device 004: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
....


> lsusb -t
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
    |__ Port 1: Dev 2, If 0, Class=Human Interface Device,
Driver=usbhid, 1.5M
    |__ Port 2: Dev 3, If 0, Class=Human Interface Device,
Driver=usbhid, 1.5M
    |__ Port 2: Dev 3, If 1, Class=Human Interface Device,
Driver=usbhid, 1.5M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/2p, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/10p, 480M
    |__ Port 5: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 480M
    |__ Port 6: Dev 5, If 0, Class=Vendor Specific Class, Driver=,
480M     #######     HERE IT IS


> lsmod | grep usb
usbip_host             28672  0
usbip_core             28672  1 usbip_host
usbhid                 53248  0
usb_storage            73728  1 uas
usbcore               262144  8
uas,usb_storage,ohci_hcd,ohci_pci,ehci_hcd,ehci_pci,usbhid
usb_common             16384  2 usbip_core,usbcore


--
sane-devel mailing list: [hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to [hidden email]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Scanner Lide 210 working with old and bleeding edge distro, but not with current stable distro

Johannes Meixner

Hello,

On Feb 22 17:01 Sebastian Weber wrote (excerpt):
> # lsusb
> Bus 001 Device 005: ID 04a9:190a Canon, Inc. CanoScan LiDE 210
...
> # lsusb -t
...
> /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/10p, 480M
...  |
>    |__ Port 6: Dev 5, If 0, Class=Vendor Specific Class, Driver=,

Your scanner is connected at USB "Bus 001" as "Device 005" and
for the USB "Bus 01" the kernel "Driver=ehci-pci" is used
which means so called "USB 2" is used for your scanner.

For further information see my previous mail where I wrote:
Regarding "USB 2" versus "USB 3" see also
http://lists.alioth.debian.org/pipermail/sane-devel/2015-December/034197.html
and
http://lists.alioth.debian.org/pipermail/sane-devel/2015-December/034207.html

In
http://lists.alioth.debian.org/pipermail/sane-devel/2015-December/034207.html
there is:
----------------------------------------------------------------
Scanners usually belong to the generic "Vendor Specific Class"
because there is no specific USB device class "scanner".
----------------------------------------------------------------

In
http://lists.alioth.debian.org/pipermail/sane-devel/2015-December/034197.html
there is:
----------------------------------------------------------------
When your scanner is not connected at a USB port where the
kernel module xhci_hcd is used as kernel driver (e.g. when
your scanner is connected at a USB port where the kernel
module uhci_hcd or ehci_hcd is used as kernel driver),
then have a look at "Trouble-Shooting (Debugging)" in
https://en.opensuse.org/SDB:Configuring_Scanners

For example to get USB debugging information
you could use comands (as root) like

export SANE_DEBUG_SANEI_USB=128
scanimage -L
unset SANE_DEBUG_SANEI_USB
----------------------------------------------------------------


Kind Regards
Johannes Meixner
--
SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard,
Graham Norton - HRB 21284 (AG Nuernberg)


--
sane-devel mailing list: [hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to [hidden email]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Scanner Lide 210 working with old and bleeding edge distro, but not with current stable distro

Sebastian Weber
Hello!


I have to apologize...

Though I reinstalled all sane components and also the Kernel and other
components, I didn't manage to get my scanner working.

As a last resort, I did a clean re-installation of the entire operating
system. My scanner worked out of the box...

Thanks for your help!

Sebastian


--
sane-devel mailing list: [hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to [hidden email]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Scanner Lide 210 working with old and bleeding edge distro, but not with current stable distro

stef-22
On 02/03/2016 18:46, Sebastian Weber wrote:

> Hello!
>
>
> I have to apologize...
>
> Though I reinstalled all sane components and also the Kernel and other
> components, I didn't manage to get my scanner working.
>
> As a last resort, I did a clean re-installation of the entire operating
> system. My scanner worked out of the box...
>
> Thanks for your help!
>
> Sebastian
>
>
     Hello

     thank you for the report. All is working including 600 dpi color
scans ?

Regards,
     Stef

--
sane-devel mailing list: [hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to [hidden email]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Scanner Lide 210 working with old and bleeding edge distro, but not with current stable distro

Johannes Meixner
In reply to this post by Sebastian Weber

Hello,

first and foremost many thanks for your feedback.

Such feedback happens not always. When it is missing, it
leaves the others with unanswered questions what the heck
could be wrong why something fails for one particular user.


On Mar 2 18:46 Sebastian Weber wrote (excerpt):
> Though I reinstalled all sane components and also the Kernel
> and other components, I didn't manage to get my scanner working.
> As a last resort, I did a clean re-installation of the entire
> operating system. My scanner worked out of the box...

What exactly does "clean" mean here?

Did you perhaps use various kind of additional
non-openSUSE:Leap:42.1 software repositories?

If yes, software packages from non-openSUSE:Leap:42.1
repositories could have messed up something.

But if you used only openSUSE:Leap:42.1 software repositories
it would be stange and unexpected and also a bit scaring
because I would not like what that could mean in the end:

  "When something does not work and you don't find
   a solution, just try a complete re-installation
   of your entire operating system from scratch."

Again:
It makes a crucial difference whether or not you used
only openSUSE:Leap:42.1 software repositories.


Kind Regards
Johannes Meixner
--
SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard,
Graham Norton - HRB 21284 (AG Nuernberg)


--
sane-devel mailing list: [hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to [hidden email]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Scanner Lide 210 working with old and bleeding edge distro, but not with current stable distro

Sebastian Weber
Hello!

I was a bit too fast... The problem is back again, but I'll have a
further look into this.


By "clean" installation I meant I installed Leap42 on an empty disk,
using the official NET-installer ISO, and without touching the repositories.

Meanwhile I had to add repositories to install some other software, and
now, my scanner doesn't work again.

I agree that most probably something from this software has broken my
scanner, and I'll try to find out what it was.

Therefore, I now have installed VirtualBox on my Leap42 (where the
scanner doesn't work), and have installed a Leap42 as guest system. When
I hand the USB scanner to the guest system, it works there... Weird...


I'll keep you informed!

Sebastian






Am 03.03.2016 um 11:21 schrieb Johannes Meixner:

>
> Hello,
>
> first and foremost many thanks for your feedback.
>
> Such feedback happens not always. When it is missing, it
> leaves the others with unanswered questions what the heck
> could be wrong why something fails for one particular user.
>
>
> On Mar 2 18:46 Sebastian Weber wrote (excerpt):
>> Though I reinstalled all sane components and also the Kernel
>> and other components, I didn't manage to get my scanner working.
>> As a last resort, I did a clean re-installation of the entire
>> operating system. My scanner worked out of the box...
>
> What exactly does "clean" mean here?
>
> Did you perhaps use various kind of additional
> non-openSUSE:Leap:42.1 software repositories?
>
> If yes, software packages from non-openSUSE:Leap:42.1
> repositories could have messed up something.
>
> But if you used only openSUSE:Leap:42.1 software repositories
> it would be stange and unexpected and also a bit scaring
> because I would not like what that could mean in the end:
>
>  "When something does not work and you don't find
>   a solution, just try a complete re-installation
>   of your entire operating system from scratch."
>
> Again:
> It makes a crucial difference whether or not you used
> only openSUSE:Leap:42.1 software repositories.
>
>
> Kind Regards
> Johannes Meixner


--
sane-devel mailing list: [hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to [hidden email]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Scanner Lide 210 working with old and bleeding edge distro, but not with current stable distro

Johannes Meixner

Hello,

On Mar 3 15:58 Sebastian Weber wrote (excerpt):
> Meanwhile I had to add repositories to install some other
> software, and now, my scanner doesn't work again.
>
> I agree that most probably something from this software
> has broken my scanner, and I'll try to find out what it was.

Use the command

rpm -qa --last

to show all installed RPMs sorted by installation date
with the latest ones topmost.

This could help you to find out what new RPMs could be
suspicious regarding the scanner.


Furthermore you may experiment with the zypper command
to find out what RPMs are from official openSUSE Leap 42.1
versus what RPMs are from other repositories.

You may use something like (see "man zypper" for details)

zypper dup -D -r openSUSE-Leap-42.1-Oss --no-recommends

and look in its output in particular for those packages
that would change vendor from something non-openSUSE
back to openSUSE to identify suspicious packages from
non-openSUSE that had replaced ones from openSUSE.

The '-D' option "dry-run" does not actually install
or update any package.


Kind Regards
Johannes Meixner
--
SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard,
Graham Norton - HRB 21284 (AG Nuernberg)


--
sane-devel mailing list: [hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to [hidden email]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Scanner Lide 210 working with old and bleeding edge distro, but not with current stable distro

Johannes Meixner
In reply to this post by Sebastian Weber

Hello,

On Mar 3 15:58 Sebastian Weber wrote (excerpt):
> By "clean" installation I meant I installed Leap42
> on an empty disk, using the official NET-installer ISO,
> and without touching the repositories.

It might even be an update of an openSUSE RPM that
makes your scanner no longer work.

When you installed from the ISO the RPMs there are probably
not the newest openSUSE updated RPMs but the RPMs from
the time when openSUSE Leap 42.1 was initially released.

Perhaps later you got the openSUSE update RPMs
and that may have made your scanner no longer work.

Suspicious could be the kernel because canges in recent
kernels had caused some issues regarding USB scanner
communication in sane-backends - but I am not at all
a sufficient USB expert to know the details here.


Kind Regards
Johannes Meixner
--
SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard,
Graham Norton - HRB 21284 (AG Nuernberg)


--
sane-devel mailing list: [hidden email]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to [hidden email]
Loading...