Re: [sane-devel] [sane-announce] SANE Backends 1.1.1 released

2022-03-14 Thread Rolf Bensch
Unfortunately SANE Home (http://www.sane-project.org/snapshots/) 
provides old git snapshots for 1.0.32.


Ubuntu PPA needs git snapshots to generate repository files.

@Povilas, maybe you'd like to fix this on SANE Home.

Hope this helps.

Cheers,
Rolf


Am 13.03.22 um 23:09 schrieb Kelly Price:

Is anyone building this release on Ubuntu for the PPA?  The PPA's
lagging and it's even up to 22.10 at this time.

On Wed, Feb 9, 2022 at 4:01 PM Ralph Little  wrote:


Hi,

On 2022-02-09 11:29, Rolf Bensch wrote:

Hi Povilas,

I just had a look at git snapshots and found out that you're still
providing "old" 1.0.32 tar archives on
http://www.sane-project.org/snapshots/, and in gitlab 1.1.1 release
branch/tag has not been merged to master.

For the Ubuntu ppa I'd like to get git snapshots from version 1.1.1.


Yeah, sorry about that. I did start to get that going but have not had
the time. :(

Cheers,
Ralph








Re: [sane-devel] [sane-announce] SANE Backends 1.1.1 released

2022-02-09 Thread Rolf Bensch

Hi Povilas,

I just had a look at git snapshots and found out that you're still 
providing "old" 1.0.32 tar archives on 
http://www.sane-project.org/snapshots/, and in gitlab 1.1.1 release 
branch/tag has not been merged to master.


For the Ubuntu ppa I'd like to get git snapshots from version 1.1.1.

Many thanks for your great work.

Cheers,
Rolf


Am 19.01.22 um 22:54 schrieb Povilas Kanapickas:

Hi all,

I'm happy to announce sane-backends-1.1.1. You can find the latest 
source tarballs here:


https://gitlab.com/sane-project/backends/-/releases.

The page also mentions several "Source code" links in the Assets from
which you can download the git repository corresponding to the release.
Please note that these archives do not include generated files such as
the configure script, Makefile.in files and more.

A nicely formatted version of the release notes is available there too.

One change that is more interesting to package maintainers is that 
with this release the version numbering scheme has been changed and 
thus every new feature release will increment the second version 
number (i.e. 1.2.0, 1.3.0, etc.) and the third number (i.e. 1.1.2, 
1.1.3, etc.) will be left for bugfix releases. Previously feature 
releases used the third version number (i.e. 1.0.30, 1.0.31, etc.) and 
real bugfix releases were not possible. With this possibility present 
more frequent bugfix releases can be expected.


There has been no 1.1.0 release. It was unpublished due to version 
numbering bug in tests that only showed itself after the release was 
made.


In case you encounter any issues with this release, please contact the
sane-devel mailing list or submit an issue:

sane-devel at alioth-lists.debian.net

https://gitlab.com/sane-project/backends/issues

The following is the release notes in the "raw" markdown format. A 
nicely formatted version is available on the GitLab releases page 
mentioned above.


### Backends

- `epson2`: Fixed support for many scanners that don't support focus 
command.

- `epson2`: Improve reliability of long scans.
- `epsonds`: Implemented support for the following Epson scanners:
   - DS-1610
   - DS-1630
   - DS-1660W
   - DS-310
   - DS-320
   - DS-360W
   - DS-410
   - DS-530
   - DS-530II
   - DS-531
   - DS-535
   - DS-535H
   - DS-535II
   - DS-570W
   - DS-570WII
   - DS-571W
   - DS-575W
   - DS-575WII
   - DS-70
   - DS-80W
   - ES-200
   - ES-300W
   - ES-300WR
   - ES-400
   - ES-400II
   - ES-50
   - ES-500W
   - ES-500WII
   - ES-500WR
   - ES-55R
   - ES-580W
   - ES-60W
   - ES-60WB
   - ES-60WW
   - ES-65WR
   - ET-2700 Series
   - ET-2710 Series
   - ET-2810 Series
   - ET-M2140 Series
   - ET-M3140 Series
   - EW-052A Series
   - FF-680W
   - L3150 Series
   - L3200 Series
   - L3210 Series
   - L3250 Series
   - L4150 Series
   - M2140 Series
   - M3140 Series
   - RR-60
   - RR-600W
   - RR-70W
   - XP-2100 Series
   - XP-2150 Series
- `epson2`: Marked XP-452 455 series as supported in documentation.
- `escl`: Fixed scanning problems on certain scanners due to incorrect 
URL being used (https://gitlab.com/sane-project/backends/-/issues/479)

- `escl`: Fixed support for different resolutions when using JPEG format.
- `escl`: Fixed handling of ipp-usb redirects to localhost which 
previously caused certain scanners to be always reported as busy.
- `escl`: Added support for Brother DCP-J772DW and Epson ET-2750 
scanners.

- `escl`: Marked the following scanners as supported in documentation:
   - Canon PIXMA G4511
   - Canon PIXMA TR4550 Series
   - Canon PIXMA TR4551 Series
   - Epson ET-6100
- `escl`: Implemented support for disabling PDF output on scanners 
where it's broken

  (https://gitlab.com/sane-project/backends/-/issues/510)
- `escl`: Implemented support for Canon PIXME TR4520 and TR7500 scanners.
- `genesys`: Improved scan quality on Canon LiDE 35/40/50/60 by using 
brighter LED illumination.

- `genesys`: Fixed control of contrast and brigthness on certain scanners
  (https://gitlab.com/sane-project/backends/-/issues/271).
- `genesys`: Fixed crashes when handling slightly unexpected conditions
  (https://gitlab.com/sane-project/backends/-/issues/464).
- `genesys`: Fixed support for Plustek Opticfilm 7200 v2 scanner.
- `genesys`: Fixed button support on HP ScanJet G4010.
- `genesys`: Fixed compilation on gcc-4.8.
- `genesys`: Fixed incorrect LED exposure calculation leading to wrong 
color balance on certain resolutions on gl841 scanners

- `genesys`: Improved gray scan quality on Canon LiDE 110, 120, 210, 220
  (https://gitlab.com/sane-project/backends/-/issues/106,
   https://gitlab.com/sane-project/backends/-/issues/52).
- `genesys`: Fixed issue of motor becoming stuck at certain 
resolutions on Canon LiDE 50
  and possibly other gl841 scanners 
(https://gitlab.com/sane-project/backends/-/issues/357)

- `genesys`: Fixed periodic black lines in gray scans on Canon LiDE 80.
- `genesys`: Removed support for broken 75 and 100 dpi hardware 
resolutions to 

[sane-devel] Release 1.0.33 not available on sane-project.org

2021-11-10 Thread Rolf Bensch
Hi,

I just noticed on git that SANE 1.0.33 has been released, but it isn't
available neither here:
https://gitlab.com/sane-project/backends/-/releases nor here:
http://www.sane-project.org/snapshots/.

Ralph asked me to do some maintenance on the Ubuntu ppa
(https://launchpad.net/~sane-project/+archive/ubuntu/sane-git). But I
cannot push the release, if it isn't available on sane-project.org.

Hope this helps.

Cheers,
Rolf




[sane-devel] Maintainer for PIXMA Backend

2020-09-25 Thread Rolf Bensch
Hi List,

PIXMA backend keeps maintained. I can introduce Povilas as new PIXMA
maintainer.

Povilas is already known as maintainer for the genesys backend. And I
appreciate his XML read/writeback extension to the USB driver. He
replaces my part for everything around scanner implementation.

Louis' part remains everything around BJNP and networking.

I stay subscribed to this mailing list, but already stopped watching the
list. If someone may need me inside some threads in the future, please
add my email address as CC.

The next days I plan to go through my assigned open gitlab issues and
merge request to finalize some small things and to reassign all others
to Povilas. Here the same as for the mailing list, if someone may need
my help in the future please cc me with my gitlab username @ro-ben.

Many thanks for all of your amazing feedback I've received during the
the last few weeks. And many thanks for your ideas, fixes, merge
requests, testing and particularly to your patience for my long response
times.

It was a pleasure working for the awesome SANE project.

Cheers,
Rolf




Re: [sane-devel] SANE Backends 1.0.31 released / Goodbye / Ubuntu PPA

2020-09-05 Thread Rolf Bensch
Hi Ralph,

Has your package manager switched the ppa to sane-project and can you
install todays update from there?

Cheers,
Rolf

Am 04.09.20 um 16:37 schrieb Ralph Little:
> Hi Rolf,
> 
> 
> On 2020-09-04 4:52 a.m., Rolf Bensch wrote:
>> Now the new Ubuntu PPA is online:
>> https://launchpad.net/~sane-project/+archive/ubuntu/sane-git and I'll
>> stop providing updates to my PPA
>> (https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git).
>>
>> The new PPA will be maintained by a group, so changing personal
>> responsibilities won't affect the users anymore.
>>
>> The last update from my PPA will automatically change the package
>> manager configuration to the new PPA, so you don't need to care about
>> switching the PPAs.
>>
>>
> 
> I got an error from the last update related to the repo update:
> 
> ***Update***
> This ppa has been replaced by
> https://launchpad.net/~sane-project/+archive/ubuntu/sane-git. The last
> update from this ppa automatically switches to the new ppa in your
> package manager.
>  More info: https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git
> failed to remove PPA: '[Errno 2] No such file or directory:
> '/etc/apt/sources.list.d/rolfbensch-sane-git-bionic.list''
> Usage: add-apt-repository [options] repository
> 
> add-apt-repository: error: no such option: -u
> dpkg: error processing package libsane:amd64 (--configure):
>  installed libsane:amd64 package post-installation script subprocess
> returned error exit status 2
> dpkg: dependency problems prevent configuration of libsane-dev:amd64:
>  libsane-dev:amd64 depends on libsane (= 1.0.31+git20200904-bionic1);
> however:
>   Package libsane:amd64 is not configured yet.
> 
> Cheers,
> Ralph
> 



Re: [sane-devel] SANE Backends 1.0.31 released / Goodbye / Ubuntu PPA

2020-09-05 Thread Rolf Bensch
Hi Kelly,

sane-release for 1.0.31 is available on both repositories:
https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-release
and
https://launchpad.net/~sane-project/+archive/ubuntu/sane-release

I planned no auto switching for this ppa. I still added a note to the
old ppa.

Hope this helps.

Cheers,
Rolf

Am 04.09.20 um 16:49 schrieb Kelly Price:
> Is work being done for sane-release?
> 
> On Fri, Sep 4, 2020 at 8:05 AM Rolf Bensch  wrote:
>>
>> Hi all,
>>
>> Am 02.09.20 um 14:49 schrieb Olaf Meeuwissen:
>>> Hi all,
>>>
>>> Olaf Meeuwissen writes:
>>>
>>>> Ralph Little writes:
>>>>
>>>>> What will happen to your PPAs? Are you planning to hand that over to
>>>>> someone else?
>>>>> I know they are a big deal for many people, including myself.
>>>>
>>>> Yeah, I realized I forgot to mention that a wee while after I dashed off
>>>> my initial response.  I'm curious as well.  Especially because I've been
>>>> thinking of getting rid of our daily date-stamped source tarballs.  I've
>>>> only been keeping those alive for your PPA really :-)
>>>
>>> Just thought I'd let you know that Rolf, Ralph and I are working
>>> off-list on getting the maintenance of this transferred to Ralph
>>> and myself.
>>>
>>
>> Now the new Ubuntu PPA is online:
>> https://launchpad.net/~sane-project/+archive/ubuntu/sane-git and I'll
>> stop providing updates to my PPA
>> (https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git).
>>
>> The new PPA will be maintained by a group, so changing personal
>> responsibilities won't affect the users anymore.
>>
>> The last update from my PPA will automatically change the package
>> manager configuration to the new PPA, so you don't need to care about
>> switching the PPAs.
>>
>> Hope this helps.
>>
>> Cheers,
>> Rolf
>>
> 
> 



Re: [sane-devel] SANE Backends 1.0.31 released / Goodbye / Ubuntu PPA

2020-09-04 Thread Rolf Bensch
Hi all,

Am 02.09.20 um 14:49 schrieb Olaf Meeuwissen:
> Hi all,
> 
> Olaf Meeuwissen writes:
> 
>> Ralph Little writes:
>>
>>> What will happen to your PPAs? Are you planning to hand that over to
>>> someone else?
>>> I know they are a big deal for many people, including myself.
>>
>> Yeah, I realized I forgot to mention that a wee while after I dashed off
>> my initial response.  I'm curious as well.  Especially because I've been
>> thinking of getting rid of our daily date-stamped source tarballs.  I've
>> only been keeping those alive for your PPA really :-)
> 
> Just thought I'd let you know that Rolf, Ralph and I are working
> off-list on getting the maintenance of this transferred to Ralph
> and myself.
> 

Now the new Ubuntu PPA is online:
https://launchpad.net/~sane-project/+archive/ubuntu/sane-git and I'll
stop providing updates to my PPA
(https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git).

The new PPA will be maintained by a group, so changing personal
responsibilities won't affect the users anymore.

The last update from my PPA will automatically change the package
manager configuration to the new PPA, so you don't need to care about
switching the PPAs.

Hope this helps.

Cheers,
Rolf



Re: [sane-devel] SANE Backends 1.0.31 released / Goodbye

2020-09-02 Thread Rolf Bensch
Hi Kelly,

Am 02.09.20 um 14:52 schrieb Kelly Price:
> On Wed, Sep 2, 2020 at 8:49 AM Olaf Meeuwissen
>  wrote:
>> Just thought I'd let you know that Rolf, Ralph and I are working
>> off-list on getting the maintenance of this transferred to Ralph
>> and myself.
>>
> 
> Good to hear.  Will there be an arm build as well with the new PPA?
> 

The new ppa will provide these builds: amd64, arm64, armhf, i386 and
ppc64el.

After announcing the new ppa, a last update from the old ppa will
reconfigure your systems to the new ppa. So nobody must worry about
switching to the new ppa.

Hope this helps.

Cheers,
Rolf



Re: [sane-devel] SANE Backends 1.0.31 released / Goodbye

2020-08-27 Thread Rolf Bensch
Hi,

Congratulations to all who contributed his/her ideas, code and at least
time for the new SANE release.

After having some time with reflecting my after-work activities, I
decided to say Goodbye to the SANE project, especially as maintainer for
the pixma backend.

If somebody hears the calling to become a maintainer for the pixma
backend, he/she is welcome to contact me off-list for discussing any
questions about structure and functionality.

Best wishes,
Rolf


Am 23.08.20 um 14:19 schrieb Olaf Meeuwissen:
> Hi all,
>
> Six months and three weeks after sane-backends-1.0.29 and about three
> months after our sane-backends-1.0.30 security update, I'm happy to
> announce that sane-backends-1.0.31 has been released.  You can find
> the latest source tarballs and checksums on the [releases page][1] in
> the Other section of the Assets.
>
>  [1]: https://gitlab.com/sane-project/backends/-/releases
>
> The page also mentions several "Source code" links in the Assets from
> which you can download the git repository corresponding to the release.
> Please note that these archives do *not* include generated files such as
> the configure script, Makefile.in files and more.
>
> A nicely formatted version of the release notes can be found at the same
> location but, for your convenience, the "raw" Markdown has been included
> below.
>
> ### Backends
>
> - adds the `canon_lide70` backend
> - `avision`: adds support for the KODAK i1120, fixes thread
>   cancellation issues, disables exposure option for non-filmscanners
> - `canon_dr`: improves error reporting
> - `dmc`: fixes compiler warnings on the scan area options
> - `epsonds`: rewrites the network I/O following changes made to the
>   `epson2` backend in 1.0.30 to fix security issues.  Network support
>   is still unsupported.
> - `escl`: adds ADF support, fixes many minor issues and improves error
>   handling.  Now also supports devices behind a proxy (needs explicit
>   configuration).
> - `fujitsu`: adds support for the fi-800R and a card scanning slot,
>   fixes a bug when reading hardware sensors on the first invocation.
>   Adds USB IDs for fi-7800 and fi-7900.
> - `genesys`: adds support for the Canon 5600F, Canon LiDE 90, Plustek
>   OpticFilm 7200 and 7200 (v2), 7400, 7600i, 8100 and 8200i.  Fixes
>   several issues with the Canon 8600F.  Adds 4800dpi support for the
>   Canon LiDE 210 and fixes 3200dpi flatbed support on the Canon 8400F.
>   Adds an option to fill dark calibration with a constant.  Adds
>   transparency support for gl847 chipset based devices.  Fixes CIS
>   scanner support for gl842 chipset based devices.  Removes lineart
>   and image enhancement emulation support.
> - `gphoto`: supports the PLANon DocuPen RC800 (with a recent enough
>   version of `gphoto2`)
> - `gt68xx`: modifies scan cancellation behaviour
> - `hp5400`: adds button support, fixes a scan cancellation crash issue
> - `pixma`: add supports for the i-SENSYS MF440 Series and untested
>   support for the PIXMMA G7000 Series and GM4000 Series as well as the
>   i-SENSYS MF720 Series.
> - `plustek`: fixes a potential buffer overrun
> - `test`: adds gamma options
>
> ### Documentation
>
> - removes the SANE Standard.  This is now maintained as a separate
>   project at https://gitlab.com/sane-project/standard.  HTML and PDF
>   versions can be found at https://sane-project.gitlab.io/standard/.
> - adds and updates information for multiple supported and unsupported
>   devices
> - translation updates for British English, French, German, Italian and
>   Ukranian
> - `scanimage`: documents the JPEG compression level
> - minor improvements documenting build requirements
>
> ### Build
>
> - removes the `--with-api-spec` option from `configure`
> - replaces the `--enable-avahi` option with an `--with-avahi` that
>   defaults to enabling if possible.  If the option is given and the
>   required support is not available, `configure` will exit with an
>   error.
> - improves checking for libjpeg version dependent requirements
> - has been made reproducable (#228)
> - fixes build issues on MinGW
>
> ### Miscellaneous
>
> - fixes OpenBSD hotplugd scriptlets (!375)
> - fixes support for unconfigured USB scanners on MacOS (#38)
> - various fixes and improvements in the USB record/replay support
> - fixes a file descriptor validation test in sanei_pio
> - adds missing include in sanei_usb
>
> In case you encounter any issues with this release, please contact the
> [sane-devel mailing list][2] or [submit an issue][3].
>
>  [2]: mailto:sane-devel@alioth-lists.debian.net
>  [3]: https://gitlab.com/sane-project/backends/issues
>
> Hope this helps,
> --
> Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
>  GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
>  Support Free Softwarehttps://my.fsf.org/donate
>  Join the Free Software Foundation  https://my.fsf.org/join
>
>



Re: [sane-devel] Canon Canoscan LiDE 400 support in Slackware

2020-07-17 Thread Rolf Bensch
Hi Valerio,

Am 17.07.20 um 17:21 schrieb valerio:
> [...]
> 
> root@anarres:~# scanimage -V
> scanimage (sane-backends) 1.0.30-914-g8bdd27d14; backend version 1.0.27
> 
> [...]

I can see your problem. You have a mixed SANE installation: Recent
frontend but ancient backend.

If you've installed SANE from source, however please follow "2.3.1. SANE
library" in INSTALL.linux from your sources folder or from here:
http://www.sane-project.org/docs.html . Then you should be able to
switch to recent backend.

Hope this helps.

Cheers,
Rolf



Re: [sane-devel] Canon Canoscan LiDE 400 support in Slackware

2020-07-17 Thread Rolf Bensch
Hi,

My LiDE 400 is working with recent SANE version 1.0.30-914-g8bdd27d14.
You need at lease SANE version 1.0.28.

Please check your installed SANE version with 'scanimage -V'.

This scanner has problems working via USB hosts. You need to connect it
directly to your computer. And I can scan via USB3. But it's not faster
than USB2. It's still connected as USB2 device.

Hopr this helps.

Cheers,
Rolf

Am 17.07.20 um 12:01 schrieb valerio:
>
>
> Il 11/01/20 15:00, Rich Shepard ha scritto:
>> On Sat, 11 Jan 2020, Kelly Price wrote:
>>
>>> You fall into the same category I do with my LiDE 220. It somehow just
>>> doesn't like USB 3.x ports. I think we were working on the issue still.
>>> Olaf can remind me (as it's early and coffee is just being had here).
>>
>> Kelly,
>>
>> I recall reading somewhere that the LiDE 400 required USB 3.x ports.
>> And,
>> when connected to a 3.0 port I could press the 'PDF' button on the front
>> edge of the scanner, which brought up a simple GUI interface, and was
>> able
>> to scan a page. So it must accept the USB 3.0 ports when used by
>> itself but
>> even after adding it to /etc/scan.c/genesis.conf it's not found by
>> 'scanimage -L'.
>>
>
> hi Rich,
> i have a canon lide 400 too, just bought...
> as for you, sane-find-scanner find the scanner, but not scanimage -L
> my scanner doesn't work, no button works: is normal?
>
> with lsusb -t, show this:
>
> /:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 1M
> /:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
>     |__ Port 1: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M
>     |__ Port 1: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M
> /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 1M
>     |__ Port 2: Dev 4, If 0, Class=Hub, Driver=hub/4p, 5000M
> /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
>     |__ Port 2: Dev 8, If 0, Class=Hub, Driver=hub/4p, 480M
>     |__ Port 3: Dev 9, If 0, Class=Vendor Specific Class, Driver=,
> 480M
>     |__ Port 3: Dev 9, If 1, Class=Vendor Specific Class, Driver=,
> 480M
>     |__ Port 3: Dev 9, If 2, Class=Vendor Specific Class, Driver=,
> 480M
> /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/3p, 1M
> /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/9p, 480M
>     |__ Port 9: Dev 3, If 0, Class=Printer, Driver=, 480M
>     |__ Port 9: Dev 3, If 1, Class=Vendor Specific Class, Driver=, 480M
>     |__ Port 9: Dev 3, If 2, Class=Mass Storage, Driver=usb-storage, 480M
>
> did you solve your problem?
>
> valerio
>
>
>
>>> As a work-around, I ended up putting this in my PC:
>>> https://smile.amazon.com/gp/product/B002RL8V7E/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8=1
>>>
>>
>> Did it solve the problem?
>>
>> I don't know about other Canon scanners but the LiDE 400 has no power
>> switch. It turns on when the USB cable is inserted.
>>
>> Regards,
>>
>> Rich
>>
>>
>
>



Re: [sane-devel] ADF support in SANE API

2020-06-29 Thread Rolf Bensch
Hi Alexander,

What is the difference between sane-airscan and Sane's escl backend? I'm
a little bit confused about that.

Cheers,
Rolf


Am 29.06.20 um 01:09 schrieb Alexander Pevzner:
> Hi Jürgen,
>
> I'm the author of sane-airscan, the eSCL/WSD backend for SANE
> (https://github.com/alexpevzner/sane-airscan)
>
> At some point, your AirSane was one of my knowledge sources to learn
> the eSCL protocol :-)
>
>> I’m trying to incorporate ADF support into a SANE frontend that I
>> have written
>> (github.com/SimulPiscator/AirSane).
>> The frontend is a web server that needs to report or announce the
>> scanner’s status to its clients.
>> Without an ADF, scanner status is just idle vs busy, and any error
>> state is only temporary.
>> With an ADF, the "ADF empty" state prevents scanning but needs to be
>> monitored such that
>> a client can know it may initiate a scan when it switches to "ADF
>> loaded".
>
> It would be enough, if in a case of empty ADF,
> ScanJobs will fail with, say, HTTP 409 status, and subsequent
> ScannerStatus will return the reason of this failure.
>
> Hardware scanners are not very accurate in reporting current ADF
> status, and actually all behave the slightly different way.
>
> My backend even doesn't bother to request ScannerStatus until ScanJobs
> or NextDocument fails.
>
>> So my question is: What can I do in order to monitor ADF status? Call
>> sane_start() after setting an empty
>> scan region, so the scan is done at the first call to sane_read()?
>> This is obviously not an option, as in the
>> case of a loaded feeder this would consume the first original rather
>> than just read ADF status.
>> Cancel the scan immediately after sane_start() using sane_cancel()? I
>> have no idea whether this is possible.
>
> There are actually no such API that will return ADF status before
> actual scan attempt.
>
> BTW, some hardware scanners scan all pages loaded into ADF when
> ScanJobs command is issues and requires multiple NextDocument to
> gather all scanned pages, while others scan only one page.
>



Re: [sane-devel] [janitorial] Feature freeze for 1.0.29 and call for translation updates

2020-06-26 Thread Rolf Bensch
Hi,

I just found new missing German translations, remembered Ulf's great
work and found the branch Olaf created early this year.

To keep the branch close to recent master, I merged it and created a new
merge request for outstanding work:
https://gitlab.com/sane-project/backends/-/merge_requests/487

@Ulf: You're welcome to go ahead checking German translations.

Hope this helps.

Cheers,
Rolf

Am 15.01.20 um 14:03 schrieb Olaf Meeuwissen:
> Hi Ulf,
>
> I see you have started going through *all* the messages, correcting even
> the ones that were not marked fuzzy or untranslated.  I'm not sure about
> merging this into release/1.0.29 unless it is completed.  You mentioned
> 15% done in the commit message and that you spend six hours on it in a
> mail to the list.  At that pace, there is probably still some 30 hours
> of work left :-o
>
> Perhaps it's better to just fix up the few fuzzies and untranslated ones
> and include that in release/1.0.29 and leave your full-blown revision
> for the one after 1.0.29?  I don't know what's best and am just thinking
> out loud.  Suggestions welcome.
>
> More follows inline.
>
> Ulf Zibis writes:
>
>> Hi.
>>
>> Am 13.01.20 um 19:58 schrieb Ralph Little:
>>> Hi Ulf,
>>>
>>> All appreciated.
>>> Yes! Partially updated translations are worthwhile having, in my opinion.
>>> At the very least, it would reduce the work of the next person to
>>> tackle it.
>>> Make sure that it is clear that the update is partial.
>> Here it is, see attachment.
> Thanks, I've put it on a "german-translation-revision" branch and made
> it clear that it's partial (via a rewrite of your commit message, hope
> you don't mind).
>
> # I had no idea though what "line 852" referred to.
>
>> This update is partial. Please review and note the po-comments in it (in
>> German for German reviewers).
> Not sure if these will survive the gettext tools.  There is a way to
> include translator oriented explanatory comments but these should be
> added in a special format in the source code files.
>
> # Just checked, looks like they survive at least a `make dist` which
> # updates the po/*.po files.
>
>> Regarding the formatting of the original:
>> It turned out, that only 2 lines were not line wrapped correctly to 75
>> chars. The cause were illegal chars for spaces ( "C2 A0" instead "20").
>> So I directly file the translation update.
> C2A0 is the UTF-8 encoding of U+00A0, the NO-BREAK SPACE.  I agree that
> it should not be used in the German translation for
>
>   #: backend/test.c:763
>   #, no-c-format
>   msgid ""
>   "(3/6) Bool test option that has hard select (and advanced) capabilities. "
>   "That means the option can't be set by the frontend but by the user (e.g. "
>   "by pressing a button at the device) and can't be read by the frontend."
>
> I also see that you removed the space between z. and B. (the
> abbreviation of "zum Beispiel", the German for e.g. :-) which is a good
> thing.  That was the only place where a NO-BREAK SPACE actually might
> have made sense.
>
> # I had five years of secondary school German :-/
> # I can still read most but anything else ... is a struggle at best.
>
> Hope this helps,
>
> P.S.: Enjoy your holiday!
> --
> Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
>  GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
>  Support Free Softwarehttps://my.fsf.org/donate
>  Join the Free Software Foundation  https://my.fsf.org/join
>
>



[sane-devel] PIXMA: Gamma Value & Table

2020-06-06 Thread Rolf Bensch
Hi PIXMA Users,

I just reworked gamma table calculation. Not all PIXMA scanners need
gamma tables. You can check if your scanner's capabilities with:

$ scanimage --help

So far internal gamma table generation was flawed. Now it produces
feasible results close to Canon's gamma table calculation.

Simply you can use the ideal gamma setting for your scanner, e.g. for
gamma = 2.5:

$ scanimage --gamma 2.5 > test.pnm

Now it becomes a little bit tricky. You can ignore following if you
don't need self generated gamma tables.

PIXMA backend uses two kinds of gamma tables. Old generation 1 scanners
need a table with 4096 * 8bit values. Newer scanners use gamma tables
with 1024 * 16bit values.

You can check your scanner's capabilities with '$ scanimage --help'. You
may see this for 1024 * 16bit tables:

$ scanimage --help
[...]
  Gamma:
    --custom-gamma[=(auto|yes|no)] [no]
    Determines whether a builtin or a custom gamma-table should be used.
    --gamma-table auto|0..65535,... [inactive]
    Gamma-correction table with 1024 entries. In color mode this option
    equally affects the red, green, and blue channels simultaneously
(i.e.,
    it is an intensity gamma table).
    --gamma auto|0.299988..5 [2.2]
    Changes intensity of midtones
[...]

"--gamma-table auto" creates the same table as simply using "--gamma".

Using "--gamma-table" needs "--custom-gamma=true", e.g.

$ scanimage --custom-gamma=yes --gamma-table [0]0-[1023]65535 > test.pnm

generates a linear gamma table from 0 ... 65525 for generation >= 2
scanners.

You can generate your own gamma table with 'gamma4scanimage', e.g.

$ scanimage --custom-gamma=yes --gamma-table `gamma4scanimage 2.2 0 1023
1023 65535` > test.pnm

generates a table close to our internal generated table with gamma=2.2.

Please read '$ man gamma4scanimage' for details.

Hope this helps.

Cheers,
Rolf





Re: [sane-devel] Getting a Canon TS9120 scanner to be recognized

2020-05-07 Thread Rolf Bensch
Hi Anton,

Am 25.04.20 um 00:37 schrieb Thierry HUCAHRD:
> Le 2020-04-24 22:40, Anton Khabbaz a écrit :
> [...]
>
> https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git
>> sudo add-apt-repository ppa:rolfbensch/sane-git
>> sudo apt-get update
>> sudo apt-get upgrade
> [...]

If possible, please test if pixma backend is working with your scanner
as USB device.

It would help updating our supported devices list.

Many thanks for your help in advance.

Cheers,
Rolf




Re: [sane-devel] Sane Test for Canon G3110 Series Scanner (Compatible with G3010 series)

2020-04-17 Thread Rolf Bensch
Hi Nubio,

scanimage still sees SANE version 1.0.27.

Please check used SANE version with:
$ scanimage -V

You should see 1.0.29 twice. If not, please go through all steps
described in INSTALL.linux

Hope this helps.

Cheers,
Rolf

Am 17.04.20 um 06:48 schrieb Núbio Cicarini Hott Júnior:
> Hi Rolf Bensch,
> 
> You are right, the version supported by Gentoo is 1.0.27 (it is without
> a maintainer to update the program). This is the difference with Fedora
> which uses sane 1.0.29. So I compiled Sane-Backends 1.0.29 with an
> ebuild from an overlay Gentoo repository with support for pixma backend,
> USB and zeroconf. But I still couldn't identify the scanner over the
> network. I have Avahi installed and configured and my firewall is
> disabled. I tried automatic identification with the result:
> 
>> /$ env SANE_DEBUG_PIXMA=21 SANE_DEBUG_BJNP=5 scanimage -L/
>> [01:25:34.091753] [sanei_debug] Setting debug level of pixma to 21.
>> [01:25:34.091796] [pixma] pixma is compiled without pthread support.
>> [01:25:34.091833] [pixma] pixma version 0.27.0
>> [01:25:34.270250] [sanei_debug] Setting debug level of bjnp to 5.
>> *[01:25:34.270308]**[bjnp] sanei_bjnp_find_devices, pixma backend
>> version: 0.27.0*
>> [01:25:34.270330] [bjnp] sanei_bjnp_find_devices: Configuration file
>> is empty, No devices specified.
>> [01:25:34.270343] [bjnp] sanei_bjnp_find_devices: Start auto-detection.
>> [01:25:34.270496] [bjnp] prepare_socket: lo is not a valid IPv4
>> interface, skipping...
>> [01:25:34.270535] [bjnp] prepare_socket: enp3s0 is IPv4 capable,
>> sending broadcast, socket = 9
>> [01:25:34.270556] [bjnp] prepare_socket: lo is not a valid IPv6
>> interface, skipping...
>> [01:25:34.270587] [bjnp] prepare_socket: enp3s0 is IPv6 capable,
>> sending broadcast, socket = 10
>> [01:25:34.270611] [bjnp] prepare_socket: enp3s0 is IPv6 capable,
>> sending broadcast, socket = 11
>> [01:25:34.791550] [bjnp] sanei_find_devices: scanner discovery finished...
>> [01:25:34.791585] [pixma] pixma_find_scanners() found 0 devices
>>
>> No scanners were identified. If you were expecting something different,
>> check that the scanner is plugged in, turned on and detected by the
>> sane-find-scanner tool (if appropriate). Please read the documentation
>> which came with this software (README, FAQ, manpages).
> 
> And also manual identification by editing pixma.conf:
> 
> 
>> /$ env SANE_DEBUG_PIXMA=21 SANE_DEBUG_BJNP=5 scanimage -L/
>> [01:32:35.178137] [sanei_debug] Setting debug level of pixma to 21.
>> [01:32:35.178194] [pixma] pixma is compiled without pthread support.
>> *[01:32:35.178240] [pixma] pixma version 0.27.0*
>> [01:32:35.357159] [sanei_debug] Setting debug level of bjnp to 5.
>> [01:32:35.357205] [bjnp] sanei_bjnp_find_devices, pixma backend
>> version: 0.27.0
>> [01:32:35.357222] [bjnp] sanei_bjnp_find_devices: Adding scanner from
>> pixma.conf: bjnp://192.168.0.10:8612/timeout=3000
>> *[01:32:35.357244] [bjnp]
>> bjnp_allocate_device(bjnp://192.168.0.10:8612/timeout=3000) 0*
>> [01:32:40.376351] [bjnp] get_scanner_name: Name for 192.168.0.10 not
>> found : Name or service not known
>> [01:32:40.376430] [bjnp] setup_udp_socket: Setting up a UDP socket,
>> dest: 192.168.0.10  port 8612
>> [01:32:40.387641] [bjnp] udp_command: ERROR - recv failed: Connection
>> refused[01:32:40.392966] [bjnp] udp_command: ERROR - recv failed:
>> Connection refused[01:32:40.397503] [bjnp] udp_command: ERROR - recv
>> failed: Connection refused[01:32:40.397524] [bjnp] udp_command: ERROR
>> - no data received (timeout = 3000)
>> [01:32:40.397531] [bjnp] bjnp_init_device_structure: Cannot read mac
>> address, skipping this scanner
>> [01:32:40.397539] [bjnp] bjnp_allocate_device: Cannot access scanner,
>> skipping![01:32:40.397545] [bjnp] add_scanner: Scanner at
>> bjnp://192.168.0.10:8612/timeout=3000 can not be added
>> [01:32:40.397551] [bjnp] sanei_bjnp_find_devices: Added all specified
>> scanners.
>> [01:32:40.397558] [bjnp] sanei_bjnp_find_devices: Start auto-detection.
>> [01:32:40.397634] [bjnp] prepare_socket: lo is not a valid IPv4
>> interface, skipping...
>> [01:32:40.397651] [bjnp] prepare_socket: enp3s0 is IPv4 capable,
>> sending broadcast, socket = 9
>> [01:32:40.397658] [bjnp] prepare_socket: lo is not a valid IPv6
>> interface, skipping...
>> [01:32:40.397674] [bjnp] prepare_socket: enp3s0 is IPv6 capable,
>> sending broadcast, socket = 10
>> [01:32:40.397685] [bjnp] prepare_socket: enp3s0 is IPv6 capable,
>> sending broadcast, socket = 11
>> [01:32:40.918476] [bjnp] sanei_find_devices: scanner

Re: [sane-devel] Sane Test for Canon G3110 Series Scanner (Compatible with G3010 series)

2020-04-15 Thread Rolf Bensch
Hi Nubio,

For your scanner you need at least SANE version 1.0.28.

Please check the version installed on your machine.

If Gentoo Linux doesn't support the SANE version above or recent version
1.0.29, you need to install SANE from source, as described in
INSTALL.linux (http://www.sane-project.org/docs.html).

Hope this helps.

Cheers,
Rolf


Am 10.04.20 um 18:38 schrieb Ralph Little:
> Hi
> Looking on Canon's driver section, it looks like they have support for
> Linux for scanning. Have you tried that?
>
> Cheers
> Ralph
>
>
> On Fri, Apr 10, 2020, 06:07 Núbio Cicarini Hott Júnior,
> mailto:nubiocicar...@gmail.com>> wrote:
>
> Hello Sane community!
>
> I have a Canon G3110 multi-functional peripheral (Compatible with
> G3010 series - USB and WiFi) connected via USB and network to an
> updated Gentoo Linux system with sane-backend installed and
> compiled with USB (USE) support and PIXMA drive. However, the
> scanner is not detected with scanimage -L. On the other hand,
> sane-find-scanner -q detects the scanner via USB. I tried to make
> corrections to the udev rules but that failed. The same scanner
> worked fine with Sane via USB on the Fedora Live CD. As peripheral
> support has not yet been tested, with the help of the Sane
> community, I am willing to do so.
>
> Thankful,
>
> Nubio Cicarini,
>
> Social scientist,
>
> Brazil.
>


Re: [sane-devel] Canon PIXMA MX280

2020-03-31 Thread Rolf Bensch
Hi Ralph,

In the sources is a comment that 1200 dpi scans are not working.

This is the old thread:
https://alioth-lists.debian.net/pipermail/sane-devel/2012-May/029805.html

Hope this helps.

Cheers,
Rolf


Am 31.03.20 um 00:30 schrieb Ralph Little:
> Hi,
> Oh Gosh, I'm sorry, that was a bit confusing. I put the wrong model in
> the subject.
> This is for the PIXMA MP280. :)
>
> I picked it up anyway. I will put it through its paces sometime over
> the next few days.
> No ADF so testing is going to be a lot simpler I suspect.
>
> Cheers,
> Ralph
>
> On Mon, Mar 30, 2020 at 10:48 AM Thierry HUCAHRD
> mailto:thie...@ordissimo.com>> wrote:
>
> Le 2020-03-30 19:46, Thierry HUCAHRD a écrit :
> > Le 2020-03-30 18:45, Ralph Little a écrit :
> >> Hi,
> >> This machine is listed just as "Good" not "Complete" on the
> supported
> >> page?
> >> Does anyone know why?
> I got confused with the MF280, sorry!
> > Lists of devices tested :
> >
> 
> https://gitlab.com/sane-project/backends/uploads/8d2197f857b875334114b4824d532dc1/device-tested.csv
> > 173 positive test of this device in USB (It does not provide
> network).
> > The test performed is a black and white scan and a color scan.
> > Each test is performed in low and high quality.
> >>
> >> I have the opportunity to obtain one of these rather cheaply if
> it is
> >> worthwhile.
> >>
> >> Cheers,
> >> Ralph
>


Re: [sane-devel] AXIS 1650 support for Pixma backend - work in progress

2020-03-20 Thread Rolf Bensch
Hi Ondrej,

Many thanks for your message.

Am 20.03.20 um 18:44 schrieb Ondrej Zary:
> Hello,
> I have a Canon MF5730 MFP with external AXIS 1650 print server:
> https://www.axis.com/techsup/prtsrv/axis_1650/index.htm
>
> I've reverse engineered the print data format and wrote CUPS driver couple of
> years ago so printing works fine.
>
> Now it's time for scanning. Thanks to SANE and Pixma backend, scanning works
> when connected directly using the USB port (except for the buttons).
>
> The scan mode of AXIS 1650 works as USB-over-TCP.
> The Windows AXIS Scan Client discovers and identifies local scan-capable print
> servers using a simple UDP-based WIMP protocol:
> https://www.axis.com/techsup/prtsrv/axis_1650/technotes_1650.htm#2
>
> Then it connects to the selected print server using TCP, locking it for the
> current user, and creates a virtual USB device so the Canon driver could be
> used to scan.
>
> I've based AXIS support for Pixma backend on the BJNP code.
> What works:
>  - autodetection
>  - connect
>  - scan starts
> What does not:
>  - data gets messed up somehow
>  - scan does not finish successfully
>  - set_timeout, interrupts not implemented
>
>
I just created a merge request here:
https://gitlab.com/sane-project/backends/-/merge_requests/361.

Please check if your code still is working. I needed to fix some issues
while merging to recent master branch.

Please follow the merge request and provide your fixes there.

Hope this helps.

Cheers,
Rolf

  *


  *


!361 

  *


  *


!361 



Re: [sane-devel] escl backend and ippusbxd

2020-03-20 Thread Rolf Bensch
Many thanks for your explanations.

Rolf

Am 20.03.20 um 12:38 schrieb Till Kamppeter:
> On 20/03/2020 12:29, Thierry HUCAHRD wrote:
>> Hi,
>> No, this has nothing to do with eSCL.
>> ippusbxd allows you to use escl backends on the usb.
>> The problem is that sane doesn't detect the scanner on the usb
>> anymore, so PIXMA can't be used anymore.
>> I don't know if ippusbxd solved the problem?
>> in any case if the device has a usb driver, ippusbxd is not necessary!
>
> On the other side if you have ippusbxd or ipp-usb running you do not
> need one of the device-specific USB drivers like pixma, as
> IPP-over-USB is designed for driverless operation of multi-function
> devices and so every device which supports IPP-over-USB also supports
> printing and scanning using manufacturer-independent standards, for
> scanning currenly usually eSCL. So with an IPP-over-USB daemon
> (ippusbxd or ipp-usb) running you are supposed to scan with an eSCL
> backend (escl or airscan). This way multi-function devices which are
> not from HP (HPLIP) or from Canon (pixma) scan with free software.
>
>    Till
>
>



Re: [sane-devel] Canon imageClass MF4770n

2020-03-20 Thread Rolf Bensch
Hi,

I don't look through Canon's marketing policy how they name their
devices. It's not such easy as it looks like: EU = 5, US = 7.

E.g.: For Canon imageClass MF4700 Series I found these models:
MF4720, MF4730, MF4750, MF4770 and MF4780 (1x Asia, 3x Europe, 1x US).

For other models Canon is also playing with the suffixes:
e.g. amongst others i-SENSYS MF210 Series provides these scanners:
MF211, MF213w, MF215, MF217w. Some Asian, Europe and US.

Some time ago I asked me the question, how to identify all available
scanner family members all over the world. I stopped this after
searching a small amount of scanners on Canon's international websites.
It's a real torture.

I decided to follow Canon's policy for their scanner drivers, to use the
family names, e.g. Canon imageClass MF4700 Series.

Adding some explanation in pixma scanners section header
(http://www.sane-project.org/lists/sane-backends-cvs.html#S-PIXMA) could
help, what 'Series' stands for. Or using a 'x' could also help, e.g.
'Canon imageClass MF47x0', without 'Series' and suffixes but with an
explanation in the section header.

What do you think about this?

Cheers,
Rolf



Am 20.03.20 um 02:28 schrieb Olaf Meeuwissen:
> Hi Ralph,
> 
> Ralph Little writes:
> 
>> Hi,
>> I notice that we have an entry for my AIO in the Supported Scanners page
>> under the European name of i-SENSYS MF4700 series (which is how we announce
>> it in the pixma backend). However, over here in the Americas, we would not
>> recognise that.
>>
>> Would there be any objection if I also add a cross reference to it from
>> Canon imageClass MF4770n so that people coming to the list looking for this
>> machine would be able to find it? I notice that we do for other machines.
> 
> No objections here.  A long while back I've done the same for a large
> number of EPSON devices.  The idea is that people can actually find
> their device in the lists (and not everybody is knowledgeable enough to
> search on USB vendor/product IDs).
> 
> Hope this helps,
> --
> Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
>  GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
>  Support Free Softwarehttps://my.fsf.org/donate
>  Join the Free Software Foundation  https://my.fsf.org/join
> 



[sane-devel] escl backend and ippusbxd

2020-03-20 Thread Rolf Bensch
Hello,

I've seen that some people need to purge |ippusbxd| before they can use
their scanner with escl backend (e.g.
https://gitlab.com/sane-project/backends/-/issues/256#note_307051019).

Is this a fix rule? Then I'd like to add a break dependency to
|ippusbxd| in my Ubuntu ppa.

Cheers,
Rolf



Re: [sane-devel] Where do I download the software for a Canon Pixma TR4520?

2020-03-19 Thread Rolf Bensch
Hi Alexander,

SANE still supports eSCL since release 1.0.29. Please have a look at the
escl backend.

Hope this helps.

Cheers,
Rolf


Am 18.03.20 um 05:35 schrieb Alexander Pevzner:
> Hi Craig,
>
> On 3/18/20 1:02 AM, Craig Orput wrote:
>> I found the SANE site and it says that my printer, a Canon PIXMA
>> TR4520 should work but it's not been tested. The chart for the PIXMA
>> TR4500 series says I need version 0.27.3. But I don't know where to
>> find this to download or how to install it.
>
> There is also alternative driver, not (yet?) included into SANE:
>
> https://github.com/alexpevzner/sane-airscan
>
> I provide binary packages for many popular distros:
>
> https://software.opensuse.org//download.html?project=home%3Apzz=sane-airscan
>
>



Re: [sane-devel] Canon ImageCLASS MF743cdw

2020-03-19 Thread Rolf Bensch
Hi Chris,

Your scanner should work via USB or over network with the escl backend.
Please check the used SANE version:
$ scanimage -V
scanimage (sane-backends) 1.0.29-290-g787b89da; backend version 1.0.29

Please have a look here:
https://gitlab.com/sane-project/backends/-/issues/183

Hope this helps.

Cheers,
Rolf


Am 18.03.20 um 02:48 schrieb Chris Richards:
>
> Greetings all,
>
> I just bought this AIO Canon.  It has both USB and Network, and I have
> it on the network.  So far it's been doing what I need, but I have to
> use a Windows VM to talk to the scanner.  I've captured network
> packets when using the windows VM, and it appears to be using ports
> 8510/8512.  If I use the SANE Pixma configuration file to talk to it,
> I can see it sending packets over the network to the printer, but it
> fails to ID the printer.
>
> The Windows INF file seems to indicate driver support for the following:
>
> "Canon MF745/746"=MF746C_USB,USB\VID_04A9_27FA_00
> "Canon MF742/744"=MF742C_USB,USB\VID_04A9_27FB_00
> "Canon MF741/743"=MF741C_USB,USB\VID_04A9_27FC_00
> "Canon MF645"=MF645C_USB,USB\VID_04A9_27FD_00
> "Canon MF642/643/644"=MF642C_USB,USB\VID_04A9_27FE_00
> "Canon MF641"=MF641C_USB,USB\VID_04A9_27FF_00
> "Canon MF745"=MF745C_USB,USB\VID_04A9_2800_00
> "Canon MF642/644"=MF644C_USB,USB\VID_04A9_2801_00
> "Canon MF Scan"=MFSCN_NW,CANON_MFNP
> "Canon MF745/746"=MF746C_NW,CANON_MFNP
> "Canon MF742/744"=MF742C_NW,CANON_MFNP
> "Canon MF741/743"=MF741C_NW,CANON_MFNP
> "Canon MF645"=MF645C_NW,CANON_MFNP
> "Canon MF642/643/644"=MF642C_NW,CANON_MFNP
> "Canon MF641"=MF641C_NW,CANON_MFNP
> "Canon MF745"=MF745C_NW,CANON_MFNP
> "Canon MF642/644"=MF644C_NW,CANON_MFNP
>
>
> When I plug the printer in via USB and run sane-find-scanner, it gives
> me the following:
>
> 
> bLength 18
> bDescriptorType 1
> bcdUSB 2.10
> bDeviceClass 0
> bDeviceSubClass 0
> bDeviceProtocol 0
> bMaxPacketSize0 64
> idVendor 0x04A9
> idProduct 0x27FC
> bcdDevice 0.00
> iManufacturer 1 (Canon)
> iProduct 2 (MF741C/743C)
> iSerialNumber 3 (f4a997cd62b0)
> bNumConfigurations 1
> 
> bLength 9
> bDescriptorType 2
> wTotalLength 131
> bNumInterfaces 3
> bConfigurationValue 1
> iConfiguration 0 ()
> bmAttributes 192 (Self-powered)
> MaxPower 2 mA
> 
> 
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 0
> bNumEndpoints 3
> bInterfaceClass 255
> bInterfaceSubClass 0
> bInterfaceProtocol 255
> iInterface 0 ()
> 
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x03 (out 0x03)
> bmAttributes 2 (bulk)
> wMaxPacketSize 512
> bInterval 0 ms
> bRefresh 0
> bSynchAddress 0
> 
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x84 (in 0x04)
> bmAttributes 2 (bulk)
> wMaxPacketSize 512
> bInterval 0 ms
> bRefresh 0
> bSynchAddress 0
> 
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x85 (in 0x05)
> bmAttributes 3 (interrupt)
> wMaxPacketSize 64
> bInterval 11 ms
> bRefresh 0
> bSynchAddress 0
> 
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 1
> bNumEndpoints 2
> bInterfaceClass 7
> bInterfaceSubClass 1
> bInterfaceProtocol 4
> iInterface 0 ()
> 
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x03 (out 0x03)
> bmAttributes 2 (bulk)
> wMaxPacketSize 512
> bInterval 0 ms
> bRefresh 0
> bSynchAddress 0
> 
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x84 (in 0x04)
> bmAttributes 2 (bulk)
> wMaxPacketSize 512
> bInterval 0 ms
> bRefresh 0
> bSynchAddress 0
> 
> 
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 1
> bAlternateSetting 0
> bNumEndpoints 2
> bInterfaceClass 7
> bInterfaceSubClass 1
> bInterfaceProtocol 2
> iInterface 0 ()
> 
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x01 (out 0x01)
> bmAttributes 2 (bulk)
> wMaxPacketSize 512
> bInterval 0 ms
> bRefresh 0
> bSynchAddress 0
> 
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x82 (in 0x02)
> bmAttributes 2 (bulk)
> wMaxPacketSize 512
> bInterval 0 ms
> bRefresh 0
> bSynchAddress 0
> 
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 1
> bAlternateSetting 1
> bNumEndpoints 2
> bInterfaceClass 7
> bInterfaceSubClass 1
> bInterfaceProtocol 4
> iInterface 0 ()
> 
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x01 (out 0x01)
> bmAttributes 2 (bulk)
> wMaxPacketSize 512
> bInterval 0 ms
> bRefresh 0
> bSynchAddress 0
> 
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x82 (in 0x02)
> bmAttributes 2 (bulk)
> wMaxPacketSize 512
> bInterval 0 ms
> bRefresh 0
> bSynchAddress 0
> 
> 
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 2
> bAlternateSetting 0
> bNumEndpoints 2
> bInterfaceClass 7
> bInterfaceSubClass 1
> bInterfaceProtocol 2
> iInterface 0 ()
> 
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x06 (out 0x06)
> bmAttributes 2 (bulk)
> wMaxPacketSize 512
> bInterval 0 ms
> bRefresh 0
> bSynchAddress 0
> 
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x87 (in 0x07)
> bmAttributes 2 (bulk)
> wMaxPacketSize 512
> bInterval 0 ms
> bRefresh 0
> bSynchAddress 0
>
> 
> could not claim USB device interface
> found 

Re: [sane-devel] Canon i-sensys MF720C Series is not supported by sane-pixma backend

2020-03-11 Thread Rolf Bensch
Hi Petr,

Today I added your scanner to SANE sources.

You can rebuild SANE from sources now, or if you have Ubuntu or an
Ubuntu clone, you can update SANE from my ppa
(https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git) tomorrow.

If you might have any problems, please create an issue here:
https://gitlab.com/sane-project/backends/-/issues . It's easier to use
the issue tracker than using the mailing list, if we need to exchange
any logfiles.

Please also report when your scanner is working.

Hope this helps.

Cheers,
Rolf

Am 10.03.20 um 22:48 schrieb Petr Cibulka:
>
> Dear developers,
>
> I have a Canon i-sensys MF724Cdw multifunction device, which is
> recognized by |sane-find-scanner| as:
>
> *|USB scanner (vendor=0x04a9 [Canon,Inc.], product=0x27b5 [MF720C
> Series]) at libusb:001:005|*
>
> Unfortunately, it is not recognized and supported by SANE.
>
> I have investigated in the supported device list and found the most of
> Canon devices is supported by the |sane-pixma| backend, namely
> i-SENSYS MF730 Series (0x04a9/0x27e4) has status Good (as Ethernet and
> WiFi have not been tested yet).
>
> Neither i-SENSYS MF720C Series nor i-sensys MF724Cdw (0x04a9/0x27b5)
> is mentioned in the compatibility table, so that no backend supports
> them at the moment.
>
> What is necessary to do to support these model?
>
> I guess it should be supported by |sane-pixma| backend as well,
> perhaps only its ID is missing in the backend code.
>
> I have tried to find some contact details to |sane-pixma| backend
> authors - no success (lot of broken links or pages updated ten years ago).
>
> I am not sure if |sane-pixma| backend is maintained in general.
>
> I can contribute with testing if necessary.
>
> Thanks for any info and/or contact,
>
> Petr
>


Re: [sane-devel] Compile Sane from source

2020-03-10 Thread Rolf Bensch
Hi Ismet,

For Ubuntu you can use my ppa, if you don't want to edit some source
files and need to biuld SANE by yourself:
https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git .

Hope this helps.

Cheers,
Rolf


Am 10.03.20 um 10:30 schrieb Ismet Bahadir:
>
> Hi All,
>
>  
>
> I’m trying to compile Sane from source but I’m getting errors. These
> are the references I follow:
>
>  
>
>  1. http://www.sane-project.org/INSTALL.linux
>
>  
>
> I download the source code but /autogen/ and /configure/ gives error:
>
>  
>
> ubuntu@ubuntu:~/backends$ ./autogen.sh
>
> autoreconf: Entering directory `.'
>
> autoreconf: running: autopoint --force
>
> Can't exec "autopoint": No such file or directory at
> /usr/share/autoconf/Autom4te/FileUtils.pm line 345.
>
> autoreconf: failed to run autopoint: No such file or directory
>
> autoreconf: autopoint is needed because this package uses Gettext
>
> patching file ./ltmain.sh
>
> Hunk #1 FAILED at 9708.
>
> Hunk #2 FAILED at 10166.
>
> 2 out of 2 hunks FAILED -- saving rejects to file ./ltmain.sh.rej
>
> patch:  Can't reopen file ./ltmain.sh : No such file or directory
>
> patching file ./po/Rules-quot
>
> Hunk #1 FAILED at 22.
>
> patch:  Can't reopen file ./po/Rules-quot : No such file or directory
>
> configure.ac:60: error: required file './ar-lib' not found
>
> configure.ac:60:   'automake --add-missing' can install 'ar-lib'
>
> configure.ac:42: error: required file './compile' not found
>
> configure.ac:42:   'automake --add-missing' can install 'compile'
>
> configure.ac:61: error: required file './config.guess' not found
>
> configure.ac:61:   'automake --add-missing' can install 'config.guess'
>
> configure.ac:67: error: required file './config.rpath' not found
>
> configure.ac:61: error: required file './config.sub' not found
>
> configure.ac:61:   'automake --add-missing' can install 'config.sub'
>
> configure.ac:14: error: required file './install-sh' not found
>
> configure.ac:14:   'automake --add-missing' can install 'install-sh'
>
> configure.ac:61: error: required file './ltmain.sh' not found
>
> configure.ac:14: error: required file './missing' not found
>
> configure.ac:14:   'automake --add-missing' can install 'missing'
>
> Makefile.am: error: required file './INSTALL' not found
>
> Makefile.am:   'automake --add-missing' can install 'INSTALL'
>
> configure.ac:67: error: required file './ABOUT-NLS' not found
>
> backend/Makefile.am:33: warning: '%'-style pattern rules are a GNU
> make extension
>
> backend/Makefile.am:37: warning: '%'-style pattern rules are a GNU
> make extension
>
> backend/Makefile.am: error: required file './depcomp' not found
>
> backend/Makefile.am:   'automake --add-missing' can install 'depcomp'
>
> parallel-tests: error: required file './test-driver' not found
>
> parallel-tests:   'automake --add-missing' can install 'test-driver'
>
> autoreconf: automake failed with exit status: 1
>
>  
>
>  
>
> ubuntu@ubuntu:~/backends$ ./configure
>
> configure: error: cannot find install-sh, install.sh, or shtool in "."
> "./.." "./../.."
>
>  
>
>  2. https://help.ubuntu.com/community/CompileSaneFromSource
>
>  
>
> This reference directs to a wrong source code download page. If I use
> the previous source, I get the same error.
>
>  
>
> How can I compile the Sane source on 32 bit Ubuntu?
>
>  
>
> Thanks
>


Re: [sane-devel] Canon TR4529 (PIXMA TR4500 Series)

2020-02-25 Thread Rolf Bensch
Hi Jean-Marc,

Am 23.02.20 um 21:45 schrieb Jean-Marc Spaggiari:
> Hi Rolf,
> 
> Thanks for the guidance. Build time is not an issue. So I built with all
> the backends. I applied your patch, but just to be 100% sure, it removes
> 1200 and replaces it by 600?
> 
> I don't have any preference for any tool. xsane vs scanimage vs any
> other. I just need one that works ;) I used scanimage because it was in
> the frontend folder I just built and I was able to validate the version.
> 
> The following command worked very well:
> scanimage --resolution 300 --format=jpeg > image.jpg
> 
> However trying to scan with 1200 fails:
> jmspaggiari@t460s:~/backends$ ./frontend/scanimage --resolution 1200
> --format=jpeg > image.jpg
> scanimage: rounded value of resolution from 1200 to 600
> 
> And the output image is 600dpi.

Yes, this is correct. Pixma backend supports only symmetric scan
resolutions, so the highest available is 600dpi for your scanner.

> 
> When trying gscan2pdf, even if the printer is connected on the USB port,
> it shows me 2 scans with IP address, so I'm not sure it's taking the one
> on the USB port. Also, how can I make sure gscan2pdf is using the sane
> version I just build and deployed and not the one in the system? :-/

Please have a look at INSTALL.linux, "2.3.1. SANE library". Maybe you're
using SANE installed from your distro's repository. After this gscan2pdf
should also see the usb scanner.

> 
> Thanks,
> 
> JMS

You're welcome.

Cheers,
Rolf



Re: [sane-devel] Canon TR4529 (PIXMA TR4500 Series)

2020-02-23 Thread Rolf Bensch
Hi,

Installation is described in INSTALL.linux, which comes with the source
files (or read here: http://www.sane-project.org/docs.html). Please give
me a short note if anything is missing there.

You can reduce build time by selecting the desired backends, e.g. for
escl and pixma:
$ ./configure --enable-avahi BACKENDS="escl pixma"

Due to a bug you need to manually enable avahi for escl.

I prefer using xsane as frontend. If you still want to use scanimage,
here are some examples for simple usage:
$ scanimage --help
$ scanimage > image.pnm
$ scanimage --resolution 300 --format=jpeg > image.jpg

Redirecting debug info to a file:
$ SANE_DEBUG_PIXMA=11 scanimage 2> scan.log > image.pnm
$ SANE_DEBUG_PIXMA=11 xsane 2> scan.log
Please have a look at the man pages if you want to see debug infos from
other backends than pixma.

Please try my previously provided patch for the pixma backend and test
scanning 1200 dpi images. To do this you should connect your scanner on USB.

escl is a concurrent backend providing AirScan/eSCL network protocol.
For older Canon scanners you can still use pixma backend with BJNP and
MFNP protocol support. For new scanners Canon switched to AirScan/eSCL
protocol and for these scanners you need escl backend.

Hope this helps.

Cheers,
Rolf


Am 21.02.20 um 22:58 schrieb Jean-Marc Spaggiari:
> @Alexander Thanks. I was able to install it.  How do I try it?
> @Thierry Do I download and build this new branch? Does it includes the
> patch that Rolf send before?
> 
> Le ven. 21 févr. 2020 à 16:53, Thierry HUCAHRD  > a écrit :
> 
> Le 2020-02-21 22:32, Jean-Marc Spaggiari a écrit :
> > Let me know if you want a SSH access to a machine with scanner
> > access...
> I fixed the geometry bp.
> https://gitlab.com/sane-project/backends/-/tree/escl-load-conf-segfault
> >
> > Le ven. 21 févr. 2020 à 16:23, Thierry HUCAHRD
> > mailto:thie...@ordissimo.com>> a écrit :
> >
> >> Le 2020-02-21 21:54, Jean-Marc Spaggiari a écrit :
> >>> Interestingly, I don't see the input option anymore :-/ This will
> >>> drive me crazy ;)
> >>
> >> This is not normal, by default it shouldn't be 0.
> >> I'll correct it, but I have to reproduce it.
> >>
> >> scanimage: rounded value of br-x from 0 to 0
> >> scanimage: rounded value of br-y from 0 to 0
> >>
> >>>
> >>> ./frontend/scanimage -d 'escl:http://192.168.23.130:80'
> >> --all-options
> >>> Output format is not set, using pnm as a default.
> >>> Capability : [image/jpeg]
> >>> Capability : [image/jpeg]
> >>> Capability : [image/jpeg]
> >>> Capability : [image/jpeg]
> >>> scanimage: rounded value of br-x from 0 to 0
> >>> scanimage: rounded value of br-y from 0 to 0
> >>>
> >>> All options specific to device `escl:http://192.168.23.130:80':
> >>> Scan mode:
> >>> --mode Gray|Color [Gray]
> >>> Selects the scan mode (e.g., lineart, monochrome, or
> >> color).
> >>> --resolution 75|100|150|200|300|600dpi [75]
> >>> Sets the resolution of the scanned image.
> >>> --preview[=(yes|no)] [no]
> >>> Request a preview-quality scan.
> >>> --preview-in-gray[=(yes|no)] [no]
> >>> Request that all previews are done in monochrome mode.  On
> >> a
> >>> three-pass scanner this cuts down the number of passes to
> >> one
> >>> and on a
> >>> one-pass scanner, it reduces the memory requirements and
> >>> scan-time of
> >>> the preview.
> >>> Geometry:
> >>> -l 0.0846558..215.9mm [0]
> >>> Top-left x position of scan area.
> >>> -t 0.0846558..297.011mm [0]
> >>> Top-left y position of scan area.
> >>> -x 0.0846558..215.9mm [0]
> >>> Width of scan-area.
> >>> -y 0.0846558..297.011mm [0]
> >>> Height of scan-area.
> >>>
> >>> Le ven. 21 févr. 2020 à 15:43, Jean-Marc Spaggiari
> >>> mailto:jean-m...@spaggiari.org>> a écrit :
> >>>
>  So I can delete my sane-escl folder?
> 
>  Here is the output for both default debian installed and locally
>  build:
>  (base) jmspaggi@precision5530:~/backends$ scanimage -d
>  'escl:http://192.168.23.130:80' -x 215 -y 296 -T
>  Output format is not set, using pnm as a default.
>  scanimage: scanning image of size 637x877 pixels at 24 bits/pixel
>  scanimage: acquiring RGB frame, 8 bits/sample
>  scanimage: reading one scanline, 1911 bytes... PASS
>  scanimage: reading one byte... PASS
>  scanimage: stepped read, 2 bytes... PASS
>  scanimage: stepped read, 4 bytes... PASS
>  scanimage: stepped read, 8 bytes... PASS
>  scanimage: stepped read, 16 bytes... PASS
>  scanimage: stepped read, 32 bytes... PASS
>  scanimage: stepped read, 64 bytes... PASS
>  scanimage: stepped read, 128 bytes... PASS
>  scanimage: stepped read, 256 bytes... PASS

Re: [sane-devel] Canon TR4529 (PIXMA TR4500 Series)

2020-02-23 Thread Rolf Bensch
Hi Jean-Marc,

With my patch please also test scanning from ADF and send me a logfile.

For ADF scans I prefer gscan2pdf:
$ SANE_DEBUG_PIXMA=11 gscan2pdf 2> tr4500-adf.log

These tests are for the pixma backend using USB connection.

Many thanks for your help.

Cheers,
Rolf


Am 23.02.20 um 15:18 schrieb Rolf Bensch:
> Hi,
>
> Installation is described in INSTALL.linux, which comes with the source
> files (or read here: http://www.sane-project.org/docs.html). Please give
> me a short note if anything is missing there.
>
> You can reduce build time by selecting the desired backends, e.g. for
> escl and pixma:
> $ ./configure --enable-avahi BACKENDS="escl pixma"
>
> Due to a bug you need to manually enable avahi for escl.
>
> I prefer using xsane as frontend. If you still want to use scanimage,
> here are some examples for simple usage:
> $ scanimage --help
> $ scanimage > image.pnm
> $ scanimage --resolution 300 --format=jpeg > image.jpg
>
> Redirecting debug info to a file:
> $ SANE_DEBUG_PIXMA=11 scanimage 2> scan.log > image.pnm
> $ SANE_DEBUG_PIXMA=11 xsane 2> scan.log
> Please have a look at the man pages if you want to see debug infos from
> other backends than pixma.
>
> Please try my previously provided patch for the pixma backend and test
> scanning 1200 dpi images. To do this you should connect your scanner on USB.
>
> escl is a concurrent backend providing AirScan/eSCL network protocol.
> For older Canon scanners you can still use pixma backend with BJNP and
> MFNP protocol support. For new scanners Canon switched to AirScan/eSCL
> protocol and for these scanners you need escl backend.
>
> Hope this helps.
>
> Cheers,
> Rolf
>
>
> Am 21.02.20 um 22:58 schrieb Jean-Marc Spaggiari:
>> @Alexander Thanks. I was able to install it.  How do I try it?
>> @Thierry Do I download and build this new branch? Does it includes the
>> patch that Rolf send before?
>>
>> Le ven. 21 févr. 2020 à 16:53, Thierry HUCAHRD > <mailto:thie...@ordissimo.com>> a écrit :
>>
>> Le 2020-02-21 22:32, Jean-Marc Spaggiari a écrit :
>> > Let me know if you want a SSH access to a machine with scanner
>> > access...
>> I fixed the geometry bp.
>> https://gitlab.com/sane-project/backends/-/tree/escl-load-conf-segfault
>> >
>> > Le ven. 21 févr. 2020 à 16:23, Thierry HUCAHRD
>> > mailto:thie...@ordissimo.com>> a écrit :
>> >
>> >> Le 2020-02-21 21:54, Jean-Marc Spaggiari a écrit :
>> >>> Interestingly, I don't see the input option anymore :-/ This will
>> >>> drive me crazy ;)
>> >>
>> >> This is not normal, by default it shouldn't be 0.
>> >> I'll correct it, but I have to reproduce it.
>> >>
>> >> scanimage: rounded value of br-x from 0 to 0
>> >> scanimage: rounded value of br-y from 0 to 0
>> >>
>> >>>
>> >>> ./frontend/scanimage -d 'escl:http://192.168.23.130:80'
>> >> --all-options
>> >>> Output format is not set, using pnm as a default.
>> >>> Capability : [image/jpeg]
>> >>> Capability : [image/jpeg]
>> >>> Capability : [image/jpeg]
>> >>> Capability : [image/jpeg]
>> >>> scanimage: rounded value of br-x from 0 to 0
>> >>> scanimage: rounded value of br-y from 0 to 0
>> >>>
>> >>> All options specific to device `escl:http://192.168.23.130:80':
>> >>> Scan mode:
>> >>> --mode Gray|Color [Gray]
>> >>> Selects the scan mode (e.g., lineart, monochrome, or
>> >> color).
>> >>> --resolution 75|100|150|200|300|600dpi [75]
>> >>> Sets the resolution of the scanned image.
>> >>> --preview[=(yes|no)] [no]
>> >>> Request a preview-quality scan.
>> >>> --preview-in-gray[=(yes|no)] [no]
>> >>> Request that all previews are done in monochrome mode.  On
>> >> a
>> >>> three-pass scanner this cuts down the number of passes to
>> >> one
>> >>> and on a
>> >>> one-pass scanner, it reduces the memory requirements and
>> >>> scan-time of
>> >>> the preview.
>> >>> Geometry:
>> >>> -l 0.0846558..215.9mm [0]
>> >>> Top-left x position of scan area.
>> >>> -t 0.0846558..29

Re: [sane-devel] Canon Canoscan LiDE 400 support in Slackware

2020-01-14 Thread Rolf Bensch
Hi,

The LiDE 400 is fully supported by the pixma backend (see:
http://www.sane-project.org/lists/sane-backends-cvs.html#S-PIXMA). You
need to install recent SANE version 1.0.28 from git snapshots
(http://www.sane-project.org/snapshots/).

Hope this helps.

Cheers,
Rolf

Am 11.01.20 um 15:20 schrieb Kelly Price:
> It worked around the problem on the 220.  The 400 may need some research.
>
>
> On Sat, Jan 11, 2020 at 9:00 AM Rich Shepard  wrote:
>> On Sat, 11 Jan 2020, Kelly Price wrote:
>>
>>> You fall into the same category I do with my LiDE 220. It somehow just
>>> doesn't like USB 3.x ports. I think we were working on the issue still.
>>> Olaf can remind me (as it's early and coffee is just being had here).
>> Kelly,
>>
>> I recall reading somewhere that the LiDE 400 required USB 3.x ports. And,
>> when connected to a 3.0 port I could press the 'PDF' button on the front
>> edge of the scanner, which brought up a simple GUI interface, and was able
>> to scan a page. So it must accept the USB 3.0 ports when used by itself but
>> even after adding it to /etc/scan.c/genesis.conf it's not found by
>> 'scanimage -L'.
>>
>>> As a work-around, I ended up putting this in my PC:
>>> https://smile.amazon.com/gp/product/B002RL8V7E/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8=1
>> Did it solve the problem?
>>
>> I don't know about other Canon scanners but the LiDE 400 has no power
>> switch. It turns on when the USB cable is inserted.
>>
>> Regards,
>>
>> Rich
>>
>
> --
> Kelly "STrRedWolf" Price
> http://redwolf.ws
>
>



Re: [sane-devel] [janitorial] Feature freeze for 1.0.29 and call for translation updates

2020-01-13 Thread Rolf Bensch
Hi Olaf,

What branch do we provide in git snapshots, master or release/1.0.29?

Hope this won't confuse too much.

Cheers,
Rolf


Am 12.01.20 um 13:23 schrieb Olaf Meeuwissen:
> Hi all,
>
> As per earlier announcement[1], I've cut and pushed a `release/1.0.29`
> branch to mark the feature freeze for this version.  This branch shall
> only receive bug fixes and documentation changes.  Any changes applied
> to it will be merged back into `master` shortly after the release.
>
>  [1]: 
> https://alioth-lists.debian.net/pipermail/sane-devel/2020-January/037407.html
>
> The default target branch for merge requests is `master`, so if you have
> merge requests (MRs) that should be included in the 1.0.29 release, you
> need to select the `release/1.0.29` branch as the merge target.  Please
> only do so for bug fixes and documentation changes.
>
> I've already added (most of) the relevant bits to the NEWS file.  Please
> take a look and submit an MR for any glaring omissions.
>
>   * Call for translation updates *
>
> The po/*.po files have been synchronized with the latest sources and we
> very, very much welcome updates to our existing translations.  Out of
> the 23 languages for which we have translations only *seven* are mostly
> up-to-date.
>
> So, if you are fluent in any of the following languages (and familiar
> with scanning terminology in that language), please consider helping out
> with getting the translations updated.
>
>   - Bulgarian {#208}
>   - Czech {#209}
>   - Danish {#210}
>   - Esperanto {#211}
>   - Spanish (Castilian) {#212}
>   - Finnish {#213}
>   - French {#214}
>   - Galician {#215}
>   - Hungarian {#216}
>   - Italian {#217}
>   - Japanese {#218}
>   - Norwegian (Bokmål) {#219}
>   - Polish {#220}
>   - Portuguese {#221}
>   - Russian {#222}
>   - Swedish {#223}
>
> These languages are pretty out-of-date in terms of translated messages
> but any improvents are welcome.  Please assign the issue listed in {} to
> yourself so people can see who's working on a translation and coordinate
> efforts.
>
> The other languages are *mostly* up-to-date but if you are fluent in any
> of
>
>   - Catalan
>   - Catalan (Valencian)
>   - Dutch
>   - English (United Kingdom)
>   - German
>   - Hebrew
>   - Ukrainian
>
> feel free to submit a merge request targetting release/1.0.209 with the
> changes to bring them up-to-date.
>
> Hope this helps,
> --
> Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
>  GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
>  Support Free Softwarehttps://my.fsf.org/donate
>  Join the Free Software Foundation  https://my.fsf.org/join
>
>



Re: [sane-devel] Release PPA for Debian/Ubuntu

2020-01-05 Thread Rolf Bensch
Hi Kelly,

Please have a look here:
https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-release

If you need a more recent version of SANE, you can use my other ppa:
https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git

Hope this helps.

Cheers,
Rolf


Am 04.01.20 um 23:52 schrieb Kelly Price:
> Anyone have a PPA of the latest releases (w/o any additions from
> Github)?  I've switched from Gentoo to Xubuntu on my main rig now and
> getting things back together.
>



Re: [sane-devel] [janitorial] New backend: escl

2019-12-15 Thread Rolf Bensch
Hi,

Congratulations for finishing this job.

Is there a (nearby complete) list of pixma scanners available, which are
supported by escl?

I would like to update pixma's doc files and include building escl when
a user selects only pixma at ./configure.

Many thanks.

Cheers,
Rolf


Am 15.12.19 um 09:10 schrieb Olaf Meeuwissen:
> Hi list,
>
> I thought you might like to know that I've merged the escl backend
> yesterday.  This backend was written by Touboul Nathane and Thierry
> Huchard at Ordissimo.  It is licensed under the terms of the GPL,
> either version 3 or, at your option, any later version.
>
> The backend should support many of the large range of devices that
> support Apple's AirPrint protocol.  For a long list of potentially
> supported devices see
>
>   https://support.apple.com/en-us/HT201311
>
> The backend's description file does not list any specific devices yet
> but the merge request listed a few devices that are known to work for
> some definition of work ;-)
>
> Please note that the escl backend only supports these devices over a
> network connection, not via USB or similar connections.
>
> The backend currently only supports image data transfer in JPEG format
> but Thierry indicated he wanted to add support for PNG and PDF as well.
>
> For the gory details see merge request 242.
>
>   https://gitlab.com/sane-project/backends/merge_requests/242
>
> On a related note, there is another merge request for a canon_lide70
> backend.  I'll be getting to that shortly, relatively speaking :-)
>
> Hope this helps,
> --
> Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
>  GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
>  Support Free Softwarehttps://my.fsf.org/donate
>  Join the Free Software Foundation  https://my.fsf.org/join
>
>



Re: [sane-devel] Canon i-sensys MF744Cdw

2019-12-15 Thread Rolf Bensch
Hi Ford,

Have you tried to scan via USB or WiFI/Ethernet? Try to scan via USB first.

If you still may have problems, please create an issue here:
https://gitlab.com/sane-project/backends/issues . It's easier to
exchange log files and patches from there. Please upload a logfile
created from the console:

$ SANE_DEBUG_PIXMA=11 scanimage 2> mf744.log > test.pnm

Hope this helps.

Cheers,
Rolf

Am 17.11.19 um 13:52 schrieb fordpref...@posteo.de:
> Hi everybody,
>
> I hope I don't mess this up, since I have absolutely zero experience
> with mailing lists.
>
> I just got a Canon i-sensys MF744Cdw and despite the printing working
> fine I just figured out that I couldn't get the scanner working with
> sane. A glance at the supported scanner list gave me the hint that it's
> not fully supported yet and that testers are needed.
>
> Since I can scan to a USB stick or maybe could configure scan to email
> it's not a big drama yet, but sane support and using simplescan would be
> nice. So I am not a good programmer but I would really like to help out
> with testing or participate to get this thing running. But I have
> absolute no clue how to start.
>
> Best regards,
> Ford Prefect
>
>
>



Re: [sane-devel] Canon TR4529 (PIXMA TR4500 Series)

2019-11-25 Thread Rolf Bensch
Hi Jean-Marc,

Please use the backends repo.

Cheers,
Rolf

Am 22.11.19 um 02:27 schrieb Jean-Marc Spaggiari:
> Hi Rolf,
> 
> I will try that shortly. So far I installed everything with deb files. I
> guess I will need to build that from source. Which repo should I use?
> backends? frontends?
> 
> Thanks,
> 
> JMS
> 
> Le mar. 12 nov. 2019 à 12:47, Rolf Bensch  <mailto:r...@bensch-online.de>> a écrit :
> 
> Hi Jean-Marc,
> 
> The Pixma backend just doesn't support 600x1200dpi. Sorry, this was my
> fault.
> 
> Please patch the source backend/pixma_mp150.c with the attached file and
> try ADF scans again. I suppose that Canon changed ADF data format for
> all new scanners.
> 
> Hope this helps.
> 
> Cheers,
> Rolf
> 
> 
> Am 28.10.19 um 20:51 schrieb Jean-Marc Spaggiari:
> > Hi Rold,
> >
> > 1200DPI reports an error. "Operation was canceled" in both xsame
> > and gscan2pdf. Same error for the feeder.
>     >
> > Let me know if I can provide more information.
> >
> > JMS
> >
> > Le sam. 26 oct. 2019 à 08:38, Rolf Bensch  <mailto:r...@bensch-online.de>
> > <mailto:r...@bensch-online.de <mailto:r...@bensch-online.de>>> a
> écrit :
> >
> >     Hi JMS,
> >
> >     Please report if both, (1) 1200dpi scans and (2) scanning from
> document
> >     feeder are working. You scanner still is marked as "untested"
> >   
>  (http://www.sane-project.org/lists/sane-backends-cvs.html#S-PIXMA).
> >
> >     I wouldn't use Ubuntu's deb packages for Debian. You need
> libjpeg if you
> >     e.g. want to save images as jpeg from scanimage. Please
> install from
> >     sources as described in INSTALL.linux
> >     (http://www.sane-project.org/docs.html).
> >
> >     Many thanks for your help.
> >
> >     Cheers,
> >     Rolf
> >
> >
> >     Am 25.10.19 um 14:27 schrieb Jean-Marc Spaggiari:
> >     > Hi Rolf,
> >     >
> >     > I tried to install the packages on Debian, but they have a
> dependency
> >     > on libjpeg8, which is not available on Debian. And libjpeg8
> has a
> >     > dependency on libjpeg-turbo8. Not available on Debian neither.
> >     >
> >     > I installed on Ubuntu packages from Bionic version and ran
> >     gscanpdf and
> >     > so far everything seems to be working! Happy.
> >     >
> >     > Thanks for your guidance! Looking forward to get Debian
> upgrading the
> >     > libsane package to a more recent version!
> >     >
> >     > JMS
> >     >
> >     > Le mer. 25 sept. 2019 à 15:41, Rolf Bensch
> mailto:r...@bensch-online.de>
> >     <mailto:r...@bensch-online.de <mailto:r...@bensch-online.de>>
> >     > <mailto:r...@bensch-online.de <mailto:r...@bensch-online.de>
> <mailto:r...@bensch-online.de <mailto:r...@bensch-online.de>>>> a
> >     écrit :
> >     >
> >     >     Hi JMS,
> >     >
> >     >     Sorry, I was confused with the numbers. SANE 1.0.28 is
> the recent
> >     >     version you need.
> >     >
> >     >     Hope this helps.
> >     >
> >     >     Cheers,
> >     >     Rolf
> >     >
> >     >
> >     >     Am 13.09.19 um 01:11 schrieb Jean-Marc Spaggiari:
> >     >     > Hi Rolf,
> >     >     >
> >     >     > I'm running straight Debian and it seems that availble
> >     version is
> >     >     > 1.0.27. The Ubuntu link you sent shows 1.0.28. I
> searched on
> >     Debian
> >     >     > Packaged and they don't seems to have something more
> recent :-/
> >     >     >
> >     >     > Any idea where I can find it? Else I will just build from
> >     the sources.
> >     >     >
> >     >     > Thanks,
> >     >     >
> >     >     > JMS
> >     >     >
> >     >     > Le jeu. 12 sept. 2019 à 16:26, Rolf Bensch
> >     mailto:r...@bensch-online.de>
> <mailto:r...@bensch-online.de <mailto:r...@bensch-online.de>

Re: [sane-devel] Canon TR4529 (PIXMA TR4500 Series)

2019-11-12 Thread Rolf Bensch
Hi Jean-Marc,

The Pixma backend just doesn't support 600x1200dpi. Sorry, this was my
fault.

Please patch the source backend/pixma_mp150.c with the attached file and
try ADF scans again. I suppose that Canon changed ADF data format for
all new scanners.

Hope this helps.

Cheers,
Rolf


Am 28.10.19 um 20:51 schrieb Jean-Marc Spaggiari:
> Hi Rold,
> 
> 1200DPI reports an error. "Operation was canceled" in both xsame
> and gscan2pdf. Same error for the feeder.
> 
> Let me know if I can provide more information.
> 
> JMS
> 
> Le sam. 26 oct. 2019 à 08:38, Rolf Bensch  <mailto:r...@bensch-online.de>> a écrit :
> 
> Hi JMS,
> 
> Please report if both, (1) 1200dpi scans and (2) scanning from document
> feeder are working. You scanner still is marked as "untested"
> (http://www.sane-project.org/lists/sane-backends-cvs.html#S-PIXMA).
> 
> I wouldn't use Ubuntu's deb packages for Debian. You need libjpeg if you
> e.g. want to save images as jpeg from scanimage. Please install from
> sources as described in INSTALL.linux
> (http://www.sane-project.org/docs.html).
> 
> Many thanks for your help.
> 
> Cheers,
> Rolf
> 
> 
> Am 25.10.19 um 14:27 schrieb Jean-Marc Spaggiari:
> > Hi Rolf,
> >
> > I tried to install the packages on Debian, but they have a dependency
> > on libjpeg8, which is not available on Debian. And libjpeg8 has a
> > dependency on libjpeg-turbo8. Not available on Debian neither.
> >
> > I installed on Ubuntu packages from Bionic version and ran
> gscanpdf and
> > so far everything seems to be working! Happy.
> >
> > Thanks for your guidance! Looking forward to get Debian upgrading the
> > libsane package to a more recent version!
> >
> > JMS
> >
> > Le mer. 25 sept. 2019 à 15:41, Rolf Bensch  <mailto:r...@bensch-online.de>
> > <mailto:r...@bensch-online.de <mailto:r...@bensch-online.de>>> a
> écrit :
> >
> >     Hi JMS,
> >
> >     Sorry, I was confused with the numbers. SANE 1.0.28 is the recent
> >     version you need.
> >
> >     Hope this helps.
> >
> >     Cheers,
> >     Rolf
> >
> >
> >     Am 13.09.19 um 01:11 schrieb Jean-Marc Spaggiari:
> >     > Hi Rolf,
> >     >
> >     > I'm running straight Debian and it seems that availble
> version is
> >     > 1.0.27. The Ubuntu link you sent shows 1.0.28. I searched on
> Debian
> >     > Packaged and they don't seems to have something more recent :-/
> >     >
> >     > Any idea where I can find it? Else I will just build from
> the sources.
> >     >
> >     > Thanks,
> >     >
> >     > JMS
> >     >
> >     > Le jeu. 12 sept. 2019 à 16:26, Rolf Bensch
> mailto:r...@bensch-online.de>
> >     <mailto:r...@bensch-online.de <mailto:r...@bensch-online.de>>
> >     > <mailto:r...@bensch-online.de <mailto:r...@bensch-online.de>
> <mailto:r...@bensch-online.de <mailto:r...@bensch-online.de>>>> a
> >     écrit :
> >     >
> >     >     Hi JMS,
> >     >
> >     >     What SANE version is installen on your system? You need
> >     version 1.0.29.
> >     >
> >     >     If you're using Ubuntu or an Ubuntu clone, you can use
> my ppa to
> >     >     update SANE:
> >     >     https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git .
> >     >
> >     >     If you have another Linux OS, please install SANE as
> described in
> >     >     INSTALL.linux (http://www.sane-project.org/docs.html).
> >     >
> >     >     Please try to scan all dpi resolutions and after this
> the document
> >     >     feeder.
> >     >
> >     >     Hope this helps.
> >     >
> >     >     Cheers,
> >     >     Rolf
> >     >
> >     >      
> >     >
> >     >     Am 27.08.19 um 15:29 schrieb Jean-Marc Spaggiari:
> >     >>     Hi,
> >     >>
> >     >>     I'm trying to get a Canon TR4529 work with Sane without any
> >     >>     success. The support page said testers are needed. Here
> am I ;)
> >     >&

Re: [sane-devel] New backends eSCL

2019-11-09 Thread Rolf Bensch
Hi Thierry,

Maybe it could be an good idea to implement eSCL protocol early to SANE,
e.g. with a merge request. There are several Pixma users who want to use
WiFi or Ethernet.

How stable is the beta version? If you're not sure if the implementation
is too early, you can use an evironment variable to enable eSCL.

Hope this helps.

Cheers,
Rolf


Am 08.11.19 um 11:17 schrieb thie...@ordissimo.com:
> Hello,
> We present to you the beta version of the sane backend taking on board
> the eSCL protocol.
> the list of potentially scanned scanners is long:
> Canon Pixma TS6260, Canon Pixma TS3150, 
> Nous l'avons mis dans la GPL3, idéalement, une fois terminé, nous
> aimerions qu'il soit intégré à sane.
>
> https://gitlab.com/sane-escl/sane-escl
>
> Thierry (Ordissimo)
>
>



Re: [sane-devel] Canon Pixma MX495

2019-11-07 Thread Rolf Bensch
Hi,

scanimage needs a redirection to the image output and a separate
redirection to the debug outputs, e.g.

SANE_DEBUG_PIXMA=11 scanimage <...> 2> mx495_adf.log > image.pnm

For gui frontends you can use the combined redirection, e.g.

SANE_DEBUG_PIXMA=11 xsane &> mx495_adf.log
SANE_DEBUG_PIXMA=11 gscan2pdf &> mx495_adf.log

I suppose that you need to patch pixma_mp150.c with attached patch file
for enabling adf scans.

Please report your results.

Hope this helps.

Cheers,
Rolf


Am 01.11.19 um 12:51 schrieb Franz Felberer:
> Hi,
> 
> Ok, thanks:
> 
> SANE_DEBUG_PIXMA=11 scanimage &> mx495_adf.log
> 
> SANE_DEBUG_PIXMA=11 scanimage --source "Automatic Document Feeder" &>
> mx495_adf_source.log
> 
> 
> Let me know if you need additional logs/information… (I didn’t manage to
> run SANE_DEBUG_PIXMA=11 scanimage <...> 2>&1 > mx495_adf.log => zsh:
> parse error near `>&’,
> With bash: bash: ...: No such file or directory)
> 
> 
> 
> 
> 
> 
> 
>> Am 29.10.2019 um 19:16 schrieb Mikhail Novosyolov
>> mailto:m.novosyo...@rosalinux.ru>>:
>>
>> You can make the log that Rolf asked for with any program which uses
>> sane, including scanimage
>>
>> SANE_DEBUG_PIXMA=11 scanimage <...> 2>&1 > mx495_adf.log
>>
>>
>> 26 октября 2019 г. 20:32:00 GMT+03:00, Franz Felberer
>> mailto:fr...@felberer.at>> пишет:
>>
>> Dear Rolf,
>>
>> Thanks for your help. I have a headless server (no gscan2pgf) and
>> I would like to use the sane interface with mayan-edms.
>> This works for scanning for the flatbed but not for adf.
>>
>> Same is true for the cli:
>>
>> scanimage --source "Flatbed" --format=png > test.png
>> => scan is saved as image
>>
>> scanimage --source "Automatic Document Feeder" --format=tiff >
>> test.tiff
>> => scanimage: sane_read: Operation was canceled
>>
>>     scanimage --source "Automatic Document Feeder" --format=png >
>> test.png -v
>> scanimage: scanning image of size 638x1050 pixels at 24 bits/pixel
>> scanimage: acquiring RGB frame
>> scanimage: min/max graylevel value = 255/0
>> scanimage: sane_read: Operation was canceled
>>
>> Best
>> Franz
>>
>>> Am 26.10.2019 um 15:31 schrieb Rolf Bensch >> <mailto:r...@bensch-online.de>>:
>>>
>>> Hi,
>>>
>>> I just had a look at this ppa. The builds are ancient (from
>>> 2013). Canon
>>> released MX495 in 2015 (as documented in Sane sources).
>>>
>>> If you need to install recent Sane to Ubuntu or an Ubuntu clone,
>>> you can
>>> use my ppa: 
>>> https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git
>>>
>>> Hope this helps.
>>>
>>> Cheers,
>>> Rolf
>>>
>>>
>>> Am 23.10.19 um 13:39 schrieb Ulf Zibis:
>>>> Hi Franz,
>>>>
>>>> you may try the PPA from Micael Gruz:
>>>> 
>>>> https://forum.ubuntuusers.de/topic/schwarz-weiss-druck-auf-canon-mx885-geht-nicht
>>>> 
>>>> https://forum.ubuntuusers.de/topic/problem-mit-dem-einrichten-von-repository-ppa-/#post-8056358
>>>>
>>>> Hope that helps,
>>>>
>>>> Ulf
>>>>
>>>> Am 22.10.19 um 18:34 schrieb Franz Felberer:
>>>>> Dear all,
>>>>>
>>>>> Thanks for your great work. I can verify that scan image works
>>>>> with the Canon Pixma MX495 (it gets recognised as a 490, which
>>>>> is often the case with all kind of software).
>>>>> (Cubietruck wird ARMBIAN via wifi). I dient get the scanadf
>>>>> correctly working yet. (It doesn’t pull-in the paper).
>>>>>
>>>>> Franz
>>>>>
>>>>
>>
>>
>> -- 
>> Простите за краткость, создано в K-9 Mail.
> 
--- /home/public/workspace/sane-backends/.git/.gitk-tmp.G6KdTH/1/[ee3f9b47ece844262f4614ebedfd9f21bebc3f24] pixma_mp150.c
+++ /home/public/workspace/sane-backends/.git/.gitk-tmp.G6KdTH/1/[ec7b84f5fce2fef84c4816306f0cfb55b8e66e05] pixma_mp150.c
@@ -1721,7 +1721,7 @@
   DEVICE ("Canon PIXMA E460 Series",  "E460",  E460_PID, 0,  600, 0, 0, 638, 877, PIXMA_CAP_CIS),
 
   /* Latest devices (2015) Generation 5 CIS */
-  DEVICE ("Canon PIXMA MX490 Series", "MX490", MX490_PID, 0, 600, 0, 0, 638, 1050, PIXMA_CAP_CIS | PIXMA_CAP_ADF),
+  DEVICE ("Canon PIXMA MX490 Series", "MX490", MX490_PID, 0, 600, 0, 0, 638, 1050, PIXMA_CAP_CIS | PIXMA_CAP_ADF | PIXMA_CAP_ADF_JPEG),
   DEVICE ("Canon PIXMA E480 Series",  "E480",  E480_PID, 0, 600, 0, 0, 638, 1050, PIXMA_CAP_CIS | PIXMA_CAP_ADF),
   DEVICE ("Canon PIXMA MG3600 Series", "MG3600", MG3600_PID, 0, 1200, 0, 0, 638, 877, PIXMA_CAP_CIS),
   DEVICE ("Canon PIXMA MG7700 Series", "MG7700", MG7700_PID, 0, 2400, 0, 0, 638, 877, PIXMA_CAP_CIS),



Re: [sane-devel] Canon Pixma TS6260 / Ubuntu 18.04

2019-11-07 Thread Rolf Bensch
Hi John,

As you can see here
(http://www.sane-project.org/lists/sane-backends-cvs.html#S-PIXMA), we
don't support WiFi yet. Maybe Canon's new WiFi protocol will be
implemented later.

If you need WiFi, you should stay at the scangearmp2 project. You can
use SANE with USB.

Hope this helps.

Cheers,
Rolf

Am 03.11.19 um 22:15 schrieb John:
>
> To others with this printer / scanner.  I believe the Europe version
> is TS6250.
>
> I have been unable to access the scanner using sane-pixma even when
> using the latest version from repository ppa:rolfbensch/sane-git.
>
> If I explicitly specify the printer in pixma.conf then scanimage -L
> shows this information.
>
> [bjnp] udp_command: ERROR - no data received (timeout = 1)
> [bjnp] bjnp_init_device_structure: Cannot read mac address, skipping
> this scanner
> [bjnp] udp_command: ERROR - no data received (timeout = 1)
> [bjnp] add_scanner: ERROR - Cannot read scanner make & model:
> bjnp://192.168.178.42:8612/timeout=1
>
>
> I can access the scanner using the canon-pixma backend provided by
> project https://github.com/Ordissimo/scangearmp2.  Although there is a
> link to a ubuntu launchpad I cloned the project and built and
> installed the driver locally as described on the project homepage.
> 
>
>
> Nga mihi
>
> JohnT
>
>


Re: [sane-devel] Canon Maxify MB5455

2019-11-07 Thread Rolf Bensch
Hi Louis,

Am 04.11.19 um 22:43 schrieb Louis Lagendijk:
> Hi Rolf,
> I am testing my new printer/scanner: a Maxify MB5455.
> I found out that it needs the PIXMA_CAP_ADF_JPEG flag for ADF support.
> But with that flag it scans the first page, pulls in a second page and
> then exits. I seem to recall that you fixed that for some other
> scanners? Can you please help?

Do you have one or two sheets in the document feeder?

The imageclass sub-backend has a timeout function for inserting sheets
into the document feeder after the scan has been started. I think it
should be similar for the mp150 sub-backend. The timeout has a parameter
(adf-wait) which can be set from any frontend. Sorry, I cannot test
this. I haven't any scanner with ADF.

> 
> I already added the MB5400_PID to the check for the button handling
> code as I would guess that that is correct (like for the MB5000 series)
> but that did not make a difference> Is there a easy way to test the
> button code without setting up scanbd?
> 

(1) push any button
(2) from a console call:
$ SANE_DEBUG_PIXMA=11 scanimage -A

You should find this inside the response:
...
  Buttons:
--button-update
Update button state
[pixma] INTR T=1.224 len=32
[pixma]  :00 00 00 00 01 00 00 00  00 00 00 00 00 00 00 00
[pixma]  0010:00 00 00 05 00 00 00 00  00 00 00 00 00 00 00 00
[pixma]
--button-1  [1] [read-only]
Button 1
--button-2  [0] [read-only]
Button 2
--original  [0] [read-only]
Type of original to scan
--target  [5] [read-only]
Target operation type
--scan-resolution  [0] [read-only]
Scan resolution
...

I pushed a button which has been detected as "target no. 5". Each button
has it's own target number.

--button-1 and --button-2 are historical buttons from old mp150 devices.

Some multi functional scanners use menu driven buttons. Then you can set
the target and the scan resolution from scanner's menu and this info
will be shown from the particular parameters.

You can see different button implementations in function handle_interrupt().

> Thanks in advance for your help
> Louis
> 
> 

You're welcome.

Cheers,
Rolf



Re: [sane-devel] Canon ImageClass MF644Cdw

2019-11-02 Thread Rolf Bensch
Hi Louis,

Do you have any ideas about this issue?

Cheers,
Rolf

Am 01.11.19 um 00:31 schrieb Ralph Little:
> Hi,
> 
> On Thu, Oct 31, 2019 at 4:12 PM David McMahon  > wrote:
> 
> 
> Thanks for the clue!  Looking on that on the settings page of the
> printer, the hostname is the default of "Canoncbcab3" which seems
> harmless enough.  I changed it to "Can" to see if that changed
> anything, but still getting the buffer overflow.
> If you have a link handy to that part of the code, can you point me
> to it?  Maybe it's something else right after the strcpy().
>  
> 
> 
> Hmm, that might have been slightly misleading.
> 
> I'm looking at backend/pixma_bjnp.c at line 801, which is where we see
> the last successful debug message from the function get_scanner_id():
> 
> "get_scanner_id: Scanner model = "
> 
> It returns to the only place it is called, line 1817 in add_scanner().
> We don't get the error message (at line 1819) so it must next call the
> function determine_scanner_serial() which attempts to determine a
> "serial number" for the scanner.
> This could be one of a selection of things, so that might be the
> culprit, since it does some strcpy() calls in there, although we don't
> have any debug messages in there, so we don't really know how far it got
> before the buffer overrun struck :(
> 
> If it were me chasing this, I would add some more dbg messages to see
> how far it got, perhaps one after the call to determine_scanner_serial()
> to see if it returned to start off with. If it didn't some dbg in the
> function determine_scanner_serial() to see what it decided.
> 
> Cheers,
> Ralph



Re: [sane-devel] Canon Pixma MX495

2019-10-26 Thread Rolf Bensch
Hi,

I just had a look at this ppa. The builds are ancient (from 2013). Canon
released MX495 in 2015 (as documented in Sane sources).

If you need to install recent Sane to Ubuntu or an Ubuntu clone, you can
use my ppa:  https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git

Hope this helps.

Cheers,
Rolf


Am 23.10.19 um 13:39 schrieb Ulf Zibis:
> Hi Franz,
>
> you may try the PPA from Micael Gruz:
> https://forum.ubuntuusers.de/topic/schwarz-weiss-druck-auf-canon-mx885-geht-nicht
> https://forum.ubuntuusers.de/topic/problem-mit-dem-einrichten-von-repository-ppa-/#post-8056358
>
> Hope that helps,
>
> Ulf
>
> Am 22.10.19 um 18:34 schrieb Franz Felberer:
>> Dear all,
>>
>> Thanks for your great work. I can verify that scan image works with the 
>> Canon Pixma MX495 (it gets recognised as a 490, which is often the case with 
>> all kind of software).
>> (Cubietruck wird ARMBIAN via wifi). I dient get the scanadf correctly 
>> working yet. (It doesn’t pull-in the paper).
>>
>> Franz
>>
>



Re: [sane-devel] Canon Pixma MX495

2019-10-26 Thread Rolf Bensch
Hi Franz,

For adf scans I would prefer to use gscan2pdf.

Before scanning via WiFi, for reference please scan via USB with
disabled WiFi first.

If scanning from adf still fails, please create an issue here:
https://gitlab.com/sane-project/backends/issues and upload a logfile
created from a terminal (usually uploading logfiles to the mailing list
fails due to file size restrictions):

$ SANE_DEBUG_PIXMA=11 gscan2pdf &> mx495_adf.log

Many thanks for your help.

Cheers,
Rolf

Am 22.10.19 um 18:34 schrieb Franz Felberer:
> Dear all,
>
> Thanks for your great work. I can verify that scan image works with the Canon 
> Pixma MX495 (it gets recognised as a 490, which is often the case with all 
> kind of software).
> (Cubietruck wird ARMBIAN via wifi). I dient get the scanadf correctly working 
> yet. (It doesn’t pull-in the paper).
>
> Franz
>



Re: [sane-devel] Canon Pixma TR8550 support

2019-10-26 Thread Rolf Bensch
Hi Sedat,

For Ubuntu you can use my ppa to get the recent builds:
https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git .

For Debian you should install Sane from source, if you want to get a
recent version. For details please read INSTALL.linux
(http://www.sane-project.org/docs.html).

You can find recent information from Sane's website:
http://www.sane-project.org/ .

Please report if both, (1) 1200 dpi scans and (2) scanning from document
feeder are working.

Many thanks for your help.

Cheers,
Rolf

Am 25.10.19 um 10:59 schrieb Sedat Dilek:
> [ CC Rolf ]
> 
> Hi,
> 
> I tried to contact the maintainer of the Ubuntu PPA which offers
> support for Canon Pixma series in [2].
> I got my email back - domain seems not to exist or temporarily not available.
> 
> So, I fell over sane-devel mailing-list and read some threads (Rolf
> seems to be active user what concerns Canon supported devices).
> 
> There exist a Linux 64bit driver from Canon (see [1]) - unsure if this
> supports only the printer part.
> 
> I am highly interested in getting the scanner run under Ubuntu/bionic
> and/or Debian/testing AMD64.
> 
> Last, I fell over sane-backends and the debian Git repository.
> 
> My questions:
> Can you give a status and maybe a brief intro on how to install and
> test SANE backend drivers for a Canon Pixma TR8550?
> Also point me to recent development in Git if salsa.d.o has not the
> latest stuff.
> 
> If you need further informations please let me know.
> I am glad if I can help.
> 
> Thanks.
> 
> Regards,
> - Sedat -
> 
> 
> 
> [0] 
> http://ubuntuhandbook.org/index.php/2018/10/canon-ij-printer-scangear-mp-drivers-ubuntu-18-04-18-10/
> [1] 
> https://www.canon.de/support/consumer_products/products/fax__multifunctionals/inkjet/pixma_tr_series/pixma-tr8550.html?type=drivers=de=linux%20(64-bit)
> [2] 
> https://launchpad.net/~thierry-f/+archive/ubuntu/fork-michael-gruz/+packages?field.name_filter=_filter=published_filter=bionic
> [3] https://salsa.debian.org/debian/sane-backends
> 



Re: [sane-devel] Canon TR4529 (PIXMA TR4500 Series)

2019-10-26 Thread Rolf Bensch
Hi JMS,

Please report if both, (1) 1200dpi scans and (2) scanning from document
feeder are working. You scanner still is marked as "untested"
(http://www.sane-project.org/lists/sane-backends-cvs.html#S-PIXMA).

I wouldn't use Ubuntu's deb packages for Debian. You need libjpeg if you
e.g. want to save images as jpeg from scanimage. Please install from
sources as described in INSTALL.linux
(http://www.sane-project.org/docs.html).

Many thanks for your help.

Cheers,
Rolf


Am 25.10.19 um 14:27 schrieb Jean-Marc Spaggiari:
> Hi Rolf,
> 
> I tried to install the packages on Debian, but they have a dependency
> on libjpeg8, which is not available on Debian. And libjpeg8 has a
> dependency on libjpeg-turbo8. Not available on Debian neither.
> 
> I installed on Ubuntu packages from Bionic version and ran gscanpdf and
> so far everything seems to be working! Happy.
> 
> Thanks for your guidance! Looking forward to get Debian upgrading the
> libsane package to a more recent version!
> 
> JMS
> 
> Le mer. 25 sept. 2019 à 15:41, Rolf Bensch  <mailto:r...@bensch-online.de>> a écrit :
> 
> Hi JMS,
> 
> Sorry, I was confused with the numbers. SANE 1.0.28 is the recent
> version you need.
> 
> Hope this helps.
> 
> Cheers,
> Rolf
> 
> 
> Am 13.09.19 um 01:11 schrieb Jean-Marc Spaggiari:
> > Hi Rolf,
> >
> > I'm running straight Debian and it seems that availble version is
> > 1.0.27. The Ubuntu link you sent shows 1.0.28. I searched on Debian
> > Packaged and they don't seems to have something more recent :-/
> >
> > Any idea where I can find it? Else I will just build from the sources.
> >
> > Thanks,
> >
> > JMS
> >
> > Le jeu. 12 sept. 2019 à 16:26, Rolf Bensch  <mailto:r...@bensch-online.de>
> > <mailto:r...@bensch-online.de <mailto:r...@bensch-online.de>>> a
> écrit :
> >
> >     Hi JMS,
> >
> >     What SANE version is installen on your system? You need
> version 1.0.29.
> >
> >     If you're using Ubuntu or an Ubuntu clone, you can use my ppa to
> >     update SANE:
> >     https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git .
> >
> >     If you have another Linux OS, please install SANE as described in
> >     INSTALL.linux (http://www.sane-project.org/docs.html).
> >
> >     Please try to scan all dpi resolutions and after this the document
> >     feeder.
> >
> >     Hope this helps.
> >
> >     Cheers,
> >     Rolf
> >
> >      
> >
> >     Am 27.08.19 um 15:29 schrieb Jean-Marc Spaggiari:
> >>     Hi,
> >>
> >>     I'm trying to get a Canon TR4529 work with Sane without any
> >>     success. The support page said testers are needed. Here am I ;)
> >>
> >>     http://www.sane-project.org/sane-mfgs.html#Z-CANON
> >>
> >>     Scanner works well with scangearmp2.
> >>     sane-find-scanner can find it: found USB scanner (vendor=0x04a9
> >>     [Canon], product=0x1854 [TR4500 series]) at libusb:001:006
> >>
> >>     But scanimage doesn't return anything:
> >>     $ ./frontend/scanimage -L
> >>
> >>     No scanners were identified. If you were expecting something
> >>     different,
> >>     check that the scanner is plugged in, turned on and detected
> by the
> >>     sane-find-scanner tool (if appropriate). Please read the
> documentation
> >>     which came with this software (README, FAQ, manpages).
> >>
> >>     I have downloaded the last snapshot and built from there.
> >>     1008  27/08/2019 09:06:12 ./configure
> >>     1009  27/08/2019 09:06:37 make
> >>     1013  27/08/2019 09:11:15 ./tools/sane-find-scanner
> >>     1016  27/08/2019 09:11:37 ./frontend/scanimage -L
> >>
> >>     From documentation it says:
> >>     The  device  name  for  USB devices is in the form
> pixma:_z
> >>     where x, y and z are vendor ID, product ID and  serial 
> number  respec‐
> >>     tively.
> >>
> >>     So I tried:
> >>     scanimage --device-name="pixma:04A91854_22811"
> >>
> >>     But I don't know what is the serial number. I took the one from
> >>     the printer, but doesn't work.
> >>
> >>     Can someone please provide some guidance on how I can make
> process
> >>     and how to help with the testing?
> >>
> >>     Thanks,
> >>
> >>     JMS
> >>
> 



Re: [sane-devel] Proposal to disallow direct pushes to the master branch

2019-10-26 Thread Rolf Bensch
Hi Povilas,

Am 24.10.19 um 19:19 schrieb Povilas Kanapickas:
> 
> I think it's not completely true that changing code in a certain backend
> affects only that backend. The problem is that by default all backends
> are built and any compile errors will affect every user of sane
> backends. Using merge requests for introducing code to master completely
> avoids this possibility.
> 

Sorry, but I don't know what makes you believe, that using merge
requests completely avoids compile errors. In my long life as git user
I've seen a lot of messed code from git merges, especially from merging
"ancient" branches without rebasing the branches to recent master (and
fixing possible problems inside the affected commits), and/or if a group
of power developers are working on the same files. Breaking code with a
branch can still happen, even if somebody else must approve the changes
and/or must process the commit.

In the near past we've seen some build problems which have not been
detected by Sane's continuous integration system. On the other hand
every push is running through CI and the committer will get an email if
any problem has been detected. Maybe we should change existing jobs
and/or add more jobs to CI if we identify such problems.

We must not forget that master branch is under development and if
somebody pulls recent code from git or downloads recent code from Sane's
webside, the code might be faulty and that we (the developers /
maintainers) are happy for any feedback.

Hope this helps.

Cheers,
Rolf



Re: [sane-devel] Proposal to disallow direct pushes to the master branch

2019-10-26 Thread Rolf Bensch
Hi Povilas,

Am 24.10.19 um 19:19 schrieb Povilas Kanapickas:
> 
> I think it's not completely true that changing code in a certain backend
> affects only that backend. The problem is that by default all backends
> are built and any compile errors will affect every user of sane
> backends. Using merge requests for introducing code to master completely
> avoids this possibility.
> 

Sorry, but I don't know what makes you believe, that using merge
requests completely avoids compile errors. In my long life as git user
I've seen a lot of messed code from git merges, especially from merging
"ancient" branches without rebasing the branches to recent master (and
fixing possible problems inside the affected commits), and/or if a group
of power developers are working on the same files. Breaking code with a
branch can still happen, even if somebody else must approve the changes
and/or must process the commit.

In the near past we've seen some build problems which have not been
detected by Sane's continuous integration system. On the other hand
every push is running through CI and the committer will get an email if
any problem has been detected. Maybe we should change existing jobs
and/or add more jobs to CI if we identify such problems.

We must not forget that master branch is under development and if
somebody pulls recent code from git or downloads recent code from Sane's
webside, the code might be faulty and that we (the developers /
maintainers) are happy for any feedback.

Hope this helps.

Cheers,
Rolf



Re: [sane-devel] Sending confirmation about the pixma backend

2019-10-12 Thread Rolf Bensch
Hi Rogério,

I opened a merge request for your issue here:
https://gitlab.com/sane-project/backends/merge_requests/213

Please build SANE from source as described in INSTALL.linux
(http://www.sane-project.org/docs.html).

If this is working, please pull recent code from git ($ git pull),
checkout our test code ($ git checkout pixma/e4200-adf) and build SANE
again. Then ADF should work. Please report your results in the merge
request.

Many thanks for your help.

Cheers,
Rolf

Am 09.10.19 um 07:16 schrieb Rogério Brito:
> Dear Rolf,
> 
> On Oct 07 2019, Rolf Bensch wrote:
>> I can see an error response in your log file.
> 
> First of all, sorry for not being able to respond earlier, but I'm having
> some quite hectic days. Second, thank you very much for helping with this.
> 
>> To fix this I need an USB snoop file from Canon's ScanGear Software. You
>> can use wireshark for snooping (to enable USB support read this:
>> https://wiki.wireshark.org/CaptureSetup/USB).
> 
> I took 2 captures of 2 pages from the ADF: once in "Text Mode" and another
> in whatever other mode is available.
> 
> In both cases, the resulting PDF file had files in 300dpi in JPEG format and
> they were 3-channel JPEGs. There doesn't seem to be any way of changing the
> resolution or format that the files will be saved in.
> 
> Regarding the captures, I don't know if I should send them attached via
> email or posted somewhere, but I will send the 1st one here and post both on
> my homepage at:
> 
> https://www.ime.usp.br/~rbrito/linux/canon-e4210/
> 
>> Many thanks for your help.
> 
> Many thanks for your help! If you need other information, please let me know
> and I will try my best.
> 
> 
> Thank you very much again,
> 
> Rogério Brito.
> 



Re: [sane-devel] Proposal to disallow direct pushes to the master branch

2019-10-12 Thread Rolf Bensch
Hi Povilas,

I think using branches depends on the complexity of the changes|fixes.

Document file updates and simple fixes which don't change "my" backend's
functional structure can be committed directly into master.

If new code touches my backend's functional structure, other backends or
sane common functions, it should be recommended to use branches.

If I'm working for myself and if only my backend is affected, I can use
local branches and I only need to push master after local merge. I don't
see any benefit for using a merge request in gitlab for this. Then the
commit messages should explain my changes. And if my branch stays local,
I can use git's versatile functions like rebase.

If other people need to be involved, e.g. for testing, a merge request
in gitlab is appropriated for communication. This is more transparent
than discussing things via the mailing list or even off-list.

If another backend is affected or sane common code, a merge request in
gitlab should be mandatory. And this merge request should be approved by
other(s). This can help to avoid breaking "foreign" code.

Hope this helps.

Cheers,
Rolf


Am 12.10.19 um 01:25 schrieb Povilas Kanapickas:
> Hi,
>
> Currently there are two ways to submit code to the sane-project/backends
> repository: directly pushing to master and creating a merge request on
> GitLab. I'd like to propose we only allow the use of the latter option.
>
> Direct pushes have the risk of accidentally breaking the build or tests.
> Our CI setup tests builds on 5 environments, I doubt that everyone would
> test all configurations that are automatically covered by the CI for
> each code submission. Personally, going through merge requests was
> really worth the 20 seconds that it takes to open one, as numerous
> issues have been found on GitLab CI.
>
> Additionally, merge requests on GitLab always use master branch as the
> first parent. This is important, because it allows various tooling to
> use the `--first-parent` flag to iterate through merges to the master
> branch ignoring the commits. As a result it's possible to e.g. bisect
> some issue picking only the merges on the master branch which makes the
> process much more efficient, as intermediate commits on side branches
> don't even build a lot of the time. As it stands now, it would only take
> a single merge of the current master branch to an old enough commit to
> prevent such tooling working altogether. There have already been several
> occasions of such reverse merges happening, fortunately they used not
> too old commits as the first parent.
>
> What do you think about this?
>
> Regards,
> Povilas
>
>
>



Re: [sane-devel] Canon ImageClass MF644Cdw

2019-10-11 Thread Rolf Bensch
Hi Ken,

Am 07.10.19 um 19:16 schrieb ken:

[snip]
> Does scanning also work from the flatbed (platen) and via the manual
> feed slot (aka Stack Bypass)? 

I've senn this working with another ImageClass scanner. Maybe somebody
else can confirm this?

> According to 
> https://www.usa.canon.com/internet/portal/us/home/support/details/printers/color-laser/color-imageclass-mf644cdw/?tab=richtexteditortab_5417439e-0c5b-4a4c-8b4f-54ba103c6eba,
>  the scan resolutions for this unit are 300 x 600 and 600 x 600 dpi.  It 
> would, of course, be really nice to achieve higher resolutions.  Are the 
> Canon-stated resolutions perhaps limited by their own Windows and Mac 
> software?

The scan resolutions are restricted by hardware. If you need another
scan resolution you must use an external image converter program. But
you won't win anything if you increase the scan resolution. No program
can create contents which isn't available on the 600dpi scan.

[snip]

> What document formats are available for scanner output (on Linux of course)?

At the frontend you can set the desired scan area. E.g. in xsane you can
set the scan borders in a preview window.

[snip]

Hope this helps.

Cheers,
Rolf






Re: [sane-devel] Sending confirmation about the pixma backend

2019-10-07 Thread Rolf Bensch
Hi Rogério,

I can see an error response in your log file.

To fix this I need an USB snoop file from Canon's ScanGear Software. You
can use wireshark for snooping (to enable USB support read this:
https://wiki.wireshark.org/CaptureSetup/USB).

Many thanks for your help.

Cheers,
Rolf


Am 06.10.19 um 15:14 schrieb Rogério Brito:
> Dear Rolf and others,
> 
> On Oct 05 2019, Rolf Bensch wrote:
>> Am 05.10.19 um 00:00 schrieb Rogério Brito:
>>> Since I read the code and it mentioned that it needed testers, here is a
>>> report.  With the newer version of sane-backends, I can scan from the
>>> flatbed, as expected, and it works as well as I could expect (minus the
>>> fragility of this piece of hardware---disappointed with that, but that's not
>>> software-related, of course).
>>
>> Many thanks for your report.
> 
> You're welcome.
> 
>> $ scanadf -d pixma:04A91855_103CD1 --source "Automatic Document Feeder"
>> --mode Lineart --output-file foo%02d.pbm
>>
>> For testing ADF I prefer to use gscan2pdf and for "normal" scans xsane.
>> You can see some logs with:
>>
>> $ SANE_DEBUG_PIXMA=11 gscan2pdf
> 
> I tried:
> 
> $ SANE_DEBUG_PIXMA=11 scanadf -d pixma:04A91855_103CD1 --source "Automatic 
> Document Feeder" --mode Lineart --output-file foo%02d.pbm 2> scanadf.log
> 
> I still couldn't get anything scanned from the ADF (even though I put there
> 3 sheets of paper).  I'm attaching the log to this message. Any help would
> be highly appreciated.
> 
> If further information (or more detailed logs) are desired, please let me
> know.
> 
>> You can decrease the log level to reduce log depth (see 'man sane-pixma'
>> for details).
> 
> Thanks for the hint of that manpage.
> 
>>> In the case of it being possible to return this device and get something
>>> else in its place, which manufacturer/model would be preferred to have
>>> *full* functionality with Free Software only? Any recommendations?
>>
>> Please have a look at this table:
>> http://www.sane-project.org/sane-backends.html
> 
> Regarding this device, unfortunately, it seems that I can't return it. :-(
> So, I will have to live with it for the moment.
> 
> If/when possible, I may be getting another one more compatible and robust
> with Free Software support in the future. :-( OTOH, that table is huge.
> Which manufacturers are generally good bets/collaborative with Free Software
> developers in general?  HP?
> 
>> Hope this helps.
> 
> It sure did.
> 
> 
> Thanks,
> 
> Rogério
> 



Re: [sane-devel] Sending confirmation about the pixma backend

2019-10-05 Thread Rolf Bensch
Hi Rogério,

Am 05.10.19 um 00:00 schrieb Rogério Brito:
> Dear people,
>
> I just (yesterday night) bought myself a Canon PIXMA E4210 that I want to
> use *purely* with Free Software.
>
> In my limited hours with it, I found that the scanning wasn't working with
> the programs in Debian testing nor sid but that I could make it work with an
> USB cable if I installed sane-backends 1.0.28 (I actually grabbed a package
> uploaded to mentors.debian.org).
>
> Since I read the code and it mentioned that it needed testers, here is a
> report.  With the newer version of sane-backends, I can scan from the
> flatbed, as expected, and it works as well as I could expect (minus the
> fragility of this piece of hardware---disappointed with that, but that's not
> software-related, of course).

Many thanks for your report.

>
> Unfortunately, I can't scan from the ADF (which was one of the main reasons
> for me to choose this printer instead of others--with money being a 2nd
> factor, of course).



> - - - - - - - - - - - - - - - - - - - - - -
> $ scanadf -d pixma:04A91855_103CD1 --mode Lineart --gamma 1 --source 
> "Automatic Document Feeder" --output-file foo%02d.pbm
> scanadf: sane_read: Document feeder out of documents
> Scanned 0 pages
> - - - - - - - - - - - - - - - - - - - - - -
>
> The printer doesn't do anything, nothing moves etc.  The ADF works if I tell
> it to scan from my Android device (but, then, the Canon app doesn't allow me
> to specify resolution, nor if I want B/W images etc.---yes, it's that
> limited).

--souce option usually resets previous settings.

Please try this:

$ scanadf -d pixma:04A91855_103CD1 --source "Automatic Document Feeder"
--mode Lineart --output-file foo%02d.pbm

For testing ADF I prefer to use gscan2pdf and for "normal" scans xsane.
You can see some logs with:

$ SANE_DEBUG_PIXMA=11 gscan2pdf

or

$ SANE_DEBUG_PIXMA=11 xsane

add this if you want to save the log into a file:

&> pixma.log

You can decrease the log level to reduce log depth (see 'man sane-pixma'
for details).



> In the case of it being possible to return this device and get something
> else in its place, which manufacturer/model would be preferred to have
> *full* functionality with Free Software only? Any recommendations?

Please have a look at this table:
http://www.sane-project.org/sane-backends.html

Hope this helps.

Cheers,
Rolf




Re: [sane-devel] Canon ImageClass MF644Cdw

2019-10-04 Thread Rolf Bensch
Hi,

It seems that the network model differs between sources and network
scanner discovery. I just fixed it. It will be available from my ppa
tomorrow.

Hope this helps.

Cheers,
Rolf


Am 04.10.19 um 18:53 schrieb David McMahon:
> 
> 
> On Fri, Oct 4, 2019 at 3:51 AM Rolf Bensch  <mailto:r...@bensch-online.de>> wrote:
> 
> Hi Kip,
> 
> Am 14.09.19 um 03:40 schrieb Kip Shaffer:
> > Scanning Results!  I updated to today's
> version: 1.0.28+git20190913-bionic0
> >
> > Using Simple Scan I was able to scan at 75, 150, 300, 600, 1200, and
> > 2400 dpi in both Text and Photo modes.  Perfect!
> 
> I just updated the doc files.
> 
> >
> > When scanning from the document feeder, it scans front and back, one
> > sheet or many, but after the job is done there is a pause, and then it
> > says "Error communicating with scanner".
> 
> Can you scan again after closing the message and/or does your
> scanner hang?
> 
> The pause comes from adf-wait parameter. Please read the man page for
> details.
> 
> >
> > Also, this has all been through USB.  I tried to connect with the
> > network and scanimage -L cannot find it.  I added the address to
> > pixma.conf (neither line helped):
> > bjnp://MF640_192.168.1.97
> > bjnp://192.168.1.97 <http://192.168.1.97> <http://192.168.1.97>
> 
> Please read 'man sane-pixma' to get some help for this issue. If this
> won't help, please provide a log file with SANE_DEBUG_BJNP.
> 
> 
> Here's mine:
> 
> $ SANE_DEBUG_BJNP=5 scanimage -L 2>&1
> [sanei_debug] Setting debug level of bjnp to 5.
> [bjnp] sanei_bjnp_find_devices, pixma backend version: 0.23.3
> [bjnp] sanei_bjnp_find_devices: Adding scanner from pixma.conf:
> bjnp://192.168.86.39 <http://192.168.86.39>
> [bjnp] bjnp_allocate_device(bjnp://192.168.86.39:8612/timeout=1
> <http://192.168.86.39:8612/timeout=1>) 0
> [bjnp] get_scanner_name: Forward lookup for canoncbcab3.lan succeeded,
> using as hostname
> [bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.86.39
>  port 8612
> [bjnp] udp_command: ERROR - recv failed: Connection refused[bjnp]
> udp_command: ERROR - recv failed: Connection refused[bjnp] udp_command:
> ERROR - recv failed: Connection refused[bjnp] udp_command: ERROR - no
> data received (timeout = 1)
> [bjnp] bjnp_init_device_structure: Cannot read mac address, skipping
> this scanner
> [bjnp] bjnp_allocate_device: Scanner not yet in our list, added it:
> 192.168.86.39:8612 <http://192.168.86.39:8612>
> [bjnp] get_scanner_id: Get scanner identity
> [bjnp]  :42 4a 4e 50 02 30 00 00  00 01 00 00 00 00 00 00
> [bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.86.39
>  port 8612
> [bjnp] udp_command: ERROR - recv failed: Connection refused[bjnp]
> udp_command: ERROR - recv failed: Connection refused[bjnp] udp_command:
> ERROR - recv failed: Connection refused[bjnp] udp_command: ERROR - no
> data received (timeout = 1)
> [bjnp] get_scanner_id: ERROR - Failed to retrieve scanner identity:
> [bjnp] add_scanner: ERROR - Cannot read scanner make & model:
> bjnp://192.168.86.39:8612/timeout=1
> <http://192.168.86.39:8612/timeout=1>
> [bjnp] sanei_bjnp_find_devices: Added all configured scanners, now do
> auto detection...
> [bjnp] prepare_socket: lo is not a valid IPv4 interface, skipping...
> [bjnp] prepare_socket: eth0 is IPv4 capable, sending broadcast, socket = 9
> [bjnp] prepare_socket: docker0 is IPv4 capable, sending broadcast,
> socket = 10
> [bjnp] prepare_socket: lo is not a valid IPv6 interface, skipping...
> [bjnp] prepare_socket: eth0 is IPv6 capable, sending broadcast, socket = 11
> [bjnp] sanei_bjnp_find_devices: Select returned, time left 0.499988
> [bjnp] sanei_find_devices: Discover response:
> [bjnp]  :4d 46 4e 50 82 01 00 00  00 00 00 00 00 00 00 10
> [bjnp]  0010:00 01 80 00 06 04 10 98  c3 da 2c f7 c0 a8 56 27
> [bjnp] get_scanner_name: Forward lookup for canoncbcab3.lan succeeded,
> using as hostname
> [bjnp] bjnp_allocate_device(mfnp://canoncbcab3.lan:8610/timeout=1) 1
> [bjnp] get_scanner_name: Forward lookup for canoncbcab3.lan succeeded,
> using as hostname
> [bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.86.39
>  port 8610
> [bjnp] bjnp_get_scanner_mac_address: Discover response:
> [bjnp]  :4d 46 4e 50 82 01 00 00  00 00 00 00 00 00 00 10
> [bjnp]  0010:00 01 80 00 06 04 10 98  c3 da 2c f7 c0 a8 56 27
> [bjnp] bjnp_allocate_device: Scanner not yet in our list, added it:
> canoncbcab3.lan:8610
> [bjnp] get_scanner_id:

Re: [sane-devel] sane-pixma Canon MF269dw

2019-10-04 Thread Rolf Bensch
Hi Vilnius,

The behavior of xsane sounds strange. Please check what's going on with:
$ SANE_DEBUG_PIXMA=11 SANE_DEBUG_BJNP=5 xsane

Alternatively you can try a test scan with:
$ SANE_DEBUG_PIXMA=11 SANE_DEBUG_BJNP=5 scanimage >test.pnm

If you want to scan from ADF, for a first approach you should use
gscan2pdf (ADF implementation in xsane and scanimage is very tricky to use):
$ SANE_DEBUG_PIXMA=11 SANE_DEBUG_BJNP=5 gscan2pdf

If you have further problems, please send me compressed log files.

If ADF still isn't working, please also create an USB snoop file from a
Windows machine as reference. You can use wireshark with usbpcap
(https://wiki.wireshark.org/CaptureSetup/USB).

Hope this helps.

Cheers,
Rolf


Am 02.10.19 um 09:58 schrieb Vilnius Ramanauskas:
> Hi,
> 
> tested new version it gives feeder/duplex option now. 
> 
> Though colleague was playing around on linux and I did not know that
> actually stable 1.2.8 from your repo does not scan correctly. Attaching
> example of PDF output.
> 
> Although there's some issues with package or compatibility with xsane.
> When starting xsane there's searching for devices screen for couple of
> seconds. Then searching screen disappears and there's silence for
> ~15sec, after which we're getting unresponsive Xsane window. Xsane
> becomes responsive in another ~15sec. When trying to change any option
> on Xsane it takes few seconds each time on each option change for Xsane
> to become responsive again.
> 
> We're trying connected through Ethernet on local network.
> 
> Here's packages from my test PC on older ubuntu. Similar PDF result on
> new Ubuntu, with todays nightly build.
> 
> ii  libkf5sane-data                            17.12.3-0ubuntu1        
>                     all          scanner library (data files)
> ii  libkf5sane5                                17.12.3-0ubuntu1        
>                     amd64        scanner library (runtime)
> ii  libsane:amd64                              1.0.28-bionic0          
>                     amd64        API library for scanners
> ii  libsane-common                             1.0.28-bionic0          
>                     all          API library for scanners --
> documentation and support files
> ii  libsane-hpaio:amd64                        3.17.10+repack0-5        
>                    amd64        HP SANE backend for multi-function
> peripherals
> ii  libsane1:amd64                             1.0.28-bionic0          
>                     amd64        API library for scanners [transitional
> package]
> ii  sane                                       1.0.14-12build1          
>                    amd64        scanner graphical frontends
> ii  sane-utils                                 1.0.28-bionic0          
>                     amd64        API library for scanners -- utilities
> ii  xsane                                      0.999-5ubuntu2          
>                     amd64        featureful graphical frontend for SANE
> (Scanner Access Now Easy)
> ii  xsane-common                               0.999-5ubuntu2          
>                     all          xsane architecture independent files
> 
> BR,
> 
> Vilnius 
> 
> 
> On Wed, 2 Oct 2019 at 00:01, Rolf Bensch  <mailto:r...@bensch-online.de>> wrote:
> 
> Hi Vilnius,
> 
> Many thanks for your feedback.
> 
> However, ADF support was missing in the device definition. I just fixed
> this and you can test ADF support with the next version from my PPA
> tomorrow.
> 
> Please also test Ethernet / WiFi support.
> 
> Hope this helps.
> 
> Cheers,
> Rolf
> 
> 
> Am 23.09.19 um 13:03 schrieb Vilnius Ramanauskas:
> > Hi,
> >
> > we have Canon MF269dw with a duplex ADF. Found out that 1.0.27
> (still on
> > ubuntu official repos) does not support that printer, but 1.0.28 (from
> > your repo) support that printer. Thank you for binaries!
> > Though scanning now is only working with Flatbed, not with ADF or
> duplex
> > ADF. We could help you test if you'll give us some info on how to
> setup
> > testing env. and help you make sane even better :)
> >
> > I have many years of sysadmin, some development background, I think I
> > could properly test and document tests.
> >
> > Thank you!
> >
> > BR,
> > Vilnius Ramanauskas
> >
> 



Re: [sane-devel] Canon MG3050

2019-10-04 Thread Rolf Bensch
;> device seems impossible:
>>>>
>>>> /etc/sane.d/pixma.conf contains one line ... auto detection could not
>>>> find this device
>>>>
>>>> # Canon MG3050
>>>> bjnp://192.168.178.70
>>>>
>>>>
>>>> bjnp.log
>>>>
>>>> Output format is not set, using pnm as a default.
>>>> [sanei_debug] Setting debug level of bjnp to 11.
>>>> [bjnp] sanei_bjnp_find_devices, pixma backend version: 0.23.0
>>>> [bjnp] sanei_bjnp_find_devices: Adding scanner from pixma.conf:
>>>> bjnp://192.168.178.70
>>>> [bjnp] bjnp_allocate_device(bjnp://192.168.178.70:8612/timeout=1)
>>>> 0
>>>> [bjnp] get_scanner_name: Name for 192.168.178.70 not found : Name or
>>>> service not known
>>>> [bjnp] setup_udp_socket: Setting up a UDP socket, dest:
>>>> 192.168.178.70 
>>>> port 8612
>>>> [bjnp] udp_command: ERROR - recv failed: Connection refused[bjnp]
>>>> udp_command: ERROR - recv failed: Connection refused[bjnp]
>>>> udp_command:
>>>> ERROR - recv failed: Connection refused[bjnp] udp_command: ERROR - no
>>>> data received (timeout = 1)
>>>> [bjnp] bjnp_init_device_structure: Cannot read mac address, skipping
>>>> this scanner
>>>> [bjnp] bjnp_allocate_device: Scanner not yet in our list, added it:
>>>> 192.168.178.70:8612
>>>> [bjnp] get_scanner_id: Get scanner identity
>>>> [bjnp]  :42 4a 4e 50 02 30 00 00  00 01 00 00 00 00 00 00
>>>> [bjnp] setup_udp_socket: Setting up a UDP socket, dest:
>>>> 192.168.178.70 
>>>> port 8612
>>>> [bjnp] udp_command: ERROR - recv failed: Connection refused[bjnp]
>>>> udp_command: ERROR - recv failed: Connection refused[bjnp]
>>>> udp_command:
>>>> ERROR - recv failed: Connection refused[bjnp] udp_command: ERROR - no
>>>> data received (timeout = 1)
>>>> [bjnp] get_scanner_id: ERROR - Failed to retrieve scanner identity:
>>>> [bjnp] add_scanner: ERROR - Cannot read scanner make & model:
>>>> bjnp://192.168.178.70:8612/timeout=1
>>>> [bjnp] sanei_bjnp_find_devices: Added all configured scanners, now do
>>>> auto detection...
>>>> [bjnp] prepare_socket: lo is not a valid IPv4 interface, skipping...
>>>> [bjnp] prepare_socket: eth0 is IPv4 capable, sending broadcast,
>>>> socket = 39
>>>> [bjnp] prepare_socket: lo is not a valid IPv6 interface, skipping...
>>>> [bjnp] prepare_socket: eth0 is IPv6 capable, sending broadcast,
>>>> socket = 40
>>>> [bjnp] sanei_find_devices: scanner discovery finished...
>>>> scanimage: no SANE devices found
>>>>
>>>>
>>>> Regards,
>>>>
>>>> Kamp
>>>>
>>>>
>>>> On 07.08.19 00:24, Louis Lagendijk wrote:
>>>>> Hi Kamp,
>>>>> Do you have a firewall in the way maybe? Please see man sane-pixma
>>>>> for
>>>>> what ports need to be opened. Please pay attention to the
>>>>> differences
>>>>> mentioned there for TCP and UDP.
>>>>> And what network are you connected to? I recall seeing a Vodafone
>>>>> (?)
>>>>> modem that messed with IP-adresses 
>>>>> Did you modify the logfile:
>>>>> bjnp://192.168.***.**:8612/timeout=1)
>>>>> looks as if you are trying the IP-address? What is in the
>>>>> /etc/sane/pixma.comf (if the firewall is configured correctly there
>>>>> should not be a need to manually configure the scanner there unless
>>>>> it
>>>>> is on a different subnet...(well maybe to extend the timeouts)
>>>>>
>>>>> Please get me a logfile with:
>>>>> $ SANE_DEBUG_BJNP=11 scanimage 2> bjnp.log > pixma.pnm
>>>>> Please also make a wireshark trace at the same time and mail me
>>>>> that
>>>>> also (sorry, no IP-address obfuscation)
>>>>>
>>>>> kind regards, Louis
>>>>>
>>>>> On Sun, 2019-08-04 at 12:15 +0200, Rolf Bensch wrote:
>>>>>> Hi Louis,
>>>>>>
>>>>>> Please help with the BJNP issue.
>>>>>>
>>>>>> Many thanks.
>>>>>>
>>>>>> Cheers,
>>>>>> Rolf
>>>>>>
>>>>>

Re: [sane-devel] Canon ImageClass MF644Cdw

2019-10-04 Thread Rolf Bensch
Hi Kip,

Am 14.09.19 um 03:40 schrieb Kip Shaffer:
> Scanning Results!  I updated to today's version: 1.0.28+git20190913-bionic0
> 
> Using Simple Scan I was able to scan at 75, 150, 300, 600, 1200, and
> 2400 dpi in both Text and Photo modes.  Perfect!

I just updated the doc files.

> 
> When scanning from the document feeder, it scans front and back, one
> sheet or many, but after the job is done there is a pause, and then it
> says "Error communicating with scanner". 

Can you scan again after closing the message and/or does your scanner hang?

The pause comes from adf-wait parameter. Please read the man page for
details.

> 
> Also, this has all been through USB.  I tried to connect with the
> network and scanimage -L cannot find it.  I added the address to
> pixma.conf (neither line helped):
> bjnp://MF640_192.168.1.97
> bjnp://192.168.1.97 

Please read 'man sane-pixma' to get some help for this issue. If this
won't help, please provide a log file with SANE_DEBUG_BJNP.

> 
> TL:DR - the sane-pixma backend is functional for the Canon ImageClass
> MF644Cdw when connected via USB, with only a slight hiccup after
> scanning from the sheet feeder.  I was not able to scan over the network.

Many thanks for your report.

Hope this helps.

Cheers,
Rolf



Re: [sane-devel] Canon TS8000 series PIXMA

2019-10-04 Thread Rolf Bensch
Hi Martin,

You're using an ancient version of SANE. Please update SANE and test again.

In the log you should see at least pixma version 0.23.3.

Hope this helps.

Cheers,
Rolf


Am 01.09.19 um 16:45 schrieb Martin Gubser:
> Hi Rolf
> 
> Here the requested logfiles:
> 
> [sanei_debug] Setting debug level of pixma to 11.
> [pixma] pixma is compiled with pthread support.
> [pixma] pixma version 0.17.37
> [pixma] pixma_collect_devices() found Canon PIXMA TS8000 Series at
> libusb:001:006
> [pixma] pixma_find_scanners() found 1 devices
> [pixma] pixma_collect_devices() found Canon PIXMA TS8000 Series at
> libusb:001:006
> [pixma] pixma_open(): Canon PIXMA TS8000 Series
> [pixma] pixma_connect() failed EBUSY
> [pixma] pixma_open() failed EBUSY
> [pixma] pixma_close(): Canon PIXMA TS8000 Series
> 
> [sanei_debug] Setting debug level of pixma to 11.
> [pixma] pixma is compiled with pthread support.
> [pixma] pixma version 0.17.37
> [pixma] pixma_collect_devices() found Canon PIXMA TS8000 Series at
> libusb:001:007
> [pixma] pixma_find_scanners() found 1 devices
> [pixma] pixma_collect_devices() found Canon PIXMA TS8000 Series at
> libusb:001:007
> [pixma] pixma_open(): Canon PIXMA TS8000 Series
> [pixma] *mp150_open* This is a generation 4 scanner.  *
> [pixma] INTR T=6.979 len=32
> [pixma]  :00 00 00 01 00 00 00 00  00 00 00 00 00 00 00 00
> [pixma]  0010:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> [pixma]
> [pixma] WARNING:send_time() disabled!
> [pixma] INTR T=7.235 len=32
> [pixma]  :00 00 00 01 00 00 00 00  00 00 00 00 00 00 00 00
> [pixma]  0010:00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
> [pixma]
> [pixma] WARNING:send_time() disabled!
> [pixma] pixma_close(): Canon PIXMA TS8000 Series
> 
> Many thanks for your help
> Martin
> 
> Am 26.08.19 um 21:38 schrieb Rolf Bensch:
>> Hi Martin,
>>
>> Please create 2 logfiles from a terminal, one with failed start and
>> another with your workaround:
>>
>> $ SANE_DEBUG_PIXMA=11 xsane &> xsane.log
>>
>> Many thanks for your help.
>>
>> Cheers,
>> Rolf
>>
>>
>> Am 29.07.19 um 23:32 schrieb Martin Gubser:
>>> Hi Rolf
>>>
>>> On Linux Mint 19 Cinnamon, Version 3.8.9 my TS8050 does not initialize 
>>> properly.
>>>
>>> When I start XSANE from within Gimp the error message "device busy" is 
>>> displayed.
>>>
>>> Starting XSANE from the menu results in the error message "Fehler beim 
>>> Öffnen des Gerätes "pixma:04A91800_12F863": Ungültiges Argument.
>>>
>>> I have found the following work-around:
>>> - switch off the TS8050
>>> - perform "scanimage -T" in a command window. Result: "no Sane devices 
>>> found"
>>> - switch on the TS8050
>>> - perform "scanimage -T" again. Sometimes the steps from "switch off the 
>>> TS8050" to here have to be repeated.
>>> - Start XSANE again from the menu.
>>> - Now I can also start XSANE from within Gimp.
>>>
>>> I have quite a fast computer and a race condition or other timing problem 
>>> could well be the cause.
>>>
>>> Best regards,
>>> Martin 
>>>
>>>
>>> Am 29.07.19 um 22:37 schrieb Rolf Bensch:
>>>
>>>> Hi Timothy,
>>>>
>>>> Many thanks for your report. I just updated the doc files.
>>>>
>>>> One last question: Have you also tried scanner access via WiFi? I
>>>> suppose it's not working like other PIXMA TS scanners.
>>>>
>>>> Cheers,
>>>> Rolf
>>>>
>>>>
>>>> Am 22.07.19 um 21:32 schrieb Timothy D. Upton:
>>>>> Hi Rolf,
>>>>> I just got a chance to thoroughly test the operation of my Canon TS8220
>>>>> printer/scanner running under SANE.  I tried scanning using all possible
>>>>> resolutions and options, everything appears to work perfectly.
>>>>> Thanks for supporting the Linux community,
>>>>> Tim.
>>>>>
>>>>>
>>>>> On Sun, Jun 2, 2019 at 5:18 AM Rolf Bensch >>>> <mailto:r...@bensch-online.de>> wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I would follow the install instructions from INSTALL.linux which comes
>>>>> with the sources or 

Re: [sane-devel] sane-pixma Canon MF269dw

2019-10-01 Thread Rolf Bensch
Hi Vilnius,

Many thanks for your feedback.

However, ADF support was missing in the device definition. I just fixed
this and you can test ADF support with the next version from my PPA
tomorrow.

Please also test Ethernet / WiFi support.

Hope this helps.

Cheers,
Rolf


Am 23.09.19 um 13:03 schrieb Vilnius Ramanauskas:
> Hi,
> 
> we have Canon MF269dw with a duplex ADF. Found out that 1.0.27 (still on
> ubuntu official repos) does not support that printer, but 1.0.28 (from
> your repo) support that printer. Thank you for binaries!
> Though scanning now is only working with Flatbed, not with ADF or duplex
> ADF. We could help you test if you'll give us some info on how to setup
> testing env. and help you make sane even better :)
> 
> I have many years of sysadmin, some development background, I think I
> could properly test and document tests.
> 
> Thank you!
> 
> BR,
> Vilnius Ramanauskas
> 



Re: [sane-devel] Canon TR4529 (PIXMA TR4500 Series)

2019-09-25 Thread Rolf Bensch
Hi JMS,

Sorry, I was confused with the numbers. SANE 1.0.28 is the recent
version you need.

Hope this helps.

Cheers,
Rolf


Am 13.09.19 um 01:11 schrieb Jean-Marc Spaggiari:
> Hi Rolf,
> 
> I'm running straight Debian and it seems that availble version is
> 1.0.27. The Ubuntu link you sent shows 1.0.28. I searched on Debian
> Packaged and they don't seems to have something more recent :-/
> 
> Any idea where I can find it? Else I will just build from the sources.
> 
> Thanks,
> 
> JMS
> 
> Le jeu. 12 sept. 2019 à 16:26, Rolf Bensch  <mailto:r...@bensch-online.de>> a écrit :
> 
> Hi JMS,
> 
> What SANE version is installen on your system? You need version 1.0.29.
> 
> If you're using Ubuntu or an Ubuntu clone, you can use my ppa to
> update SANE:
> https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git .
> 
> If you have another Linux OS, please install SANE as described in
> INSTALL.linux (http://www.sane-project.org/docs.html).
> 
> Please try to scan all dpi resolutions and after this the document
> feeder.
> 
> Hope this helps.
> 
> Cheers,
> Rolf
> 
>  
> 
> Am 27.08.19 um 15:29 schrieb Jean-Marc Spaggiari:
>> Hi,
>>
>> I'm trying to get a Canon TR4529 work with Sane without any
>> success. The support page said testers are needed. Here am I ;)
>>
>> http://www.sane-project.org/sane-mfgs.html#Z-CANON
>>
>> Scanner works well with scangearmp2.
>> sane-find-scanner can find it: found USB scanner (vendor=0x04a9
>> [Canon], product=0x1854 [TR4500 series]) at libusb:001:006
>>
>> But scanimage doesn't return anything:
>> $ ./frontend/scanimage -L
>>
>> No scanners were identified. If you were expecting something
>> different,
>> check that the scanner is plugged in, turned on and detected by the
>> sane-find-scanner tool (if appropriate). Please read the documentation
>> which came with this software (README, FAQ, manpages).
>>
>> I have downloaded the last snapshot and built from there.
>> 1008  27/08/2019 09:06:12 ./configure
>> 1009  27/08/2019 09:06:37 make
>> 1013  27/08/2019 09:11:15 ./tools/sane-find-scanner
>> 1016  27/08/2019 09:11:37 ./frontend/scanimage -L
>>
>> From documentation it says:
>> The  device  name  for  USB devices is in the form pixma:_z
>> where x, y and z are vendor ID, product ID and  serial  number  respec‐
>> tively.
>>
>> So I tried:
>> scanimage --device-name="pixma:04A91854_22811"
>>
>> But I don't know what is the serial number. I took the one from
>> the printer, but doesn't work.
>>
>> Can someone please provide some guidance on how I can make process
>> and how to help with the testing?
>>
>> Thanks,
>>
>> JMS
>>



Re: [sane-devel] Canon TR4529 (PIXMA TR4500 Series)

2019-09-12 Thread Rolf Bensch
Hi JMS,

What SANE version is installen on your system? You need version 1.0.29.

If you're using Ubuntu or an Ubuntu clone, you can use my ppa to update
SANE: https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git .

If you have another Linux OS, please install SANE as described in
INSTALL.linux (http://www.sane-project.org/docs.html).

Please try to scan all dpi resolutions and after this the document feeder.

Hope this helps.

Cheers,
Rolf

 

Am 27.08.19 um 15:29 schrieb Jean-Marc Spaggiari:
> Hi,
>
> I'm trying to get a Canon TR4529 work with Sane without any success.
> The support page said testers are needed. Here am I ;)
>
> http://www.sane-project.org/sane-mfgs.html#Z-CANON
>
> Scanner works well with scangearmp2.
> sane-find-scanner can find it: found USB scanner (vendor=0x04a9
> [Canon], product=0x1854 [TR4500 series]) at libusb:001:006
>
> But scanimage doesn't return anything:
> $ ./frontend/scanimage -L
>
> No scanners were identified. If you were expecting something different,
> check that the scanner is plugged in, turned on and detected by the
> sane-find-scanner tool (if appropriate). Please read the documentation
> which came with this software (README, FAQ, manpages).
>
> I have downloaded the last snapshot and built from there.
> 1008  27/08/2019 09:06:12 ./configure
> 1009  27/08/2019 09:06:37 make
> 1013  27/08/2019 09:11:15 ./tools/sane-find-scanner
> 1016  27/08/2019 09:11:37 ./frontend/scanimage -L
>
> From documentation it says:
> The  device  name  for  USB devices is in the form pixma:_z
> where x, y and z are vendor ID, product ID and  serial  number  respec‐
> tively.
>
> So I tried:
> scanimage --device-name="pixma:04A91854_22811"
>
> But I don't know what is the serial number. I took the one from the
> printer, but doesn't work.
>
> Can someone please provide some guidance on how I can make process and
> how to help with the testing?
>
> Thanks,
>
> JMS
>


Re: [sane-devel] Canon ImageClass MF644Cdw

2019-09-12 Thread Rolf Bensch
Hi Kip,

As Olaf mentioned before, your scanner is implemented in stable SANE version 
1.0.28 (http://www.sane-project.org/sane-backends.html#S-PIXMA), but not tested 
yet.

If you're using Ubuntu or an Ubuntu clone, you can use my ppa to update SANE: 
https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git .

If you have another Linux OS, please install SANE as described in INSTALL.linux 
(http://www.sane-project.org/docs.html).

If your scanner can be found by SANE, please test scanning all dpi resolutions 
and the document feeder with single/multiple pages, single side and duplex. 
Maybe you want to test WiFi support.

Hope this helps.

Cheers,
Rolf

Am 12.09.19 um 08:52 schrieb Olaf Meeuwissen:
> Hi Steve, Kip, Rolf, list,
>
> Steve McNeil writes:
>
>> Hi Kip,
>>
>> If you can build from source, I think I can help you.
>>
>> I think I can modify the source files for you to test with.
> You shouldn't have to modify anything in sane-backends-1.0.28.
>
> @Rolf> What kind of testing would you like to be done?
>
>> Thank you,
>> Steve
>>
>> On 9/5/19 4:00 AM, sane-devel-requ...@alioth-lists.debian.net wrote:
>>> Greetings!  Would it be possible to add a Canon ImageClass MF644Cdw to the
>>> Canon Pixma driver?
>>>
>>> Here is the info from sane-find-scanner:
>>>
>>> found USB scanner (vendor=0x04a9 [Canon], product=0x27fe
>>> [MF642C/643C/644C]) at libusb:002:003
>>>
>>> I am happy to run any testing you desire!
>>>
>>> -Kip
> Hope this helps,
> --
> Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
>  GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
>  Support Free Softwarehttps://my.fsf.org/donate
>  Join the Free Software Foundation  https://my.fsf.org/join
>



Re: [sane-devel] Canon TS8000 series PIXMA

2019-08-26 Thread Rolf Bensch
Hi Martin,

Please create 2 logfiles from a terminal, one with failed start and
another with your workaround:

$ SANE_DEBUG_PIXMA=11 xsane &> xsane.log

Many thanks for your help.

Cheers,
Rolf


Am 29.07.19 um 23:32 schrieb Martin Gubser:
> Hi Rolf
> 
> On Linux Mint 19 Cinnamon, Version 3.8.9 my TS8050 does not initialize 
> properly.
> 
> When I start XSANE from within Gimp the error message "device busy" is 
> displayed.
> 
> Starting XSANE from the menu results in the error message "Fehler beim Öffnen 
> des Gerätes "pixma:04A91800_12F863": Ungültiges Argument.
> 
> I have found the following work-around:
> - switch off the TS8050
> - perform "scanimage -T" in a command window. Result: "no Sane devices found"
> - switch on the TS8050
> - perform "scanimage -T" again. Sometimes the steps from "switch off the 
> TS8050" to here have to be repeated.
> - Start XSANE again from the menu.
> - Now I can also start XSANE from within Gimp.
> 
> I have quite a fast computer and a race condition or other timing problem 
> could well be the cause.
> 
> Best regards,
> Martin 
> 
> 
> Am 29.07.19 um 22:37 schrieb Rolf Bensch:
> 
>> Hi Timothy,
>>
>> Many thanks for your report. I just updated the doc files.
>>
>> One last question: Have you also tried scanner access via WiFi? I
>> suppose it's not working like other PIXMA TS scanners.
>>
>> Cheers,
>> Rolf
>>
>>
>> Am 22.07.19 um 21:32 schrieb Timothy D. Upton:
>>> Hi Rolf,
>>> I just got a chance to thoroughly test the operation of my Canon TS8220
>>> printer/scanner running under SANE.  I tried scanning using all possible
>>> resolutions and options, everything appears to work perfectly.
>>> Thanks for supporting the Linux community,
>>> Tim.
>>>
>>>
>>> On Sun, Jun 2, 2019 at 5:18 AM Rolf Bensch >> <mailto:r...@bensch-online.de>> wrote:
>>>
>>> Hi,
>>>
>>> I would follow the install instructions from INSTALL.linux which comes
>>> with the sources or from here: http://www.sane-project.org/docs.html
>>>
>>> @Tim: Is high resolution scan (1200 dpi) and are all other options
>>> working? I would like to update scanners status page here:
>>> http://www.sane-project.org/lists/sane-backends-cvs.html#S-PIXMA
>>>
>>> Many thanks for your help.
>>>
>>> Cheers,
>>> Rolf
>>>
>>>
>>> Am 29.05.19 um 04:30 schrieb Timothy D. Upton:
>>> > Hi all,
>>> >
>>> > I have a Canon TS8220 printer/scanner.  It seems to work perfectly
>>> > (with e.g., Simple Scan) using the latest development release of
>>> > SANE.  The stable release did NOT work.
>>> >
>>> > I followed the install instructions described here:
>>> >
>>> 
>>> https://askubuntu.com/questions/641261/how-can-i-link-my-canon-mg5650-scanner-to-ubuntu
>>> >
>>> > Or simply:
>>> > sudo add-apt-repository ppa:rolfbensch/sane-git
>>> > sudo apt-get update
>>> > sudo apt-get upgrade
>>> >
>>> > Thanks for all your efforts!
>>> > Tim Upton.
>>> >
>>>

-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] How can I help with Canon Maxify MB2000 series testing?

2019-08-20 Thread Rolf Bensch
Hi Patrick,

I just fixed ADF scanning for other Maxify scanners and committed the
same fix to your scanner. The fix will be available from my PPA
tomorrow. Please report your results scanning from ADF.

Hope this helps.

Cheers,
Rolf


Am 04.02.18 um 12:44 schrieb Rolf Bensch:
> Hi Patrick,
>
> It seems that we have a general problem with ADF scanning from all
> Maxify scanners.
>
> If possible, please provide USB logfiles from a Windows machine scanning
> from ADF and duplex ADF, one page and two pages, using Wireshark. Then I
> can try to fix this.
>
> In the meantime I'll update the doc files.
>
> Many thanks for your help.
>
> Cheers,
> Rolf
>

-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Canon MB5050 and ADF

2019-08-20 Thread Rolf Bensch
Hi Louis,

I just committed your suggested fixes for your MB5050 and other MB scanners.

Do you already have some test results from your new MB5450? What's about
scanning with 1200 dpi? I'll update MB5100 settings when your new
scanner is working, due to near USB PID.

Hope this helps.

Cheers,
Rolf


Am 10.08.19 um 19:29 schrieb Louis Lagendijk:
> hi
> I have had a Canon Maxify MX5050 for a few years. I use scanning very
> seldom (so why did I get involved in the Sane project?)
> I  recently had a few cases where I needed to scan a number of pages. I
> failed to get ADF working. Today I spent a few hours on making it work.
> 
> I see that you defined PIXMA_CAP_ADFDUP for the MB5000. My MB5050
> however has a single sided ADF. Do you know of other MB5000 type
> scanners that have duplex ADF or should this be PIXMA_CAP_ADF?
> 
> The very similar MB5150 has indeed a duplex ADF.
> 
> And second: the MB5050 seems to require PIXMA_CAP_ADF_JPEG. Is it ok to
> add it? 
> 
> With these changes, resulting in:
> 
> DEVICE ("Canon MAXIFY MB5000 Series", "MB5000", MB5000_PID, 1200, 0, 0,
> 638, 1050, PIXMA_CAP_CIS | PIXMA_CAP_ADF | PIXMA_CAP_ADF_JPEG),
> 
> my scanner works with ADF.
> 
> As the MB5100 series seems to be mostly identical, I would guess that
> this will also need PIXMA_CAP_ADF_JPEG.
> 
> Can you please check and update GIT or let me know it I should do so?
> 
> By Monday I will receive an MB5450. The printhead in the MB5050 is
> clogged, so I ordered a new Maxify. Will test that one as well when I
> get some time
> 
> Thanks as usual for your support
> 
> Kind regards, Louis
> 
> 
> 
> 
> 
> 

-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Canon MG3050

2019-08-04 Thread Rolf Bensch
Hi Louis,

Please help with the BJNP issue.

Many thanks.

Cheers,
Rolf


Am 04.08.19 um 12:05 schrieb kamp0...@arcor.de:
> Thanks, as mentioned before, scanning over usb is working.
> 
> But scanning over wifi is not working, it ends up with this error message.
> 
> Would be nice, if this would work, on the sane page it is sill listed
> with "Testers needed". I could provide some test logs if required.
> 
> Here are both logs, with usb and wifi only:
> 
> https://pastebin.com/VP4nRYUb
> 
> 
> Cheers,
> 
> Kamp
> 
> 
> On 04.08.19 11:28, Rolf Bensch wrote:
>> Hi Kamp,
>>
>> Please try to scan via USB with disabled WiFi. If this isn't working,
>> please provide the created log file:
>> $ SANE_DEBUG_PIXMA=11 scanimage 2> pixma.log > pixma.pnm
>>
>> Hope this helps.
>>
>> Cheers,
>> Rolf
>>
>>
>> Am 03.08.19 um 21:31 schrieb kamp0...@arcor.de:
>>> So sorry, these are the correct versions:
>>>
>>> [code]
>>>
>>> ii  libsane-common   
>>> 1.0.27-1~experimental3ubuntu2.1  all  API library
>>> for scanners -- documentation and support files
>>> ii  libsane-hpaio:amd64  
>>> 3.17.10+repack0-5    amd64    HP SANE
>>> backend for multi-function peripherals
>>> ii  libsane1:amd64   
>>> 1.0.27-1~experimental3ubuntu2.1  amd64    API library
>>> for scanners
>>> ii  sane-utils   
>>> 1.0.27-1~experimental3ubuntu2.1  amd64    API library
>>> for scanners -- utilities
>>> ii  xsane
>>> 0.999-5ubuntu2   amd64    featureful
>>> graphical frontend for SANE (Scanner Access Now Easy)
>>> ii  xsane-common 
>>> 0.999-5ubuntu2   all  xsane
>>> architecture independent files
>>> [/code]
>>>
>>>
>>> USB is working, wifi not.
>>>
>>> I updated with your repo to version 1.0.28+git20190802, same problem here.
>>>
>>> [bjnp] add_scanner: ERROR - Cannot read scanner make & model:
>>> bjnp://192.168.***.**:8612/timeout=1
>>>
>>> Regards,
>>>
>>> Kamp
>>>
>>> On 03.08.19 19:18, Rolf Bensch wrote:
>>>> Hi Kamp,
>>>>
>>>> No wonder, your SANE installation is outdated and doesn't support
>>>> MG3050. SANE version must be >= 1.0.27. Please update SANE e.g. from my
>>>> PPA: https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git .
>>>>
>>>> Due to your scanner is in 'untested' status, please try to scan via USB
>>>> first. If this is working, then you can switch to WiFi.
>>>>
>>>> Debug hints and BJNP setup are described in the man page '$ man sane-pixma'
>>>>
>>>> Hope this helps.
>>>>
>>>> Cheers,
>>>> Rolf
>>>>
>>>>
>>>> Am 03.08.19 um 11:38 schrieb kamp0...@arcor.de:
>>>>> Thanks.
>>>>>
>>>>> This Scanner is working over usb, but not over wifi.
>>>>>
>>>>> Can I scan over network with is printer?
>>>>>
>>>>> This device is connected to my wifi network and I can print.
>>>>>
>>>>> The IP address is located in the file "/etc/sane.d/pixma.conf"
>>>>> # Canon MG3050
>>>>> bjnp://192.168.***.**
>>>>>
>>>>> Output scanimage:
>>>>>
>>>>> [CODE]
>>>>>
>>>>> scanimage -L
>>>>> [bjnp] udp_command: ERROR - no data received
>>>>> [bjnp] bjnp_init_device_structure: Cannot read mac address, skipping
>>>>> this scanner
>>>>> [bjnp] udp_command: ERROR - no data received
>>>>> [bjnp] add_scanner: ERROR - Cannot read scanner make & model:
>>>>> bjnp://192.168.***.**
>>>>>
>>>>> No scanners were identified. If you were expecting something different,
>>>>> check that the scanner is plugged in, turned on and detected by the
>>>>> sane-find-scanner tool (if appropriate). Please read the documentation
>>>>> which came with this software (README, FAQ, manpages).
>>>>>
>>>>> [/COD

[sane-devel] autoconf needs git clone

2019-08-04 Thread Rolf Bensch
Hi Olaf,

Debian and Ubuntu use autoconf for building their repositories. Since
git commit bf00b9f49 they need a full git clone for running through
'configure.ac'.

For my PPA I created a patch to revert this commit.

On the other hand, after a git gull I always need to call './autogen.sh
&& ./configure' to see the updated git version in my manually builds, e.g.
$ scanimage -V
scanimage (sane-backends) 1.0.28-3-g90684c53; backend version 1.0.28

This is annoying any I think you had another idea behind your commit.

Hope this helps.

Cheers,
Rolf


-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Canon MG3050

2019-08-04 Thread Rolf Bensch
Hi Kamp,

Please try to scan via USB with disabled WiFi. If this isn't working,
please provide the created log file:
$ SANE_DEBUG_PIXMA=11 scanimage 2> pixma.log > pixma.pnm

Hope this helps.

Cheers,
Rolf


Am 03.08.19 um 21:31 schrieb kamp0...@arcor.de:
> So sorry, these are the correct versions:
> 
> [code]
> 
> ii  libsane-common   
> 1.0.27-1~experimental3ubuntu2.1  all  API library
> for scanners -- documentation and support files
> ii  libsane-hpaio:amd64  
> 3.17.10+repack0-5    amd64    HP SANE
> backend for multi-function peripherals
> ii  libsane1:amd64   
> 1.0.27-1~experimental3ubuntu2.1  amd64    API library
> for scanners
> ii  sane-utils   
> 1.0.27-1~experimental3ubuntu2.1  amd64    API library
> for scanners -- utilities
> ii  xsane
> 0.999-5ubuntu2   amd64    featureful
> graphical frontend for SANE (Scanner Access Now Easy)
> ii  xsane-common 
> 0.999-5ubuntu2   all  xsane
> architecture independent files
> [/code]
> 
> 
> USB is working, wifi not.
> 
> I updated with your repo to version 1.0.28+git20190802, same problem here.
> 
> [bjnp] add_scanner: ERROR - Cannot read scanner make & model:
> bjnp://192.168.***.**:8612/timeout=1
> 
> Regards,
> 
> Kamp
> 
> On 03.08.19 19:18, Rolf Bensch wrote:
>> Hi Kamp,
>>
>> No wonder, your SANE installation is outdated and doesn't support
>> MG3050. SANE version must be >= 1.0.27. Please update SANE e.g. from my
>> PPA: https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git .
>>
>> Due to your scanner is in 'untested' status, please try to scan via USB
>> first. If this is working, then you can switch to WiFi.
>>
>> Debug hints and BJNP setup are described in the man page '$ man sane-pixma'
>>
>> Hope this helps.
>>
>> Cheers,
>> Rolf
>>
>>
>> Am 03.08.19 um 11:38 schrieb kamp0...@arcor.de:
>>> Thanks.
>>>
>>> This Scanner is working over usb, but not over wifi.
>>>
>>> Can I scan over network with is printer?
>>>
>>> This device is connected to my wifi network and I can print.
>>>
>>> The IP address is located in the file "/etc/sane.d/pixma.conf"
>>> # Canon MG3050
>>> bjnp://192.168.***.**
>>>
>>> Output scanimage:
>>>
>>> [CODE]
>>>
>>> scanimage -L
>>> [bjnp] udp_command: ERROR - no data received
>>> [bjnp] bjnp_init_device_structure: Cannot read mac address, skipping
>>> this scanner
>>> [bjnp] udp_command: ERROR - no data received
>>> [bjnp] add_scanner: ERROR - Cannot read scanner make & model:
>>> bjnp://192.168.***.**
>>>
>>> No scanners were identified. If you were expecting something different,
>>> check that the scanner is plugged in, turned on and detected by the
>>> sane-find-scanner tool (if appropriate). Please read the documentation
>>> which came with this software (README, FAQ, manpages).
>>>
>>> [/CODE]
>>>
>>>
>>> [CODE]
>>>
>>> ii  libsane:amd64
>>> 1.0.25+git20150528-1ubuntu2.16.04.1    amd64    API library for
>>> scanners
>>> ii  libsane-common   
>>> 1.0.25+git20150528-1ubuntu2.16.04.1    all  API library for
>>> scanners -- documentation and support files
>>> ii  sane-utils   
>>> 1.0.25+git20150528-1ubuntu2.16.04.1    amd64    API library for
>>> scanners -- utilities
>>> ii  xsane
>>> 0.999-3ubuntu1 amd64    featureful
>>> graphical frontend for SANE (Scanner Access Now Easy)
>>> ii  xsane-common 
>>> 0.999-3ubuntu1 all  xsane
>>> architecture independent files
>>> [/CODE]
>>>
>>> Ubuntu Version: 18.04 LTS
>>>
>>> I tested ubuntu 19.04, with the same result.
>>>
>>>
>>> Regards
>>>
>>> Kamp
>>>
>>> On 04.02.18 12:58, Rolf Bensch wrote:
>>>> Hi,
>>>>
>>>> Your scanner should work. Please try the scan

Re: [sane-devel] Canon MG3050

2019-08-03 Thread Rolf Bensch
Hi Kamp,

No wonder, your SANE installation is outdated and doesn't support
MG3050. SANE version must be >= 1.0.27. Please update SANE e.g. from my
PPA: https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git .

Due to your scanner is in 'untested' status, please try to scan via USB
first. If this is working, then you can switch to WiFi.

Debug hints and BJNP setup are described in the man page '$ man sane-pixma'

Hope this helps.

Cheers,
Rolf


Am 03.08.19 um 11:38 schrieb kamp0...@arcor.de:
> Thanks.
> 
> This Scanner is working over usb, but not over wifi.
> 
> Can I scan over network with is printer?
> 
> This device is connected to my wifi network and I can print.
> 
> The IP address is located in the file "/etc/sane.d/pixma.conf"
> # Canon MG3050
> bjnp://192.168.***.**
> 
> Output scanimage:
> 
> [CODE]
> 
> scanimage -L
> [bjnp] udp_command: ERROR - no data received
> [bjnp] bjnp_init_device_structure: Cannot read mac address, skipping
> this scanner
> [bjnp] udp_command: ERROR - no data received
> [bjnp] add_scanner: ERROR - Cannot read scanner make & model:
> bjnp://192.168.***.**
> 
> No scanners were identified. If you were expecting something different,
> check that the scanner is plugged in, turned on and detected by the
> sane-find-scanner tool (if appropriate). Please read the documentation
> which came with this software (README, FAQ, manpages).
> 
> [/CODE]
> 
> 
> [CODE]
> 
> ii  libsane:amd64
> 1.0.25+git20150528-1ubuntu2.16.04.1    amd64    API library for
> scanners
> ii  libsane-common   
> 1.0.25+git20150528-1ubuntu2.16.04.1    all  API library for
> scanners -- documentation and support files
> ii  sane-utils   
> 1.0.25+git20150528-1ubuntu2.16.04.1    amd64    API library for
> scanners -- utilities
> ii  xsane
> 0.999-3ubuntu1 amd64    featureful
> graphical frontend for SANE (Scanner Access Now Easy)
> ii  xsane-common 
> 0.999-3ubuntu1 all  xsane
> architecture independent files
> [/CODE]
> 
> Ubuntu Version: 18.04 LTS
> 
> I tested ubuntu 19.04, with the same result.
> 
> 
> Regards
> 
> Kamp
> 
> On 04.02.18 12:58, Rolf Bensch wrote:
>> Hi,
>>
>> Your scanner should work. Please try the scanner connected via USB and
>> report your results.
>>
>> Hope this helps.
>>
>> Cheers,
>> Rolf
>>
>>
>> Am 29.01.2018 um 16:23 schrieb kamp0...@arcor.de:
>>> Hi,
>>>
>>>
>>> can I check if the MG3050 is still supported without inserting cartridges?
>>>
>>> I need a sane supported scanner, otherwise I still can return the device.
>>>
>>>
>>> http://www.sane-project.org/sane-mfgs.html
>>>
>>> Current sane status:
>>>
>>> PIXMA MG3000 Series     USB WiFi     0x04a9/0x180b     Untested    
>>> Testers needed!
>>>
>>>
>>> Thanks.
>>>
>>> Regards,
>>> Kamp
>>>
>>>
>>>
> 

-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Code freeze and release preparations for 1.0.28 (was Re: [ITR] Intent To Release: sane-backends-1.0.28)

2019-07-29 Thread Rolf Bensch
Hi all again,

Today I merged my German translations into master branch. Everybody
still is invited to review my translation until July 31. Also after the
new release will be out, of course.

Please consider that new localization files may break existing scanimage
scripts.

Hope this helps.

Cheers,
Rolf


Am 27.07.19 um 13:14 schrieb Rolf Bensch:
> Hi all,
>
> I'm just busy working on the German translations. Hope I'll be ready
> until release date.
>
> I just pushed a new branch with the 1st bunch of my work. Everybody is
> invited for helping and reviewing.
>
> Cheers,
> Rolf
>
> Am 24.07.19 um 14:35 schrieb Olaf Meeuwissen:
>> Hi again all,
>>
>> Still following the release schedule on our [1.0.28 milestone][1], our
>> master branch is now (2019-07-24 12:00UTC) in code freeze.  Please do
>> *not* push/merge to master unless it fixes
>>
>>  - hardware destroying bugs (no reports at present),
>>  - compile failures (our CI is clean so we're looking good),
>>  - completely unusable backends, or
>>  - documentation
>>
>> In case of doubt, ping the list or [submit an issue][2].
>>
>>  [1]: https://gitlab.com/sane-project/backends/-/milestones/2
>>  [2]: https://gitlab.com/sane-project/backends/issues
>>
>> @povilas> Thanks for fixing that genesys backend calibration file bug.
>>   See https://gitlab.com/sane-project/backends/issues/97
>>
>> I've been tinkering with our project's [Releases page][3] on GitLab.com.
>> When we moved, that page didn't exist yet and I put our "releases" so
>> far on the repository's [Tags][4] page for lack of a better alternative.
>> GitLab.com seeded the former from the latter but that created quite a
>> mess in terms of version ordering for the Releases.  That has now been
>> sorted out.  I still want to convert the notes to Markdown, though.
>> When we release 1.0.28, the Releases page will be updated automatically,
>> courtesy of our CI!
>>
>>  [3]: https://gitlab.com/sane-project/backends/-/releases
>>  [4]: https://gitlab.com/sane-project/backends/-/tags
>>
>> We now have a week to update translations as well.  I just pushed a sync
>> of all the po/*.po files against the latest source.  I thought of Cc:ing
>> the Last-Translator entries in those files, but most of those addresses
>> are so old I figured I'd better not.  For the recent ones, coverage is
>> pretty good already.  Here are some stats, sorted by percentage of the
>> strings that are translated.
>>
>>   Translated   Fuzzy  Untranslated
>>   100.00%  0.00%  0.00%: uk.po
>>99.33%  0.42%  0.25%: he.po
>>99.33%  0.42%  0.25%: c...@valencia.po
>>99.33%  0.42%  0.25%: ca.po
>>98.24%  0.75%  1.00%: nl.po
>>84.95%  6.27%  8.78%: sv.po
>>75.33%  8.70% 15.97%: de.po
>>74.75%  8.86% 16.39%: fr.po
>>74.67%  8.95% 16.39%: pl.po
>>72.07% 10.12% 17.81%: gl.po
>>72.07% 10.12% 17.81%: es.po
>>68.65% 11.79% 19.57%: en_GB.po
>>66.47% 12.79% 20.74%: eo.po
>>65.55% 13.55% 20.90%: it.po
>>56.77% 16.64% 26.59%: da.po
>>56.35%  9.78% 33.86%: ja.po
>>52.34% 17.89% 29.77%: fi.po
>>52.17% 18.14% 29.68%: bg.po
>>49.41% 16.64% 33.95%: ru.po
>>49.25% 19.15% 31.61%: cs.po
>>21.82% 13.96% 64.21%: pt.po
>>16.89% 16.14% 66.97%: nb.po
>>15.64% 11.12% 73.24%: hu.po
>>
>> I will fix up nl.po myself but the rest is for interested parties (I may
>> take a look at ja.po and en_GB.po, though).  If you intend to work on
>> any of these files, please let the list know so we can coordinate
>> things.
>>
>> Hope this helps,
>> --
>> Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
>>  GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
>>  Support Free Softwarehttps://my.fsf.org/donate
>>  Join the Free Software Foundation  https://my.fsf.org/join
>>
>>

-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Canon TS8000 series PIXMA

2019-07-29 Thread Rolf Bensch
Hi Timothy,

Many thanks for your report. I just updated the doc files.

One last question: Have you also tried scanner access via WiFi? I
suppose it's not working like other PIXMA TS scanners.

Cheers,
Rolf


Am 22.07.19 um 21:32 schrieb Timothy D. Upton:
> Hi Rolf,
> I just got a chance to thoroughly test the operation of my Canon TS8220
> printer/scanner running under SANE.  I tried scanning using all possible
> resolutions and options, everything appears to work perfectly.
> Thanks for supporting the Linux community,
> Tim.
> 
> 
> On Sun, Jun 2, 2019 at 5:18 AM Rolf Bensch  <mailto:r...@bensch-online.de>> wrote:
> 
> Hi,
> 
> I would follow the install instructions from INSTALL.linux which comes
> with the sources or from here: http://www.sane-project.org/docs.html
> 
> @Tim: Is high resolution scan (1200 dpi) and are all other options
> working? I would like to update scanners status page here:
> http://www.sane-project.org/lists/sane-backends-cvs.html#S-PIXMA
> 
> Many thanks for your help.
> 
> Cheers,
> Rolf
> 
> 
> Am 29.05.19 um 04:30 schrieb Timothy D. Upton:
> > Hi all,
> >
> > I have a Canon TS8220 printer/scanner.  It seems to work perfectly
> > (with e.g., Simple Scan) using the latest development release of
> > SANE.  The stable release did NOT work.
> >
> > I followed the install instructions described here:
> >
> 
> https://askubuntu.com/questions/641261/how-can-i-link-my-canon-mg5650-scanner-to-ubuntu
> >
> > Or simply:
> > sudo add-apt-repository ppa:rolfbensch/sane-git
> > sudo apt-get update
> > sudo apt-get upgrade
> >
> > Thanks for all your efforts!
> > Tim Upton.
> >
> 

-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Code freeze and release preparations for 1.0.28 (was Re: [ITR] Intent To Release: sane-backends-1.0.28)

2019-07-27 Thread Rolf Bensch
Hi Olaf,

It would be nice to see some tags in git, as reminder for the recent
stage in our release process.

This is just an idea for the discussion how to organize such things in
future.

Cheers,
Rolf

Am 24.07.19 um 14:35 schrieb Olaf Meeuwissen:
> Hi again all,
>
> Still following the release schedule on our [1.0.28 milestone][1], our
> master branch is now (2019-07-24 12:00UTC) in code freeze.  Please do
> *not* push/merge to master unless it fixes
>
>  - hardware destroying bugs (no reports at present),
>  - compile failures (our CI is clean so we're looking good),
>  - completely unusable backends, or
>  - documentation
>
> In case of doubt, ping the list or [submit an issue][2].
>
>  [1]: https://gitlab.com/sane-project/backends/-/milestones/2
>  [2]: https://gitlab.com/sane-project/backends/issues
>
> @povilas> Thanks for fixing that genesys backend calibration file bug.
>   See https://gitlab.com/sane-project/backends/issues/97
>
> I've been tinkering with our project's [Releases page][3] on GitLab.com.
> When we moved, that page didn't exist yet and I put our "releases" so
> far on the repository's [Tags][4] page for lack of a better alternative.
> GitLab.com seeded the former from the latter but that created quite a
> mess in terms of version ordering for the Releases.  That has now been
> sorted out.  I still want to convert the notes to Markdown, though.
> When we release 1.0.28, the Releases page will be updated automatically,
> courtesy of our CI!
>
>  [3]: https://gitlab.com/sane-project/backends/-/releases
>  [4]: https://gitlab.com/sane-project/backends/-/tags
>
> We now have a week to update translations as well.  I just pushed a sync
> of all the po/*.po files against the latest source.  I thought of Cc:ing
> the Last-Translator entries in those files, but most of those addresses
> are so old I figured I'd better not.  For the recent ones, coverage is
> pretty good already.  Here are some stats, sorted by percentage of the
> strings that are translated.
>
>   Translated   Fuzzy  Untranslated
>   100.00%  0.00%  0.00%: uk.po
>99.33%  0.42%  0.25%: he.po
>99.33%  0.42%  0.25%: c...@valencia.po
>99.33%  0.42%  0.25%: ca.po
>98.24%  0.75%  1.00%: nl.po
>84.95%  6.27%  8.78%: sv.po
>75.33%  8.70% 15.97%: de.po
>74.75%  8.86% 16.39%: fr.po
>74.67%  8.95% 16.39%: pl.po
>72.07% 10.12% 17.81%: gl.po
>72.07% 10.12% 17.81%: es.po
>68.65% 11.79% 19.57%: en_GB.po
>66.47% 12.79% 20.74%: eo.po
>65.55% 13.55% 20.90%: it.po
>56.77% 16.64% 26.59%: da.po
>56.35%  9.78% 33.86%: ja.po
>52.34% 17.89% 29.77%: fi.po
>52.17% 18.14% 29.68%: bg.po
>49.41% 16.64% 33.95%: ru.po
>49.25% 19.15% 31.61%: cs.po
>21.82% 13.96% 64.21%: pt.po
>16.89% 16.14% 66.97%: nb.po
>15.64% 11.12% 73.24%: hu.po
>
> I will fix up nl.po myself but the rest is for interested parties (I may
> take a look at ja.po and en_GB.po, though).  If you intend to work on
> any of these files, please let the list know so we can coordinate
> things.
>
> Hope this helps,
> --
> Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
>  GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
>  Support Free Softwarehttps://my.fsf.org/donate
>  Join the Free Software Foundation  https://my.fsf.org/join
>
>

-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Canon MF264 bad scan results

2019-07-12 Thread Rolf Bensch
Hi Sergey,

Sorry for the late response.

Do you get corrupted output from all scan resolutions?

If possible, please provide an USB log file e.g. from Windows with
wireshark (https://wiki.wireshark.org/CaptureSetup/USB).

Hope this helps.

Cheers,
Rolf

Am 03.06.19 um 08:04 schrieb Сергей Крылов:
> Hi Rolf,
> 
> Have tried USB but got same results (corrupted output), so it is not a
> network problem.
> 
> Sincerely,
> 
> Sergey C.
> 
> 02.06.2019 12:10, Rolf Bensch пишет:
>> Hi,
>>
>> Please try to scan via USB only to exclude problems with the BJNP
>> protocol.
>>
>> Hope this helps.
>>
>> Cheers,
>> Rolf
>>
>>
>> Am 29.05.19 um 10:40 schrieb Сергей Крылов:
>>> Hello everybody, I try to fire up scanning on a recent Canon MFP model
>>> MF264dw.
>>> I use libsane from  Rolf Bensch ppa
>>> <https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git>    on
>>> Ubuntu
>>> 18.04 LTS x64.
>>> It detects scanner and tries to scan but I get corrupted results like
>>> this:
>>> <http://sane.10972.n7.nabble.com/file/t3345/image278.png>  Here is
>>> some logs with PIXMA_EXPERIMENT=1 SANE_DEBUG_PIXMA=11
>>> SANE_DEBUG_BJNP=2 opts:
>>> scanimage.log<http://sane.10972.n7.nabble.com/file/t3345/scanimage.log>
>>> If need more verbose logs I can do those, just ask. Please help get it
>>> up!
>>>
>>>
>>>
>>> -- 
>>> Sent from:http://sane.10972.n7.nabble.com/SANE-Dev-f3.html
>>>
>>>
>>>
> 

-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Canon TS5050

2019-07-12 Thread Rolf Bensch
Hi,

Please send me the generated log file pixma.log:
$ SANE_DEBUG_PIXMA=11 scanimage 2>pixma.log >pixma.pnm

Please compress the log file with zip, 7z or tar.gz. Otherwise your
response may be rejected from the mailing list.

Hope this helps.

Cheers,
Rolf

Am 11.06.19 um 20:41 schrieb Fam. Wiechens:
> Hey guys,
>
> I found out that you need testers for Canon Pixma TS505 and I have it
> at home.
>
> Currently I am not able to scan with SANE.
>
> You can find the output of sane-find-scanner -v -v under:
>
> https://jpst.it/1KhPZ
>
> Hope this helps.
>
> Best regards
>
>
>

-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] [ITR] Intent To Release: sane-backends-1.0.28

2019-07-12 Thread Rolf Bensch
Hi Olaf,

Am 10.07.19 um 13:37 schrieb Olaf Meeuwissen:
>
> Thanks for bringing this up.  I agree with considering this for the next
> one.  I'd really like to move to semantic versioning.  That way we can
> make a 1.1 branch at "feature freeze" and only add bug fixes there.
> Preferably via cherry-picking from master but other flows are possible.
>
> New features can go to master any time they're ready.
>
I'd like to see something like a simplified git-flow:

master - for releases
develop - all ongoing development (source for git snapshot)
release branches - created on develop @ feature freeze
  - may contain tags like "1.28.0-code_freeze"
  - merge to develop if necessary
  - merge to master if ready

All merges should be done with the option --no-ff .

Cheers,
Rolf



-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Proposal to remove autoconf-generated files from the source repository

2019-06-16 Thread Rolf Bensch
Hi Olaf,

Unfortunately `./autogen.sh` isn't working with Ubuntu Xenial:

$ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: running: autopoint --force
autopoint: *** The AM_GNU_GETTEXT_VERSION declaration in your configure.ac
   file requires the infrastructure from gettext-0.19.8 but
this version
   is older. Please upgrade to gettext-0.19.8 or newer.
autopoint: *** Stop.
autoreconf: autopoint failed with exit status: 1
patching file ./ltmain.sh
Hunk #1 FAILED at 9615.
Hunk #2 FAILED at 10073.
2 out of 2 hunks FAILED -- saving rejects to file ./ltmain.sh.rej
patch:  Can't reopen file ./ltmain.sh : No such file or directory

Xenial provides gettext-0.19.7.

Cheers,
Rolf


Am 12.06.19 um 12:49 schrieb Olaf Meeuwissen:
> Hi all,
>
> Olaf Meeuwissen writes:
>
>> Hi Louis,
>>
>> Louis Lagendijk writes:
>>
>>> On Sat, 2019-06-08 at 13:32 +0900, Olaf Meeuwissen wrote:
 Hi!

 TL;DR I am going to merge this shortly after 2019-06-12 10:00 UTC
 unless
 someone raises objection here or in the [merge request][0].

  [0]: https://gitlab.com/sane-project/backends/merge_requests/72
>>> I agree, getting te autofoo files removed from GIT reduces the risks
>>> for mismatches. For developers it will be  quite ok to run
>>> ./autogen.sh. That is quite normal for a developer. I just wonder if
>>> this will unearth new issues. But is these show up they should be quite
>>> ok to solve when they show up.
>> Any issues should just be submitted so we can have a go at solving
>> them.
>>
>> # BTW, distributions not having autoconf-archive is not something the
>> # SANE Project can fix.  We could bend over backwards and add a couple
>> # of wget or curl invocations to pull the needed files in ./autogen.sh,
>> # though.  But that'd be something for after the merge.
>>
>>> Merge this!
>> Thanks for the thumbs up, will wait with the merge until the time
>> mentioned anyway to give others time to vent their opinions, if any.
> It's merged.  Please submit issues if your `./autogen.sh` act up or the
> resulting `./configure` and `make` behave odd.
>
> Hope this helps,
> --
> Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
>  GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
>  Support Free Softwarehttps://my.fsf.org/donate
>  Join the Free Software Foundation  https://my.fsf.org/join
>
>

-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] PNG support for "scanimage"?

2019-06-06 Thread Rolf Bensch
Hi Mark,

A "normal" package update should also update SANE from the PPA and
install new dependencies if you haven't removed the PPA from apt, e.g. with:

$ sudo apt-get update && sudo apt-get upgrade

Hope this helps.

Cheers,
Rolf


Am 06.06.19 um 05:49 schrieb Mark DM:
> Does this mean it needs to reinstalled from PPA or only install
> libpng-dev ?
>
> I am trying to install AirSANE and getting an error related to PNG format
>
> Mark
>
> On Sun, Jun 2, 2019 at 7:09 AM Dr Rainer Woitok
> mailto:rainer.woi...@gmail.com>> wrote:
>
> Rolf,
>
> On Saturday, 2019-06-01 18:20:17 +0200, you wrote:
>
> > ...
> > I just fixed the ppa build dependencies for trusty and xenial. Newer
> > Ubuntu versions are not affected. The ppa is building now.
>
> Works like a charm ... :-)
>
> Thank you,
>   Rainer
>
> -- 
> sane-devel mailing list: sane-devel@alioth-lists.debian.net
> 
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-requ...@lists.alioth.debian.org
> 
>
-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Canon TS8000 series PIXMA

2019-06-02 Thread Rolf Bensch
Hi,

I would follow the install instructions from INSTALL.linux which comes
with the sources or from here: http://www.sane-project.org/docs.html

@Tim: Is high resolution scan (1200 dpi) and are all other options
working? I would like to update scanners status page here:
http://www.sane-project.org/lists/sane-backends-cvs.html#S-PIXMA

Many thanks for your help.

Cheers,
Rolf


Am 29.05.19 um 04:30 schrieb Timothy D. Upton:
> Hi all,
>
> I have a Canon TS8220 printer/scanner.  It seems to work perfectly
> (with e.g., Simple Scan) using the latest development release of
> SANE.  The stable release did NOT work.
>
> I followed the install instructions described here:
> https://askubuntu.com/questions/641261/how-can-i-link-my-canon-mg5650-scanner-to-ubuntu
>
> Or simply:
> sudo add-apt-repository ppa:rolfbensch/sane-git
> sudo apt-get update
> sudo apt-get upgrade
>
> Thanks for all your efforts!
> Tim Upton.
>

-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] PNG support for "scanimage"?

2019-06-01 Thread Rolf Bensch
Hi,

I just fixed the ppa build dependencies for trusty and xenial. Newer
Ubuntu versions are not affected. The ppa is building now.

Cheers,
Rolf


Am 01.06.19 um 03:37 schrieb Olaf Meeuwissen:
> Hi Rainer, Rolf,
> 
> Dr Rainer Woitok writes:
> 
>> Greetings,
>>
>> still using Ubuntu 16.04 I've installed "scanimage" from Rolf's PPA:
>>
>> $ scanimage --version
>> scanimage (sane-backends) 1.0.27git; backend version 1.0.27
>> $ scanimage -d pixma:MX880_new-host --format png
>> PNG support not compiled in
>> $
>>
>> What's the reason for not supporting PNG?  Do I have to clone the source
>> repository to get PNG support?
> 
> Looks like the build dependencies are missing libpng-dev but I have no
> idea why.  They do have a libjpeg-dev dependency and JPEG and PNG
> support were both added in 1.0.25.
> 
> Rolf> Can you fix this?
> 
> Hope this helps,
> --
> Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
>  GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
>  Support Free Softwarehttps://my.fsf.org/donate
>  Join the Free Software Foundation  https://my.fsf.org/join
> 

-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Xsane --> Canon Pixma scanner problems

2019-03-09 Thread Rolf Bensch
Hi,

Yesterday I merged the merge request bachends/!43. You can update SANE
from my Ubuntu ppa
(https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git) later today.

Please report if the scanner is working with SANE, especially scans >
600dpi.

Before you start with WiFi connection, please test USB first.

Hope this helps.

Cheers,
Rolf



Am 05.03.19 um 11:56 schrieb Olaf Meeuwissen:
> Hi thierry
> 
> thie...@ordissimo.com writes:
> 
>> [... in response to adding support for a currently unsupported model ...]
>> I find it unfortunate that the backend pixma does not take input usb-id.
>> The pixma driver supports all printer scanners:
>>   canon pixma ts and canon pixma mg.
>> Currently you have to add it directly in the code.
> 
> I assume that the pixma backend maintainer would welcome a patch adding
> support for this ;-)
> 
> Hope this helps,
> --
> Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
>  GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
>  Support Free Softwarehttps://my.fsf.org/donate
>  Join the Free Software Foundation  https://my.fsf.org/join
> 

-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Xsane --> Canon Pixma scanner problems

2019-03-04 Thread Rolf Bensch
Hi Bill,

Your scanner isn't supported by SANE. I suppose you're using Canon's
ScanGear driver. Please ask Canon for technical support.

Maybe somebody else can help with your xsane issues.

Hope this helps.

Cheers,
Rolf


Am 04.03.19 um 06:17 schrieb Bill:
>
> Dear Sir/Madam:
>
>     My system is Ubuntu 18.04.2 with a new Canon Pixma TS6220, which
> replaces an HP Photosmart 6520.
>     All of the following comments refer to my new Canon printer. Xsane
> with my recently retired HP works perfectly (except, I think the Canon
> images are the better).
>
> 1) I am able to move the dashed lines to frame the print to be
> scanned, but the output always contains the images of what ever is on
> the platen on a "full size" white background.
> 2) I have selected “inches” as the unit of measurement, but the
> preview window has “px” in the upper left corner, and the dimensions
> in the windows at the bottom of the main menu are in pixels. These
> dimensions do not change as I adjust the frame of the photo to be
> scanned and always read 2480*3507*24 (24.9MB).
> 3) There are no length markings along the side or top of the preview
> window.
> 4) In Advanced Options, the UOM displays “px”. The sliders change as I
> adjust the frame, but for a 4” x 6” photo in the upper left corner,
> the lower right corner is shown to be .00235x, .00154y.
> 5) For all resolutions > 75 ppi, the scanned image of the photos is
> very dark/saturated – beyond my ability to correct.
> 6) Max scan resolution in the main menu is only 300, whereas it is
> 1200 with the HP scanner.
>
>     This printer is WiFi equipped, but I am using it with a usb cable
> as my pc and printer are on the 2nd floor of our house while the
> router and my wife’s pc are on the 1st floor. I am willing to help out
> in the testing of your Pixma backend if I can be of any assistance.
>
> Kind regards,
>
> Bill
>
> System info:
>
> $ uname -a
> Linux XXX 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC
> 2019 x86_64 x86_64 x86_64 GNU/Linux
>
> $ lsb_release -a
> No LSB modules are available.
> Distributor ID:    Ubuntu
> Description:    Ubuntu 18.04.2 LTS
> Release:    18.04
> Codename:    bionic
>
> $ lsusb
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 001 Device 008: ID 04a9:1856 Canon, Inc.
> Bus 001 Device 005: ID 0bda:0153 Realtek Semiconductor Corp. Mass
> Storage Device
> Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. Hub
> Bus 001 Device 003: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop
> Laser
> Bus 001 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>
> $ sudo sane-find-scanner
>   # sane-find-scanner will now attempt to detect your scanner. If the
>   # result is different from what you expected, first make sure your
>   # scanner is powered up and properly connected to your computer.
>
>   # No SCSI scanners found. If you expected something different, make
> sure that
>   # you have loaded a kernel SCSI driver for your SCSI adapter.
>
> found USB scanner (vendor=0x04a9 [Canon], product=0x1856 [TS6200
> series]) at libusb:001:008
> could not fetch string descriptor: Pipe error
> could not fetch string descriptor: Pipe error
>   # Your USB scanner was (probably) detected. It may or may not be
> supported by
>   # SANE. Try scanimage -L and read the backend's manpage.
>
>   # Not checking for parallel port scanners.
>
>   # Most Scanners connected to the parallel port or other proprietary
> ports
>   # can't be detected by this program.
>
> $ scanimage -L
> device `canon_pixma:libusb:001:008' is a CANON TS6200 series flatbed
> scanner
>
-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Canon imageCLASS MF416dw & Ubuntu 18.04

2019-03-04 Thread Rolf Bensch
Hi John,

Please start test scanning via USB.

If I remember correctly, you need to set your scanner into remote
scanning mode. Please read your scanner's manual for details.

Hope this helps.

Cheers,
Rolf


Am 04.03.19 um 15:02 schrieb John Oliver:
> On Sun, Jan 20, 2019 at 06:25:00PM +0100, Rolf Bensch wrote:
>> Hi,
>>
>> You need to install SANE's development version, e.g. from my PPA:
>> https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git .
>>
>> The MF410 Series is supported since PIXMA backend version 0.17.51 (SANE
>> version 1.0.27), but still has status 'untested'.
>>
>> Hope this helps.
>>
>> Cheers,
>> Rolf
> 
> SANE_DEBUG_PIXMA=10 scanimage -L
> [sanei_debug] Setting debug level of pixma to 10.
> [pixma] pixma is compiled with pthread support.
> [pixma] pixma version 0.20.0
> [pixma] Scanner model found: Name MF410(Canon i-SENSYS MF410 Series)
> matches MF410 Series
> [pixma] pixma_collect_devices() found Canon i-SENSYS MF410 Series at
> mfnp://192.168.0.20:8610/timeout=1000
> [pixma] pixma_find_scanners() found 1 devices
> device `pixma:MF410_192.168.0.20' is a CANON Canon i-SENSYS MF410 Series
> multi-function peripheral
> 
> 
> 
> However, I cannot actually scan.  xsane tells me "Error during read:
> Device busy."  Simple Scan tells me, "Failed to scan  Error
> communicating with scanner"
> 
> What logs or info can I provide to sort this out?
> 

-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Canon imageCLASS MF416dw & Ubuntu 18.04

2019-02-20 Thread Rolf Bensch
Hi John,

Please try to scan via USB, so that we can exclude scanner
implementation problems.

Hope this helps.

Cheers,
Rolf



Am 18.02.19 um 20:32 schrieb John Oliver:
> On Sun, Jan 20, 2019 at 06:25:00PM +0100, Rolf Bensch wrote:
>> Hi,
>>
>> You need to install SANE's development version, e.g. from my PPA:
>> https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git .
>>
>> The MF410 Series is supported since PIXMA backend version 0.17.51 (SANE
>> version 1.0.27), but still has status 'untested'.
>>
>> Hope this helps.
> 
> SANE_DEBUG_PIXMA=10 scanimage -L
> [sanei_debug] Setting debug level of pixma to 10.
> [pixma] pixma is compiled with pthread support.
> [pixma] pixma version 0.20.0
> [pixma] Scanner model found: Name MF410(Canon i-SENSYS MF410 Series)
> matches MF410 Series
> [pixma] pixma_collect_devices() found Canon i-SENSYS MF410 Series at
> mfnp://192.168.0.20:8610/timeout=1000
> [pixma] pixma_find_scanners() found 1 devices
> device `pixma:MF410_192.168.0.20' is a CANON Canon i-SENSYS MF410 Series
> multi-function peripheral
> 
> 
> 
> However, I cannot actually scan.  xsane tells me "Error during read:
> Device busy."  Simple Scan tells me, "Failed to scan  Error
> communicating with scanner"
> 
> What logs or info can I provide to sort this out?
> 

-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] [Test] Sane-backends seems to work with Canon PIXMA G2100

2019-02-20 Thread Rolf Bensch
Hi William,

I just updated the doc files.

Many thanks for your report.

Cheers,
Rolf


Am 04.02.19 um 03:42 schrieb William Bombardelli da Silva:
> Hello all,
>
> I have used the last version of sane-backends to scan using a
> multi-funcion printer Canon Pixma G2100 and it works. In the
> documentation for Pixma, the model is not listed though.
>
> Indeed, G2100's usb ids are the same as the ones of the model G2000.
> Anyway, this model is listed as not tested.
>
> Is there a way I can contribute with a test report for the Pixma G2100
> model?
>
> Kind Regards
> William da Silva
-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Canon imageCLASS MF416dw & Ubuntu 18.04

2019-02-20 Thread Rolf Bensch
Hi John,

Please try to scan via USB, so that we can exclude problems with the
scanners implementation.

Hope this helps.

Cheers,
Rolf


Am 03.02.19 um 18:41 schrieb John Oliver:
> OK, belay that last... I'm not a Debian guy, but I figured out how to
> update sane.  So, now:
>
> SANE_DEBUG_PIXMA=10 scanimage -L
> [sanei_debug] Setting debug level of pixma to 10.
> [pixma] pixma is compiled with pthread support.
> [pixma] pixma version 0.20.0
> [pixma] Scanner model found: Name MF410(Canon i-SENSYS MF410 Series)
> matches MF410 Series
> [pixma] pixma_collect_devices() found Canon i-SENSYS MF410 Series at
> mfnp://192.168.0.20:8610/timeout=1000
> [pixma] pixma_find_scanners() found 1 devices
> device `pixma:MF410_192.168.0.20' is a CANON Canon i-SENSYS MF410 Series
> multi-function peripheral
>
>
>
> However, I cannot actually scan.  xsane tells me "Error during read:
> Device busy."  Simple Scan tells me, "Failed to scan  Error
> communicating with scanner"
>
> What logs or info can I provide to sort this out?
>
>

-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] CanoScan LiDE 400 supported by SANE ?

2019-02-11 Thread Rolf Bensch
Hi Thomas,

I'll merge the patch to SANE sourced sometime until next week.

Cheers,
Rolf


Am 11.02.19 um 02:38 schrieb Olaf Meeuwissen:
> Hi Thomas,
>
> Thomas writes:
>
>> Hi
>>
>> I am just a fedora user and wondering if SANE project is supporting the
>> CanoScan LiDE 400 device. After fruitless attempts to see the scan
>> device via xsane or simple-scan and looking to
>> http://www.sane-project.org/lists/sane-mfgs-cvs.html it seems still not.
>> So i had to install the linux scangearmp2 software via the rpm file
>> furnished by Canon. As you may know, this software is very basic and
>> moreover limits the full possible parameter range of the device (for
>> instance the resolution is only 300 dpi).
>>
>> Maybe i am wrong and there is perhaps already a possibility of driving
>> the CanoScan LiDE 400 with simple-scan. If so I will greatly appreciate
>> to know how. If still not, it would be great if the SANE project may in
>> the next future support this device ...
> As Povilas already mentioned, this scanner is not supported but you may
> be interested in
>
>   https://gitlab.com/sane-project/backends/issues/48
>
> Hope this helps,
> --
> Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
>  GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
>  Support Free Softwarehttps://my.fsf.org/donate
>  Join the Free Software Foundation  https://my.fsf.org/join
>
>

-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Canon imageCLASS MF416dw & Ubuntu 18.04

2019-01-20 Thread Rolf Bensch
Hi,

You need to install SANE's development version, e.g. from my PPA:
https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git .

The MF410 Series is supported since PIXMA backend version 0.17.51 (SANE
version 1.0.27), but still has status 'untested'.

Hope this helps.

Cheers,
Rolf


Am 18.01.19 um 22:53 schrieb Louis Lagendijk:
> On Sat, 2019-01-05 at 11:18 -0800, John Oliver wrote:
>> On Tue, Jan 01, 2019 at 10:43:03AM -0800, John Oliver wrote:
>>> I'm trying to get this scanner working, and am having zero luck.
>>> According to the supported scanners page, I should be using the
>>> PIXMA
>>> backend, but that requires BJNP, and an nmap says that port is not
>>> open,
>>> and suggests I should be using MFNP, but PIXMA says you *must* use
>>> BJNP,
>>> so...
>>>
>>> joliver@blinky:~$ !610
>>> sudo nmap -sU -p 8610-8612 192.168.0.20
>>>
>>> Starting Nmap 7.60 ( https://nmap.org ) at 2019-01-01 11:39 MST
>>> Nmap scan report for 192.168.0.20
>>> Host is up (0.050s latency).
>>>
>>> PORT STATE SERVICE
>>> 8610/udp open|filtered canon-mfnp
>>> 8611/udp closedcanon-bjnp1
>>> 8612/udp closedcanon-bjnp2
>>> MAC Address: 80:A5:89:BD:C7:39 (AzureWave Technology)
>>>
>>> Nmap done: 1 IP address (1 host up) scanned in 2.01 seconds
>>
>> I've attached a small dump showing that there is communication
>> happening, but the scanner still isn't seen / recognized.
>>
> My apologies for the late response. The traces look ok. Looking at the
> source code, I guess that the MF416 is not yet supported. @Rolf Bensch,
> could you please have a look if you can add the MF416?
> 
> BR, Louis
> 
> 

-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] SANE Support for Canon TS9520 printer

2018-12-20 Thread Rolf Bensch
Hi Paul,

I just added your scanner to SANE. It's available in git now. For other
download channels you must wait until tomorrow.

Please check if everything is working. For these kind of scanners SANE
has problems with Ethernet and WiFi, so only USB might work.

Hope this helps.

Cheers,
Rolf


Am 18.12.18 um 19:40 schrieb Paul Bixel:
> Hi Folks,
>
> New to your group.  Recently bought a Canon TS9520 Multi-Function
> printer and was looking to get it working with my Linux system.
> Reviewing your website it seems this is an untested model and that
> testers are needed.  So here I am.
>
> The printer:
>
> https://www.usa.canon.com/internet/portal/us/home/products/details/printers/inkjet-multifunction/ts-series-inkjet/pixma-ts9520
>
>
>
> My system:
>
> RELEASE=18.2
> CODENAME=sonya
> EDITION="Cinnamon 64-bit"
> DESCRIPTION="Linux Mint 18.2 Sonya"
> DESKTOP=Gnome
> TOOLKIT=GTK
> NEW_FEATURES_URL=http://www.linuxmint.com/rel_sonya_cinnamon_whatsnew.php
> RELEASE_NOTES_URL=http://www.linuxmint.com/rel_sonya_cinnamon.php
> USER_GUIDE_URL=help:linuxmint
> GRUB_TITLE=Linux Mint 18.2 Cinnamon 64-bit
>
>
> Things I have observed:
>
> I tried with both SANE v1.0.14 which came with the distro and I also
> downloaded, built and installed v1.0.27 from the site without any
> change in behavior.
>
> I have tried both the USB and Wifi interfaces of this printer without
> success.
>
>
> Results of sane-find-scanner shown below with USB (and Wifi connected).
>
> 
>
> sane-find-scanner
>
>   # sane-find-scanner will now attempt to detect your scanner. If the
>   # result is different from what you expected, first make sure your
>   # scanner is powered up and properly connected to your computer.
>
>   # No SCSI scanners found. If you expected something different, make
> sure that
>   # you have loaded a kernel SCSI driver for your SCSI adapter.
>
> found USB scanner (vendor=0x04a9 [Canon], product=0x185c [TS9500
> series]) at libusb:001:008
> found USB scanner (vendor=0x0fe6, product=0x9700 [USB 2.0 10/100M
> Ethernet Adaptor]) at libusb:001:006
>   # Your USB scanner was (probably) detected. It may or may not be
> supported by
>   # SANE. Try scanimage -L and read the backend's manpage.
>
>   # Not checking for parallel port scanners.
>
>   # Most Scanners connected to the parallel port or other proprietary
> ports
>   # can't be detected by this program.
>
> =
>
> scanimage -L does not detect anything.
>
> With Wireshark I can see that there is no response to the subnet
> broadcast to port 8612 discover packet when running scanimage.
>
>
> I have installed Canon's tool called ScanGearMP2 and it functions over
> Wifi with this printer.  Attached is the discovery sequence that I
> captured that shows how the Canon tools discoveres the printer.
>
> If there is anything else I can investigate for you let me know. I
> would love to see this printer move to the "Known to work column" of
> your site.
>
>
> Best Regards,
>
> Paul Bixel
>
>
>
>
>
>

-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Canon PIXMA E510 -- SOLVED

2018-10-24 Thread Rolf Bensch
Hi Bernhard,

I just updated the doc files.

Many thanks for your help.

Cheers,
Rolf


Am 22.10.18 um 23:14 schrieb berni.a...@gmx.de:
> Hi Rolf,
> 
> Thanks for your reply. The Canon PIXMA E510 works with SANE 1.0.24.
> I tried colour, gray, lineart with combinations: 75, 150, 300, 600 1200
> If more testing is needed, please let me know. I'd be happy to help.
> 
> For some reason the scanner was not set up on my system (not configured in 
> the 
> YaST2 scanner dialogue) - probably forgot to save / finish propperly when I 
> set 
> it up initially.
> 
> Thanks again! another happy user.
> 
> Bernhard
> 
> 
> On 2018 M10 19, Fri 19:58:45 CEST you wrote:
>> Hi Bernhard,
>>
>> What version of SANE are you using? You need at least version 1.0.24.
>>
>> Please start a test scan on the console with: $ scanimage > pixma.pnm
>>
>> or, if you see errors with: $ SANE_DEBUG_PIXMA=4 scanimage > pixma.pnm
>>
>> You scanner is implemented in the PIXMA backend. So /etc/canon.conf has
>> no effect to your scanner.
>>
>> Hope this helps.
>>
>> Cheers, Rolf
>>
>> Am 16.10.18 um 16:52 schrieb berni.a...@gmx.de:
>>> Hello,
>>>
>>>  
>>>
>>> I try to get the Canon E510 up and running. On the Homepage it is
>>> listed under untestetd / tester needed. Therefore I didn't expect it
>>> to work straight away.
>>>
>>> Therefore I took the trouble to look into it a bit, but am not sure
>>> how to continue now.
>>>
>>>  
>>>
>>> I can find the scanner via lsusb: "Bus 001 Device 006: ID 04a9:1761
>>> Canon, Inc."
>>>
>>> It is also recognized with sane-find-scanner: "found USB scanner
>>> (vendor=0x04a9 [Canon], product=0x1761 [E510 series]) at
>>> libusb:001:006"and
>>>
>>> "# Your USB scanner was (probably) detected. It may or may not be
>>> supported by  # SANE. Try scanimage -L and read the backend's manpage."
>>>
>>> But neither scanimage -L nor skanlite show the scanner. And I am not
>>> sure how to continue from here. Simply adding the VID & PID in
>>> /etc/canon.conf on my system and try again? Or am I missing another step?
>>>
>>>  
>>>
>>> Kind regards,
>>>
>>>  
>>>
>>> Bernhard
> 
> 
> 

-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Pixma sane backends

2018-10-14 Thread Rolf Bensch
Hi Irene,

Please compare the versions of libsane on both OS.

Is your scanner working via USB on CentOS 7? If so, please read 'man
sane-pixma' howto setup network.

If nothing helps and CentOS 7 has a too old libsane, you must compile
your own binaries from source. Please read INSTALL.linux
(http://www.sane-project.org/docs.html) for details.

Hope this helps.

Cheers,
Rolf


Am 14.10.18 um 01:14 schrieb ido...@allmybase.com:
> Hello,
> 
> I recently purchased a Pixma MX532.  I have installed latest sane
> frontends and backends in both CentOS 7 and Fedora 28.  XSANE recognizes
> the Pixma over network in Fedora 28, but not CentOS 7.  Can anyone help
> me to understand why this is the case or how I can get it to work in
> CentOS 7?
> 
> Thank you,
> Irene Doran
> ido...@allmybase.com
> 
> 
> 

-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Canon imageClass MF733

2018-09-29 Thread Rolf Bensch
Hi Carl,

Your scanner was working before you installed Canon's printer driver and
ist working again after deinstalling the printer driver, right?

If I remember correctly there should be an old thread handling this
issue. Please ask the mailing list if you cannot find it. Sorry, I
cannot help here.

Maybe Ethernet could also fix this issue. Please read 'man sane-pixma'
for details. If this won't help, please ask the mailing list helping
with Ethernet.

Hope this helps.

Cheers,
Rolf

Am 23.09.18 um 22:09 schrieb klequis:
> Hi Again,
> 
> A little more testing today. 
> I disconnected ethernet and connected USB. Can not scan from flatbed or
> feeder. Tried unplugging and replugging USB connection, restarted my
> computer, turned MF733 off and on. Nothing works.
> 
> Let me know if you need any diag run.
> 
> Cheers,
> Carl
> 
> On Sun, Sep 23, 2018 at 12:53 PM klequis  <mailto:kleq...@gmail.com>> wrote:
> 
> Hi Rolf,
> 
> Here is the latest.
> 
> USB
> 
> 
> Flatbed
> --
> - Was not working.
> - Installed latest updates which included some sane libs > could not
> scan
> - Rebooted machine > could not scan
> - Rebooted making sure the machine was awake while booting > could
> not scan
> Then
> - Unplugged the usb cable from computer and plugged back in
> > Flatbed one page worked
> 
> Feeder
> -
> > Put one page in feeder and it scanned one side only. It was doing
> both sides by default before. When the first side finished scanning
> and appeared on my screen, Simple Scan put up an error message
> "Failed to scan", "Error communicating with scanner". 
> > Put two pages in feeder and got first side of both documents and
> then the same error again.
> 
> 
>  Ethernet
> ---
> "Failed to scan", "No scanners available. Please connect a scanner."
> 
> 
> output of: $ sudo sane-find-scanner -v -v
> https://drive.google.com/open?id=1--T0MMXW8gMklJZBBukHMn7Wqf0Zi9Ip
> 
> Cheers,
> Carl
> 
> On Sat, Sep 22, 2018 at 3:34 AM Rolf Bensch  <mailto:r...@bensch-online.de>> wrote:
> 
> Hi Carl,
> 
> Have you tested the document feeder?
> 
> Many thanks for your help.
> 
> Cheers,
> Rolf
> 
> Am 17.09.2018 um 19:07 schrieb klequis:
> > Hi Rolf,
> >
> > I tested yesterday (Sunday). 
> >
> > USB is working well. I worked a couple of times, then I
> installed a
> > printer driver and it stopped working. Not sure if that is at all
> > related. I restarted my computer and the printer and did a lot
> more
> > scanning without problem.
> >
> > Ethernet isn't working. Let me know if you need any
> information from me
> > to help with that.
> >
> > WiFi - sorry, just haven't had time to set it up yet.
> >
> > Cheers,
> > Carl
> >
> > On Fri, Sep 14, 2018 at 9:06 AM klequis  <mailto:kleq...@gmail.com>
> > <mailto:kleq...@gmail.com <mailto:kleq...@gmail.com>>> wrote:
> >
> >     Hi Rolf,
> >
> >     It is a busy week for me so didn't have time to test
> thoughtfully.
> >     However, did some quick testing
> >     - Connected by USB scanning works great !! 
> >     - Ethernet: tried from 2 ubuntu 18.04 machines and it
> didn't work.
> >     However, I'm also having printing problems so I'm wondering if
>     >     something else is going on.
> >     - WiFi - we don't use it so not setup. However, I'll test
> this when
> >     I get some time
> >
> >     I might have some time this weekend, however, am finishing
> up a
> >     project by month end and in a bit of a crunch.
> >
> >     Thanks again,
> >     Carl
> >
> >
> >
> >     On Wed, Sep 12, 2018 at 10:57 AM Rolf Bensch
> mailto:r...@bensch-online.de>
> >     <mailto:r...@bensch-online.de
> <mailto:r...@bensch-online.de>>> wrote:
> >
> >         Hi Carl,
> >
> >         Good news. Please test scanning via 

Re: [sane-devel] sane-pixma TS6150

2018-09-22 Thread Rolf Bensch
Hi Giles,

Yes, the PPA is compiled with libusb. I just tested Ubuntu 18.04 with my
USB scanner.

I've seen in the log file that you might have connected your scanner
with WiFi. Please disconnect WiFi and test the scanner via USB only.

Please test with this command:
$ SANE_DEBUG_PIXMA=21 scanimage 2>pixma.log >pixma.pnm

and send me the logfile compressed as zip file.

If this won't help, I'll need an USB scan log from a Windows machine
using wireshark (read this for enabling USB support:
https://wiki.wireshark.org/CaptureSetup/USB) or USBlyzer
(http://www.usblyzer.com/download.htm). You can also run Windows in a
VM, e.g. VirtualBox. Please send this log file also compressed with zip.

Hope this helps.

Cheers,
Rolf


Am 16.09.2018 um 08:31 schrieb Giles Knap:
> I installed sane from Rolf's PPA (not OOA!) So would assume that it is
> compiled with libusb?
> 
> Thanks,
> Giles
> 
> On Sun, 16 Sep 2018, 00:58 m. allan noah,  <mailto:kitno...@gmail.com>> wrote:
> 
> Did you build sane-backends without libusb support too?
> 
> allan
> On Sat, Sep 15, 2018 at 3:17 PM Giles Knap  <mailto:gilesk...@gmail.com>> wrote:
> >
> > Hi Rolf,
> >
> > I now have tried your latest driver from your OOA on a clean
> install of Ubuntu.
> >
> > In this case I cannot see the scanner at all. Can you advise as to
> possible reasons for this?
> >
> > See log below.
> >
> > Many thanks,
> > giles.
> >
> > 
> > ubuntu@ubuntu:~$ SANE_DEBUG_PIXMA=21 simple-scan
> >
> > (simple-scan:11145): Gtk-WARNING **: 19:11:42.614: Failed to
> register client:
> GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to
> register client
> > [sanei_debug] Setting debug level of pixma to 21.
> > [pixma] pixma is compiled with pthread support.
> > [pixma] pixma version 0.17.51
> > [pixma] pixma_find_scanners() found 0 devices
> > [pixma] pixma_find_scanners() found 0 devices
> > ^C
> > ubuntu@ubuntu:~$
> > ubuntu@ubuntu:~$ lsusb
> > Bus 002 Device 005: ID 04a9:1822 Canon, Inc.
> > Bus 002 Device 008: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
> >
> >
> > On Thursday, 13 September 2018, Giles Knap  <mailto:gilesk...@gmail.com>> wrote:
> >>
> >> OK, I repeated the test with wireless LAN disabled on the scanner
> (it has no ethernet connection).
> >>
> >> The results are the same (except this time I did not turn on BJNP
> debugging - if I do then the output is identical to previously).
> >>
> >> See below.
> >>
> >> Thanks,
> >> giles
> >>
> >> 
> >>
> >> giles@gklinux:~$ SANE_DEBUG_PIXMA=21  simple-scan
> >>
> >> (simple-scan:4156): Gtk-WARNING **: 20:44:50.832: Failed to
> register client:
> GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to
> register client
> >> [sanei_debug] Setting debug level of pixma to 21.
> >> [pixma] pixma is compiled with pthread support.
> >> [pixma] pixma version 0.17.50
> >> [pixma] pixma_collect_devices() found Canon PIXMA TS6100 Series
> at libusb:002:005
> >> [pixma] pixma_find_scanners() found 1 devices
> >>
>     >>  I hit the "scan" button in simple scan here --
> >>
> >> [pixma] pixma_collect_devices() found Canon PIXMA TS6100 Series
> at libusb:002:005
> >> [pixma] pixma_open(): Canon PIXMA TS6100 Series
> >> [pixma] pixma_connect() failed EBUSY
> >> [pixma] pixma_open() failed EBUSY
> >> [pixma] pixma_close(): Canon PIXMA TS6100 Series
> >> giles@gklinux:~$
> >>
> >>
> >> On Thu, Sep 13, 2018 at 5:18 PM Rolf Bensch
> mailto:r...@bensch-online.de>> wrote:
> >>>
> >>> Hi Giles,
> >>>
> >>> As I mentioned before, very probably your scanner cannot be used via
> >>> Ethernet and WiFi. Please retry scanning via USB connection.
> Then you
> >>> should remove the Ethernet cable and/or disable WiFi.
> >>>
> >>> Hope this helps.
> >>>
> >>> Cheers,
> >>> Rolf
> >>>
> >>> Am 12.09.2018 um 23:21 schrieb Giles Knap:
> >>>

Re: [sane-devel] Canon imageClass MF733

2018-09-22 Thread Rolf Bensch
Hi Carl,

Have you tested the document feeder?

Many thanks for your help.

Cheers,
Rolf

Am 17.09.2018 um 19:07 schrieb klequis:
> Hi Rolf,
> 
> I tested yesterday (Sunday). 
> 
> USB is working well. I worked a couple of times, then I installed a
> printer driver and it stopped working. Not sure if that is at all
> related. I restarted my computer and the printer and did a lot more
> scanning without problem.
> 
> Ethernet isn't working. Let me know if you need any information from me
> to help with that.
> 
> WiFi - sorry, just haven't had time to set it up yet.
> 
> Cheers,
> Carl
> 
> On Fri, Sep 14, 2018 at 9:06 AM klequis  <mailto:kleq...@gmail.com>> wrote:
> 
> Hi Rolf,
> 
> It is a busy week for me so didn't have time to test thoughtfully.
> However, did some quick testing
> - Connected by USB scanning works great !! 
> - Ethernet: tried from 2 ubuntu 18.04 machines and it didn't work.
> However, I'm also having printing problems so I'm wondering if
> something else is going on.
> - WiFi - we don't use it so not setup. However, I'll test this when
> I get some time
> 
> I might have some time this weekend, however, am finishing up a
> project by month end and in a bit of a crunch.
> 
> Thanks again,
> Carl
> 
> 
> 
> On Wed, Sep 12, 2018 at 10:57 AM Rolf Bensch  <mailto:r...@bensch-online.de>> wrote:
> 
> Hi Carl,
> 
> Good news. Please test scanning via ethernet/WiFi and the document
> feeder: Single/multiple pages and with duplex.
> 
> If everything is working, I can update the doc files and the status
> here: http://sane-project.org/lists/sane-backends-cvs.html#S-PIXMA .
> 
> Many thanks for your help.
> 
> Cheers,
> Rolf
> 
> Am 06.09.2018 um 16:13 schrieb klequis:
> > Rolf,
> >
> > Output is attached. Gmail usually doesn't allow .zip files so
> I attached
> > the same with .txt in hopes that will trick it out.
> >
>     > You got a nice scan of my son's math homework :)
> >
> > Thanks again for working on this.
> >
> > Cheers,
> > Carl
> >
> > On Mon, Sep 3, 2018 at 11:31 AM Rolf Bensch
> mailto:r...@bensch-online.de>
> > <mailto:r...@bensch-online.de <mailto:r...@bensch-online.de>>>
> wrote:
> >
> >     Hi Carl,
> >
> >     Some scanners need to be switched to remote scanning on
> the scanners
> >     menu befor you can scan from any frontend.
> >
> >     Please send me the (with zip or tar compressed) log file
> (pixma.log):
> >     $ SANE_DEBUG_PIXMA=4 scanimage 2> pixma.log > pixma.pnm
> >
> >     Many thanks for your help.
> >
> >     Cheers,
> >     Rolf
> >
> >
> >     Am 28.08.2018 um 18:07 schrieb klequis:
> >     > Hi Rolf,
> >     >
> >     > I tested using the latest PPA connected via usb. Results ...
> >     >
> >     > - before update to to latest PPA XSane & Simple Scan
> could not
> >     find any
> >     > scanners
> >     > - today both scan apps found the scanner but reported an
> error when
> >     > attempting to scan
> >     >
> >     > error message and output of sudo sane-find-scanner -v -v
> attached
> >     >
> >     > Thanks again for your efforts,
> >     >
> >     > Carl
> >     >
> >     >
> >     >
> >     > On Mon, Aug 27, 2018 at 5:00 PM klequis
> mailto:kleq...@gmail.com>
> >     <mailto:kleq...@gmail.com <mailto:kleq...@gmail.com>>
> >     > <mailto:kleq...@gmail.com <mailto:kleq...@gmail.com>
> <mailto:kleq...@gmail.com <mailto:kleq...@gmail.com>>>> wrote:
> >     >
> >     >     Thanks Rolf!
> >     >
> >     >     Will test tomorrow, usb firs.
> >     >
> >     >     Carl
> >     >
> >     >     On Mon, Aug 27, 2018 at 1:06 PM Rolf Bensch
> >     mailto:r...@bensch-online

[sane-devel] canon d570

2018-09-13 Thread Rolf Bensch
Hi Steve,

I'm sorry for the late response.

I just added the D570 scanner to SANE. Please test the recent version
from git and report your results. If everything is fine, I'll update the
doc files and the scanner's status here:
http://sane-project.org/lists/sane-backends-cvs.html#S-PIXMA  (maybe it
will take a little while until the website will be updated).

Cheers,
Rolf


Am 07.04.2018 um 07:54 schrieb Steve Marx:
> Hello,
>
> I have a canon d570 scanner which is not on the list.  It seems to
> be working ok with the sane_pixma driver using the same parameters
> as canon d530.  System is up-to-date archlinux, using usb interface.
>
> i rebuilt the libsane-pixma.so using the source from a recent
> sane-git, and replaced the installed lib/libsane-pixma.so.1.0.27 file in
> the currently installed sane (backends) version 1.0.27-1.
>
> not sure how much help i can be, please feel free to contact me via
> email.
>
>  steve
>
>
>
>
>


-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Looking for help with scanner

2018-09-13 Thread Rolf Bensch
Hi,

I'm just digging into old mailing list threads and found this one.

I just added your scanner to SANE. Please test the recent version report
your results. If everything is fine, I'll update thedoc files and the
scanner's status
here:http://sane-project.org/lists/sane-backends-cvs.html#S-PIXMA 
(maybe it will take a little while until the website will be updated).

Cheers,
Rolf


Am 17.03.2018 um 22:30 schrieb Louis Lagendijk:
> On Sat, 2018-03-17 at 11:20 -0700, John Oliver wrote:
>> On Sat, Mar 17, 2018 at 02:59:09PM +0100, Louis Lagendijk wrote:
>>> On Fri, 2018-03-16 at 10:07 -0700, John Oliver wrote:
>>>> On Ubuntu 16.04.04, using "Simple Scan" which is, apparently,
>>>> SANE.
>>>>
>>>> I bought a Canon imageCLASS MF416dw and had to jump through some
>>>> hoops
>>>> to get it printing.  It's on the network, wired, local
>>>> subnet.  I'm
>>>> using the PIXMA backend.
>>>>
>>>>
>>>> _scanner._tcp.local. [4m15s] PTR Canon MF410
>>>> Series._scanner._tcp.local.
>>>> ar: Canone585ce.local. (Cache flush) [4m15s] A 192.168.0.20,
>>>> Canon
>>>> MF410
>>>> Series._scanner._tcp.local. (Cache flush) [4m15s] SRV
>>>> Canone585ce.local.:8610 0 0, Canon MF410
>>>> Series._scanner._tcp.local.
>>>> (Cache flush) [4m15s] TXT "txtvers=1" "note="
>>>> "adminurl=http://Canone585ce.local/airprint.html; "ty=Canon MF410
>>>> Series" "UUID=f48139e585ce" "mfg=Canon" "mdl=MF410 Series"
>
> Sol this is how the device reports itself: Canon MF410 Series
> This deviates more from the type number on the label than normal, just
> something to take into account when adding the scanner in the code
>
>>> Did you try the scanner over USB? If that works we can continue
>>> with
>>> the network scanning. Network just adds some additional complexity,
>>> so
>>> lets first ensure that the scanner works over USB.
>>> A quick grep on the source code seems to suggest that it is not yet
>>> supported.
> Well it reports with a different string, so a grep probably would not
> have found it anyhow, but it is currently not suported for all I can
> see
>>> What does lsusb say for the scanner when connected over USB?
>> Haven't tried yet, I don't have a USB cable handy...
> Please contact the mailing list again and ask Rolf Bensch to have a
> look at the scanner: it is currently not supported. I guess that it
> should be added in the code. That is normally not that complicated. But
> Rolf does normally the management of the code, so he knows what look
> for. @Rolf Bensch: can you please have a look? @John, please find a USB
> cable as Rolf will want to do initial testing over USB
>>> You could also try:
>>> export SANE_DEBUG_PIXMA=20
>>> export SANE_DEBUG_BJNP=20
>>> scanimage -L 2> log
>>> and mail me the logfile
>>> See espacially the lines starting with 
>>> [pixma] Scanner model
>> Attached.
>>
> And as expected: the scanner is not yet recognized. Lets hope that Rolf
> can have a look...
>> What does itt ake to get support added?  I'm happy to do some legwork
> See above.
>
> BR, Louis
>
>

-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] canon d570

2018-09-13 Thread Rolf Bensch
Hi Steve,

I'm sorry for the late response.

I just added the D570 scanner to SANE. Please test the recent version
from git and report your results. If everything is fine, I'll update the
doc files and the scanner's status here:
http://sane-project.org/lists/sane-backends-cvs.html#S-PIXMA  (maybe it
will take a little while until the website will be updated).

Cheers,
Rolf


Am 07.04.2018 um 07:54 schrieb Steve Marx:
> Hello,
>
> I have a canon d570 scanner which is not on the list.  It seems to
> be working ok with the sane_pixma driver using the same parameters
> as canon d530.  System is up-to-date archlinux, using usb interface.
>
> i rebuilt the libsane-pixma.so using the source from a recent
> sane-git, and replaced the installed lib/libsane-pixma.so.1.0.27 file in
> the currently installed sane (backends) version 1.0.27-1.
>
> not sure how much help i can be, please feel free to contact me via
> email.
>
>  steve
>
>
>
>
>


-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] sane-pixma TS6150

2018-09-13 Thread Rolf Bensch
Hi Giles,

As I mentioned before, very probably your scanner cannot be used via
Ethernet and WiFi. Please retry scanning via USB connection. Then you
should remove the Ethernet cable and/or disable WiFi.

Hope this helps.

Cheers,
Rolf

Am 12.09.2018 um 23:21 schrieb Giles Knap:
> Thanks Rolf,
> 
> I was immediately able to see the scanner but unfortunately when I try
> to scan I get an error. I have tried power cycling the scanner and
> restarting ubuntu but get the following:-
> 
> Thanks,
> giles.
> 
> giles@gklinux:~$ SANE_DEBUG_PIXMA=21 SANE_DEBUG_BJNP=3 simple-scan
> 
> (simple-scan:15292): Gtk-WARNING **: 22:19:23.217: Failed to register
> client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable
> to register client
> [sanei_debug] Setting debug level of pixma to 21.
> [pixma] pixma is compiled with pthread support.
> [pixma] pixma version 0.17.50
> [sanei_debug] Setting debug level of bjnp to 3.
> [pixma] pixma_collect_devices() found Canon PIXMA TS6100 Series at
> libusb:002:005
> [bjnp] sanei_bjnp_find_devices, pixma backend version: 0.17.50
> [bjnp] sanei_bjnp_find_devices: No devices specified in configuration file.
> [bjnp] sanei_bjnp_find_devices: Added all configured scanners, now do
> auto detection...
> [bjnp] prepare_socket: lo is not a valid IPv4 interface, skipping...
> [bjnp] prepare_socket: eno1 is IPv4 capable, sending broadcast, socket = 23
> [bjnp] prepare_socket: lo is not a valid IPv6 interface, skipping...
> [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket = 24
> [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket = 25
> [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket = 26
> [bjnp] sanei_find_devices: scanner discovery finished...
> [pixma] pixma_find_scanners() found 1 devices
> [pixma] pixma_collect_devices() found Canon PIXMA TS6100 Series at
> libusb:002:005
> [bjnp] sanei_bjnp_find_devices, pixma backend version: 0.17.50
> [bjnp] sanei_bjnp_find_devices: No devices specified in configuration file.
> [bjnp] sanei_bjnp_find_devices: Added all configured scanners, now do
> auto detection...
> [bjnp] prepare_socket: lo is not a valid IPv4 interface, skipping...
> [bjnp] prepare_socket: eno1 is IPv4 capable, sending broadcast, socket = 23
> [bjnp] prepare_socket: lo is not a valid IPv6 interface, skipping...
> [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket = 24
> [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket = 25
> [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket = 26
> [bjnp] sanei_find_devices: scanner discovery finished...
> [pixma] pixma_open(): Canon PIXMA TS6100 Series
> [pixma] pixma_connect() failed EBUSY
> [pixma] pixma_open() failed EBUSY
> [pixma] pixma_close(): Canon PIXMA TS6100 Series
> 
> 
> On Wed, Sep 12, 2018 at 9:14 PM Rolf Bensch  <mailto:r...@bensch-online.de>> wrote:
> 
> Hi Giles,
> 
> I just added your scanner to SANE. You can pull the recent version from
> git now.
> 
> Or you can use my Ubuntu PPA:
> https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git
> <https://launchpad.net/%7Erolfbensch/+archive/ubuntu/sane-git> .
> Then you
> must wait for the next version tomorrow.
> 
> Please report your results.
> 
> Cheers,
> Rolf
> 
> Am 12.09.2018 um 20:40 schrieb Giles Knap:
> > Many thanks, Rolf.
> >
> > I would be very happy to have my scanner working via USB.
> >
> > The USB IDs are as follows:-
> > Bus 002 Device 005: ID 04a9:1822 Canon, Inc. 
> >
> > Cheers,
> > giles
> >
> > On Wed, Sep 12, 2018 at 6:41 PM Rolf Bensch  <mailto:r...@bensch-online.de>
> > <mailto:r...@bensch-online.de <mailto:r...@bensch-online.de>>> wrote:
> >
> >     Hi Giles,
> >
> >     I'm sorry to tell you that your scanner isn't supported by
> SANE. You
> >     confuse your TS6150 with the TS6050 (PIXMA TS6000 Series).
> >
> >     There's another problem with the tested TS scanners: WiFi
> isn't
> >     working.
> >
> >     I can quickly implement your scanner to SANE, but you very
> probably
> >     need to use the scanner USB connected to your PC. Please send me
> >     your scanner's USB IDs, which can be indentified on a console
> with:
> >     $ lsusb
> >     Bus 002 Device 007: ID 04a9:1908 Canon, Inc.
> >     ...
> >
> >     Hope this helps.
> >
> &g

Re: [sane-devel] sane-pixma TS6150

2018-09-12 Thread Rolf Bensch
Hi Giles,

I'm sorry to tell you that your scanner isn't supported by SANE. You
confuse your TS6150 with the TS6050 (PIXMA TS6000 Series).

There's another problem with the tested TS scanners: WiFi isn't working.

I can quickly implement your scanner to SANE, but you very probably need
to use the scanner USB connected to your PC. Please send me your
scanner's USB IDs, which can be indentified on a console with:
$ lsusb
Bus 002 Device 007: ID 04a9:1908 Canon, Inc.
...

Hope this helps.

Cheers,
Rolf


Am 03.09.2018 um 18:30 schrieb Giles Knap:
> Hello,
>
> I'm testing the latest pixma support against the TS6150 which is
> listed as not yet tested.
>
> I can't connect over USB or TCP even if I explicitly place my device's
> IP address in /etc/sane.d/pixma.conf as follows:-
>
> bjnp-timeout=5000
> bjnp://192.168.0.100:8612 
>
> I am running on Ubuntu 18.04.1 and have built from the latest source
> in master branch of https://gitlab.com/sane-project/backends.
>
> The compilation is with debug and I get the following output pasted below.
>
> The device is working since I am able to scan in an incredibly limited
> fashion using the official scangearmp2 (which I have since
> uninstalled). The device also works if I reboot to windows.
>
> --
> giles@gklinux:~/github/backends$ SANE_DEBUG_PIXMA=21 SANE_DEBUG_BJNP=3
> simple-scan
>
> (simple-scan:15264): Gtk-WARNING **: 17:10:07.715: Failed to register
> client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable
> to register client
> [sanei_debug] Setting debug level of pixma to 21.
> [pixma] pixma is compiled with pthread support.
> [pixma] pixma version 0.17.49
> [sanei_debug] Setting debug level of bjnp to 3.
> [bjnp] sanei_bjnp_find_devices, pixma backend version: 0.17.49
> [bjnp] Set new default timeout value: 5000 ms.[bjnp]
> sanei_bjnp_find_devices: Adding scanner from pixma.conf:
> bjnp://192.168.0.100:8612 
> [bjnp] bjnp_allocate_device(bjnp://192.168.0.100:8612/timeout=5000
> ) 0
> [bjnp] get_scanner_name: Name for 192.168.0.100 not found : Name or
> service not known
> [bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.0.100 
> port 8612
> [bjnp] udp_command: ERROR - recv failed: Connection refused[bjnp]
> udp_command: ERROR - recv failed: Connection refused[bjnp]
> udp_command: ERROR - recv failed: Connection refused[bjnp]
> udp_command: ERROR - no data received (timeout = 5000)
> [bjnp] bjnp_init_device_structure: Cannot read mac address, skipping
> this scanner
> [bjnp] bjnp_allocate_device: Scanner not yet in our list, added it:
> 192.168.0.100:8612 
> [bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.0.100 
> port 8612
> [bjnp] udp_command: ERROR - recv failed: Connection refused[bjnp]
> udp_command: ERROR - recv failed: Connection refused[bjnp]
> udp_command: ERROR - recv failed: Connection refused[bjnp]
> udp_command: ERROR - no data received (timeout = 5000)
> [bjnp] get_scanner_id: ERROR - Failed to retrieve scanner identity:
> [bjnp] add_scanner: ERROR - Cannot read scanner make & model:
> bjnp://192.168.0.100:8612/timeout=5000
> 
> [bjnp] sanei_bjnp_find_devices: Added all configured scanners, now do
> auto detection...
> [bjnp] prepare_socket: lo is not a valid IPv4 interface, skipping...
> [bjnp] prepare_socket: eno1 is IPv4 capable, sending broadcast, socket
> = 50
> [bjnp] prepare_socket: lo is not a valid IPv6 interface, skipping...
> [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket
> = 51
> [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket
> = 52
> [bjnp] prepare_socket: eno1 is IPv6 capable, sending broadcast, socket
> = 53
> [bjnp] sanei_find_devices: scanner discovery finished...
> [pixma] pixma_find_scanners() found 0 devices
>

-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Canon MAXIFY MB5300 series

2018-09-12 Thread Rolf Bensch
Hi,

Attached you find a possible patch for the 1200dpi issue. Please report
if it's working.

Many thanks for your help.

Cheers,
Rolf


Am 08.09.2018 um 13:20 schrieb Olaf Meeuwissen:
> Hi,
> 
> innocence.fa...@gmx.de writes:
> 
>> Hi All,
>> as it seems that this list is largely unmaintained (the below message
>> has been sitting in quarantine for weeks now without any action), I
> 
> Sorry to hear that.
> @allan> Are you getting notifications about quarantined mail since the
> mailing list has been moved to the new server?
> 
>> Here goes:
>> I am writing to this list to let you know that the above Canon MFP - a
>> 5350 in my case - works (in general) using the pixma backend.
>> (Documentation says it's untested.)
> 
> Updated the info about this device and mentioned the issue below.
> 
>  
> https://gitlab.com/sane-project/backends/commit/fd8aedea4c475f1c8c51c3efe28bc81495ece61c
> 
> @rolf> Anything you know about this and/or could fix?
> 
>> It's detected automatically via
>> network, so that's excellent. On top of that, I came across a peculiar
>> issue that involves scanning at 1200 dpi resolution (all other
>> resolutions work just fine):
>> When using xsane frontend, the resulting image looks as though it is
>> cut in half (vertically) and then the two halves are interlaced column
>> by column into the final result. Re-extracting the two halves is
>> actually possible using GIMP, for instance, but they do not quite add
>> up to a complete image. (A couple columns seem to be missing.)
>> When using simple-scan frontend, the resulting image looks like the
>> actual image but interlaced column by column with a white image of the
>> same size, stretching the actual image horizontally by 100 percent.
>> Erasing every other column in this output will actually yield the
>> expected and usable result.
>> This, btw., is the exact same result you get when using scanimage -
>> -resolution 1200 so I assume it's got to do with sane and/or the
>> corresponding pixma backend. I am taking a wild guess here, but could
>> this be explained by an asymmetric resolution of 600*1200 (x*y) that
>> is then inflated to 1200*1200 using white?
>> Perhaps you can look into this issue. It's good enough for me for the
>> time being - I usually scan using the embedded app on the device - but
>> could use some fixing. TIA!
>> Kind Regards,
>> Roland
> 
> Hope this helps,
> --
> Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
>  GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
>  Support Free Softwarehttps://my.fsf.org/donate
>  Join the Free Software Foundation  https://my.fsf.org/join
> 
<>
-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Canon imageClass MF733

2018-08-27 Thread Rolf Bensch
Hi Carl,

I just added your scanner to SANE. It will available from the daily git
snapshots tomorrow. Or from my Ubuntu PPA
(https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git), also tomorrow.

First you should test the USB connection before you maybe want to switch
to ethernet/wifi.

Hope this helps.

Cheers,
Rolf


Am 26.08.2018 um 16:47 schrieb klequis:
> Hi,
>
> I recently purchased the Canon imageCLASS MF733Cdw which is not
> supported. As I'm forming a new business I don't have time to write a
> backend at this time. However, I may have time to test depending on
> what needs to be done. I was hoping that the imageCLASS MF733Cdw was
> close enough to the i-SENSYS MF730 Series to be included in testing
> for it, but don't know if that is the case. If it is I would be happy
> to be a tester.
>
> I'm using Ubuntu 18.04 64-bit
>
> Output of "$ sudo sane-find-scanner -v -v" while connected via usbis
> attached
>
> My preference is ethernet connection. sane-find-scanner appears to
> test only for USB and SCSI so not including output for ethernet
> connection, but could if it is helpful.
>
> I looked to see if the Windows driver was the same as the i-SENSI
> MF730 series but it appears it isn't.
>
> Information per your 'contributing' page is below.
>
> Thank you,
> Carl
>
>
> *Windows Drivers*
>
> imageCLASS MF733Cdw: MF731CMFDriverV5401W64usEN.exe
>
> i-SENSYS MF732Cdw: MF735CMFDriverV5401W64ukEN.exe
>
> *Linux Drivers*
>
> imageCLASS MF733Cdw: not sure but the name of the gz file that
> contains the driver is: linux-UFRII-drv-v350-usen
>
> i-SENSYS MF732Cdw: didn't find one
>
> *Support links*
>
> iSENSYS MF730 series:
> https://www.canon-europe.com/business-printers-and-faxes/i-sensys-mf730-series/
>
> imageClass MF733cdw:
> https://www.usa.canon.com/internet/portal/us/home/support/details/printers/color-laser/color-imageclass-mf733cdw/

-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

[sane-devel] daily git snapshots

2018-05-16 Thread Rolf Bensch
Hi Olaf,

After a git push daily git snapshots are not generated resp. provided on
the wesite.

Cheers,
Rolf


-- 
sane-devel mailing list: sane-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

  1   2   >