Discussion:
[libusb] Help with Scanbuttond backend for Mustek-Scanner
Thomas Schmiedl
2017-04-30 12:54:04 UTC
Permalink
Hello,

unfortunately I'm not a developer, but I hope someone could help me.

I try to use scanbuttond with my scanner Mustek Scanexpress A3 USB
(GT68xx chip). It has no buttons, but a kind of "light barrier" (when
the lid is opened, this will be recognized by the Mustek scanner software).

I tried to trace the USB-communication (see attachment). I guess the
request is "74 01 00 00 00 00 00 00..." and the reply "00 74 00 CE 00 00
00 00". The exceptional reply is "00 74 01 CE 00 00 00 00" at 16:30:01.591.

There are backends for GT68xx devices
https://github.com/jdam6431/scanbuttond/blob/master/backends/mustek.c
and
https://github.com/jdam6431/scanbuttond/blob/master/backends/gt68xx.c,
but I need help to customize this for my device. Thanks for your help.

Best regards,
Thomas
Chris E
2017-05-01 02:42:31 UTC
Permalink
Hi Thomas.
Can't give you specific help with no knowledge of the hardware and
incomplete dumps, but it is worth pointing out that most (all?) of the
non-generic transactions seem to be talking to "usbhub" and not "gt681x".
Does changing the port (e.g. removing the hub and correcting the device
directly) or updating the driver solve your problem?

Best of luck
-Chris
Post by Thomas Schmiedl
Hello,
unfortunately I'm not a developer, but I hope someone could help me.
I try to use scanbuttond with my scanner Mustek Scanexpress A3 USB (GT68xx
chip). It has no buttons, but a kind of "light barrier" (when the lid is
opened, this will be recognized by the Mustek scanner software).
I tried to trace the USB-communication (see attachment). I guess the
request is "74 01 00 00 00 00 00 00..." and the reply "00 74 00 CE 00 00 00
00". The exceptional reply is "00 74 01 CE 00 00 00 00" at 16:30:01.591.
There are backends for GT68xx devices https://github.com/jdam6431/sc
anbuttond/blob/master/backends/mustek.c and https://github.com/jdam6431/sc
anbuttond/blob/master/backends/gt68xx.c, but I need help to customize
this for my device. Thanks for your help.
Best regards,
Thomas
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
libusb-devel mailing list
https://lists.sourceforge.net/lists/listinfo/libusb-devel
Peter Stuge
2017-05-01 09:35:00 UTC
Permalink
Hallo Thomas,
Post by Thomas Schmiedl
unfortunately I'm not a developer, but I hope someone could help me.
I'm afraid you're asking in the wrong place. Please get in touch with
the SANE community instead, because they have the neccessary knowledge
of SANE in general and of the Mustek backend in particular.

Please do include your USB communication capture, it is likely to be
very helpful for them.

It is perfectly correct that SANE backends use libusb, but we can't
really help with the scanner driver. We only make the underpinnings
of that driver, so to speak, and we don't know what that particular
driver does/how it works.


Take care and thanks for helping improve open source software! :)

//Peter

Loading...