Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
1a. Modules.conf
I got the module happening with modprobe (and hotplug):
put this in /etc/modules.conf -
code:
Code:
add options scanner vendor=0x04a9 product=0x2206
1b. Modprobe
Then I loaded the module
code:
Code:
[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
code:
Code:
scanner 0x0003 0x04a9 0x2206
1d. Creation of the device
Plugging the scanner in gave me
Code:
/dev/usb/scanner0
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
/etc/sane.d/plustek.conf
with
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:
Code:
[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
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:
Code:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.