Help answer threads with 0 replies.
Go Back > Linux Answers > Hardware
User Name


By Caysho at 2004-06-12 03:32
USB Canoscan N 650U

Although this wasn't really very hard (I have hotplug running, which does a few things, all of which I'm not completely understanding yet), I did learn a few things in the process, and I want to make sure this is in the LQ forums so neither I (in case I forget it) or anyone else doesn't have to hunt very hard for a solution :D

This works for me under Mandrake 9.0, and as indicated later in the post, Slackware and Debian.

Nearly everything I did is listed here:
Also, except for step 2, all of this is via the command line, no GUI necessary.

1a. Modules.conf
I got the module happening with modprobe (and hotplug):
put this in /etc/modules.conf -

add options scanner vendor=0x04a9 product=0x2206
1b. Modprobe
Then I loaded the module

[root@Petrata caysho]# modprobe scanner
1c. USB.Handmap
In /etc/hotplug/usb.handmap I made a copy of a line and put the following in the first 4 columns

scanner            0x0003 0x04a9   0x2206
1d. Creation of the device
Plugging the scanner in gave me
2. GUI Verification
I had a look in USB Viewer, it shows the Canoscan. if things don't happen right, it was showing in red. I don't know if there's a way to find this out from the command line or not.

3. plustek.conf
as root, update I updated
[usb] 0x04a9 0x2206
option lampOff 0
option warmup 180
option lOffOnEnd 0
device /dev/usb/scanner0
note: have a read through the comments in this file - you might want different options

4. sane-find-scanner
then check that sane can find it:
[caysho@Petrata caysho]$ sane-find-scanner

found USB scanner (vendor=0x04a9, product=0x2206) at /dev/usb/scanner0
found USB scanner (vendor=0x04a9, product=0x2206) at libusb:001:002
5. XSane can't find it ?
At this point I tried running XSane, but it didn't find any devices.
some more searching and I found this

so I added plustek to dll.conf (as root), and it works, running Mandrake 9.0.

Other notes:
Hotplug appears to do some stuff, except remove the module when I unplug the scanner.
This is something that I have to do manually atm.

Trickykid also added the following for Slackware:
Just a few things to mention though, apparently under Slackware you shouldn't have to edit the dll.conf file as it already has plustek listed and one other thing to mention is for regular users to launch and use xsane, you'll want to change the permission settings on the device like this:

chmod 666 /dev/usb/scanner*
This way when launching xsane, you won't receive the error message of 'no devices found'

XavierP also indicated this scanner how-to works under Debian.


All times are GMT -5. The time now is 11:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration