LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   LinuxQuestions.org Member Success Stories (https://www.linuxquestions.org/questions/linuxquestions-org-member-success-stories-23/)
-   -   USB Canoscan N 650U (https://www.linuxquestions.org/questions/linuxquestions-org-member-success-stories-23/usb-canoscan-n-650u-134274/)

Caysho 01-13-2004 05:58 AM

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

nearly everything I did is listed here:
http://lists.alioth.debian.org/piper...er/005496.html

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

add options scanner vendor=0x04a9 product=0x2206
then I loaded the module
Code:

[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
Code:

scanner                        0x0003 0x04a9  0x2206
plugging the scanner in gave me
/dev/usb/scanner0

2. I had a look in USB Viewer, it shows the Canoscan. if things don't happen right, it was showing in red.

3. as root, update I updated
/etc/sane.d/plustek.conf
with
[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. 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


At this point I tried running XSane, but it didn't find any devices.
some more searching and I found this
http://groups.google.com/groups?q=dl...nitz.de&rnum=8

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 02-03-2004 08:59 PM

Great little howto this is to get my same scanner working under Slackware 9.1.

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 recieve the error message of 'no devices found'

Cheers.

XavierP 06-07-2004 04:04 PM

Caysho - your Success Story on the Canonscan 650U seems to be ideal for our LinuxAnswers section.

Would you be willing to submit it? It would be of help to the site and to the rest of our membership if you would do so (it would also put your instructions in a prominent place for anyone searching for it ).

If you are willing to do so, read this link on submitting an Answer beforehand.

Thanks.

Caysho 06-08-2004 05:17 AM

ok. I may not have the time in the immediate future, but hopefully over the next few weeks I can do it.
imo this would be distro specific, as hotplug is in use and I'm pretty sure it doesn't come with them all.
would you agree ?

XavierP 06-08-2004 06:04 AM

AFAIK, hotplug is in a number of distros and as you saw from Trickykid's response it also works under Slackware (with a minor change). Once an LA has been created, it opens up a discussion thread in the Forum where experiences and questions can be posted.

You could post your LA as per your first post and put in a note to incorporate Trickykid's response and say that it has been tested and works under Slack and Debian.

Caysho 06-12-2004 03:34 AM

ok, I've submitted a post for the LinuxAnswers section, a better formatted version of this post.

XavierP 06-12-2004 05:38 AM

Caysho - thanks for doing this

slott_hansen 06-23-2004 01:16 PM

only works as root
 
Great walkthrough - but I still have one problem left.

I can only call xsane as root - otherwise I get a message that no scanner could be found.

What am I doing wrong ?

Caysho 06-23-2004 06:37 PM

Sounds like a permissions problem, but I don't know where xsane looks for scanners.
Did you read trickykid's addition to the post ?


All times are GMT -5. The time now is 12:59 AM.