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.
I got the module happening with modprobe (and hotplug):
put this in /etc/modules.conf -
add options scanner vendor=0x04a9 product=0x2206
Then I loaded the module
[root@Petrata caysho]# modprobe scanner
In /etc/hotplug/usb.handmap I made a copy of a line and put the following in the first 4 columns
1d. Creation of the device
scanner 0x0003 0x04a9 0x2206
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.
as root, update I updated
note: have a read through the comments in this file - you might want different options
[usb] 0x04a9 0x2206
option lampOff 0
option warmup 180
option lOffOnEnd 0
then check that sane can find it:
5. XSane can't 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
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.
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:
This way when launching xsane, you won't receive the error message of 'no devices found'
chmod 666 /dev/usb/scanner*
XavierP also indicated this scanner how-to works under Debian.