[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: USB SCanners



-----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/  #
   ##############################################################

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAuXAQRZ/61mwhY94RAoEkAKCghElAze2Ap9hQPh6paqVmVLWZVgCgrq5d
je5GZyOAGQZ70bcb0N9/ZRk=
=cuQM
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]