Quantcast

Xsane can't find scanner - again, but this one is USB

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

Xsane can't find scanner - again, but this one is USB

MR ZenWiz
Last time I had this problem, it was on my laptop at my friend's house
with a wireless HP Envy printer.  Eventually that worked when I added
the printer through CUPS.

At home, I run Xubuntu 14.04.3 with an HP 5740 all-in-one attached on
the USB (bus 3, device 14).

When I first installed this it was fine, everything worked.

Tonight I tried to scan a document, and xsane can't find the
scanner/printer/etc.

I removed it with CUPS and reinstalled - no change.

I removed it and used the Xubuntu printer manager to install it, and
even printed a test page, and that works, and it now shows up in CUPS,
but xsane still can't find the scanner.

Why does xsane have so much trouble locating what's there and operational?

How does it manage to forget what used to be there (and still is)?

(For the record, hp-setup also can't seem to find the device, even
when I tell it the USB bus and device id.).

So what else do I need to do to get xsane to recognize this thing
again so I can use it?

At this point I have to go back to my Canon LiDE scanner, which I like
but it has no feeder.

This is most frustrating.  I hate to say it, but Windows never has
this problem, and I'm no fan of that PoS.

MR

--
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: Xsane can't find scanner - again, but this one is USB

MR ZenWiz
It's worse.

I plugged in my Canon LiDE scanner and it shows up on lsusb:

mar@marbase:~ $ lsusb
Bus 002 Device 002: ID 8087:8001 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8009 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 008: ID 04a9:220e Canon, Inc. CanoScan N1240U/LiDE 30
Bus 003 Device 002: ID 04f9:0040 Brother Industries, Ltd
Bus 003 Device 005: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 003 Device 006: ID 413c:2011 Dell Computer Corp. Multimedia Pro Keyboard
Bus 003 Device 004: ID 413c:1005 Dell Computer Corp. Multimedia Pro Keyboard Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

xsane hung after this.  I unplugged the scanner and plugged the HP
back in, and the Canon showed up in xsane, but of course it didn't
work.  I switched the cable back, and xsane hung again.  So I ran
sane-find-scanner:

mar@marbase:~ $ sudo sane-find-scanner
[sudo] password for mar:

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x04a9 [Canon], product=0x220e [CanoScan])
at libusb:003:008
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

Now xsane can't find any scanner, so I can't scan anything.

WTF?



On Thu, Oct 29, 2015 at 11:12 PM, MR ZenWiz <[hidden email]> wrote:

> Last time I had this problem, it was on my laptop at my friend's house
> with a wireless HP Envy printer.  Eventually that worked when I added
> the printer through CUPS.
>
> At home, I run Xubuntu 14.04.3 with an HP 5740 all-in-one attached on
> the USB (bus 3, device 14).
>
> When I first installed this it was fine, everything worked.
>
> Tonight I tried to scan a document, and xsane can't find the
> scanner/printer/etc.
>
> I removed it with CUPS and reinstalled - no change.
>
> I removed it and used the Xubuntu printer manager to install it, and
> even printed a test page, and that works, and it now shows up in CUPS,
> but xsane still can't find the scanner.
>
> Why does xsane have so much trouble locating what's there and operational?
>
> How does it manage to forget what used to be there (and still is)?
>
> (For the record, hp-setup also can't seem to find the device, even
> when I tell it the USB bus and device id.).
>
> So what else do I need to do to get xsane to recognize this thing
> again so I can use it?
>
> At this point I have to go back to my Canon LiDE scanner, which I like
> but it has no feeder.
>
> This is most frustrating.  I hate to say it, but Windows never has
> this problem, and I'm no fan of that PoS.
>
> MR

--
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: Xsane can't find scanner - again, but this one is USB

MR ZenWiz
I forgot to mention - I rebooted the machine and this still happens.

I realize that's the Windows solution, but I never saw any problems
like this when I was using Windows, and no, that's not an acceptable
solution either.


On Thu, Oct 29, 2015 at 11:32 PM, MR ZenWiz <[hidden email]> wrote:

> It's worse.
>
> I plugged in my Canon LiDE scanner and it shows up on lsusb:
>
> mar@marbase:~ $ lsusb
> Bus 002 Device 002: ID 8087:8001 Intel Corp.
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 001 Device 002: ID 8087:8009 Intel Corp.
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 003 Device 008: ID 04a9:220e Canon, Inc. CanoScan N1240U/LiDE 30
> Bus 003 Device 002: ID 04f9:0040 Brother Industries, Ltd
> Bus 003 Device 005: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
> Bus 003 Device 006: ID 413c:2011 Dell Computer Corp. Multimedia Pro Keyboard
> Bus 003 Device 004: ID 413c:1005 Dell Computer Corp. Multimedia Pro Keyboard Hub
> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>
> xsane hung after this.  I unplugged the scanner and plugged the HP
> back in, and the Canon showed up in xsane, but of course it didn't
> work.  I switched the cable back, and xsane hung again.  So I ran
> sane-find-scanner:
>
> mar@marbase:~ $ sudo sane-find-scanner
> [sudo] password for mar:
>
>   # sane-find-scanner will now attempt to detect your scanner. If the
>   # result is different from what you expected, first make sure your
>   # scanner is powered up and properly connected to your computer.
>
>   # No SCSI scanners found. If you expected something different, make sure that
>   # you have loaded a kernel SCSI driver for your SCSI adapter.
>
> found USB scanner (vendor=0x04a9 [Canon], product=0x220e [CanoScan])
> at libusb:003:008
>   # Your USB scanner was (probably) detected. It may or may not be supported by
>   # SANE. Try scanimage -L and read the backend's manpage.
>
>   # Not checking for parallel port scanners.
>
>   # Most Scanners connected to the parallel port or other proprietary ports
>   # can't be detected by this program.
>
> Now xsane can't find any scanner, so I can't scan anything.
>
> WTF?
>
>
>
> On Thu, Oct 29, 2015 at 11:12 PM, MR ZenWiz <[hidden email]> wrote:
>> Last time I had this problem, it was on my laptop at my friend's house
>> with a wireless HP Envy printer.  Eventually that worked when I added
>> the printer through CUPS.
>>
>> At home, I run Xubuntu 14.04.3 with an HP 5740 all-in-one attached on
>> the USB (bus 3, device 14).
>>
>> When I first installed this it was fine, everything worked.
>>
>> Tonight I tried to scan a document, and xsane can't find the
>> scanner/printer/etc.
>>
>> I removed it with CUPS and reinstalled - no change.
>>
>> I removed it and used the Xubuntu printer manager to install it, and
>> even printed a test page, and that works, and it now shows up in CUPS,
>> but xsane still can't find the scanner.
>>
>> Why does xsane have so much trouble locating what's there and operational?
>>
>> How does it manage to forget what used to be there (and still is)?
>>
>> (For the record, hp-setup also can't seem to find the device, even
>> when I tell it the USB bus and device id.).
>>
>> So what else do I need to do to get xsane to recognize this thing
>> again so I can use it?
>>
>> At this point I have to go back to my Canon LiDE scanner, which I like
>> but it has no feeder.
>>
>> This is most frustrating.  I hate to say it, but Windows never has
>> this problem, and I'm no fan of that PoS.
>>
>> MR

--
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: Xsane can't find scanner - again, but this one is USB

Gernot Hassenpflug
> On Thu, Oct 29, 2015 at 11:32 PM, MR ZenWiz <[hidden email]> wrote:

Hi,
Does your computer have a USB3 port and are you using it? Or does it
have standard older USB2 ports only? Not sure what the "3.0 root hub"
means.
USB3 and linux have some troubles, and you'll need to work around this
I think, for now, see the mailing list for this.
Note: SANE and CUPS have nothing to do with one another.
Regards,
Gernot Hassenpflug

