[sane-devel] Epson CX7400 support
Konstantin Svist fry.kun at gmail.com writes: Olaf Meeuwissen wrote: This model will be supported by the upcoming 2.10.0 release of iscan. Neat! Is there a schedule that would tell me approximately when 2.10.0 will be released? I can't really give a date but we're aiming for first half of this month. The epson backend seems to have trouble with a number of all-in-one devices, AFAIK. I have taken a look at it in the past, comparing to the epkowa backend (part of iscan), but couldn't quite put my finger on it. FWIW, you can use the epkowa backend just fine with scanimage and xsane. Is there a tutorial/howto or something to that effect, which would tell me how to do this? I don't see an option in scanimage parameters where I can specify a backend. Do I need to change the sane config file, instead? All you have to do is install iscan and pick a device that mentions the epkowa backend. If you comment the epson backend out in dll.conf, there is no need to pick one. If you leave the epson backend enabled, XSane will show you a little dialog where you can pick the device. You'll see something like epson:003:004 epkowa:003:004 Oh, BTW, the iscan packages are available from http://avasys.jp/ and some distributions include it in their list of packages, openSUSE for example. Hope this helps, -- Olaf Meeuwissen FLOSS Engineer -- EPSON AVASYS Corporation FSF Associate Member #1962 sign up at http://member.fsf.org/ GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2
[sane-devel] BRIGHTNESS / CONTRAST controls
Le Monday 05 November 2007 21:42:47 jazz_johnson at verizon.net, vous avez ?crit?: I've been debugging my hs2p backend and have a question about BRIGHTNESS/CONTRAST controls. Following the ibm, bh, and sp15c backends, I initialized a SANE option OPT_BRIGHTNESS in init_options() { s-opt[OPT_BRIGHTNESS].name = SANE_NAME_BRIGHTNESS; s-opt[OPT_BRIGHTNESS].title = SANE_TITLE_BRIGHTNESS; s-opt[OPT_BRIGHTNESS].desc = SANE_DESC_BRIGHTNESS; s-opt[OPT_BRIGHTNESS].type = SANE_TYPE_INT; s-opt[OPT_BRIGHTNESS].unit = SANE_UNIT_NONE; s-opt[OPT_BRIGHTNESS].constraint_type = SANE_CONSTRAINT_RANGE; s-opt[OPT_BRIGHTNESS].constraint.range = s-hw-info.brightness_range; s-val[OPT_BRIGHTNESS].w = 128; } where struct SANE_range brightness_range = { 1, 255, 1 /*min,max,quant*/ } since the IS450 has a brightness range [0,255] with 0 being an alias for the default value of 128 (the midpoint of the odd interval [1,255]) I also defined an analogous OPT_CONTRAST for the contrast function under the Enhancement Group. When I bring up Xsane, though, I have two brightness controls, one under the Enhancement Group with the interval [1,255] labeled Brightness, and the other under the main Xsane window with the interval [-100,100] with a Sun symbol for the brightness control. The Xsane contol works with the Preview window and the Histogram window. I also have analogous dual controls for contrast, with the Xsane control (labeled with a contrast symbol) working with the Preview/Histogram windows. I obviously just want one brightness control and one contrast control. I don't care whethor the range is [-100,100] or [1,128] or [0%,100%], just so long as when I set my window parameters I translate to [1,255] Are BRIGHTNESS/CONTRAST predefined somewhere? When I reference s-val[OPT_BRIGHTNESS].w am I referencing a value in the range [-100,100] or [1,255] ? Hello, Xsane has a software contrast and brightness correction (the ones in the -100,+100 range). It also provides a software gamma correction. All these are independent from the backend and work on the scanned data after they have been received. They can be turned off (from the configuration pane in prefrences menu), so only the controls implemented in your backend would be used. Regards, Stef
[sane-devel] Epson CX7400 support
Konstantin Svist fry.kun at gmail.com writes: Olaf Meeuwissen wrote: All you have to do is install iscan and pick a device that mentions the epkowa backend. If you comment the epson backend out in dll.conf, there is no need to pick one. If you leave the epson backend enabled, XSane will show you a little dialog where you can pick the device. You'll see something like epson:003:004 epkowa:003:004 Installed iscan-2.8.0-1.c2.i386.rpm, commented epson from dll.conf, commented out usb 0x04b8 0x0838 from epson.conf and added it to epkowa.conf xsane started working commented out the entry from epkowa.conf, placed it back in epson.conf - xsane works removed iscan package, xsane works rebooted, still works blinked a few times and reinstalled iscan just to be on the safe side :) I'm guessing iscan uploaded some firmware to the scanner, so it works now..? It (iscan) doesn't upload firmware for the CX7400. Moreover, firmware uploads would be lost when you power-down the device (long enough). I'm curious as to how you installed and removed iscan. My current best bet is that the epkowa backend is still found in a place where SANE finds it, typically in /usr/lib/sane/, and epkowa.conf is still on the system as well. If you installed with `rpm -U` and removed with `rpm -e` everything ought to be gone after removal. Maybe you're using a less common, as in one we don't test with, distribution and things didn't go as they were intended to. Let me know what distribution you're using and how you installed and removed iscan. Were there any messages by any chance? Also, what device names do you get with `scanimage -L`? If there's any that start with 'epkowa:' the backend's still there somewhere. Hope this helps, -- Olaf Meeuwissen FLOSS Engineer -- EPSON AVASYS Corporation FSF Associate Member #1962 sign up at http://member.fsf.org/ GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2
[sane-devel] Plustek module problem
I think replug means taking the plug out and putting it back. This how I have configured. I have in plustek_pp.conf [kernel] device /dev/pt_drv option warmup-1 option lOffOnEnd-1 option lampOff -1 In dll.conf I have commented everything else, but plustek_pp. I have no /dev/pt_drv, I have none of the other numbered ones either. Jarmo Outinen Message: 2 Date: Mon, 5 Nov 2007 16:00:25 +0200 From: Gerhard Jaeger gerhard at gjaeger.de Subject: Re: [sane-devel] Plustek module problem To: sane-devel at lists.alioth.debian.org Message-ID: 200711051500.26275.gerhard at gjaeger.de Content-Type: text/plain; charset=iso-8859-1 On Montag, 5. November 2007, Jarmo Outinen wrote: I'm posting this once more and if this doesn't get solved I'm putting hammer through that scanner. Guess this does not impress anybody here ;) The thingy is a rather old one... Anyway - what do you mean by replug? How is the module (if you really use the ptdrv module - I doubt that) configured? Which device do you miss? You should try and use the plustek_pp backend with the parport_pc and pp_dev modules... - Gerhard
[sane-devel] Plustek scanner problem
I got the module loaded and scanimage -L gives: device `plustek_pp:/dev/pt_drv0' is a Plustek 9636T/12000T flatbed scanner But no graphical frontend finds it. Jarmo Outinen
[sane-devel] Brother 210C scanner/fax/printer help
Hi Everyone On the Sane.org site there are instructions to contact Dmitri Katchalov regarding work with Brother drivers. I was not able to contact him. I would like to begin trying to reverse engineer Windows only devices for use in Linux. I thought I would practice with my unsupported all-in-one printer/scanner/fax. I have a feeling this might not be the easiest place to start. Does anyone know if there are specific issues with the Brother line? Any guidance you can provide before I get started would be great. Thanks in advance for your time-Patrick
[sane-devel] Formulardaten
=== == Neuer Eintrag === --- -- Formular: 'adddev' --- 1. Your email address: 'aikishugyo at gmail.com' 2. Manufacturer (e.g. Mustek): 'Canon' 3. Model name (e.g. ScanExpress 1200UB): 'Canoscan 8800F' 4. Bus type: 'USB' 5. Vendor id (e.g. 0x001): '0x04a9' 6. Product id (e.g. 0x0002): '0x1901' 7. Chipset (e.g. lm9831): 'unknown' 8. Comments (e.g. similar to Mustek 1234): 'Canon installation of drivers under Windows appears to give the driver a name of CNQ4805. At least one of the DLLs is named like that, as is the directory under c:\windows\twain_32 where a lot of DLLs and DAT files are kept.' 9. Data (e.g. sane-find-scanner -v -v): 'output of sane-find-scanner -v -v === (omitted not-found lines) .. trying libusb: device descriptor of 0x04a9/0x1901 at 004:023 (Canon CanoScan) bLength 18 bDescriptorType 1 bcdUSB2.00 bDeviceClass 0 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x04A9 idProduct 0x1901 bcdDevice 1.01 iManufacturer 1 (Canon) iProduct 2 (CanoScan) iSerialNumber 0 () bNumConfigurations1 configuration 0 bLength 9 bDescriptorType 2 wTotalLength 39 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 () bmAttributes 192 (Self-powered) MaxPower 2 mA interface 0 altsetting 0 bLength9 bDescriptorType4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass255 bInterfaceSubClass 0 bInterfaceProtocol 255 iInterface 0 () endpoint 0 bLength 7 bDescriptorType 5 bEndpointAddress 0x07 (out 0x07) bmAttributes 2 (bulk) wMaxPacketSize512 bInterval 0 ms bRefresh 0 bSynchAddress 0 endpoint 1 bLength 7 bDescriptorType 5 bEndpointAddress 0x88 (in 0x08) bmAttributes 2 (bulk) wMaxPacketSize512 bInterval 0 ms bRefresh 0 bSynchAddress 0 endpoint 2 bLength 7 bDescriptorType 5 bEndpointAddress 0x89 (in 0x09) bmAttributes 3 (interrupt) wMaxPacketSize64 bInterval 11 ms bRefresh 0 bSynchAddress 0 trying to find out which USB chip is used checking for GT-6801 ... this is not a GT-6801 (bDeviceClass = 0) checking for GT-6816 ... this is not a GT-6816 (bcdUSB = 0x200) checking for GT-8911 ... this is not a GT-8911 (check 2, bcdUSB = 0x200) checking for MA-1017 ... this is not a MA-1017 (bDeviceClass = 0, bInterfaceClass = 255) checking for MA-1015 ... this is not a MA-1015 (bDeviceClass = 0) checking for MA-1509 ... this is not a MA-1509 (bDeviceClass = 0) checking for LM983[1,2,3] ... this is not a LM983x (bcdUSB = 0x200) checking for GL646 ... this is not a GL646 (bDeviceClass = 0, bInterfaceClass = 255) checking for GL646_HP ... this is not a GL646_HP (bDeviceClass = 0, bInterfaceClass = 255) checking for GL660+GL646 ... this is not a GL660+GL646 (bDeviceClass = 0, bInterfaceClass = 255) checking for GL84x ... this is not a GL841 (bDeviceClass = 0, bInterfaceClass = 255) checking for ICM532B ... this is not a ICM532B (check 1, bDeviceClass = 0, bInterfaceClass = 255) checking for PV8630/LM9830 ... this is not a PV8630/LM9830 (bcdUSB = 0x200) checking for M011 ... this is not a M011 (bDeviceClass = 0) checking for RTS8822L-01H ... this is not a RTS8822L-01H (bEndpointAddress = 0x7, bmAttributes = 0x2, wMaxPacketSize = 0x200, bInterval = 0x0) checking for rts8858c ... this is not a rts8858c (bcdUSB = 0x200) checking for SQ113 ... this is not a SQ113 (bInterfaceSubClass = 0) checking for HP5550/5590/7650 chipset ... this is not a HP5550/5590/7650 chipset (bDeviceClass = 0) checking for rts8801/rts8891 ... this is not a rts8801/rts8891 (bcdUSB = 0x200) Couldn't determine the type of the USB chip (result from sane-backends 1.0.18-cvs) found USB scanner (vendor=0x04a9 [Canon], product=0x1901 [CanoScan]) at libusb:004:023 # 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. done '
[sane-devel] (no subject)
Hello, reading the SANE Docs, I found that it is possible to set up the Environmental variable for a larger buffer size: SANE_SG_BUFFERSIZE, I have my RICOH_IS420 scanner hooked uo to Fedora core 6 and it is working well, I just want to set up the variable to a larger size ,but I don't knoe how??, which files need editing ?? Thanks, MAuricio. Mauricio Villamil Technician Demonstrator -Linux studio- Arts Institue at Bournemouth MA Digital Effects BA(Hons)Computer Visualization Animation BA(Hons)Fine Art -Painting- * The contents of this communication are confidential and intended solely for the use of the named recipient(s). If you have received this email in error please delete it and do not disseminate, distribute, copy or alter it. Any views or opinions expressed are those of the author and do not necessarily represent those of the Arts Institute at Bournemouth. Although the Arts Institute at Bournemouth has taken reasonable precautions to ensure no viruses are present in this email, the Institute cannot accept responsibility for any loss or damage arising from the use of this email or attachments. *
[sane-devel] (no subject)
On 06.11.2007 20:07, Mauricio Villamil wrote: Hello, reading the SANE Docs, I found that it is possible to set up the Environmental variable for a larger buffer size: SANE_SG_BUFFERSIZE, I have my RICOH_IS420 scanner hooked uo to Fedora core 6 and it is working well, I just want to set up the variable to a larger size ,but I don't knoe how??, which files need editing ?? You can set environment variables from a shell, i.e., a command line window and start a Sane frontend from the _same_ shell, like so: export SANE_SG_BUFFERSIZE=131072 xsane But if the scanner works fine, there should not be any need to do this. This option is useful only in the case that a scanner stops the scan head very often during a scan. Increasing the buffer size and thus increasing the amount of data transferred for one read command can help to reduce the number of such scan head stops. But I assume that a document scanner like the IS420 does not show such scan head stops. Abel
[sane-devel] (no subject)
On 11/6/07, abel deuring adeuring at gmx.net wrote: On 06.11.2007 20:07, Mauricio Villamil wrote: Hello, reading the SANE Docs, I found that it is possible to set up the Environmental variable for a larger buffer size: SANE_SG_BUFFERSIZE, I have my RICOH_IS420 scanner hooked uo to Fedora core 6 and it is working well, I just want to set up the variable to a larger size ,but I don't knoe how??, which files need editing ?? You can set environment variables from a shell, i.e., a command line window and start a Sane frontend from the _same_ shell, like so: export SANE_SG_BUFFERSIZE=131072 xsane But if the scanner works fine, there should not be any need to do this. This option is useful only in the case that a scanner stops the scan head very often during a scan. Increasing the buffer size and thus increasing the amount of data transferred for one read command can help to reduce the number of such scan head stops. But I assume that a document scanner like the IS420 does not show such scan head stops. you also did not say what backend you are using to drive the scanner, but you might want to check the backend's docs to see if it has a separate buffer size control. but, in general, abel is correct, you typically dont need to increase this. allan -- The truth is an offense, but not a sin
[sane-devel] Business card scanner - scanshell 800dx
All, I want to make this scanner work with SANE. I opened up the scanner and looks like this scanner uses Genesys Logic 842 chipset (very similar to 841). I'm able to make few modifications to the genesys backend and make this scanner recognized by scanimage program. The lights come on and even the xsane recognizes the scanner. However, I'm unable to make the motor work. Anybody has any idea on this? If the scanner works, I will make my modifications available to the community. thanks -krish -- next part -- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20071106/b48c582a/attachment-0001.htm