Ted Gervais asked:
I was wondering the best way to find where my scanner is hiding after I bring up FC2?
sane-find-scanner is the command you are looking for
What for example is a scan command to find lets say, all USB devices? In particular of course, for the HP Scanjet 3570C.
it'll (hopefully produce a line like this:
found USB scanner (vendor=0x04a9, product=0x220e, chip=LM983x?) at libusb:001:00 2
if run as a regular user, or like this
found USB scanner (vendor=0x04a9 [Canon], product=0x220e [CanoScan], chip=LM9832/3) at libusb:001:002
if run as root.
these both indicate a scanner at /proc/bus/usb/001/002
Possibly USB does not work well with FC2?
I'm scanning ok as root, but having a bit of trouble letting normal users scan... See also the manpage for sane-usb.
-P.
Thanks for the tip and suggestion(s)..
Here is what I see when I run 'same-find-scanner' as root:
"found USB scanner (vendor=0x03f0, product=0x2005) at libusb:001:002 # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage."
However, I don't get much when I run 'scanimage -L'.
But I do have an indication that a scanner exists at - /proc/bus/usb/001/002"
Don't know if any of this is good or bad news..
On Sat, 2004-05-29 at 18:08, Peter L. Hurd wrote:
Ted Gervais asked:
I was wondering the best way to find where my scanner is hiding after I bring up FC2?
sane-find-scanner is the command you are looking for
What for example is a scan command to find lets say, all USB devices? In particular of course, for the HP Scanjet 3570C.
it'll (hopefully produce a line like this:
found USB scanner (vendor=0x04a9, product=0x220e, chip=LM983x?) at libusb:001:00 2
if run as a regular user, or like this
found USB scanner (vendor=0x04a9 [Canon], product=0x220e [CanoScan], chip=LM9832/3) at libusb:001:002
if run as root.
these both indicate a scanner at /proc/bus/usb/001/002
Possibly USB does not work well with FC2?
I'm scanning ok as root, but having a bit of trouble letting normal users scan... See also the manpage for sane-usb.
-P.
-- Peter L. Hurd Department of Psychology Assistant Professor University of Alberta Ph 780.492-3578, Fax 780.492-1768 Edmonton, Alberta http://www.psych.ualberta.ca/~phurd T6G 2E9 Canada
Ted Gervais wrote:
Thanks for the tip and suggestion(s)..
Here is what I see when I run 'same-find-scanner' as root:
"found USB scanner (vendor=0x03f0, product=0x2005) at libusb:001:002 # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage."
However, I don't get much when I run 'scanimage -L'.
But I do have an indication that a scanner exists at - /proc/bus/usb/001/002"
Don't know if any of this is good or bad news..
On Sat, 2004-05-29 at 18:08, Peter L. Hurd wrote:
Ted Gervais asked:
I was wondering the best way to find where my scanner is hiding after I bring up FC2?
sane-find-scanner is the command you are looking for
What for example is a scan command to find lets say, all USB devices? In particular of course, for the HP Scanjet 3570C.
it'll (hopefully produce a line like this:
found USB scanner (vendor=0x04a9, product=0x220e, chip=LM983x?) at libusb:001:00 2
if run as a regular user, or like this
found USB scanner (vendor=0x04a9 [Canon], product=0x220e [CanoScan], chip=LM9832/3) at libusb:001:002
if run as root.
these both indicate a scanner at /proc/bus/usb/001/002
Possibly USB does not work well with FC2?
I'm scanning ok as root, but having a bit of trouble letting normal users scan... See also the manpage for sane-usb.
-P.
-- Peter L. Hurd Department of Psychology Assistant Professor University of Alberta Ph 780.492-3578, Fax 780.492-1768 Edmonton, Alberta http://www.psych.ualberta.ca/~phurd T6G 2E9 Canada
As root, execute
chmod a+w /proc/bus/usb/001/002
Unfortunately, until a bug is fixed, you will have to do this each time you reboot. Note the digits are specific to your system as determined by executing scanimage as you did.
Hope this gets it working.
Gerry Tool
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
It would appear that on May 29, Gerry Tool did say to Ted Gervais:
As root, execute
chmod a+w /proc/bus/usb/001/002
Unfortunately, until a bug is fixed, you will have to do this each time you reboot. Note the digits are specific to your system as determined by executing scanimage as you did.
Hope this gets it working.
I've only just started to try to get sane working for my scanner.
I started with man sane... Eventually I found out about the vendor file required for my scanner. Then With the exceptions {listed below}, root could scan...
Now thanks to your advice to Ted, I can now scan as user... Because of the bug you mentioned I just put a script in /root/bin/fixscan that consists of a single chmod command... Works for me! Thanks.
Note: due to the exceptions {listed below} which now also applied to my user login, I kept reading the man docs, I found in man sane-usb a reference to an /etc/fstab line that was supposed to let ALL users access the scanner...
"none /proc/bus/usb usbfs defaults,devmode=0666 0 0"
This didn't work! presumably thats because of the bug you mentioned?
OK the exceptions: [assume inches]
I was using a test page that consisted of an 8 1/2 x 11 glossy sheet with some hand writing above and below a printed photo that took up about 1/2 the sheet of paper.
With: scanimage --format tiff >tst.tiff
I got a tiff file with a picture of the the top left corner (aprox 2 x 2) of the sheet.
With xsane I get the same image scan area.
Yet kooka gives me the whole 8 1/2 x 11 page.
I think I like kooka better than the windows scan panel Memorex thinks I'm using, so that parts good. (Except for an error message I don't understand) But I'd like to be able to scan from the command line...
Below is pasted some konole output that may mean more to you than to me.
- - - - - - - - -< s n i p >- - - - - - - - - - jtwdyp -> /home/jtwdyp/.kde/share/apps/ScanImages
xsane
jtwdyp -> /home/jtwdyp/.kde/share/apps/ScanImages
kooka
QLayout: Adding QComboBox/PREVIEWFORMATCOMBO (child of QVButtonGroup/unnamed) to layout for Previewer/unnamed QObject::connect: Cannot connect (null)::guiChange(KScanOption*) to ScanParams::slOptionNotify(KScanOption*) jtwdyp -> /home/jtwdyp/.kde/share/apps/ScanImages
scanimage -L
device `artec_eplus48u:libusb:001:002' is a Memorex MEM 48U USB flatbed scanner jtwdyp -> /home/jtwdyp/.kde/share/apps/ScanImages
- - - - - - - - -< s n i p >- - - - - - - - - -
How would I get scanimage and/or xsane to scan the whole page?
- -- | ? ? | | -=- -=- I'm NOT clueless... | <?> <?> But I just don't know. | ^ Joe (theWordy) Philbrook | --- J(tWdy)P | jtwdyp@ttlc.net | ? ?
############################################################## # You can find my public gpg key at http://pgpkeys.mit.edu/ # ##############################################################