>> I plugged in my Canon LiDE scanner and it shows up on lsusb:
>>
>> mar@marbase:~ $ lsusb
>> Bus 002 Device 002: ID 8087:8001 Intel Corp.
>> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> Bus 001 Device 002: ID 8087:8009 Intel Corp.
>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
>> Bus 003 Device 008: ID 04a9:220e Canon, Inc. CanoScan N1240U/LiDE 30
>> Bus 003 Device 002: ID 04f9:0040 Brother Industries, Ltd
>> Bus 003 Device 005: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
>> Bus 003 Device 006: ID 413c:2011 Dell Computer Corp. Multimedia Pro Keyboard
>> Bus 003 Device 004: ID 413c:1005 Dell Computer Corp. Multimedia Pro Keyboard Hub
>> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>>
>> xsane hung after this.  I unplugged the scanner and plugged the HP
>> back in, and the Canon showed up in xsane, but of course it didn't
>> work.  I switched the cable back, and xsane hung again.  So I ran
>> sane-find-scanner:
>>
>> mar@marbase:~ $ sudo sane-find-scanner
>> [sudo] password for mar:
>>
>>   # sane-find-scanner will now attempt to detect your scanner. If the
>>   # result is different from what you expected, first make sure your
>>   # scanner is powered up and properly connected to your computer.
>>
>>   # No SCSI scanners found. If you expected something different, make sure that
>>   # you have loaded a kernel SCSI driver for your SCSI adapter.
>>
>> found USB scanner (vendor=0x04a9 [Canon], product=0x220e [CanoScan])
>> at libusb:003:008
>>   # Your USB scanner was (probably) detected. It may or may not be supported by
>>   # SANE. Try scanimage -L and read the backend's manpage.
/../
>> On Thu, Oct 29, 2015 at 11:12 PM, MR ZenWiz <[hidden email]> wrote:
/../
>>> At home, I run Xubuntu 14.04.3 with an HP 5740 all-in-one attached on
>>> the USB (bus 3, device 14).
>>>
>>> When I first installed this it was fine, everything worked.
>>>
>>> Tonight I tried to scan a document, and xsane can't find the
>>> scanner/printer/etc.
/../

--
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: Xsane can't find scanner - again, but this one is USB

Johannes Meixner
In reply to this post by MR ZenWiz

Hello,

On Oct 29 23:12 MR ZenWiz wrote (excerpt):
> I run Xubuntu 14.04.3 with an HP 5740 all-in-one attached on
> the USB (bus 3, device 14).

Is it connected at USB3 i.e. via the kernel module xhci?

Does "lsusb -t" show the "Driver=xhci" for this device?

If yes, there are curently issues with USB3.

For example see
https://bugzilla.opensuse.org/show_bug.cgi?id=856794


> This is most frustrating.  I hate to say it, but Windows never
> has this problem, and I'm no fan of that PoS.

I cannot describe sufficiently in words how much I hate it
to read such frustrating useless stuff again and again.
Why do you think you are in a position to complain on a
public accessible free software developer mailing list?
It seems you think you are in a position to demand from
free software developers that they make their software
so that it supports your selfish "no fan of" needs?
Just buy whatever you like wherefrom you like and then
you might have some (limited) rights to complain there.
Alternatively - if you really want free software (and not
only something for free) - you yourself are responsible
to support freedom which means you must contribute real
value to free software projects. Everybody can contribute
real value to free software projects. Even a totally
unexperienced end-user can for example provide meaningful
issue reports that support and help free software developers
to make their software better, cf. "Basics" at
https://en.opensuse.org/SDB:How_to_Report_a_Printing_Issue
In general if you are really interested in free software
read the various articles at the Free Software Foundation.


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: Xsane can't find scanner - again, but this one is USB

Johannes Meixner
In reply to this post by Gernot Hassenpflug

Hello,

On Oct 30 15:38 Gernot Hassenpflug wrote (excerpt):
> Does your computer have a USB3 port and are you using it?
> Or does it have standard older USB2 ports only?

Attention: One needs to be careful with things
that only look like USB2 ports, cf
https://bugzilla.opensuse.org/show_bug.cgi?id=856794#c24
(excerpt)
--------------------------------------------------------------
My machine has 4 USB ports, two labeled with
the "super speed" USB logo (a.k.a. USB 3) and
two labeled with the normal USB logo (a.k.a. USB 2)
but for all 4 ports xhci is used and it fails on all 4 ports.
--------------------------------------------------------------

FYI, see also
https://bugzilla.opensuse.org/show_bug.cgi?id=856794#c40


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: Xsane can't find scanner - again, but this one is USB

