I've installed my Canon 4010c scanner by running the cndrvsane-dr4010c_1.00-4_i386.deb but for some reason none of the scanning applications (gscan2pdf, xsant) can find the scanner unless they are run as root.
I've tried chowning the /opt/Canon directory, but that's not the problem. Can anyone help?
Scanner driver needs to run as root
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Scanner driver needs to run as root
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Scanner driver needs to run as root
I had the same problem with a Brother scanner. If your scanner is USB, try this, it worked for me:
Run lsusb .
You will get a bunch of lines for your usb devices.
Look for the line for your scanner, Mine looked like this:
Bus 002 Device 008: ID 04f9:0270 Brother Industries, Ltd
As root:
chmod 777 /dev/bus/usb/002/008
where 002 is the bus and 008 is the device (yours will probably be different).
CAUTION: chmod 777 will open the device to everyone. I don't care because I am the only one with access to the computer, but you may be in a situation where you need to care.
Run lsusb .
You will get a bunch of lines for your usb devices.
Look for the line for your scanner, Mine looked like this:
Bus 002 Device 008: ID 04f9:0270 Brother Industries, Ltd
As root:
chmod 777 /dev/bus/usb/002/008
where 002 is the bus and 008 is the device (yours will probably be different).
CAUTION: chmod 777 will open the device to everyone. I don't care because I am the only one with access to the computer, but you may be in a situation where you need to care.
Re: Scanner driver needs to run as root
That works, thanks.
One question though, does a USB device always have the same bus address? In other words, if I reconnect the device at some future time will I have to do the same thing again?
One question though, does a USB device always have the same bus address? In other words, if I reconnect the device at some future time will I have to do the same thing again?
Re: Scanner driver needs to run as root
I'm not an expert, but I believe it will unless you plug it into a different USB port.
Re: Scanner driver needs to run as root
From the Brother side :
http://support.brother.com/g/s/id/linux ... rect=on#d6
You get the vendor ID en mode by typing lsusb in the terminal
example
5702 mode
Replace the vendor ID en mode number with the numbers of your Canon scanner1. Open "/lib/udev/rules.d/60-libsane.rules" as a super-user
2. Add the following two lines to the end of the device list. (Before the line "# The following rule will disable ..."):
The lines to be added---------------------------
# Brother scanner
ATTRS{idVendor}=="04f9", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
3. Restart the OS.
http://support.brother.com/g/s/id/linux ... rect=on#d6
You get the vendor ID en mode by typing lsusb in the terminal
example
13d3 is the vendor IDBus 001 Device 002: ID 13d3:5702 IMC Networks UVC VGA Webcam
5702 mode
Last edited by Bolle1961 on Fri Nov 14, 2014 9:22 am, edited 1 time in total.
Re: Scanner driver needs to run as root
I tried the instructions on the Brother site. They did not work.
Re: Scanner driver needs to run as root
can you tell us what the results of
are for your Canon scanner please?lsusb