0 and MP500 too.
Comments are welcome.
URL: ?http://home.arcor.de/wittawat/pixma/
Regards
--
Wittawat Yamwong
Hannover, Germany
0 and MP500 too.
Any comments are welcome.
URL: http://home.arcor.de/wittawat/pixma/
Regards
--
Wittawat Yamwong
Hannover, Germany
the current version is not ready to be included in
sane-backends yet. Many things in the source code needs to be cleaned, e.g.
naming convention for global symbols, license, coding style etc. I will look
at the code and give you an definitive answer on this weekend.
Regards
--
Wittawat Yamwong
Hannover, Germany
nly if c = B*n*d/8. What should I do in this case?
Regards
--
Wittawat Yamwong
Hannover, Germany
nously
(case I), the request must be postponed by setting a flag for example. The
request will be carried out when we return to the reader thread.
Regards
--
Wittawat Yamwong
Hannover, Germany
other platform than SUSE Linux 10.0 and if it correctly follows
the SANE backend writing guideline. Thank you in advance.
Regards
--
Wittawat Yamwong
Hannover, Germany
{PRODUCT}=="//*", RUN+="/bin/sh
-c '/bin/chgrp scanner $env{DEVICE}; /bin/chmod 664 $env{DEVICE}'"
Replace and with the correct USBID of your scanner and check the
group and permission if it matches your system. See udev man page
and /usr/src/linux/Documentation/usb/hotplug.txt for more info.
Regards
--
Wittawat Yamwong
Hannover, Germany
epends on Linux distribution. Actually, the whole problem
is not directly related to SANE. IMHO, distributors should be responsible for
a working libusb.
Regards
--
Wittawat Yamwong
Hannover, Germany
iver
before I read the SANE standard and there is also a cancel() function in my
driver but with different semantic. Now that you pointed me to an
implementation of a reader process, everthing becomes clear.
Thank you! :-)
--
Wittawat Yamwong
Hannover, Germany
st we
should stick with the above udev rules. For those who has an older libusb
(like me), exporting USB_DEVFS_PATH=/dev/bus/usb as a system wide environment
variable could help.
Regards
--
Wittawat Yamwong
Hannover, Germany
When a safe
cancellation point is reached, the request will be carried out.
Regards
--
Wittawat Yamwong
Hannover, Germany
pixma version 0.11.0 against sane-backends CVS version 20060510 can
be downloaded here:
http://home.arcor.de/wittawat/pixma/sane-pixma-0.11.0.patch.gz
Regards
--
Wittawat Yamwong
Hannover, Germany
-- next part --
;
; SANE Backend specification file
;
; It's basically
Sorry, there were many typos in pixma.desc in my last email. Here is the
corrected version.
Regards
--
Wittawat Yamwong
Hannover, Germany
-- next part --
;
; SANE Backend specification file
;
; It's basically emacs-lisp --- so ";" indicates comment to end
nto CVS.
Thank you for having a look at the code. Please wait a little bit. I'm fixing
sane_get_devices() and sane_open(). They aren't compatible with the SANE
standard yet. I think, everything will be ready for SANE CVS on this weekend.
Regards
--
Wittawat Yamwong
Hannover, Germany
I have just uploaded the patch for SANE CVS dated 20060523.
http://home.arcor.de/wittawat/pixma/sane-pixma-0.11.1.patch.gz
May I commit changes into CVS? There could be a small status update for MP800
and MP830 in the next weeks. My account at alioth.debian.org is
wittawat-guest.
Regards
--
Witta
_halt().
I did a grep and it seems that only avision backend currently uses
sanei_usb_read_int(). Will the backend still work if I modify the function so
that it calls usb_clear_halt() if and only if a halt condition really
occurred? (usb_interrupt_read() returns -EPIPE)
Regards
--
Wittawat Ya
ur
project tree looks clear, you can add only your source files to the project
or set file filters accordingly. Don't forget to read
doc/backend-writing.txt. :-) I personally do a bit different. I compile my
backend outside the sane-backend tree.
Bye
--
Wittawat Yamwong
Hannover, Germany
between NAK and zero-length packet.
Regards
--
Wittawat Yamwong
Hannover, Germany
ell.
$ export SANE_DEBUG_DLL=3
$ scanimage -L
The debug messages will tell you whether your backend was loaded by the
libsane-dll.so. Possibly that you didn't export the API functions as
sane_khf_init, sane_khf_exit etc.
Regards
--
Wittawat Yamwong
Hannover, Germany
ld try to modify
the pixma backend so that you need to add only protocol specific codes and
don't need to worry about SANE API for the present.
Regards
--
Wittawat Yamwong
Hannover, Germany
to put them online, but the bz2 is only 4kb so
> I've attached it.
>
> Best Regards, Martin Owens
>
> On 8/22/06, Wittawat Yamwong wrote:
> > [...]
> > What have you done so far? Have you already captured some USB traffics?
> > If so,
> > can you uplo
nd-scanner -q
and watch for lines containing the USBID of your scanner (0x04a9/0x263c).
> is there some registering thing I missed? or perhaps some problem with
> adding new definitions in the pixma drivers which is incompatible?
You can start with the sane-backends CVS version (after 2006-08-
sane-net and
sane-dll for more info about configuring the backend. BTW, the protocol itself
is described in detail in Chapter 5 of the SANE Standard.
Regards
--
Wittawat Yamwong
Hannover, Germany
will release it afterward. Why does one want to claim
another interface while he cannot use its endpoints through sanei_usb
functions?
Regards
--
Wittawat Yamwong
Hannover, Germany
> Workaround could be to get the settings before calling any sane function
> and to do the restore stuff on your own.
This should be documented somewhere, maybe in PROBLEMS?
Regards
--
Wittawat Yamwong
Hannover, Germany
amp;sa, NULL);
/* forget to restore SIGCHLD handler. */
}
"grep -l SIGCHLD *.c" in the backend directory gives:
artec_eplus48u.c
mustek.c
plustek.c
plustek_pp.c
u12.c
Regards
--
Wittawat Yamwong
Hannover, Germany
he new PIXMA MPs seem to talk a different "dialect". USB sniffer logs for
color, grayscale and BW mode are required. Please do _not_ send sniffer log
files to the mailing list because they will be probably very large! Instead,
put them somewhere in the Internet and post the links here
ile 'configure'. There is only one occurrence.)
Regards
--
Wittawat Yamwong
Hannover, Germany
<== INSERT THIS LINE */
error = handle_interrupt (s, 1000);
if (s->cancel)
return PIXMA_ECANCELED;
[...]
and run it again.
Regards
--
Wittawat Yamwong
Hannover, Germany
o respond at all, does it?
The scanner did actually respond. You can see it below the "IN" lines. Did you
hear the scanner's optical unit move? Does the pixma backend work if you
directly connect the device to your desktop or laptop computer? (I'm not
familiar with the distro running on Baffalo Linkstation.)
Regards
--
Wittawat Yamwong
Hannover, Germany
Please also make sure that the USB port is running at high speed (480
Mbit/s).
Regards
--
Wittawat Yamwong
Hannover, Germany
node and the device
name used by libsane. For example: pixma backend uses the device name in the
form "_zz" where , and zz are the vendor ID, the
product ID and the serial number of the scanner resp. Other backends may use
something like "libusb:/dev/bus/0
sert this code
#ifndef ECANCELED
# define ECANCELED 10002
#endif
in backend/pixma.h after the #endif
[...]
#ifndef ENODATA
# define ENODATA 10001
#endif
Regards
--
Wittawat Yamwong
Hannover, Germany
Perhaps, Canon already has the driver for Linux.
An alternative: Canon's European Developer Programmes
<http://www.developers.canon-europa.com/developer/home.nsf>.
Regards
--
Wittawat Yamwong
34 matches
Mail list logo