AuthorTopic: [SOLVED]Scanner for Canon MP160 (Read 9085 times)

I have a Canon MP160 all-in-one connected by USB to my Athlon 64 running VL 5.9 Standard Deluxe. I got the printer working with the CUPS Canon MP150 driver and it printed a test page fine. Okay, printer seems fine.

I was able to get the scanner working by installing the Canon Linux software for the scanner. It came on two rpm packages that I converted to tgz and installed both with installpkg. The scanner doesn't work with sane or xsane, but it is usable in the Gimp through File menu, Acquire, ScanGear MP, but ONLY if I run Gimp as root. If I run Gimp as user, nothing happens when I click on Acquire, ScanGear MP--no error messages.

If I run ScanGear from a terminal as root, the program comes up and goes all the way through a scan, but the file seems corrupted and won't open in anything. If I run ScanGear in a terminal as user, I get this message:Cannot find Canon MFP scanner device.

This sounds like a permissions problem to me. ScanGear has read and execute permissions for others, so the problem isn't with the software. I assume the scanner itself has permissions only for root, but I don't know where to find the device so I can change that. This is what I get with lsusb as root:root:# lsusbBus 2 Device 1: ID 0000:0000 Bus 2 Device 2: ID 058f:9360 Alcor Micro Corp. Bus 3 Device 1: ID 0000:0000 Bus 1 Device 4: ID 04a9:1714 Canon, Inc. Bus 1 Device 2: ID 0409:0058 NEC Corp. HighSpeed HubBus 1 Device 1: ID 0000:0000

No scanners were identified. If you were expecting something different,check that the scanner is plugged in, turned on and detected by thesane-find-scanner tool (if appropriate). Please read the documentationwhich came with this software (README, FAQ, manpages).

How do I give myself as user permission to use the scanner? I'm content to use the scanner through Gimp, but I need to be able to do it running Gimp as user.

I think the permissions problem must be in /dev. Check /dev/videoX, the scanner kernel name must be something like that.

I did look through /dev but didn't find anything that looked like the scanner. I don't know how to interpret "Bus 1 Device 4: ID 04a9:1714 Canon, Inc." or "found USB scanner (vendor=0x04a9 [Canon], product=0x1714 [MP160]) at libusb:1:4" so I can change permissions on the USB port. I'll look through/proc to see if I can find the scanner there.--GrannyGeek

I couldn't find the place in /dev to change the permissions. Someone on another Linux forum suggested trying this based on theBus 1 Device 4: ID 04a9:1714 Canon, Inc.line in lspci:#chmod 777 /dev/bus/usb/001/004

That command had to be modified for VL, but not much. What I did was go into Midnight Commander as root, go to /dev/bus/usb/1 and found that @4 was a symlink to /dev/usbdev1.4. I highlighted that file in Midnight Commander, did Control-x, c and enabled read, write, and execute for everyone.

Once I did this, I was able to scan as user from the Gimp through File menu, Acquire, ScanGear and I was able to start the ScanGear software from a terminal prompt, too. So all is well and I now have full use of the scanner in my Canon all-in-one (which was free after rebate when I bought my Gateway laptop last August).--GrannyGeek