Coprolite.com
Google
 
Web Coprolite.com
SignalQ Sites:
L1G3R Information Systems - NetAdminTools - SpotBridge
RoboCoop - AreWeDown - SysAdminTools - NAW
Xfig - Gold Loaf - GeekPapa - FixGMC - FixRambler
Categories:
GNU/Linux | Homebrew designs | Perl | Microcontrollers | Graphics | Z-80 | FreeDOS | Electronics | Odyssey 2 | 8048 | Other/Msc.

Last 30 Days | Last 60 Days | Last 90 Days | All Articles/Links


Categories:
·GNU/Linux
·Homebrew Designs
·Perl
·Microcontrollers
·Graphics
·Z-80
·FreeDOS
·Other/Msc.
·Electronics
·8048
·All Categories
·Other SignalQ Websites




Canon USB Scanner w/ Linux
Topic:Graphics   Date: 2005-01-23
Printer Friendly: Print   Mobile View: mobile

spacerspacer
<<  <   >  >>


I have a Canon N1240U scanner that hooked up to my workstation. I'm running Gentoo, which makes it easy. First, I start a compile of the kernel. Here is a copy of the .config file for a 2.4.29 kernel. After I do the kernel shuffle, I start an emerge of xsane:

 
root@wrk-1 usr-1 # emerge xsane
Calculating dependencies ...done!
>>> emerge (1 of 3) sys-libs/libieee1284-0.2.1 to /
>>> Downloading http://distfiles.gentoo.org/distfiles/libieee1284-0.2.1.tar.bz2
--07:35:16--  http://distfiles.gentoo.org/distfiles/libieee1284-0.2.1.tar.bz2
=> `/usr/portage/distfiles/libieee1284-0.2.1.tar.bz2'
Resolving distfiles.gentoo.org... 156.56.247.195, 
140.211.166.134, 216.165.129.135
Connecting to distfiles.gentoo.org[156.56.247.195]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 182,411 [application/x-tar]
.
.
.

Gentoo just keeps working better and better. Let's see what the Canon scanner comes up as:

root@wrk-1 usr-1 # cat /proc/bus/usb/devices
.
.
.
T:  Bus=04 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=04a9 ProdID=220e Rev= 1.00
S:  Manufacturer=Canon
S:  Product=CanoScan
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=usbscanner
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=16ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
.
.
.

From the documentation on this page, the Vendor ID matches (04a9). If I run xsane, all is now detected. I din't have to configure anything, it just worked. Now, I do have the support compiled into the kernel, rather than as a module with hot-plug stuff. This is both good and bad, but mostly good. In this case it made things very easy. Here is a screenshot:


People:
Places:
Things:
Times:





Please read our Terms of Use and our Privacy Policy
Microsoft, Windows, Windows XP, Windows 2000, and NT are either trademarks or registered trademarks of Microsoft Corporation. Coprolite.com is not affiliated with Microsoft Corporation. Linux is a registered trademark of Linus Torvalds. All logos and trademarks in this site are property of their respective owner. Copyright 1997-2011 Coprolite.com