HP Deskjet F2100 does not print [Solved]

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

HP Deskjet F2100 does not print [Solved]

Postby harmon » Tue Sep 06, 2011 12:02

Hi!
When I try: System settings > Hardware > Printer config. : after a minute a window opens with a WARNING to choose "terminate" or not - but nothing happens in both cases.
If I want to print, I can see my HP USB printer:
Name: Deskjet_ F2100_series Location: sabayon Type: HP_HP Deskjet 9300

Any idea?

Edit:
Output (last lines) of "dmesg":
Code: Select all
[  236.634045] usb 7-1: new full speed USB device number 2 using uhci_hcd
[  236.820049] usb 7-1: New USB device found, idVendor=03f0, idProduct=7d04
[  236.820052] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  236.820054] usb 7-1: Product: Deskjet F2100 series
[  236.820056] usb 7-1: Manufacturer: HP
[  236.820057] usb 7-1: SerialNumber: CN83F4Q3PX04TK
[  238.127039] usb 7-1: usbfs: process 8765 (usb) did not claim interface 0 before use
[  293.693047] usb 7-1: usbfs: process 8770 (usb) did not claim interface 0 before use

Edit2:
Code: Select all
sabayon harmon # lsusb
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 002: ID 03f0:7d04 Hewlett-Packard DeskJet F2100 Printer series
Last edited by harmon on Tue Sep 20, 2011 20:25, edited 1 time in total.
harmon @ Linux multiboot
harmon
Growing Hen
 
Posts: 165
Joined: Sat Jun 19, 2010 16:35

Re: HP Deskjet F2100 does not print

Postby dunsurfin » Tue Sep 06, 2011 20:53

I assume you have hplip installed. Have you tried the CUPS interface (Menu "System", "Manage Printing")?
Self-righteousness is a loud din raised to drown the voice of guilt within us - Eric Hoffer

Don't believe what it says on the right - I am anything but sagely; More oniony!
dunsurfin
Sagely Hen
 
Posts: 1333
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: HP Deskjet F2100 does not print

Postby harmon » Tue Sep 06, 2011 21:02

Hi!
1. I forgot to mention: some weeks ago, I had no problem with the printer: After some updates it suddenly stopped to work.
2. No, hplip is not installed as I see now, but I was thinking it is only for net-print (it is listed there)
?
3. I' ve read about cups 1.4.8, but don't know how to proceed.
The problem is, as I wrote, System Settings is not answering.
harmon @ Linux multiboot
harmon
Growing Hen
 
Posts: 165
Joined: Sat Jun 19, 2010 16:35

Re: HP Deskjet F2100 does not print

Postby dunsurfin » Tue Sep 06, 2011 21:14

I've always had a hard time getting system settings printer configuration to work so use the CUPS interface. I think it may be a good idea for you to install hplip and, if you haven't got it, cups.
Cups configuration opens in a browser window http://localhost:631/
Self-righteousness is a loud din raised to drown the voice of guilt within us - Eric Hoffer

Don't believe what it says on the right - I am anything but sagely; More oniony!
dunsurfin
Sagely Hen
 
Posts: 1333
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: HP Deskjet F2100 does not print

Postby harmon » Wed Sep 07, 2011 10:52

Hi!
Again:
1. Some weeks ago the printer worked fine.
2. I only installed the updates - and yesterday hplip.
3. System Settings / Hardware / Printer Configuration:
After a few minutes a window opens:
Warning Kwin. The window "System Settings" is not responding ... Terminate | Cancel.
In both cases I only see a white window

System > Manage printing:
http://localhost:631/ opens, but I don't know how to proceed.
I suppose only I can see the error log. Should I post a part?
harmon @ Linux multiboot
harmon
Growing Hen
 
Posts: 165
Joined: Sat Jun 19, 2010 16:35

Re: HP Deskjet F2100 does not print

Postby dunsurfin » Wed Sep 07, 2011 19:57

Does the Kwin warning happen on any other configuration or just on the printer configuration?

Once you have a the CUPS page open, go to the "Administration" Tab and select "Add Printer". It should then guide you through the process. It will ask for a username and password and you should use "root" and your root password. It's also important to remember to add "allowed users" in "Printers" tab, select your printer (after it has been added) and set the allowed users via "administration".
Self-righteousness is a loud din raised to drown the voice of guilt within us - Eric Hoffer

