Steve Scrimpshire Posted February 19, 2003 Report Share Posted February 19, 2003 Warning: This worked on my machine and I am not responsible if it breaks yours. This is for MDK8.1...it may be even easier for 9.0, you may just have to update to the latest sane and xsane. I'm putting this here not only for others' benefit, but also in case I have to do this again. ;-) I could not update sane past 1.05 or xsane past 0.79 without running into dependency issues that went all the way to MySQL (WOW), so I cheated. I went to ftp://ftp.mostang.com/pub/sane/sane-backends-1.0.11/ and downloaded sane-backends-1.0.11.tar.gz I unpacked it using the typical command: tar -zxvf sane-backends-1.0.11.tar.gz and cd-ed to the new directory sane-backends-1.0.11 and did ./configure make [su to root] make install (You will get a warning about sane already being installed in /usr and that the new location will be /usr/local) Then I went and did this (as root): cd /usr/lib mv sane sane.old ln -s /usr/local/lib/sane sane cd /usr/bin mv sane-find-scanner sane-find-scanner.old mv sane-config sane-config.old mv scanimage scanimage.old mv xscanimage xscanimage.old ln -s /usr/local/bin/sane-find-scanner sane-find-scanner ln -s /usr/local/bin/sane-config sane-config ln -s /usr/local/bin/scanimage scanimage ln -s /usr/local/bin/xscanimage xscanimage cd /etc mv sane.d sane.d-old ln -s /usr/local/etc/sane.d/ sane.d I did sane-find-scanner to make sure my scanner was detected and scanimage -L to find out what the name of my /etc/sane.d/[scanner model].conf file would be Then I went to /etc/sane.d and edited dll.conf to make sure it contained this line mustek_usb (For other scanners, you should just use the output of scanimage -L [what comes before the :/dev...blah], just make sure that file actually exists locate libsane-[scannermodel].so* . If locate doesn't find it, first run slocate -c -u as root to make sure the database is updated and run locate again before you panic. You can comment out all the other lines if you have trouble.) Then I edited mustek_usb.conf in the same directory to read: # mustek_usb.conf: Configuration file for Mustek USB scanner # Read man sane-mustek_usb for documentation # If USB errors occur, using this option may help #option max_block_size 1024 # Autodetect 1200 UB and Trust Compact Scan USB 19200 usb 0x055f 0x0006 # Autodetect 1200 USB (not supported) # usb 0x055f 0x0003 # Autodetect 1200 CU usb 0x055f 0x0001 # Autodetect 1200 CU Plus usb 0x055f 0x0008 # Autodetect 600 CU usb 0x055f 0x0002 # Autodetect 600 USB (not supported) usb 0x055f 0x0873 # If autodetection doesn't work uncomment or add your device file and one # suitable option (1200ub is also for Trust Compact Scan USB 19200). /dev/usb/scanner0 option 1200ub #option 1200cu #option 1200cu_plus #option 600cu Basically just uncommented /dev/usb/scanner0 option 1200ub and all is well. I hope this helps someone one day with a Mustek or a similar problem with updating Sane. It should work with other scanners, just substituting the name of your scanner. If this needs clarification, please respond. Quote Link to comment Share on other sites More sharing options...
Pzatch Posted February 20, 2003 Report Share Posted February 20, 2003 Mine worked right off the bat with Man9.0. Just make sure you have the temp. settings large enough for the image coming in. I had some trouble untill I reset the temp to be a little larger than the in coming images. The scanner works MUCH better in linux than in win. I can now get a 250+ mb image file. Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 20, 2003 Author Report Share Posted February 20, 2003 Well, originally it worked for me in 8.1 after updating sane, but now for some reason (I've reinstalled since then) attempting to update sane gives me all kinds of dependency issues. Where do you adjust the temp settings? Quote Link to comment Share on other sites More sharing options...
Pzatch Posted February 22, 2003 Report Share Posted February 22, 2003 I use The Gimp so.. Inside gimp you'll have to goto the Preferinces => directory and I made my temp directory the gimp temp and the swap directory my home/pat/temp While in preferences goto New file and set the maximun file size to what you think the system can handle. I fiddled around with it a bit and have it up to 404 megabytes for a color image in RGB mode. Takes about 5 minutes to scan though. I could probibly go higher though but the system slows down way to much to be worthwhile. By the way my monitor is a 21in digital running at 1600x1200 on a gforce2 card. The scans take a little working with to make them realy nice at that size. Must have to do with the RGB scanning mode. I'll try some other things soon though and post back. Quote Link to comment Share on other sites More sharing options...
Guest Doggy Posted February 26, 2003 Report Share Posted February 26, 2003 This is the same scanner as the Packard Bell Slimline Professional one - the driver has worked fine for me since 8.2. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.