Gernot Hassenpflug
On Fri, Oct 30, 2015 at 6:05 PM, Johannes Meixner <[hidden email]> wrote:
>
> Hello,
>
> On Oct 30 15:38 Gernot Hassenpflug wrote (excerpt):
>>
>> Does your computer have a USB3 port and are you using it?
>> Or does it have standard older USB2 ports only?

Thanks Johannes,

So the question one needs to keep in mind is not USB3 per se, but
whether the xhci kernel module is being used.
I'm sorry, I need to read up more on the issue, I did not realize the
xhci module was the problem regardless of whether USB port was 2 or 3
(assuming the labelling on the ports is not wrong).

> Attention: One needs to be careful with things
> that only look like USB2 ports, cf
> https://bugzilla.opensuse.org/show_bug.cgi?id=856794#c24
> (excerpt)
> --------------------------------------------------------------
> My machine has 4 USB ports, two labeled with
> the "super speed" USB logo (a.k.a. USB 3) and
> two labeled with the normal USB logo (a.k.a. USB 2)
> but for all 4 ports xhci is used and it fails on all 4 ports.
> --------------------------------------------------------------
>
> FYI, see also
> https://bugzilla.opensuse.org/show_bug.cgi?id=856794#c40

Will read this to get up to speed, pun intended.
Regards,
Gernot Hassenpflug

--
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: Xsane can't find scanner - again, but this one is USB

Johannes Meixner

Hello Gernot,

On Oct 30 18:29 Gernot Hassenpflug wrote (excerpt):
> So the question one needs to keep in mind is not USB3 per se,
> but whether the xhci kernel module is being used.

Yes.

As far as I know (but I am neither a USB expert
nor a Linux kernel expert) - the xhci kernel module
is always used for USB3 and sometimes also for
what is labeled as USB2 on the computer.

As far as I know the reason why xhci is used for
what is labeled as USB2 on the computer is that
internally it is one same chip (or perhaps even only
a chip-like sub-component of a bigger hardware thingy).

When xhci is used it cannot be replaced by a
kernel module for traditional USB2, see
https://bugzilla.opensuse.org/show_bug.cgi?id=920067#c23

Furthermore sometimes the xhci kernel module "just works"
and sometimes not depending on weird circumstances, see
https://bugzilla.opensuse.org/show_bug.cgi?id=856794#c40


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: Xsane can't find scanner - again, but this one is USB

Olaf Meeuwissen-4
In reply to this post by MR ZenWiz

MR ZenWiz writes:

> Last time I had this problem, it was on my laptop at my friend's house
> with a wireless HP Envy printer.  Eventually that worked when I added
> the printer through CUPS.
>
> At home, I run Xubuntu 14.04.3 with an HP 5740 all-in-one attached on
> the USB (bus 3, device 14).

Others have already commented on the fact the USB3 support and the xhci
kernel driver may be causing your trouble.

> When I first installed this it was fine, everything worked.
>
> Tonight I tried to scan a document, and xsane can't find the
> scanner/printer/etc.
>
> I removed it with CUPS and reinstalled - no change.
>
> I removed it and used the Xubuntu printer manager to install it, and
> even printed a test page, and that works, and it now shows up in CUPS,
> but xsane still can't find the scanner.
>
> Why does xsane have so much trouble locating what's there and operational?
>
> How does it manage to forget what used to be there (and still is)?

I have had XSane refuse to start on me when I switched devices in the
past.  XSane keeps a cache with information on devices and settings in
the ~/.sane/xsane/ directory.  Removing that directory may help.

However, when troubleshooting device detection issues, it is better to
use the scanimage command-line utility first.  See the manual page for
usage details but

  scanimage -L

will give the list of detected, usable devices.  You can select between
these with the -d option.

> [snip]

Hope this helps,
--
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
Support Free Software               Support the Free Software Foundation
https://my.fsf.org/donate                        https://my.fsf.org/join
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9


--
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: Xsane can't find scanner - again, but this one is USB

MR ZenWiz
On Fri, Oct 30, 2015 at 8:17 PM, Olaf Meeuwissen
<[hidden email]> wrote:
>
> MR ZenWiz writes:
>
> Others have already commented on the fact the USB3 support and the xhci
> kernel driver may be causing your trouble.
>
This could very well be - it's one of the white m/b ports labeled USB
(not USB3), so I have to trust that--sort of.

