Neither Simple Scan nor XSane working
I have installed Lucid about 1 hour ago. I'm testing all the bits & pieces. The scanner service is a'goner. viz:
ark@Lexington-19-Karmic:~$ simple-scan -d
** (simple-scan:12360): DEBUG: Starting Simple Scan 1.0.3, PID=12360
** (simple-scan:12360): DEBUG: Restoring window to 600x400 pixels
** (simple-scan:12360): DEBUG: sane_init () -> SANE_STATUS_GOOD
** (simple-scan:12360): DEBUG: SANE version 1.0.20
** (simple-scan:12360): DEBUG: Requesting redetection of scan devices
** (simple-scan:12360): DEBUG: Processing request
** (simple-scan:12360): DEBUG: sane_get_devices () -> SANE_STATUS_GOOD
** (simple-scan:12360): DEBUG: Device: name="brother2:bus1;dev3" vendor="Brother" model="MFC-240C" type="USB scanner"
** (simple-scan:12360): DEBUG: Requesting scan at 300 dpi from device 'brother2:bus1;dev3'
** (simple-scan:12360): DEBUG: scanner_scan ("brother2:bus1;dev3", 300, SCAN_SINGLE)
** (simple-scan:12360): DEBUG: Processing request
** (simple-scan:12360): DEBUG: sane_open ("brother2:bus1;dev3") -> SANE_STATUS_INVAL
** (simple-scan:12360): WARNING **: Unable to get open device: Invalid argument
** (simple-scan:12360): DEBUG: Stopping scan thread
** (simple-scan:12360): DEBUG: Processing request
** (simple-scan:12360): DEBUG: sane_exit ()
mark@Lexington-19-Karmic:~$ scanimage -L
device `brother2:bus1;dev3' is a Brother MFC-240C USB scanner
============= 15 minutes after this post above =============
I found a way to get XSane to work at:
http://ubuntuforums.org/archive/index.php/t-166944.html
sudo chmod a+w /dev/bus/usb/002/002
I'm still researching the Simple Scan prob.
======================
The Next Day:
rerunning the chmod a+w command on ALL usb buses (001 and 002), now does not work, unlike yesterday. Go Figure!!!
=================
15 minutes after the Next Day: post.
I have found a partial solution. I quote post #5 in full:
Re: HOWTO: Make HP Scanjet 4370 work
In the meantime I made an upgrade of my box to kubuntu 7.10 and unfortunately lost my scanner configuration. I installed sane, xsane, hp3900-xxx(version 0.9) again I had the same problem as I had before when starting to get xsane running.
I got the following message in response to the command: scanimage -T
scanimage: open of device hp3900:libusb:005:003 failed: Access to resource has been denied
or by using xsane (response is in German, sorry):
Fehler beim Öffnen des Geräts 'hp3900:libusb:005:003': Zugang zum Gerät verweigert.
Reason for all this time consuming research work was very simple:
the usb device 005:003 did not have the right write permission - that is what to have to be changed!
the command ls -lR /dev/bus/usb/005/003 gives the following response:
0 crw-rw-r-- 1 root root 189, 514 2007-11-24 19:54 003
where we can see that there is no write permission set to others to this particular device (see the numbers in the above mentioned scanimage response, which directly gives us the needed infos to go further)
after changing this with:
sudo chmod 666 /dev/bus/usb/005/003 we can check it again
0 crw-rw-rw- 1 root root 189, 514 2007-11-24 19:54 003
...and voila - scanimage -L works and the scanner can be started with xsane properly without complaining. I hope it helps others too...
--------------
This works for one session ONLY! However it allows both XSane and Simple Scan to operate correctly, as far as I can tell. I had to open a terminal and lsusb
Will someone reading this tell me how to make the chmod 666 persistent, please.
Last edited by Mark_in_Hollywood; May 24th, 2010 at 06:32 PM.
Reason: spelling - typo
AMD FX-6300, 8gig ddr3, MSI 970 Gaming, 256G WD blue SSD, GeForce GT710, HP LJ Pro M277-fdw
Bookmarks