[sane-devel] Help needed from Canon DR-C125 owner

2015-02-16 Thread m. allan noah
I am looking for someone who has access to a Canon DR-C125 (or DR-C225
possibly), who could test a patch to sane-backends. I have spent some
time to try and understand the image format on these machines, and
need someone to test my work. You would need to be able to build
sane-backends from source, so some prior experience in compilation
would be helpful.

Please contact me directly if you are able to help.

allan
-- 
"well, I stand up next to a mountain- and I chop it down with the edge
of my hand"

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


Re: [sane-devel] Canon PIXMA MG6400 Series

2015-02-16 Thread Guillaume Courtois

Hi Guillaume,
I reordered your reply to bottom posting. Thought, this is common in 
web

forums, resp. mailing lists.


Funny you're saying that, I'm practising electronic forums since the 
days of BBSs, so it's been a while :-)


You do not seem to have the same issue as me, I had more a problem with 
the different colors. But Allan sent a patch, so I hope that will solve 
your issue !


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


Re: [sane-devel] Canon PIXMA MG6400 Series

2015-02-16 Thread Rolf Bensch
Hi Chris,

Attached patch should fix your issue. The patch fixes this file:
backend/pixma_mp150.c.

Please also test the USB connection without WiFi connected.

After your positive feedback I'll update the sources in SANE's git
repository.

Cheers,
Rolf



Am 16.02.2015 um 19:44 schrieb Christian Spielberger:
> On Mon 16.02.15  14:29, Guillaume Courtois wrote:
>>> Hi,
>>> today I activated my brand new Canon PIXMA MG6450 printer/scanner.
>>> In the SANE
>>> table for supported devices the device is listed as "Untested":
>>>
>>> ...
>>> PIXMA MG6400 Series USB 0x04a9/0x1770   Untested
>>> Testers needed!
>>> ...
>>>
>>> I built and installed the sane-backends project. It worked like a
>>> charm for my
>>> device which is connected by wifi. The scanned image looks quite
>>> good. The
>>> colors are correct. Resolutions up to 600dpi are working. With
>>> 1200dpi there are
>>> "column oriented" artefacts.
>>>
>>> Configuration on printer: Normal configuration process, then
>>> - wifi config (dhcp)
>>> - set hostname (to "canon") through the printers display menu
>>>
>>> Configuration on system (Ubuntu trusty):
>>> To /etc/sane.d/pixma.conf added line:
>>> bjnp://canon.local
>>>
>>> Building sane-backends (default):
>>>
>>> ./configure
>>> make
>>> sudo make install
>>>
>>> $ scanimage -L
>>> device `pixma:MG6400_canon.local' is a CANON Canon PIXMA MG6400 Series
>>> multi-function peripheral
>>>
>>>
>>> Do you need more informations?
>>>
>>> regards,
>>> Chris.
>> Hi,
>>
>> Can you send us a picture of the scan at 1200 dpi ?
>> Did you try higher resolutions ?
>>
>> You may have the same kind of problem I had with my Canon MP990 (and
>> which I solved, I have to send the patch for that BTW !)
>>
>> Bye.
>>
>> Le 14/02/2015 22:46, Christian Spielberger a écrit :
> Hi Guillaume,
> I reordered your reply to bottom posting. Thought, this is common in web 
> forums, resp. mailing lists.
>
> The images are very large in disk space. They can be downloaded from:
> - image as it should look like, scanned with 75dpi
> https://dl.dropboxusercontent.com/u/69356214/nypd-75dpi.png
> - image scanned with 1200dpi
> https://dl.dropboxusercontent.com/u/69356214/nypd-1200dpi-onA5.png
>
> regards,
> Chris.
>
>

--- ./pixma_mp150.c 2015-02-16 19:57:59.430742217 +0100
+++ ../sane-backends/backend/pixma_mp150.c  2015-02-16 19:58:46.983176453 
+0100
@@ -1149,6 +1149,7 @@
   && s->cfg->pid != MG5300_PID
   && s->cfg->pid != MG5500_PID
   && s->cfg->pid != MG6300_PID
+  && s->cfg->pid != MG6400_PID
   && s->cfg->pid != MG7100_PID)
   reorder_pixels (mp->linebuf, sptr, c, n, m, s->param->wx, 
line_size);
   
-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
 to sane-devel-requ...@lists.alioth.debian.org

Re: [sane-devel] Canon PIXMA MG6400 Series

2015-02-16 Thread Christian Spielberger
On Mon 16.02.15  14:29, Guillaume Courtois wrote:
> >Hi,
> >today I activated my brand new Canon PIXMA MG6450 printer/scanner.
> >In the SANE
> >table for supported devices the device is listed as "Untested":
> >
> >...
> >PIXMA MG6400 Series USB 0x04a9/0x1770   Untested
> >Testers needed!
> >...
> >
> >I built and installed the sane-backends project. It worked like a
> >charm for my
> >device which is connected by wifi. The scanned image looks quite
> >good. The
> >colors are correct. Resolutions up to 600dpi are working. With
> >1200dpi there are
> >"column oriented" artefacts.
> >
> >Configuration on printer: Normal configuration process, then
> >- wifi config (dhcp)
> >- set hostname (to "canon") through the printers display menu
> >
> >Configuration on system (Ubuntu trusty):
> >To /etc/sane.d/pixma.conf added line:
> >bjnp://canon.local
> >
> >Building sane-backends (default):
> >
> >./configure
> >make
> >sudo make install
> >
> >$ scanimage -L
> >device `pixma:MG6400_canon.local' is a CANON Canon PIXMA MG6400 Series
> >multi-function peripheral
> >
> >
> >Do you need more informations?
> >
> >regards,
> >Chris.
> 
> Hi,
> 
> Can you send us a picture of the scan at 1200 dpi ?
> Did you try higher resolutions ?
> 
> You may have the same kind of problem I had with my Canon MP990 (and
> which I solved, I have to send the patch for that BTW !)
> 
> Bye.
> 
> Le 14/02/2015 22:46, Christian Spielberger a écrit :

Hi Guillaume,
I reordered your reply to bottom posting. Thought, this is common in web 
forums, resp. mailing lists.

The images are very large in disk space. They can be downloaded from:
- image as it should look like, scanned with 75dpi
https://dl.dropboxusercontent.com/u/69356214/nypd-75dpi.png
- image scanned with 1200dpi
https://dl.dropboxusercontent.com/u/69356214/nypd-1200dpi-onA5.png

regards,
Chris.

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

[sane-devel] SCX-4521F

2015-02-16 Thread m.a.

SCX-4521F



NEED HELP


By february 7th, 14:08 1 have posted this

« Hello I have an MFP SCX-4521F and I can not get the scanner I have the

installation CD LASER MULTIFUNCTION PRINTER
ver.1.12 (JC46-00251A)

Samsung SCX-4x21Series (windows printer / scan
driver Linux printer /

scan driver, Macintosh printer / scan driver,
SmarThru 4 software,

printer settings utility, user's guide). I do
not know how to use this

CD to install what I need. The printer works but
not the scanner. I use

as OS, Linux 14.04
LTS KDE Thanks »

From the cdrom, i
cannot install with install.sh because i do not have permissions

From mount, here is
my cdrom :

/dev/sr0 on
/media/lacktchou/SAMSUNG_MFP type iso9660
(ro,nosuid,nodev,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500,uhelper=udisks2)

Why i am not able
to install with « ./install.sh »?

Sane and CUPS are
installed in my system

Thanks tyo help me

m...@openmailbox.org

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

[sane-devel] Scandb - On Paperload - fujitsu.conf

2015-02-16 Thread ylafont
I have been trying to have a "Paperload" action start without success. 

scanbd gives me on error stating "No such file or directory". The file is
there. 


Scanbd Log ---

Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: checking option
page-loaded number 77 (2) for device fujitsu:fi-4220C2dj:100742: value: 1
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: value trigger:
numerical
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: trigger action for
page-loaded for device fujitsu:fi-4220C2dj:100742 with script
/usr/local/etc/scanbd/test.sh
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd:
get_sane_option_value
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: Value of mode as
string (len 7, hash -621353420): Lineart
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env:
SCANBD_FUNCTION_MODE=Lineart
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd:
get_sane_option_value
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env:
SCANBD_FUNCTION=2
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env:
PATH=/sbin:/usr/sbin:/bin:/usr/bin
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: PWD=/
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: No USER, setting
env: USER=saned
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env:
HOME=/
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env:
SCANBD_DEVICE=fujitsu:fi-4220C2dj:100742
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env:
SCANBD_ACTION=paperload
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string
fujitsu:fi-4220C2dj:100742 to signal scan_begin
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: now sending signal
scan_begin
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string
SCANBD_FUNCTION_MODE=Lineart to signal trigger
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string
SCANBD_FUNCTION=2 to signal trigger
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string
PATH=/sbin:/usr/sbin:/bin:/usr/bin to signal trigger
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string
PWD=/ to signal trigger
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string
USER=saned to signal trigger
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string
HOME=/ to signal trigger
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string
SCANBD_DEVICE=fujitsu:fi-4220C2dj:100742 to signal trigger
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string
SCANBD_ACTION=paperload to signal trigger
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: now sending signal
trigger
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: now flushing the
dbus
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: unref the signal
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: using absolute
script path: /usr/local/etc/scanbd/test.sh
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: waiting for child:
/usr/local/etc/scanbd/test.sh
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: exec for
/usr/local/etc/scanbd/test.sh
Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: execlp: No such
file or directory
*Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: child
/usr/local/etc/scanbd/test.sh exited with status: 1*
Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: Iteration on dbus
call
Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: append string
fujitsu:fi-4220C2dj:100742 to signal scan_end
Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: now sending signal
scan_end
Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: reopen device
fujitsu:fi-4220C2dj:100742
Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: got the value
already -> copy
Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: copy the value of
option 77


File listing -

pi@PiScanner /usr/local/etc/scanbd $ ls -l
total 72
-rwxr--r-- 1 root staff 1776 Feb  4 00:10 action.script
-rwxr--r-- 1 root staff 2415 Nov  5 13:27 adfscan.sh
-rwxr--r-- 1 root staff 1115 Feb  4 00:10 example.script
-rwxr--r-- 1 root staff  949 Feb  4 00:10 insert.script
-rwxr-xr-x 1 root staff 1643 Feb 10 18:14 nextfile.sh
-rwxr-xr-x 1 root staff 2686 Feb 14 05:27 nextscan.sh
-rwxr-xr-x 1 root staff 2346 Feb 15 17:14 premove.sh
drwxr-sr-x 3 root staff 4096 Feb  4 03:59 sane.d
-rwxr-xr-x 1 root staff 4502 Feb 15 17:19 scan2.sh
-rwxr--r-- 1 root staff 1207 Feb  4 00:10 scanadf.script
-rwxr--r-- 1 root staff 8805 Feb 16 15:45 scanbd.conf
drwxr-sr-x 2 root staff 4096 Feb  4 03:59 scanner.d
-rwxrwxrwx 1 root staff 2491 Feb 15 21:06 scan.sh
-rwxr-xr-x 1 root staff 1195 Feb  4 00:10 test.script.org
-rwxrwxrwx 1 root staff 2009 Feb 16 16:12 test.sh
pi@PiScanner /usr/local/etc/scanbd $



paperload section - Fujitsu.conf ---

action paperloa

Re: [sane-devel] Scandb - On Paperload - fujitsu.conf

2015-02-16 Thread Wilhelm
Am 16.02.2015 um 17:43 schrieb ylafont:
> I have been trying to have a "Paperload" action start without success. 
> 
> scanbd gives me on error stating "No such file or directory". The file is
> there. 

Please check the access rights of the user running scanbd, also to the
directory.

> 
> 
> Scanbd Log ---
> 
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: checking option
> page-loaded number 77 (2) for device fujitsu:fi-4220C2dj:100742: value: 1
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: value trigger:
> numerical
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: trigger action for
> page-loaded for device fujitsu:fi-4220C2dj:100742 with script
> /usr/local/etc/scanbd/test.sh
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd:
> get_sane_option_value
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: Value of mode as
> string (len 7, hash -621353420): Lineart
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env:
> SCANBD_FUNCTION_MODE=Lineart
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd:
> get_sane_option_value
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env:
> SCANBD_FUNCTION=2
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env:
> PATH=/sbin:/usr/sbin:/bin:/usr/bin
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env: PWD=/
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: No USER, setting
> env: USER=saned
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env:
> HOME=/
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env:
> SCANBD_DEVICE=fujitsu:fi-4220C2dj:100742
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: setting env:
> SCANBD_ACTION=paperload
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string
> fujitsu:fi-4220C2dj:100742 to signal scan_begin
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: now sending signal
> scan_begin
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string
> SCANBD_FUNCTION_MODE=Lineart to signal trigger
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string
> SCANBD_FUNCTION=2 to signal trigger
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string
> PATH=/sbin:/usr/sbin:/bin:/usr/bin to signal trigger
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string
> PWD=/ to signal trigger
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string
> USER=saned to signal trigger
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string
> HOME=/ to signal trigger
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string
> SCANBD_DEVICE=fujitsu:fi-4220C2dj:100742 to signal trigger
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: append string
> SCANBD_ACTION=paperload to signal trigger
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: now sending signal
> trigger
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: now flushing the
> dbus
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: unref the signal
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: using absolute
> script path: /usr/local/etc/scanbd/test.sh
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: waiting for child:
> /usr/local/etc/scanbd/test.sh
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: exec for
> /usr/local/etc/scanbd/test.sh
> Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: execlp: No such
> file or directory
> *Feb 16 16:34:36 PiScanner scanbd: /usr/local/sbin/scanbd: child
> /usr/local/etc/scanbd/test.sh exited with status: 1*
> Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: Iteration on dbus
> call
> Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: append string
> fujitsu:fi-4220C2dj:100742 to signal scan_end
> Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: now sending signal
> scan_end
> Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: reopen device
> fujitsu:fi-4220C2dj:100742
> Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: got the value
> already -> copy
> Feb 16 16:34:37 PiScanner scanbd: /usr/local/sbin/scanbd: copy the value of
> option 77
> 
> 
> File listing -
> 
> pi@PiScanner /usr/local/etc/scanbd $ ls -l
> total 72
> -rwxr--r-- 1 root staff 1776 Feb  4 00:10 action.script
> -rwxr--r-- 1 root staff 2415 Nov  5 13:27 adfscan.sh
> -rwxr--r-- 1 root staff 1115 Feb  4 00:10 example.script
> -rwxr--r-- 1 root staff  949 Feb  4 00:10 insert.script
> -rwxr-xr-x 1 root staff 1643 Feb 10 18:14 nextfile.sh
> -rwxr-xr-x 1 root staff 2686 Feb 14 05:27 nextscan.sh
> -rwxr-xr-x 1 root staff 2346 Feb 15 17:14 premove.sh
> drwxr-sr-x 3 root staff 4096 Feb  4 03:59 sane.d
> -rwxr-xr-x 1 root staff 4502 Feb 15 17:19 scan2.sh
> -rwxr--r-- 1 root staff 1207 Feb  4 00:10 scanadf.script
> -rwxr--r-- 1 root staff 8805 Feb 16 15:45

Re: [sane-devel] Canon PIXMA MG6400 Series

2015-02-16 Thread Guillaume Courtois


Hi,

Can you send us a picture of the scan at 1200 dpi ?
Did you try higher resolutions ?

You may have the same kind of problem I had with my Canon MP990 (and 
which I solved, I have to send the patch for that BTW !)


Bye.

Le 14/02/2015 22:46, Christian Spielberger a écrit :

Hi,
today I activated my brand new Canon PIXMA MG6450 printer/scanner. In 
the SANE

table for supported devices the device is listed as "Untested":

...
PIXMA MG6400 Series USB 0x04a9/0x1770   UntestedTesters 
needed!

...

I built and installed the sane-backends project. It worked like a charm 
for my
device which is connected by wifi. The scanned image looks quite good. 
The
colors are correct. Resolutions up to 600dpi are working. With 1200dpi 
there are

"column oriented" artefacts.

Configuration on printer: Normal configuration process, then
- wifi config (dhcp)
- set hostname (to "canon") through the printers display menu

Configuration on system (Ubuntu trusty):
To /etc/sane.d/pixma.conf added line:
bjnp://canon.local

Building sane-backends (default):

./configure
make
sudo make install

$ scanimage -L
device `pixma:MG6400_canon.local' is a CANON Canon PIXMA MG6400 Series
multi-function peripheral


Do you need more informations?

regards,
Chris.


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