> I have had XSane refuse to start on me when I switched devices in the
> past.  XSane keeps a cache with information on devices and settings in
> the ~/.sane/xsane/ directory.  Removing that directory may help.
>
Thanks, I did not know that.

> However, when troubleshooting device detection issues, it is better to
> use the scanimage command-line utility first.  See the manual page for
> usage details but
>
>   scanimage -L
>
> will give the list of detected, usable devices.  You can select between
> these with the -d option.
>
Yes, I ran that.  At the time, it did not see the scanner.  Now it
does.  The key for me was a potential incompatibility between the
hplip Synaptic reported and the one the scanner thought was installed.
I reinstalled the hplip driver and so far all is well.

I have apologized to Johannes privately for my frustrated outburst -
it was ill-conceived and not SANE's fault (if there is any fault
here).  I will endeavor to keep my comments productive in the future.
(It's been a long time since I did that, not here, and hopefully much
longer this time.)

Would it be possible to give xsane a slightly friendlier interface
such that, when it can't find a scanner, it asks the user which device
they think it should see/use?  Having it just quit with no options
seems most unfriendly.  Just a thought....

Thanks to all.
MR

--
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: Xsane can't find scanner - again, but this one is USB

m. allan noah-3
> Would it be possible to give xsane a slightly friendlier interface
> such that, when it can't find a scanner, it asks the user which device
> they think it should see/use?  Having it just quit with no options
> seems most unfriendly.  Just a thought....

The author of xsane is not on this mailing list, so you will need to
mail him directly with suggestions. But, you seem to be seeing
something different from me. When I run xsane with no scanners
connected, I get a dialog which says so- it does not just quit. It is
also not possible for xsane to turn user input into a working scanner.
If the detection step turns up no scanners, running it again with a
name will not change anything.

allan
--
"well, I stand up next to a mountain- and I chop it down with the edge
of my hand"

--
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: Xsane can't find scanner - again, but this one is USB

Johannes Meixner
In reply to this post by MR ZenWiz

Hello,

an addedum FYI

On Nov 2 22:50 MR ZenWiz wrote (excerpt):
> On Fri, Oct 30 Olaf Meeuwissen <[hidden email]> wrote:
>>
>> Others have already commented on the fact the USB3 support and
>> the xhci kernel driver may be causing your trouble.
>>
> This could very well be - it's one of the white m/b ports
> labeled USB (not USB3), so I have to trust that--sort of.

Neither the color nor what the port is labeled on the computer
is reliable regarding what kernel driver is used for the port.

Only the "lsusb -t" output shows what kernel driver is used.

When "lsusb -t" shows "Driver=xhci_hcd" for the USB bus and port
where the USB scanner is connected, then there could be issues
depending on the computer hardware and firmware (BIOS or UEFI).

See
https://bugzilla.opensuse.org/show_bug.cgi?id=856794#c24
that reads (excerpt):
-----------------------------------------------------------------
My machine has 4 USB ports, two labeled with
the "super speed" USB logo (a.k.a. USB 3) and
two labeled with the normal USB logo (a.k.a. USB 2)
but for all 4 ports xhci is used and it fails on all 4 ports.
-----------------------------------------------------------------

All 4 USB ports on my testing machine have same dark color.
Also the "super speed" labeled ports are basically black.
Their exact color is "very dark" but not "100% black"
and neither blue (USB 3.0) nor teal blue (USB 3.1), cf.
https://en.wikipedia.org/wiki/USB#Colors

And see
https://bugzilla.opensuse.org/show_bug.cgi?id=856794#c40
that reads (excerpt):
-----------------------------------------------------------------
It depends on the computer hardware where "hardware"
includes the computer's firmware (BIOS or UEFI).

There are computers where USB3 always "just works".

There are computers where USB3 fails under certain conditions.

Perhaps there are computers where USB3 always fails.
-----------------------------------------------------------------


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: Xsane can't find scanner - again, but this one is USB

Johannes Meixner
In reply to this post by m. allan noah-3

Hello,

an addendum FYI:

On Nov 3 07:29 m. allan noah wrote (excerpt):
> When I run xsane with no scanners connected,
> I get a dialog which says so- it does not just quit.

