You are not logged in.
I have a usb scanner: Canon N1420U that is recognized by my system. I have used scanimage -T and the scanner works. scanimage > output.ps also works. However I cannot get the scanner to work with xsane even though xsane does recognize the scanner on startup. I have added my user to the scanner group. Any help will be appreciated.
Last edited by kishd (2007-04-08 07:29:14)
---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare
Offline
Funny, I used my scanner (Canon LiDE30) for the second time or so this year and had the exact same problem: scanimage works, xscanimage, xsane and kooka don't.
1000
Offline
byte, I just tested all the sane frontends that I could find and they all don't work. My scanner is n140u/lide30. Scanimage can scan perfectly but it's a ballache to remember all the command line options. I tried all the frontends as root and still no scanning so it does not seem to be a problem with permissions. I wonder if the problem is related to libusb?
---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare
Offline
To add more information on my case: I edited /etc/sane.d/dll.conf to make sure only "plustek" get's loaded. Before my TV card (v4l) got also recognized as scan source. But wouldn't help, the frontends will happily see my scanner and even all preview and scan operations 'work', but they all produce black output while the scanner doesn't make one move.
1000
Offline
*BUMP/BOING*
/me has tried everything. I re-installed sane, xsane, libusb and still have the same problem. scanimage works flawlessly as user and as root. However, xsane , xscanimage etc cannot seem to communicate with the scanner. The scanner (Lide30) is recognized on startup of xsane but it cannot communicate. Infrequently the 'acquire preview' works but not the scanning. Any help will be greatly appreciated.
kishd
---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare
Offline
I also have a Canon Lide30 and have the same problems.
It seems to be most likely related to that scanner, I think.
Gary
Offline
I'm pretty sure it worked at some point before. Too sad I don't scan more often, so I could take a better guess at what update had been most likely involved.
1000
Offline
Has anyone found any solution yet?
It may sound weird, but I can get it briefly to work it I do the following steps:
1.- start xsane disconnecting the scanner (error message)
2.- restart xsane after connecting the scanner
3.- do scan-job (works only for one page)
-> if this doesn't work:
- disconnect scanner while xsane is trying to scan (error message)
- reconnect scanner and retry to scan (error message)
- close xsane and restart xsane after disconnecting the scanner (error message)
- restart xsane after connecting the scanner
- do scan-job (works only for one page)
- start all over again
Does this give anyone a hint as to what the problem is?
Gary
Offline
Do xsane or gimp work if you leave them attempting to scan for several minutes?
Thought I had the same problem, but it just seems to take an age to start with these apps.
Offline
Here are some old notes I made for my Epson 1260. There may be something useful there
using iscan
#!/bin/bash
#
# /etc/hotplug/usb/usbscanner
#
GROUP=users
if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ]
then
chmod o-rwx "${DEVICE}"
chgrp "${GROUP}" "${DEVICE}"
chmod g+rw "${DEVICE}"
fi
and /etc/hotplug/usb/usbscanner.usermap
#Epson 1260 Photo
usbscanner 0x0003 0x04b8 0x11d 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
/etc/sane.d/dll.conf
# enable the next line if you want to allow access through the network:
epkowa
/etc/sane.d/epkowa.conf
usb 0x4b8 0x11d
try SANE_CONFIG_DIR=/etc/sane.d in /etc/profile
mogherd
Joined: 10 Nov 2005
Posts: 2
Location: England
PostPosted: Thu Nov 10, 2005 10:57 pm Post subject: Reply with quote
Dunno if this helps but when I install the sane package it sets the group number of some directories to 14. I don't know where that comes from but my scanner (Lide20) works only if I make sure that all directories traversed to the lock file (/usr/var/lock/sane) are owned by root:root, except for sane which is root:scanner. Dunno why /usr/var/lock instead of /var/lock but that is how it is. Incidentally the /usr/var directory is a symlink back to /var.
Offline
Same problem here with a Canon Lide30
I have been using the scanner in two computers for 3 years.
I recently updated one computer with pacman -Syu and xsane and kooka stopped working.
Then I installed in the other computer the last version of sane with pacman -U sane-1.0.18-2.pkg.tar.gz and the scanner still works fine.
So I assume it is not a problem with sane but with another package.
Offline
Hi,
i have a Lide 25 and the same problem as you. The scanner worked flawlessly with Gentoo and Kubuntu.
It also works with scanimage, but no frontend would work...
Did anyone discover where the problem is? Maybe something with X?
greetings koelle
Offline
Exactly same problem here with a canon lide 30, don't know what is wrong...
Offline
i think that is something in relation with dbus or udev
it's a idea?
Offline
Sorry to bump such an old thread, but this is the first search hit:
http://bbs.archlinux.org/viewtopic.php?id=21208
Tested on a CanoScan LIDE 25. It works flawlessly.
Last edited by skottish (2007-01-28 00:13:04)
Offline
I'm having this same problem with my Canon Lide20. I've tried the fix above, and nothing changed.
It's odd, because scanimage actually gets a picture. Kooka and xsane both receive data, but it's solid black, and the scanner motor never runs.
If I find anything else that works for me, I'll keep posted...it's kinda irritating.
"He is no fool who gives what he cannot keep to gain that which he cannot lose." -Jim Elliot
Offline
QuimaxW, after a while learning the basic command line arguments for scanimage can be fun. The most common one I use is scanimage --mode lineart --format tiff -p -x 215 -y 297 > out.tif
---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare
Offline
Hmmm...perhaps a script is in order. I pretty much want to scan few of my paper bills so I can chuck 'em and still have a record. Using ps2pdf, I can then save them as PDF's and have it done fairly quickly.
Still be nice is xscan would work for my pictures and stuff.
"He is no fool who gives what he cannot keep to gain that which he cannot lose." -Jim Elliot
Offline
Hi all,
i also had the problem that scanning with xsane was unpossible. The scan mechanism didn't move back to the starting position after preview scanning. The problem could be solved by installing a recompiled 2.6.20 kernel with a changed config.
Change the line:
CONFIG_USB_SUSPEND=y
to
# CONFIG_USB_SUSPEND is not set
Greets
dojo
Last edited by dojo (2007-03-28 19:42:26)
Offline
Thank you. And is it a bug?
Offline
The scanner works, thanks again. I've posted a bug there: http://bugs.archlinux.org/task/6182
Offline
The latest kernel26-2.6.20.6-3.pkg.tar.gz solves this problem. However after installing the new packages the permissions of /var/lock/sane changed to root:14 Changing the permissions back to root:scanner is necessary for the scanner to be detected.
Thanks dojo and tpowa for the fix.
---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare
Offline