[sane-devel] Canon DR-4010C

2007-08-20 Thread Wittawat Yamwong
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

[sane-devel] Pixma Backend Compile Error

2007-05-01 Thread Wittawat Yamwong
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

[sane-devel] Re: [PATCH] generate hal fdi file

2007-03-21 Thread Wittawat Yamwong
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

[sane-devel] Problems with Canon Pixma MP500 on Buffalo Linkstation

2007-03-16 Thread Wittawat Yamwong
Please also make sure that the USB port is running at high speed (480 Mbit/s). Regards -- Wittawat Yamwong Hannover, Germany

[sane-devel] Problems with Canon Pixma MP500 on Buffalo Linkstation

2007-03-15 Thread Wittawat Yamwong
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

[sane-devel] Problems with Canon Pixma MP500 on Buffalo Linkstation

2007-03-14 Thread Wittawat Yamwong
<== INSERT THIS LINE */ error = handle_interrupt (s, 1000); if (s->cancel) return PIXMA_ECANCELED; [...] and run it again. Regards -- Wittawat Yamwong Hannover, Germany

[sane-devel] compling backends 1.0.18

2006-11-05 Thread Wittawat Yamwong
ile 'configure'. There is only one occurrence.) Regards -- Wittawat Yamwong Hannover, Germany

[sane-devel] Canon PIXMA MP600 support

2006-11-05 Thread Wittawat Yamwong
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

[sane-devel] signal handling by libsane and backends

2006-09-15 Thread Wittawat Yamwong
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

[sane-devel] signal handling by libsane and backends

2006-09-14 Thread Wittawat Yamwong
> 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

[sane-devel] sanei_usb_open() and multifuntion devices

2006-09-13 Thread Wittawat Yamwong
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

[sane-devel] Communicating with Saned

2006-09-07 Thread Wittawat Yamwong
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

[sane-devel] Sane 1.0.18 and Ubuntu PIXMA problems

2006-09-07 Thread Wittawat Yamwong
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-devel] Can't get Canon MP360 working

2006-08-22 Thread Wittawat Yamwong
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

[sane-devel] Can't get Canon MP360 working

2006-08-22 Thread Wittawat Yamwong
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

[sane-devel] Compile problem ,please help!

2006-08-03 Thread Wittawat Yamwong
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

[sane-devel] sanei_usb_read_bulk: problem in handling of NAK

2006-05-26 Thread Wittawat Yamwong
between NAK and zero-length packet. Regards -- Wittawat Yamwong Hannover, Germany

[sane-devel] SANE Developing in kdevelop

2006-05-25 Thread Wittawat Yamwong
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

[sane-devel] usb_clear_halt() in sanei_usb_read_int(), correct?

2006-05-24 Thread Wittawat Yamwong
_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

[sane-devel] Timetable for the release of sane-backends 1.0.18

2006-05-23 Thread Wittawat Yamwong
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

[sane-devel] Status update for pixma backend

2006-05-19 Thread Wittawat Yamwong
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

[sane-devel] Status update for pixma backend

2006-05-14 Thread Wittawat Yamwong
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

[sane-devel] Status update for pixma backend

2006-05-14 Thread Wittawat Yamwong
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

[sane-devel] sane_cancel and sane_read

2006-05-12 Thread Wittawat Yamwong
When a safe cancellation point is reached, the request will be carried out. Regards -- Wittawat Yamwong Hannover, Germany

[sane-devel] Hotplug and udev files created automatically now, please test!

2006-05-10 Thread Wittawat Yamwong
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

[sane-devel] sane_cancel and sane_read

2006-05-10 Thread Wittawat Yamwong
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

[sane-devel] Hotplug and udev files created automatically now, please test!

2006-05-04 Thread Wittawat Yamwong
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

[sane-devel] Hotplug and udev files created automatically now, please test!

2006-05-02 Thread Wittawat Yamwong
{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

[sane-devel] Preparation for sane-backends release 1.0.18

2006-04-26 Thread Wittawat Yamwong
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

[sane-devel] sane_cancel and sane_read

2006-04-25 Thread Wittawat Yamwong
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

[sane-devel] pixels_per_line and bytes_per_line

2006-04-25 Thread Wittawat Yamwong
nly if c = B*n*d/8. What should I do in this case? Regards -- Wittawat Yamwong Hannover, Germany

[sane-devel] Preparation for sane-backends release 1.0.18

2006-04-19 Thread Wittawat Yamwong
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

[sane-devel] Backend and stand-alone utility for Canon PIXMA MP150/MP170

2006-04-16 Thread Wittawat Yamwong
0 and MP500 too. Any comments are welcome. URL: http://home.arcor.de/wittawat/pixma/ Regards -- Wittawat Yamwong Hannover, Germany

[sane-devel] Backend and stand-alone utility for Canon PIXMA MP150/MP170

2006-04-16 Thread Wittawat Yamwong
0 and MP500 too. Comments are welcome. URL: ?http://home.arcor.de/wittawat/pixma/ Regards -- Wittawat Yamwong Hannover, Germany