I like to confirm that xsane behaviour also on my system
and even more when I run xsane when "scanimage -L" shows
"No scanners were identified", then xsane first shows
this notification popup:
------------------------------------------------------------
   No devices
   no devices available
   [Close]       [Help]
------------------------------------------------------------
and after clicking [Help]
xsane shows a subsequent notification popup:
------------------------------------------------------------
   No devices available
   Possible reasons:
   1) There really is no device that is supported by SANE
   2) Supported devices are busy
   3) The permissions for the device file do not allow you
      to use it - try as root
   4) The backend is not loaded by SANE (man sane-dll)
   5) The backend is not configured correctly
      (man sane-"backendname")
   6) Possibly there is more than one SANE version installed
   [Close]
------------------------------------------------------------
clicking [Close] finishes xsane.


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: Xsane can't find scanner - again, but this one is USB

Alessandro Zummo
In reply to this post by Johannes Meixner
On Wed, 4 Nov 2015 15:24:43 +0100 (CET)
Johannes Meixner <[hidden email]> wrote:

> It depends on the computer hardware where "hardware"
> includes the computer's firmware (BIOS or UEFI).
> There are computers where USB3 always "just works".
> There are computers where USB3 fails under certain conditions.
> Perhaps there are computers where USB3 always fails.

 Hello,

  I've got a bug report from Randy (Cc) today. And while checking
 it I've discovered a few more things:

  A few days ago I changed my motherboard (now an Asus Z701-A, kernel 4.3.3)
 and it seems that USB3 always fails while testing
 my epsonds driver. All ports, even usb 2.0 ones, are under xhci

 I'm now trying to understand if there's a problem with
 the driver, libusb 1.0 or something else.

--

 Best regards,

 Alessandro Zummo - CEO,
  Tower Technologies - Torino, Italy

  http://www.towertech.it


--
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: Xsane can't find scanner - again, but this one is USB

Alessandro Zummo
On Fri, 22 Jan 2016 11:57:56 +0100
Alessandro Zummo <[hidden email]> wrote:

>  I'm now trying to understand if there's a problem with
>  the driver, libusb 1.0 or something else.

 sanei_usb_set_altinterface (dn, devices[dn].alt_setting);

 which was supposed to fix things, seems to be the root cause
 of my problem. removing it and adding a tweak to epsonds
 greatly improved the success rate, which is now near
 to 100%

--

 Best regards,

 Alessandro Zummo - CEO,
  Tower Technologies - Torino, Italy

  http://www.towertech.it


--
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: Xsane can't find scanner - again, but this one is USB

m. allan noah-3
Yes- it seems that recent linux kernels no longer like our workaround.
My current plan is to make that workaround controlled by an
environment variable, since we cannot know when it is required or not.

allan

On Fri, Jan 22, 2016 at 11:47 AM, Alessandro Zummo
<[hidden email]> wrote:

> On Fri, 22 Jan 2016 11:57:56 +0100
> Alessandro Zummo <[hidden email]> wrote:
>
>>  I'm now trying to understand if there's a problem with
>>  the driver, libusb 1.0 or something else.
>
>  sanei_usb_set_altinterface (dn, devices[dn].alt_setting);
>
>  which was supposed to fix things, seems to be the root cause
>  of my problem. removing it and adding a tweak to epsonds
>  greatly improved the success rate, which is now near
>  to 100%
>
> --
>
>  Best regards,
>
>  Alessandro Zummo - CEO,
>   Tower Technologies - Torino, Italy
>
>   http://www.towertech.it
>
>
> --
> 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]



--
"well, I stand up next to a mountain- and I chop it down with the edge
of my hand"

--
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: Xsane can't find scanner - again, but this one is USB

Alessandro Zummo
On Fri, 22 Jan 2016 12:16:20 -0500
"m. allan noah" <[hidden email]> wrote:

> Yes- it seems that recent linux kernels no longer like our workaround.
> My current plan is to make that workaround controlled by an
> environment variable, since we cannot know when it is required or not.

 greed. maybe with a default of no workaround, as
 I guess the bug has been fixed in the newer kernels.

--

 Best regards,

 Alessandro Zummo - CEO,
  Tower Technologies - Torino, Italy

  http://www.towertech.it


--
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...