SaneOption isWritable bug with Epson scanner.

Skip to first unread message

Roland Quast

Aug 6, 2013, 11:36:09 PM8/6/13
I'm getting a read only option returning as writable. Is this an Epson bug or is it a bug with the implementation of isWritable?

From SaneOption:

  public boolean isWriteable() {
    return descriptor.getOptionCapabilities().contains(OptionCapability.SOFT_SELECT);

See attached screenshot for the buggy option.

If you go ahead and write, this option will return an invalid status.


James Ring

Aug 6, 2013, 11:43:24 PM8/6/13
to Roland Quast, jfreesane-discuss
I would guess this is a bug in the epson backend (based on what I've
seen they are pretty sloppy with what they return), but I wouldn't
rule out a bug in jfreesane either. Do you know where the source code
for your epson driver lives so I can take a look?
> --
> You received this message because you are subscribed to the Google Groups
> "jfreesane-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
> For more options, visit

Roland Quast

Aug 6, 2013, 11:46:29 PM8/6/13
to, Roland Quast
I think this is it:

James Ring

Aug 6, 2013, 11:54:34 PM8/6/13
to Roland Quast, jfreesane-discuss
Hm, looks like jfreesane might be getting it wrong or you're using an
older version of the driver:


That will definitely turn off the soft select bit. The git history for
that project only shows the one revision, driver version 2.29.1-5. I'd
ensure you're using at least that and then try again.


Roland Quast

Aug 7, 2013, 12:03:19 AM8/7/13
to, Roland Quast
Now that I think about it, that pc that I have it installed on was an old iscan package file from epson and not the latest one in the ubuntu repository.

In either case, it's good to know it was an epson bug and that it has been fixed. I'll also be sure to catch any exception where an option write throws an exception and continue.

Thanks again.
Reply all
Reply to author
0 new messages