Don't believe what it says on the right - I am anything but sagely; More oniony!
dunsurfin
Sagely Hen
 
Posts: 1333
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: HP Deskjet F2100 does not print

Postby Fitzcarraldo » Thu Sep 08, 2011 10:08

harmon, which kernel package version are you using? Whichever it is, if you have not done so already, please install the corresponding sabayon-sources package so that you can check something.

As you can see from the output of eix below, I currently have sabayon-sources-3.0-r8 installed:

Code: Select all
# eix-update
# eix -I sabayon-sources
[U] sys-kernel/sabayon-sources [1]                                           
     Available versions:                                                     
        (2.6.36)        (~)2.6.36-r1!m                                       
        (2.6.37)        (~)2.6.37-r3!m
        (2.6.38)        (~)2.6.38-r6!m                                             
        (2.6.39)        (~)2.6.39-r10!m                                             
        (3.0)   (~)3.0-r10!m                                                       
        {build sources_standalone symlink}                                         
     Installed versions:  3.0-r8(3.0)!m(16:48:48 30/08/11)(sources_standalone symlink -build)
     Homepage:            http://www.sabayon.org
     Description:         Official Sabayon Linux Standard kernel sources

[1] "sabayon" /var/lib/layman/sabayon

I compiled my kernel image using that, but I had to make a change to it to stop the usblp module being created even though it was blacklisted. As you can see below, the kernel config file for the stock SL kernel 3.0-r8 specifies the module:

Code: Select all
$ cat /usr/src/linux/sabayon/config/sabayon-3.0-r8-amd64.config | grep USB_PRINTER
CONFIG_USB_PRINTER=m

Even though /etc/modprobe.d/blacklist.conf blacklists the module (which is called usblp, by the way):

Code: Select all
$ cat /etc/modprobe.d/blacklist.conf | grep usblp
# hplip and cups 1.4+ use raw USB devices, so it requires usblp not be loaded
blacklist usblp

my USB-connected printers did not work (although networked printers did work). I therefore had to disable completely CONFIG_USB_PRINTER in the kernel:

Code: Select all
$ cat /usr/src/linux/.config | grep USB_PRINTER
# CONFIG_USB_PRINTER is not set

I have looked at the SL Web site's Packages page for CUPS and see that the Entropy package for CUPS is correctly built with USE="usb". But this means that the kernel must be built with CONFIG_USB_PRINTER=n (i.e. Not Set), not CONFIG_USB_PRINTER=m (i.e. Module).

That might be the cause of your problem.


EDIT: I've just had a look at the kernel config for 3.0-r10 in the SL Git repository, and 3.0-r10 also has CONFIG_USB_PRINTER=m.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7978
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: HP Deskjet F2100 does not print

Postby harmon » Tue Sep 20, 2011 20:24

Hi!
Sorry for the delay, but I had to solve some other problems with computers in our family
[ I have a working multiboot on my laptop].
After the last updates the printer again works.
Problem solved. Thanks for all suggestions, especially Fitzcarraldo.
harmon
harmon @ Linux multiboot
harmon
Growing Hen
 
Posts: 165
Joined: Sat Jun 19, 2010 16:35

Re: HP Deskjet F2100 does not print [Solved]

Postby Fitzcarraldo » Thu Sep 22, 2011 16:59

Following on from my previous post, just for information this is what is displayed by the ebuild when one merges cups-1.4.8-r22:

Code: Select all
 * You are going to use new libusb backed to access your usb printer.
 * This interface has quite few known issues and does not report all
 * issues and just refuses to print.
 * Please consider disabling usb useflag if you are having issues.
 *
 * Please note that if you disable the usb useflag your device will be
 * still working using kernel usblp interface instead of libusb.

 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/3.0.0-sabayon/build
 * Found sources for kernel version:
 *     3.0.0-sabayon
 * Your usb printers will be managed via libusb which collides with kernel module.
 * cups-1.4.8 requires the USB_PRINTER support disabled.
 * Please disable it:
 *     CONFIG_USB_PRINTER=n
 * in /usr/src/linux/.config or
 *     Device Drivers --->
 *         USB support  --->
 *             [ ] USB Printer support
 * Alternatively, just disable the usb useflag for cups (your printer will still work).
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7978
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom


Return to Hardware

Who is online

Users browsing this forum: No registered users and 2 guests

cron