<html><head></head><body><div dir="auto">Hi Ove,<br><br>this is lots of work. You can try to sniff the interface (scsi, usb, ethernet, firewire), and you can try debuggging software like ida pro or the nsa debugger with the funny name which is open source. But anyway it is a lot of work as scanners are not documented in most cases.<br>About a decade ago there where usb flatbed scanners that often used a quite generic soc (genesys) which differed a bit in firmware blobs, some hw hacks or different timing (copy right royalties were enforced on some markets, so scanning was slow) used, so people hacked that driver to support a bunch of cheap scanners (usb id deteftion and some quirks).<br>So another way is to disassemble the scanner and look for "famous" chips. But today I guess some custom built microprocessor variant to be used here.<br>But look inside, void warranty and btw look for console rs232 (ttl level) and jtag connectors for debugging.<br><br>Have fun.<br><br>BTW,<br><br>I need support for kodak i810 monsters with the sane kodak driver that was obviously never tested with the real monster hardware, I guess. <br>Here I can provide remote access to the linux box and a cam with remote hands sessions.<br><br>Cheers<br><br>luja</div><br><br><div class="gmail_quote"><div dir="auto">On September 1, 2024 6:48:42 PM GMT+02:00, Ove Laurum <laurum.tech@gmail.com> wrote:</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">Hello.<div><br></div><div>I am new to sane but hope to find some guidance on how I can help adding this printer to sane supported devices.</div><div><br></div><div>I am trying to use a scanner "Avision AV50F plus" on Linux (Ubuntu).</div><div>I do not see it listed as a supported scanner by sane.</div><div>Also after installing xsane it is not recognised, see command line output at the end of the mail.</div><div>The scanner works fine on Windows with Avision driver and SW and Button Manager SW.</div><div>I have attached screenshots from Windows Device Manager.</div><div>I also attached a photo of the circuit board of the scanner as well as a pdf  product sheet of the scanner.</div><div><br></div><div>I would be grateful for any advice on:</div><div>a: has anybody else tried, failed, succeeded in adding support, if so what is your experience?</div><div>b: what is the recommended process for me to follow?</div><div>c: how do I know if this can be added to an existing backend, or if I need to write a new backend.</div><div>d: any advice on how to trace the driver/scanner communication on windows to reverse engineer the protocol?</div><div></div><div><br></div><div>Looking forward to contributing to sane.</div><div>Kind regards </div><div>Ove.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>Command Line Output:</div><div><br></div><div>$ sudo sane-find-scanner<br><br>  # sane-find-scanner will now attempt to detect your scanner. If the<br>  # result is different from what you expected, first make sure your<br>  # scanner is powered up and properly connected to your computer.<br><br>  # No SCSI scanners found. If you expected something different, make sure that<br>  # you have loaded a kernel SCSI driver for your SCSI adapter.<br><br>found possible USB scanner (vendor=0x04a9 [Canon], product=0x190f [CanoScan], chip=GL848+) at libusb:001:004<br>found possible USB scanner (vendor=0x0638 [AVISION], product=0x2b6a [AV50F Plus]) at libusb:001:003<br>  # Your USB scanner was (probably) detected. It may or may not be supported by<br>  # SANE. Try scanimage -L and read the backend's manpage.<br><br>  # Not checking for parallel port scanners.<br><br>  # Most Scanners connected to the parallel port or other proprietary ports<br>  # can't be detected by this program.<br><br></div><div>$ sudo scanimage -L<br>device `genesys:libusb:001:004' is a Canon LiDE 220 flatbed scanner<br><br></div><div>$ lsusb<br>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd QEMU Tablet<br>Bus 001 Device 003: ID 0638:2b6a Avision, Inc. AV50F Plus<br>Bus 001 Device 004: ID 04a9:190f Canon, Inc. CanoScan LiDE 220<br>Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br></div></div>
</blockquote></div><div dir="auto"><div class='k9mail-signature'>-- <br>Phone numbers: <br>+49   176 79038607 [DE]<br>+359 899159711      [BG]<br><br>-- <br>"They who can give up essential liberty to obtain a little temporary<br>safety, deserve neither liberty nor safety." Benjamin Franklin (1775)</div></div></body></html>