The weblog of Michael Zehrer


29.1.2006

Here’s how to get the Canon LIDE 60 scanner working with Ubuntu Dapper:

The device is a Genesys Logic GL646 and GL841 based scanner, so it uses the sane genesys driver. Make sure that the driver is enabled in /etc/sane.d/dll.conf.

Now plug in the scanner and run sane-find-scanner and you will get something like this (if not, maybe you should try running this with sudo):

found USB scanner (vendor=0×04a9, product=0×221c, chip=GL841?) at libusb:004:010

Using these values add an entry for the scanner to /etc/sane.d/genesys.conf:

# Canon LiDE 60
usb 0×04a9 0×221c

To use the device as a non-rootl user, you have to prepare udev by editing the libsane udev rules at /etc/udev/rules.d/45-libsane.rules (the actual name of the file may differ, remember Dapper is still in development) and add a line using the values from sane-find-scanner:

# Canon Inc.|LIDE 60
SYSFS{idVendor}==”04a9″, SYSFS{idProduct}==”221c”, MODE=”664″, GROUP=”scanner”

now restart udev with

sudo /etc/init.d/udev restart

Fire up xsane and it should work. Please leave a comment if you know why gnome-volume-manager doesn’t start xsane when I plug in the scanner.

Filed under: Debian/Ubuntu, General @ 15:11

Share with Bit.ly


Comments

Comment by Andrew Schulman — 8.2.2006 @ 3:40

Thanks, this was helpful. In libsane.rules, I suggest adding

NAME=”bus/usb/005/scanner0″

(or whatever name you like in the last component; e.g.

NAME=”bus/usb/005/Canon_LiDE60″

also works), to the line you mentioned. This will provide a persistent device name for this scanner, which helps the scanning applications, e.g. xsane or kooka.

Comment by Ralph — 22.2.2006 @ 2:25

Thank you so much for posting your “how-to make the Canon LIDE 60 work under (K)ubuntu Dapper”. I just installed Dapper (Kubuntu) and the system works great. Except for the tiny little problem that your manual doesn’t work. :-(
genesys is enabled, the genesys.conf contained actually already your proposed entry, edited the 45-libsane.rules, restarted the udev and … nothing. Not the slightes response from the scanner and xsane won’t find the scanner. BTW: sane-find-scanner is still showing:

# Canon Inc.|LIDE 60
SYSFS{idVendor}==”04a9″, SYSFS{idProduct}==”221c”, MODE=”664″, GROUP=”scanner”

If you know what the problem might be, please let me know. That would be greatly appreciated. :-)

Comment by kent — 12.10.2006 @ 3:36

I was having prob. getting a Canon LiDE 60
scanner going on Breezy 5.10 and came across your How to.

I did not see a genesys driver in /etc/sane.d/dll.conf. What does it look like ?

I created a genesys.conf file in
/etc/sane.d/ and added
# Canon LiDE 60 usb 0×04a9 0×221c

looking in the /etc/udev/rules.d/ Directory I only found the following files.

020permissions.rules udev.rules z60alsa-utils.rules
cd-aliases.rules z50run.rules z70hotplugd.rules

My question is which file do you think I should add the line
# Canon Inc.|LIDE 60 SYSFS{idVendor}==”04a9″, SYSFS{idProduct}==”221c”, MODE=”664″, GROUP=”scanner”

??

any help would be appreciated

Thanks

Kent

Comment by michael — 12.10.2006 @ 7:19

Kent,

dll.conf refernces the driver specific *.conf files in /etc/sane.d/. So you need a genesys.conf with the following:

# Canon LiDE 60
usb 0x04a9 0x221c

and refernce this file with the line:

genesys

in /etc/sane.d/dll.conf.

The udev rule should be added to the file /etc/udev/rules.d/45-libsane.rules (it should be there, if not, create it) and look like this:

# Canon CanoScan LiDE 60
SYSFS{idVendor}=="04a9", SYSFS{idProduct}=="221c", MODE="664", GROUP="scanner"

Best, Michael

Comment by Kent — 18.10.2006 @ 5:48

Michael
I just don’t know how to thank you, after looking at post for days about how to get my Canon LiDE 60 working I had just about given up on having a scanner on Ubuntu.

Then I found your URL in a post and said I might as well try one more time.

Yes with your wonderful help I now have a scanner working with sane.

Thank you – Thank you soooo much.
Kent

Comment by Igawk — 19.11.2009 @ 6:55

I have a HP-Scanjet 4850 and plug on ubuntu 9.10.

The message by sane-find-scanner:

found USB scanner (vendor=0×03f0, product=0×1b05, chip=GL841?) at libusb:002:004
# Your USB scanner was (probably) detected. It may or may not be supported by

I’ve done:
1) check genesys is in /etc/sane.d/dll.conf.
2) added lines in genesys.conf:
# Hewlett Packard Scanjet 4850
usb 0×03f0 0×1b05
3) created files /etc/udev/rules.d/45-libsane.rules with lines:
# Hewlett Packard Scanjet 4850
SYSFS{idVendor}==”03f0″, SYSFS{idProduct}==”1b05”, MODE=”4850″, GROUP=”scanner”
4) restart udev

But, it still not works. xsane can’t find anything.

Comment by Yoko Nakazato — 13.7.2010 @ 13:51

muy bueno el scann de cannon

RSS feed for comments on this post.


Leave a comment

Additional comments powered by BackType