[sane-devel] Samsung SCX-4100 support proposal.

ABC abc at telekom.ru
Sun Nov 13 12:20:04 UTC 2011


Ah. And before you start to code and after you recorded what Windows
driver does you need to check if some other driver is already supporting
this protocol. So it will be useful to post several decoded commands to
the list. (I will check how they match to xerox_mfp driver).

There is also form of adding unsupported device:
http://www.meier-geinitz.de/tinc?key=rDoQ7lrj&formname=adddev
(Not sure how useful is this though.)


-abc

On Sun, Nov 13, 2011 at 04:10:51PM +0400, ABC wrote:
> Hello Ilya,
> 
> I mean someone else can tutor you, but not me. Sorry. I only
> participated becasue there was posibility xerox_mfp driver is working
> for you. But it isn't.
> 
> You can start by [re]reading provided url. Section "Writing a
> Backend (Driver)". Try to find out what the MS Windows driver does:
> http://www.meier-geinitz.de/sane/misc/develop.html
> + http://www.sane-project.org/backend-writing.txt
> 
> Good bye. :)
> -abc
> 
> On Sun, Nov 13, 2011 at 02:47:55PM +0300, Ilya Tumaykin wrote:
> > You mean I should step forward from Reporting Unsupported Scanners to the
> > next section Writing a Backend and start some coding?
> > 
> > 13 ноября 2011 г. 13:56 пользователь ABC <abc at telekom.ru> написал:
> > 
> > > I will not help you on that. Please read
> > > http://www.sane-project.org/contrib.html
> > >
> > > -abc
> > >
> > > On Sat, Nov 12, 2011 at 06:29:29PM +0300, Ilya Tumaykin wrote:
> > > > I have no /proc/bus/usb, but here are the rest of the info I collected.
> > > Not
> > > > sure if I should add these files as attachements, so I uploaded it to
> > > > pastebin.ca.
> > > >
> > > > dmesg
> > > > http://pastebin.ca/2093986
> > > >
> > > > lsusb -vvv
> > > > http://pastebin.ca/2093987
> > > >
> > > > sane-find-scanner -v -v (from root)
> > > > http://pastebin.ca/2093988
> > > >
> > > > udevadm monitor --udev --kernel --property
> > > > http://pastebin.ca/2093989
> > > >
> > > > What is the next step?
> > > >
> > > > 2011/11/11 ABC <abc at telekom.ru>
> > > >
> > > > > Hello Ilya Tumaykin,
> > > > >
> > > > > Then you should go standard/hard way:
> > > > > http://www.sane-project.org/contrib.html
> > > > >
> > > > > -abc
> > > > >
> > > > > On Fri, Nov 11, 2011 at 01:30:32AM +0300, Илья Тумайкин wrote:
> > > > > > Thanks for your reply.
> > > > > >
> > > > > > Of course I've already tried that with no luck at all.
> > > > > > The short story of things that already was tried (all of them
> > > failed):
> > > > > > 1. Added scanner's usb id to xerox_mfp.conf. Double checked udev
> > > rules
> > > > > for
> > > > > > correctness. Blacklisted usblp and built SANE with usb support.
> > > > > > 2. Got reports that SCX-4200 "just works" with latest Ubuntu. Checked
> > > > > > patches for Ubuntu package. None of them were related, however I
> > > gave it
> > > > > a
> > > > > > try with no luck.
> > > > > > 3. Installed latest Ubuntu just to be sure and eliminate the fact
> > > that I
> > > > > > could forgot some small detail.
> > > > > > 4. Tried several different versions of Samsung's Unified Driver on my
> > > > > > Gentoo and that clean Ubuntu I've just installed.
> > > > > > There are several comments related to this issue in Gentoo's bugzilla
> > > > > under
> > > > > > the name "Coacher": https://bugs.gentoo.org/show_bug.cgi?id=139715
> > > > > > However, it is not SANE related.
> > > > > > 5. Recompiled 3.0.8 kernel with changed Makefile to make it 2.6.40.8
> > > :
> > > > > > VERSION = 2
> > > > > > PATCHLEVEL = 6
> > > > > > SUBLEVEL = 40
> > > > > > EXTRAVERSION = .8
> > > > > > I'll also make a try with 3.1 later but I don'y think I'll be lucky.
> > > I
> > > > > was
> > > > > > trying to trick Samsung's driver so it is not SANE related too.
> > > > > >
> > > > > > The syptoms I have are the same after all this tries: when I plug in
> > > my
> > > > > MFP
> > > > > > I see dmesg info message, can see udevd output, even have my printer
> > > > > > working smoothly, but scanner is dead.
> > > > > >
> > > > > > 2011/11/10 ABC <abc at telekom.ru>
> > > > > >
> > > > > > > Hello Ilya,
> > > > > > >
> > > > > > > Try to add USB ids of your device to your xerox.conf
> > > > > > > and try scanimage -L
> > > > > > >
> > > > > > > -abc
> > > > > > >
> > > > > > > On Thu, Nov 10, 2011 at 10:44:54PM +0300, Илья Тумайкин wrote:
> > > > > > > > Hello everyone.
> > > > > > > >
> > > > > > > > I am a long time Linux user and Samsung SCX-4100 owner. In
> > > ancient
> > > > > times
> > > > > > > > SANE didn't have support for my model or, for exmaple, SCX-4200,
> > > so I
> > > > > > > used
> > > > > > > > Samsung's binary driver. Now it is incompatible with modern 3.x
> > > > > kernels
> > > > > > > and
> > > > > > > > I think it's a turning point for me to drop it in favor of
> > > opensource
> > > > > > > one.
> > > > > > > > Since SCX-4200 and SCX-4600 are supported by xerox_mfp backend I
> > > > > hope it
> > > > > > > > will be easier to add support for my scanner too. I send my call
> > > to
> > > > > devs
> > > > > > > to
> > > > > > > > help me achieve this mission. I have on my side Linux-powered
> > > > > machine,
> > > > > > > > Samsung SCX-4100, good knowledge of C and willing to make my old
> > > > > flatbed
> > > > > > > > working. Please guide me through. Where should I start?
> > > > > > > >
> > > > > > > > Best regards.
> > > > > > > > Ilya Tumaykin.
> > > > > > >
> > > > > > > > --
> > > > > > > > sane-devel mailing list: sane-devel at lists.alioth.debian.org
> > > > > > > >
> > > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> > > > > > > > Unsubscribe: Send mail with subject "unsubscribe your_password"
> > > > > > > >              to sane-devel-request at lists.alioth.debian.org
> > > > > > >
> > > > >
> > > > > > --
> > > > > > sane-devel mailing list: sane-devel at lists.alioth.debian.org
> > > > > > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> > > > > > Unsubscribe: Send mail with subject "unsubscribe your_password"
> > > > > >              to sane-devel-request at lists.alioth.debian.org
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Best regards.
> > > > Ilya Tumaykin.
> > >
> > > > --
> > > > sane-devel mailing list: sane-devel at lists.alioth.debian.org
> > > > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> > > > Unsubscribe: Send mail with subject "unsubscribe your_password"
> > > >              to sane-devel-request at lists.alioth.debian.org
> > >
> > 
> > 
> > 
> > -- 
> > Best regards.
> > Ilya Tumaykin.
> 
> -- 
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org



More information about the sane-devel mailing list