[sane-devel] Microtek Scanmaker 35t+ Error during device I/O
] sane_get_option_descriptor (11)... [microtek] sane_get_option_descriptor (12)... [microtek] sane_get_option_descriptor (13)... [microtek] sane_get_option_descriptor (14)... [microtek] sane_control_option (opt=14,act=0,val=0x8051684,info=(nil)) [microtek] sane_get_option_descriptor (15)... [microtek] sane_control_option (opt=15,act=0,val=0x8051688,info=(nil)) [microtek] sane_get_option_descriptor (16)... [microtek] sane_get_option_descriptor (17)... [microtek] sane_get_option_descriptor (18)... [microtek] sane_get_option_descriptor (19)... [microtek] sane_get_option_descriptor (20)... [microtek] sane_get_option_descriptor (21)... [microtek] sane_get_option_descriptor (22)... [microtek] sane_get_option_descriptor (23)... [microtek] sane_get_option_descriptor (24)... [microtek] sane_get_option_descriptor (25)... [microtek] sane_get_option_descriptor (26)... [microtek] sane_get_option_descriptor (27)... [microtek] sane_get_option_descriptor (28)... [microtek] sane_get_option_descriptor (29)... [microtek] sane_get_option_descriptor (30)... [microtek] sane_get_option_descriptor (31)... [microtek] sane_get_option_descriptor (32)... [microtek] sane_get_option_descriptor (33)... [microtek] sane_control_option (opt=12,act=0,val=0xbfd27664,info=(nil)) [microtek] sane_control_option (opt=13,act=0,val=0xbfd27664,info=(nil)) [microtek] sane_control_option (opt=12,act=0,val=0xbfd30780,info=(nil)) [microtek] sane_get_option_descriptor (14)... [microtek] sane_control_option (opt=14,act=1,val=0xbfd30784,info=0xbfd27668) [microtek] sane_control_option (opt=13,act=0,val=0xbfd30780,info=(nil)) [microtek] sane_get_option_descriptor (15)... [microtek] sane_control_option (opt=15,act=1,val=0xbfd30784,info=0xbfd27668) [microtek] sane_start... [microtek] sane_get_parameters... [microtek] sane_get_parameters: regular 1-pass color [microtek] sane_get_parameters: res_code = 5 ( 5) [microtek] bright_r of 0 set to 0x0 [microtek] sane_get_parameters: dots_per_mm: 3.937008 [microtek] sane_get_parameters: units_per_mm: 76.771654 [microtek] WIDTHPIX: before exp: 136 [microtek] sane_get_parameters: lines: 137 ppl: 136 bpl: 408 [microtek] .wait_ready 5... [microtek] finagle_precal... [microtek] .scanning_frame... [microtek] .scanning_frame: in- 0,0 2686,2686 [microtek] .scanning_frame: out- 0,0 2686,2686 [microtek] .accessory... [microtek] .download_gamma... [microtek] .download_gamma: 1024 entries of 2 bytes, max 255 [microtek] .download_gamma: by default [microtek] end_scan... scanimage: sane_start: Error during device I/O [microtek] sane_cancel... [microtek] end_scan... [microtek] sane_close... [microtek] sane_exit... [microtek] sane_exit: MICROTEK says goodbye. -- next part -- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060605/db41b821/PGP.pgp From cont...@kikinovak.net Mon Jun 5 09:22:37 2006 From: cont...@kikinovak.net (Niki Kovacs) Date: Mon Jun 5 09:21:59 2006 Subject: [sane-devel] Setting up Canon Perfection USB scanner for use in network: questions, problems Message-ID: 1149499358.3489.22.camel@fujitsu.aurouge Hi, I have a small home LAN consisting of four PC's: one old Pentium III box acting as gateway / connection handler / printer server / file server / scanner server, and then one desktop and two laptops. I recently migrated this LAN from Slackware 10.2 to CentOS 4.3, and everything runs rather fine. One thing I have some trouble setting up is my Canon Perfection USB scanner for network use, which worked fine with Slackware, because things work a bit differently under CentOS. The scanner is attached to the server box (192.168.1.1) with a minimal install of CentOS, no window manager, no X. I installed sane-backends on this machine and ran scanimage -L as root, which gave this: [root@babasse ~]# scanimage -L device `epson:libusb:001:002' is a Epson Perfection610 flatbed scanner I read the various docs on sane-project.org, especially this document: http://penguin-breeder.org/sane/saned/ My first problem, and apparently one big difference between CentOS and Slackware, is that there is no entry for the scanner in /dev. Now what does the above output of scanimage -L exactly mean? That my scanner device file is /proc/bus/usb/001/002? [root@babasse 001]# ls -l /proc/bus/usb/001/002 -rw-r--r-- 1 root root 50 jun 5 08:57 /proc/bus/usb/001/002 Now, if that is the case (if not: correct me please), how do I change permissions to that device file? So it doesn't belong to root.root, but to saned.saned, according to the document linked above. By the way: saned.saned doesn't exist, so I just created this system user like this: # useradd -d /dev/null -s /bin/false saned ... which gives: [root@babasse 001]# cat /etc/passwd | grep saned saned:x:500:500::/dev/null:/bin/false (Did I define this system user in an orthodox way
[sane-devel] Snanner MD 3545 hang up with sane-1.0.17-0.pm.0.i586.rpm
Le Dimanche 4 Juin 2006 18:51, Klaus K?bler a ?crit?: Hallo, I have installed the sane back end sane-1.0.17-0.pm.0.i586.rpm on my SUSE LINUX 10.0 system (Kernel Linux 2.6.13-15-default) using YAST2. I have got a incomplete error message from YAST2 when tying to install my MEDION MD 3545 USB scanner, nevertheless I can find the scanner within the sane KDE menu. I can start the preview scan and will get the expected preview image exactly one time. Each additional scan (preview ore final) will fail. The resulting image is all the times the same, it seems that the first pixel row will be repeated over all rows of the whole image. The scanner mechanic itself will work well all the time. The scanner will respond with this constant image up to a power down and up cycle of the scanner! Rebooting the computer will have no impact to this behaviour. Did you have any idea how to solve this problem? Thanks Klaus Hello, I don't know what scanning program you are using, but there is a bug in SANE 1.0.17 where the first scan of a second frontend session (ie a previous was finished) would hang and fail.It is fixed in CVS by now. So I think it is worth testing with this version. By using LD_PRELOAD, you can force your favorite frontend to use a hand-compiled version without installing systerm-wide. Regards, Stef
[sane-devel] Scanner Canon LIDE 25 Problem
Hello I have problems with my Canon Scanner LIDE 25. If i call scanimage or start a scan via xsane a strange sound appears and the scanner light does not move (although it starts glowing). The scanner is not defect (I have tested it on the Windows machine of a friend). What can I do? Thank you in advance, Steffen scanimage -L: device `plustek:libusb:001:007' is a Canon LiDE25 USB flatbed scanner sane-find-scanner -q: found USB scanner (vendor=0x04a9 [Canon], product=0x2220 [CanoScan], chip=LM9832/3) at libusb:001:007 I have installed sane-backends-1.0.17 and sane-frontends-1.0.14 and xsane-0.991. -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060606/5b503ae1/attachment.pgp From ni...@rmk.co.il Mon Jun 5 14:47:23 2006 From: ni...@rmk.co.il (Nigel Ridley) Date: Mon Jun 5 14:48:07 2006 Subject: [sane-devel] Setting up Canon Perfection USB scanner for use in network: questions, problems In-Reply-To: 1149499358.3489.22.camel@fujitsu.aurouge References: 1149499358.3489.22.camel@fujitsu.aurouge Message-ID: 448443fb.6040...@rmk.co.il Niki Kovacs wrote: Hi, I have a small home LAN consisting of four PC's: one old Pentium III box acting as gateway / connection handler / printer server / file server / scanner server, and then one desktop and two laptops. I recently migrated this LAN from Slackware 10.2 to CentOS 4.3, and everything runs rather fine. One thing I have some trouble setting up is my Canon Perfection USB scanner for network use, which worked fine with Slackware, because things work a bit differently under CentOS. The scanner is attached to the server box (192.168.1.1) with a minimal install of CentOS, no window manager, no X. I installed sane-backends on this machine and ran scanimage -L as root, which gave this: [root@babasse ~]# scanimage -L device `epson:libusb:001:002' is a Epson Perfection610 flatbed scanner I read the various docs on sane-project.org, especially this document: http://penguin-breeder.org/sane/saned/ My first problem, and apparently one big difference between CentOS and Slackware, is that there is no entry for the scanner in /dev. Now what does the above output of scanimage -L exactly mean? That my scanner device file is /proc/bus/usb/001/002? [root@babasse 001]# ls -l /proc/bus/usb/001/002 -rw-r--r-- 1 root root 50 jun 5 08:57 /proc/bus/usb/001/002 Now, if that is the case (if not: correct me please), how do I change permissions to that device file? So it doesn't belong to root.root, but to saned.saned, according to the document linked above. By the way: saned.saned doesn't exist, so I just created this system user like this: # useradd -d /dev/null -s /bin/false saned ... which gives: [root@babasse 001]# cat /etc/passwd | grep saned saned:x:500:500::/dev/null:/bin/false (Did I define this system user in an orthodox way? Or is there a better way to do this?) Now when I su to that user and try to run scanimage -L as saned, I get a No scanners were found error, which is most likely a permission problem on the device. Now the big question: how do I fix this? I googled about libusb hotplug scanner device permissions and some permutations. The problem is not the lack of information on the subject, but the diverging wealth of it. Any suggestions? Niki Kovacs I had a similar problem with an Epson Stylus CX3700 all_in_one using Kubuntu. What I did was: First add all users to the 'scanner' group; then 'sudo chgrp scanner /proc/bus/usb/001/* /proc/bus/usb/002/* -R' (I changed both directories as I am not sure which one the scanner will [always] use). This is only a temporary solution as it will revert back to root root on either a reboot or if you restart the scanner - so I created a 'Bookmark' in 'Konsole' so instead of having to retype it all again I just click on the Bookmark and hit enter (then give my password). You could create an alias instead though. If you find a better solution please post it :-) Blessings, Nigel -- PrayingForIsrael.net http://www.prayingforisrael.net/ Messianic E-Cards.com http://www.messianicecards.com/
[sane-devel] Setting up Canon Perfection USB scanner for use in network: questions, problems
I had a similar issue with a tape drive reverting its ownership and permissions after reboot. Although this probably isn't the right way to make it persistent, I just added the following lines to my /etc/init.d/bootmisc.sh script: ln -s /dev/nst0 /dev/tape chmod 777 /dev/tape ln -s /dev/sg0 /dev/changer chmod 777 /dev/changer I think you could do the same thing for changing the group on the USB devices as I did for the tape and generic SCSI device. The script runs (as root) during the bootup process, I think as one of the last things to be done. This is on Kubuntu Breezy, not sure how CentOS handles it. -James On Jun 5, 2006, at 10:47 AM, Nigel Ridley wrote: This is only a temporary solution as it will revert back to root root on either a reboot or if you restart the scanner - so I created a 'Bookmark' in 'Konsole' so instead of having to retype it all again I just click on the Bookmark and hit enter (then give my password). You could create an alias instead though. If you find a better solution please post it :-) Blessings, Nigel -- next part -- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060605/dae22fa8/PGP.pgp From ni...@rmk.co.il Mon Jun 5 18:07:48 2006 From: ni...@rmk.co.il (Nigel Ridley) Date: Mon Jun 5 18:08:48 2006 Subject: [sane-devel] Setting up Canon Perfection USB scanner for use in network: questions, problems In-Reply-To: aa301128-a4d9-42e0-8674-6940b3c1d...@gmail.com References: 1149499358.3489.22.camel@fujitsu.aurouge 448443fb.6040...@rmk.co.il aa301128-a4d9-42e0-8674-6940b3c1d...@gmail.com Message-ID: 448472f4.8080...@rmk.co.il James Tuttle wrote: I had a similar issue with a tape drive reverting its ownership and permissions after reboot. Although this probably isn't the right way to make it persistent, I just added the following lines to my /etc/init.d/bootmisc.sh script: ln -s /dev/nst0 /dev/tape chmod 777 /dev/tape ln -s /dev/sg0 /dev/changer chmod 777 /dev/changer I think you could do the same thing for changing the group on the USB devices as I did for the tape and generic SCSI device. The script runs (as root) during the bootup process, I think as one of the last things to be done. I thought about doing something similar but the computer in question is mostly always on - the problem arises when someone switches off the [printer] scanner, then switches it back on again. Perhaps a script somewhere in [X]sane to change the permissions/group when [X]sane is started ?? This is on Kubuntu Breezy, not sure how CentOS handles it. -James On Jun 5, 2006, at 10:47 AM, Nigel Ridley wrote: This is only a temporary solution as it will revert back to root root on either a reboot or if you restart the scanner - so I created a 'Bookmark' in 'Konsole' so instead of having to retype it all again I just click on the Bookmark and hit enter (then give my password). You could create an alias instead though. If you find a better solution please post it :-) Blessings, Nigel !DSPAM:44845376228552016049419! Blessings, Nigel -- PrayingForIsrael.net http://www.prayingforisrael.net/ Messianic E-Cards.com http://www.messianicecards.com/
[sane-devel] Setting up Canon Perfection USB scanner for use in network: questions, problems
please look at README.linux in the sane source. allan On Mon, 5 Jun 2006, Nigel Ridley wrote: James Tuttle wrote: I had a similar issue with a tape drive reverting its ownership and permissions after reboot. Although this probably isn't the right way to make it persistent, I just added the following lines to my /etc/init.d/bootmisc.sh script: ln -s /dev/nst0 /dev/tape chmod 777 /dev/tape ln -s /dev/sg0 /dev/changer chmod 777 /dev/changer I think you could do the same thing for changing the group on the USB devices as I did for the tape and generic SCSI device. The script runs (as root) during the bootup process, I think as one of the last things to be done. I thought about doing something similar but the computer in question is mostly always on - the problem arises when someone switches off the [printer] scanner, then switches it back on again. Perhaps a script somewhere in [X]sane to change the permissions/group when [X]sane is started ?? This is on Kubuntu Breezy, not sure how CentOS handles it. -James On Jun 5, 2006, at 10:47 AM, Nigel Ridley wrote: This is only a temporary solution as it will revert back to root root on either a reboot or if you restart the scanner - so I created a 'Bookmark' in 'Konsole' so instead of having to retype it all again I just click on the Bookmark and hit enter (then give my password). You could create an alias instead though. If you find a better solution please post it :-) Blessings, Nigel !DSPAM:44845376228552016049419! Blessings, Nigel -- so don't tell us it can't be done, putting down what you don't know. money isn't our god, integrity will free our souls - Max Cavalera
[sane-devel] Scanner Canon LIDE 25 Problem - solved
The problem was not the software, but between my ears. At the back of the scanner is a lock that was closed. Ciao and thx, Steffen On Tuesday 06 June 2006 15:26, Steffen Mazanek wrote: Hello I have problems with my Canon Scanner LIDE 25. If i call scanimage or start a scan via xsane a strange sound appears and the scanner light does not move (although it starts glowing). The scanner is not defect (I have tested it on the Windows machine of a friend). What can I do? Thank you in advance, Steffen scanimage -L: device `plustek:libusb:001:007' is a Canon LiDE25 USB flatbed scanner sane-find-scanner -q: found USB scanner (vendor=0x04a9 [Canon], product=0x2220 [CanoScan], chip=LM9832/3) at libusb:001:007 I have installed sane-backends-1.0.17 and sane-frontends-1.0.14 and xsane-0.991. -- Hermann-L?ns-Stra?e 3 53840 Troisdorf www.steffen-mazanek.de -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20060606/4f0061fb/attachment.pgp From ni...@rmk.co.il Mon Jun 5 18:58:54 2006 From: ni...@rmk.co.il (Nigel Ridley) Date: Mon Jun 5 18:59:57 2006 Subject: [sane-devel] Setting up Canon Perfection USB scanner for use in network: questions, problems In-Reply-To: pine.lnx.4.61.0606051410570.5...@limos.pfeiffer.edu References: 1149499358.3489.22.camel@fujitsu.aurouge 448443fb.6040...@rmk.co.il aa301128-a4d9-42e0-8674-6940b3c1d...@gmail.com 448472f4.8080...@rmk.co.il pine.lnx.4.61.0606051410570.5...@limos.pfeiffer.edu Message-ID: 44847eee.8020...@rmk.co.il m. allan noah wrote: please look at README.linux in the sane source. allan Yes I had already. The problem is that K/Ubuntu don't seem to have any of the scripts mentioned included in their sane packages - well not that I could find anyway :-( On Mon, 5 Jun 2006, Nigel Ridley wrote: James Tuttle wrote: I had a similar issue with a tape drive reverting its ownership and permissions after reboot. Although this probably isn't the right way to make it persistent, I just added the following lines to my /etc/init.d/bootmisc.sh script: ln -s /dev/nst0 /dev/tape chmod 777 /dev/tape ln -s /dev/sg0 /dev/changer chmod 777 /dev/changer I think you could do the same thing for changing the group on the USB devices as I did for the tape and generic SCSI device. The script runs (as root) during the bootup process, I think as one of the last things to be done. I thought about doing something similar but the computer in question is mostly always on - the problem arises when someone switches off the [printer] scanner, then switches it back on again. Perhaps a script somewhere in [X]sane to change the permissions/group when [X]sane is started ?? This is on Kubuntu Breezy, not sure how CentOS handles it. -James On Jun 5, 2006, at 10:47 AM, Nigel Ridley wrote: This is only a temporary solution as it will revert back to root root on either a reboot or if you restart the scanner - so I created a 'Bookmark' in 'Konsole' so instead of having to retype it all again I just click on the Bookmark and hit enter (then give my password). You could create an alias instead though. If you find a better solution please post it :-) Blessings, Nigel Blessings, Nigel -- PrayingForIsrael.net http://www.prayingforisrael.net/ Messianic E-Cards.com http://www.messianicecards.com/