![]() ![]() So my scanner is on bus 001, device 004 - these numbers are used in the "wake-up" script as follows:Įcho "scanner is now having a nice rest." Apologies for the quality of the solution, as I am far from a skilled technical type, however I don't think anyone is likely to sort this problem out so close to release.īus 001 Device 004: ID 04a9:220d Canon, Inc. This enables the standard GUI scanner utitlities (Kooka and so on) to work. I have written a short shell script that "prods" the scanner every second and stops after around 15-20 minutes. I can use the command line workaround mentioned earlier, but it isn't acceptable for the rest of my family. So maybe that the problem is not the 'USB selective suspend/resume and wakeup' option but the 'ppdev' kernel module. I tried this also for an Epson Perfection 1260 (plustek backend) and it works too. This module was not automatically loaded in edgy, but I have read that it has been introduced in feisty to allow automatic detection of parallel printers. Read(6, "# geniusvp2 backend configuratio"., 4096) = 877įinally I found that removing the 'ppdev' kernel module (rmmod ppdev) solved the problem. conf", O_RDONLY) = -1 ENOENT (No such file or directory) I then used strace to see what happens with xsane and found that it was continuosly writing to /dev/parport0: xscanimage, instead, works if the correct device name is supplied. With my HP ScanJet 4070 (hp3900 backend) xsane freezes while triyng to find the device. I have recompiled the ubuntu feisty kernel disabling the 'USB selective suspend/resume and wakeup' option, but in my case the problem remained. Good luck!Īlias scan='scanimage -format tiff -resolution 300 -x 215 -y 297 > ~/Desktop/scanned_image' And dont' forget: If it doesn't scan, you have to try "sane-find-scanner" and/or "scanimage -L" first. The file will be saved as TIFF with a resolution of 300 dpi as scanned_image to your Desktop. bashrc in your home directory and add the following alias (everything on one line, modifications of are up to you):Īlias scan='scanimage -format tiff -resolution 300 -x 215 -y 297 > ~/Desktop/ scanned_ image'įrom now on you can scan an image by simply typing "scan" in the command line. Until the kernel/sane problems are solved I propose a small workaround. After that, the scanning starts smoothely. Using "scanimage" from the command line works, but even that sometimes needs a kick off by first invoking "sane-find-scanner" and then "scanimage -L". The scanner is recognized when plugged in ("dmesg" and "lsusb" list it correctly), but scanning with any GUI (xsane, gnomescan or from within GIMP) is not possible. Bug is confirmed in Ubuntu Feisty with a Canon N1240U Scanner. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |