[sane-devel] Ubuntu 11.10 : Support for Umax Astra 4100 via
Stef
stef.dev at free.fr
Tue Dec 13 05:31:38 UTC 2011
Le mardi 13 décembre 2011 10:53:53 iain kashyap a écrit :
> Hello Stef, I didnt realize the 100 kb limit. My post bounced. Reposting
> my inputs. Please guide me on the next steps. -- Thanks, Iain
>
> > Hello Stef,
> >
> > I am very thankful to you for helping me here. Your solution worked.
> > Following is a transcript of what i've done so far. I've added my
> > comments after # on every new line after which I'm typing what I see in
> > the terminal #I ran command *sudo sane-find-scanner -v -v*
> > #Got the following
> > *found USB scanner (vendor=0x0461 [Primax], product=0x038c [USB
> > Scanner],
> > chip=GL646_HP) at libusb:003:004
> > *
> >
> > #Found this useful
> > https://help.ubuntu.com/community/CheckIfScannerIsClone #Backed up
> > genesys_devices.c
> > #Added line to genesys_devices.c to the end to the *
> > genesys_usb_device_list[]*
> > #Retrieved the usb vid and the usb pid from sane-find-scanner -v -v
> > *{0x0461, 0x038c, &medion_md5345_model},*
> >
> > #Backed up genesys.conf
> > #Added line
> > # UMAX Astra 4100
> > *usb 0x0461 0x038c *
> >
> > #Typed
> > *cd sane-backends
> > sudo ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
> > sudo make
> > sudo make install*
> >
> > #Plugged in the scanner, turned it on, tried the command
> > #sudo scanimage -L
> > #Got the following output
> > iain at iain-System-Product-Name:/usr/src/sane-backends$ *sudo scanimage
> > -L*
> > *device `genesys:libusb:003:004' is a Medion MD5345/MD6228/MD6471
> > flatbed
> > scanner*
> >
> > #Set Scanner permission - Made no effect. Need to check by restarting
> > system. For now using the sudo command
> > *sudo gedit /lib/udev/rules.d/40-libsane.rules*
> > #Added
> > *# Umax Astra 4100 USB Flatbed Scanner
> > ATTRS{idVendor}=="0x0461", ATTRS{idProduct}=="0x038c",
> > ENV{libsane_matched}="yes"*
> >
> > #Try scanning using your script
> > #I uncommented the line xsane 2>xl.log
> > *#Try scanning
> > iain at iain-System-Product-Name:/usr/src/sane-backends/backend$ sudo sh
> > run-genesys
> >
> > *Attached image Screenshot at 2011-12-13 03:55:23.png shows the
> > screenshot of my screen. This never came before. I used to get a screen
> > saying scanner wasn't detected.
> > I'm attaching a zip file with the 2 updated files, genesys.conf &
> > genesys_devices.c with comments. I'm included your sh file with the
> > uncommented line as well as some outputs formats.
> > Is there any ways this can be included in the future releases of debian
> > /
> > ubuntu etc. Please share your views.
> >
Hello,
good work! The ideal way to integrate these changes would be a git diff
(with your sign-by). Modified source would do. Can you resend them to me ? The
archive has 2 empty directories.
Regards,
Stef
More information about the sane-devel
mailing list