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.
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. On Mon, May 20, 2019 at 7:03 PM Kelly Price <strredw...@gmail.com> wrote: > Well, here's the other side. When I used scanimage on the Pi > "locally" it works. But when I (supposedly) set up saned on it and > then use xsane on my PC... it fails with the "invalid argument" error. > > > On Mon, May 20, 2019 at 3:33 AM Johannes Meixner <jsm...@suse.de> wrote: > > > > > > Hello > > > > On May 18 19:37 Kelly Price wrote (excerpt): > > > * First connected to a Pi 3B+: failed with same error as USB 3.0 over > xhci. > > > * Connected to a Chromebook with USB 2.0 ports over ehci: works 100% > with xsane > > > * Connected to a Pi 2B: works 100% with scanimage > > > * Connected back to the Pi 3B+: now works 100% with scanimage > > > > > > Maybe some initiation has to happen over ehci for it all to work > > > properly. Weird. > > > > Interesting finding! > > > > I guess your USB scanner has its own power supply > > (some USB scanners get power via USB only) > > and you kept it connected to its power supply > > while you exchanged its USB connection to the > > above listed computers? > > > > In this case I also think some specific initiation > > inside the scanner has to happen to make it work. > > > > Or did you also disconnect your USB scanner from its > > power supply so that it was completely switched off > > each time when you exchanged its USB connection? > > > > I am neither a USB expert nor do I use a Raspberry Pi > > but I am interested what the root cause could be > > why sometimes some scanners don't work with xhci_hcd, > > cf. > > https://en.opensuse.org/SDB:Configuring_Scanners#USB > > and > > > https://alioth-lists.debian.net/pipermail/sane-devel/2019-January/036525.html > > and more like that... > > > > > > Kind Regards > > Johannes Meixner > > -- > > SUSE LINUX GmbH - HRB 21284 (AG Nuernberg) > > GF: Felix Imendoerffer, Mary Higgins, Sri Rasiah > > > > > > -- > > sane-devel mailing list: sane-devel@alioth-lists.debian.net > > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel > > Unsubscribe: Send mail with subject "unsubscribe your_password" > > to sane-devel-requ...@lists.alioth.debian.org > > > > -- > Kelly "STrRedWolf" Price > http://redwolf.ws > > -- > sane-devel mailing list: sane-devel@alioth-lists.debian.net > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > to sane-devel-requ...@lists.alioth.debian.org
-- sane-devel mailing list: sane-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org