<div dir="ltr"><br><div class="gmail_quote"><br><br><div dir="ltr">Do both systems show the same USB ID for the scanner? If not you need to use a tool that sets the mode of the USB device I believe it is called USB Modeswitch.<div><br></div><div>Some devices rely on this to change the "personality" of the device by changing the USB ID . This is commonly used in 3G USB dongles but I once saw it used on something else. </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 20, 2019 at 7:03 PM Kelly Price <<a href="mailto:strredwolf@gmail.com" target="_blank">strredwolf@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Well, here's the other side.  When I used scanimage on the Pi<br>
"locally" it works.  But when I (supposedly) set up saned on it and<br>
then use xsane on my PC... it fails with the "invalid argument" error.<br>
<br>
<br>
On Mon, May 20, 2019 at 3:33 AM Johannes Meixner <<a href="mailto:jsmeix@suse.de" target="_blank">jsmeix@suse.de</a>> wrote:<br>
><br>
><br>
> Hello<br>
><br>
> On May 18 19:37 Kelly Price wrote (excerpt):<br>
> > * First connected to a Pi 3B+: failed with same error as USB 3.0 over xhci.<br>
> > * Connected to a Chromebook with USB 2.0 ports over ehci: works 100% with xsane<br>
> > * Connected to a Pi 2B: works 100% with scanimage<br>
> > * Connected back to the Pi 3B+:  now works 100% with scanimage<br>
> ><br>
> > Maybe some initiation has to happen over ehci for it all to work<br>
> > properly.  Weird.<br>
><br>
> Interesting finding!<br>
><br>
> I guess your USB scanner has its own power supply<br>
> (some USB scanners get power via USB only)<br>
> and you kept it connected to its power supply<br>
> while you exchanged its USB connection to the<br>
> above listed computers?<br>
><br>
> In this case I also think some specific initiation<br>
> inside the scanner has to happen to make it work.<br>
><br>
> Or did you also disconnect your USB scanner from its<br>
> power supply so that it was completely switched off<br>
> each time when you exchanged its USB connection?<br>
><br>
> I am neither a USB expert nor do I use a Raspberry Pi<br>
> but I am interested what the root cause could be<br>
> why sometimes some scanners don't work with xhci_hcd,<br>
> cf.<br>
> <a href="https://en.opensuse.org/SDB:Configuring_Scanners#USB" rel="noreferrer" target="_blank">https://en.opensuse.org/SDB:Configuring_Scanners#USB</a><br>
> and<br>
> <a href="https://alioth-lists.debian.net/pipermail/sane-devel/2019-January/036525.html" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/pipermail/sane-devel/2019-January/036525.html</a><br>
> and more like that...<br>
><br>
><br>
> Kind Regards<br>
> Johannes Meixner<br>
> --<br>
> SUSE LINUX GmbH - HRB 21284 (AG Nuernberg)<br>
> GF: Felix Imendoerffer, Mary Higgins, Sri Rasiah<br>
><br>
><br>
> --<br>
> sane-devel mailing list: <a href="mailto:sane-devel@alioth-lists.debian.net" target="_blank">sane-devel@alioth-lists.debian.net</a><br>
> <a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel</a><br>
> Unsubscribe: Send mail with subject "unsubscribe your_password"<br>
>              to <a href="mailto:sane-devel-request@lists.alioth.debian.org" target="_blank">sane-devel-request@lists.alioth.debian.org</a><br>
<br>
<br>
<br>
-- <br>
Kelly "STrRedWolf" Price<br>
<a href="http://redwolf.ws" rel="noreferrer" target="_blank">http://redwolf.ws</a><br>
<br>
-- <br>
sane-devel mailing list: <a href="mailto:sane-devel@alioth-lists.debian.net" target="_blank">sane-devel@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel</a><br>
Unsubscribe: Send mail with subject "unsubscribe your_password"<br>
             to <a href="mailto:sane-devel-request@lists.alioth.debian.org" target="_blank">sane-devel-request@lists.alioth.debian.org</a></blockquote></div>
</div></div>