Ubuntu :: SANE / HPLIP And F300 Hangs With Large Scan Areas
May 5, 2011
SANE + HPLIP 3.11.3a-1 + Tomato v1.28.8754 ND USB Std + Hp Deskjet F380 (F300 series) only works with small scan areas. This error is affecting SANE running on my tomato router, this affects all computers that try to use that scanner, regardless of platform, in fact, it affects scans originating from the router itself. I believe that it could also happen on ubuntu if I had the same configuration as the router, it seems to be an error that would happen on any platform with the same SANE/hplip settings and hardware (HP Deskjet F380). The problem is also related to DPIs, but I can't manage to get one full page with 75 DPI, which is the lowest possible. If I get a small area (around 1/4 of the full glass) it will scan at some times.
If I increase the DPI, it won't scan. I will get an Error during device I/O, even if I try to scan directly from scanimage. I would like to have the scanner function of my AiO printer working, at least to scan the full glass in low resolutions (<=150). I can't load previews as well. I thought it could be a memory problem, since it does scan small areas, but it is not, in fact, the memory usage doesn't increase much during the scan, I even created a 128MB swap partition in my flash drive (was afraid of doing so, since it would wear it quickly, will probably remove now), but it didn't change anything, it still doesn't scan with more than 55% of the router's memory (16MB) free and more than 97% of the swap memory free.
Here are my configuration files:
/opt/etc/sane.d/dll.conf
Code:
hpaio
/opt/etc/sane.d/saned.conf
Code:
192.168.0.0/24
/opt/etc/xinetd.d/saned
Code:
service saned
{
port = 6566
socket_type = stream
server = /opt/sbin/saned
protocol = tcp
user = root
group = root
wait = no
disable = no
}
/opt/etc/xinetd.conf
Code:
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Sample configuration file for xinetd
defaults
{
only_from = localhost 192.168.0.0/24
instances = 60
log_type = FILE /opt/var/xinetd.log
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}
includedir /opt/etc/xinetd.d
Everything is configured properly, I got the dbus and cups installed since both are required for hplip to work properly. Here are some other files, that shows what happens:
sane-find-scanner
Code:
# sane-find-scanner will now attempt to detect your scanner. If the result is different from what you expected, first make sure your scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that you have loaded a kernel SCSI driver for your SCSI adapter. Also you need support for SCSI Generic (sg) in your operating system. If using Linux, try "modprobe sg".
found USB scanner (vendor=0x03f0 [HP], product=0x5511 [Deskjet F300 series]) at libusb:001:006
# Your USB scanner was (probably) detected. It may or may not be supported by SANE. Try scanimage -L and read the backend's manpage. Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports can't be detected by this program.
scanimage -L
Code:
device `hpaio:/usb/Deskjet_F300_series?serial=CN6BSGK1M104KH' is a Hewlett-Packard Deskjet_F300_series all-in-one
hp-probe
Code:
root@white:/opt/bin# ./hp-probe -busb
warning: python-dbus not installed.
warning: hp-probe should not be run as root/superuser.
HP Linux Imaging and Printing System (ver. 0.0.0)
Printer Discovery Utility ver. 4.1
Copyright (c) 2001-9 Hewlett-Packard Development Company, LP. This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details.
Found 1 printer(s) on the 'usb' bus.
Done.
scanimage > test.jpg
Code:
scanimage: sane_start: Error during device I/O
saned -d5
[saned] process_request: waiting for request
saned doesn't report any error, but starts waiting for another request.
I have tried to install the newer version of hplip on Debian 7.8 because the standard version does not support my printer.
So I proceeded the installation according to the instructions in hplipopensource.com, but the installation hangs after I enter the root password as this image: [URL] ....
Deskjet-F4400-series -------------------- Type: Unknown Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend. Device URI: usb://HP/Deskjet%20F4400%20series?serial=CN9C1CK70705C5 PPD: /etc/cups/ppd/Deskjet-F4400-series.ppd
[code]....
how do I get the printer installed in hplip? I can print but cannot scan. xsane will not recognize printer. Jaunty 64bit 2GB Ram 350GB HD
I recently built a home media server and decided on Ubuntu 10.04. Everything is running well except when I try to transfer my media collection from other PCs where it's backed up to the new machine. Here's my build and various situations:
Intel D945GSEJT w/ Atom N270 CPU 2GB DDR2 SO-DIMM (this board uses laptop chipset) External 60W AC adapter in lieu of internal PSU 133x CompactFlash -> IDE adapter for OS installation 2(x) Samsung EcoGreen 5400rpm 1.5TB HDDs formatted for Ext4
Situation 1: Transferring 200+GB of files from an old P4-based system over gigabit LAN. Files transferred at 20MBps (megabytes, so there's no confusion). Took all night but the files got there with no problem. I thought the speed was a little slow, but didn't know what to expect from this new, low-power machine.
Situation 2: Transferring ~500GB of videos from a modern gaming rig (i7, 6GB of RAM, running Windows7, etc etc). These files transfer at 70MBps. I was quite impressed with the speed, but after about 30-45 minutes I came back to find that Ubuntu had hung completely.
I try again. Same thing. Ubuntu hangs after a few minutes of transferring at this speed. It seems completely random. I've taken to transferring a few folders at a time (10GB or so) and so far it has hung once and been fine the other three times.Now, I have my network MTU set from automatic to 9000. Could this cause Ubuntu to hang like this? When I say hang I mean it freezes completely requiring a reboot. The cursor stops blinking in a text field, the mouse is no longer responsive, etc.
Does anybody know where to find an rpm of sane-frontends?I want to use my auto-document-feed functionality on my scanner using scanadf, which is part of sane-frontends.Otherwise I'd also welcome alternative suggestions for scanadf.
I'm running Suse 11.2 and using a Brother DCP7065DN scanner/printer, which actually comes with stunning drivers and support for Linux.
I have Fedora 12 (with all the latest patches, including the 2.6.31.6-162 kernel) installed on a new Supermicro SYS-5015A-H 1U Server [Intel Atom 330 (1.6GHz) CPU, Intel 945GC NB, Intel ICH7R SB, 2x Realtek RTL8111C-GR Gigabit Ethernet, Onboard GMA950 video]. This all works great until I try to transfer a large file over the network, then the computer hard locks, forcing a power-off reset.
Some info about my setup:
[root@Epsilon ~]# uname -a Linux Epsilon 2.6.31.6-162.fc12.i686.PAE #1 SMP Fri Dec 4 00:43:59 EST 2009 i686 i686 i386 GNU/Linux [root@Epsilon ~]# dmesg | grep r8169 r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[code]....
I'm pretty sure this is an issue with the r8169 driver (what I'm seeing is somewhat reminiscent of the bug reported here). The computer will operate fine for days as a (low volume) web server, and is reasonably stable transferring small files, but as when as I try to transfer a large file (say during a backup to a NAS or a NFS share), the computer will hard lock (no keyboard, mouse, etc.) at some point into the transfer of the file. It doesn't seem to matter how the file is transferred (sftp, rsync to NFS share, etc.).
When accessing an NFS mount for a large (200MB+) file transfer, the transfer starts rapidly, then becomes slower and slower until it hangs. On several occasions, it has frozen the client machine. Both client and server are set to default to nfs version 3. Slowdown and hang also occur when connecting to FreeBSD NFS mounts.
Presumably (I hope), there is some sort of configuration for the client that needs to be set. what should be changed in the configuration? This worked out of the box in OpenSUSE 11.0.
After installing slackware 13.1 I start up amarok and when I go in and configure the settings and it starts to scan the folder and it either hangs at 10%, stops responding all together or crashes, the library is about 130 gigs of mp3s. I do not know where to start on this one. Amarok version 2.3.0
I am attempting to upgrade a system from 4.7 to 5.2 using a (now) DVD drive attached to the onboard IDE. Originally I had tried using a remote NFS image and a USB stick but I thought maybe there was a problem with the image. I can get up to the point of the installation of selecting the keyboard for the system and then it freezes and never goes any further. It doesn't appear to be a kernel panic since I can still switch between consoles.
I've got an MSI K9NGM2-FID with 14 drives in it. It serves as a file server for our backup server. It's got a secondary 4 port Silicon Image SII 3114 SATA card using the sata_sil module, and an old IDE Promise FastTrak TX2000. Technically I could have 16 drives but the 750W PS is walking the fine line on tripping it's self-breaker with the 14 drives and 7 fans. I would like to NOT have to disconnect all of this to do the upgrade.
I thought maybe that running the install using the "noprobe" option would help so it didn't detect and load the modules for the Silicon Image or the Promise cards and detect all of the drives but it still gets stuck on the step after selecting the keyboard. The installation info console and the dmesg console don't really provide any useful information. The installation console says:
INFO : moving (1) to step welcome INFO : moving (1) to step language INFO : moving (1) to step keyboard INFO : moving (1) to step findrootparts
And the last lines of the dmesg console says:
<6>device-mapper: multipath: version 1.0.5 loaded <6>device-mapper: multipath round-robin: version 1.0.0 loaded <6>device-mapper: multipath emc: version 0.0.3 loaded
Is there a hidden "debug" option that will turn on a lot of extra logging?
I am dual booting XP and Ubuntu 10.04, but in the future I will be getting a new machine and I will only be running Ubuntu and won't have access to iTunes. Because I have an iPod Touch, I have been trying to find workarounds for syncing everything that iTunes took care of in the past. One problem I have is managing movies. I have looked through various media players/iPod management tools (Amarok, Rhythmbox, gtkpod) and I am using Rhythmbox to sync my music and and attempting to use gtkpod to sync my movies.
gtkpod is able to sync songs (Tested with a few minute test clip) and short *.mp4 files (15mb I know for sure from test). I am unable, however, to get it to sync a movie (~700mb) I am able to drag it onto my iPod in gtkpod, but when I try to save the changes and write the files, it hangs at "Copying Tracks" at 0%. It eventually crashes during the couple times I have tried to wait it out. So this being my situation, my question is, is there a size limit to the *.mp4 files I can sync to my iPod Touch via gtkpod? is there any other tools that you know of that I can sync videos to my iPod with?
I installed squeeze on my eeepc 1015ped and downloaded the correct firmware-brcm80211 drivers but every time I scan for my network using iwconfig wlan0 scan or wicd, my computer completely freezes. I previously had a solid install running xmonad, and wicd was working like a charm (using the same broadcom driver) but i tinkered too much with it and decided to do a fresh install. I haven't quite run into a problem like this before.
I upgraded from 9.10 to 10.04 and now the colors are off. I tried different themes which made some of the tabs more readable, but I don't see how to fix it. Things like background colors in Firefox are too light to see. The same for the grid lines in OpenOffice.org Spreadsheets. Form fields are not outlined. If you don't know where they are you have to hunt by dragging the pointer over the area. Images look OK. Does this sound like something others have seen?
I've been using Ubuntu consistently for about three days now. I really, really love the interface and how everything works and all that, but I've been having a couple of weird problems with speed.
Graphics things seem to work really well. When I go into the overview of all my workspaces, it's instant and looks great. The problem is when I open and use some applications.
For example, when I open up the software center, it takes longer than it did the first time to start up. Also, when I drag windows off from being maximized, it takes literally about five seconds for it to show up as being dragged around by my mouse.
When I look at the system monitor, about 20% of my CPU cores are constantly being used. That's 20% each. I have a 3-core CPU, could that be the problem?
Another example: when I went to ..... just now, it would take a second for any volume changes in the video to register.
And I also have smooth scrolling in firefox, but it's very unresponsive now. It's slow as all hell. Even notifications are showing up more slowly.
So, what's the deal? What could I have done wrong?
CPU: AMD Phenom II X3 2.8Ghz GPU: ATI Radeon HD 4860 1gb RAM: 4gb
One more thing: I have really bad screen tearing when I try to move windows around, as if there isn't any vsync on. Where can I turn it on or fix this?
I'm still pretty new to Ubuntu and Linux, but I'm an advanced computer user. Since I feel linux is killing my CPU I think I'm going to boot back into Windows 7 for now, but if I can fix this problem I think I want to keep Ubuntu as my main OS after this, having Windows for games, unless I can get Wine to work right with them.
I know this is Ubuntu forums, but my other laptop has Ubuntu and I know this is a community full of very smart people (got Ubuntu help the other day).Anyway , this laptop's problem is, the screen goes teal i areas that were once white. Now, originally I thought something was broken, but now my theory is it's a loose connection. On the bottom left of the screen there is a thick black cable that leads up behind the screen and connects with that duct tape looking thing. If I simply lift up on the black cable, the screen goes back to normal.
I'm relatively young and equally ignorant as to C or C++ (or any other language for that matter). I've started learning C, but come across a view that C is getting old/obsolete, etc. and If someone just starts out they should start with C++.
I know that most of the linux kernel is written in C and so are a lot of linux tools. Are there any other areas where C still prevails?The reason I'm asking is that I'm now not sure which one to learn. I know that you'll answer: depends what you want to do. The problem is that I don't really know what one can do with C, as opposed to C++.
Maybe this isn't the right place, BUT: How can I create an OO Writer template with about 20 input Text Areas? I can make one, and then I thought I could use COPY and PASTE to dupe it in the other places, but it didn't work. I hate to spend all that time creating the other 19 identical boxes.
how big and widespaced the fonts on Clementine playlist are and how good they look on the appmenu (where my mouse pointer is). This is not because Clementine is QT4, I've got the same problem with Chrome, Opera etc. I've been messing with system-settings (KDE settings tool) a day before the fonts become that widespaced in order to make my KDE apps look more native on my GNOME, but I haven't touched the fonts settings there.
I just scanned a book recently and as what happens in these situations , the borders get dark I just looking for a simple way (prefer command line) to solve this problem maybe, crop pictures for cutting out the borders and then change the dimension (NOT MEAN STRETCH) to regain original size I am not sure , but any others ways that can turn black border areas to white one is fine with me.
I installed debian etch, it runs and does connect to the internet fine through a linksys router...the linksys router is connected to my cable modem...now..
I just registered for a domain name (ex. mydomainname.org) with Verio....this is where I am stuck.
I installed apache 2, a web server, file server (all seem to work) I need to know what files I need to configure to have my machine actually BE that domain name.
Ex. my linksys DHCP IP addresses, the linksys gets an IP from the cable modem...my yquestion is ONCE I register a domain name with verio...how do I configure my end so it "knows" I am that respective domain name...I think I need to configure the following, but knot sure how to do it: resolv.conf, hosts, and interface?
alloc_task_struct( ) This function allocates 8 KB task_union memory areas. The function takes memoryareas from the cacheif it is at least half-full or if there isn't a free pair of consecutive page frames available.
I too have what looks like the same problem. I too have read all the relevant man pages and other relevant sites: Supported devices [URL] CanoScan LiDE 110 (the printer I've just bought) has "complete" support apparently. Followed directions here: [URL] Read: [URl] Another story of purchasing a "complete"ly supported scanner. [URL] The solution? Use windows xp in a vm.
I don't think much of that sort of solution. As a temporary work around... ok. I'm running debian lenny.
Code: uname -r provides: 2.6.26-2-686
Code: lsusb provides: Bus 005 Device 002: ID 04a9:1909 Canon, Inc.
Code: sane-find-scanner -v -f provides: libusb not available # No USB scanners found. If you expected something different, make sure that # you have loaded a kernel driver for your USB host controller and have setup # the USB system correctly. See man sane-usb for details. # SANE has been built without libusb support. This may be a reason # for not detecting USB scanners. Read README for more details.
Code: scanimage -L provides: device 'v4l:/dev/video0' is a Noname USB 2.0 Camera virtual device
Code: dpkg-query -l '*libusb*' clearly shows I have libusb installed: Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description ii libusb-0.1-4 2:0.1.12-13 userspace USB programming library
I have and old scanner, Canoscan 3200F, which is not supported by sane. It will not run in Wine, because there is no Sane support. Does anyone know if I was to install a Windows OS in Virtual Box would that enable me to run it or would I have the same problem as I have with Wine?
I have a Genius CP-SF600 scanner. I have put the fimware in the necessary directory for the backend (/usr/share/sane/gt68xx), and what I run sane-find-scanner I get:
Code: $ sane-find-scanner # sane-find-scanner will now attempt to detect your scanner. If the # result is different from what you expected, first make sure your # scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that # you have loaded a kernel SCSI driver for your SCSI adapter. found USB scanner (vendor=0x0458, product=0x2021, chip=GT-6816?) at libusb:002:006 # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage.
# Not checking for parallel port scanners. # Most Scanners connected to the parallel port or other proprietary ports # can't be detected by this program. # You may want to run this program as root to find all devices. Once you # found the scanner devices, be sure to adjust access permissions as # necessary.
However, when I run scanimage -L I get: Code: $ scanimage -L No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). So sane sees the scanner, but then scanimage says it can't find any scanners. If I run scanimage -L as root it does seem to find the scanner.. so its a permissions problem somewhere.. I will keep investigating....
I've been running 64-bit openSUSE 11.2 since shortly after it's release, on a quad core AMD Phenom based machine, using KDE as the Desktop. I have a USB-attached "multi-function" printer/scanner/etc., which worked fine with XSane under 11.1. On the same machine, with 11.2, I can still get a scan preview. But when I try a full scan, shortly after it starts, the progress bar stops, then XSane complains about an I/O error.
When I update openSUSE versions, if I can, I keep the old version completely intact, on the same machine. This includes the /home partition, I don't overwrite it. Sure it's a good deal more work to copy over the numerous files needed, but if there are any problems with the new software, it's extremely helpful to have a completely intact old environment for reference. I was able to do this, while updating 11.1 ==> 11.2. Booting the old 11.1 system on the same machine, I haven't encountered any scanning problems.
I haven't given a lot of details, because it's the same hardware, that should "in theory", mostly eliminate the hardware as a possible source of the problem. I'm hoping the problem can be resolved by focusing on any changes in SANE support, or XSANE itself, for USB attached scanners. It could be unrelated, but messages such as these are in /var/log/messages on the 11.2 sys:
Feb 3 17:45:03 toe-heaven kernel: [ 5881.313532] usb 3-1: usbfs: interface 0 claimed by usblp while 'xsane' sets config #1 Feb 3 17:45:03 toe-heaven kernel: [ 5881.313560] usb 3-1: usbfs: process 8214 (xsane) did not claim interface 1 before use
If XSane is doing things in the wrong order, I'm wondering if it would be a problem especially for a combined printer/scanner, or would the problem still occur if the printer and scanner were two physically separate devices? I checked and there are similar messages in /var/log/messages with 11.1. But if it is an error in the sequence in which XSane does things, could it somehow cause problems under 11.2, yet not 11.1? I tried to find anything which might be related to USB device handling, which perhaps could interact. I came across messages such as these in 11.2, but not 11.1:
Feb 4 15:15:10 toe-heaven udev-configure-printer: add /devices/pci0000:00/0000:00:02.0/usb3/3-1/3-1:1.0/usb/lp1 Feb 4 15:15:10 toe-heaven udev-configure-printer: parent devpath is /devices/pci0000:00/0000:00:02.0/usb3/3-1
Is USB printer handling somehow different under 11.2? With a combined printer/scanner, could there be an interaction? I did some experimenting. I kind'a thought a scan preview was just a scan at low res. So I tried to do full scans, starting with the lowest res., and increasing. I was able to do successful full scans at 100 or 150. But from 200 on up, the higher the res., the shorter the time to get an I/O error. I'd normally use 600 or above, to get what I feel is a good looking scan. At 600 the error report is practically immediate. It's almost as if the error only occurs above a certain threshold, of amount of data per unit time. I should mention, although it's a color scanner, I'm scanning a black and white doc., so using that mode of XSane.
I'm trying to setup an Epson perfection 4490 photo scanner in Slack 13.1. I've got the appropriate iscan and epkowa driver and firmware. However it is not working: sane-find-scanner produces:Code:found USB scanner (vendor=0x04b8 [EPSON], product=0x0119 [EPSON Scanner]) at libusb:001:004but scanimage -L finds nothing. After battling a lot with dll.conf and epkowa.conf I decided to run strace scanimage -L and to my shock it never tries to read dll.conf, instead it goes straight to read xerox_mfp.conf and does not try to read any other conf file in /etc/sane.dHas anyone come across problems with sane in 13.1 (or 13.0 as I tried this before upgrading with the same results)?
I just saw this message in the syslog and wondered if it could have anything to do with my previous problems with LXDE crashing:
Code: Select allSepĀ 6 08:03:34 MyComputer kernel: [ 1003.788502] colord-sane[3381]: segfault at 21 ip b4de95ba sp b5609fb8 error 6 in libdbus-1.so.3.7.2[b4dbe000+4a000]
I have read a number of bug reports regarding this issue and it appears to go back about two years. It was supposedly fixed but that does not appear to be the case unless there is something peculiar with my Wheezy 7.8 installation.I just found this on a Ubuntu bug report. It is related to a colord-sane but not necessarily exactly the same as what I am experiencing.This is a libsane bug, not a colord bug. If you want to to work around it, change /etc/colord.conf to have UseSANE=false