Can not use HP PS3310 wireless network scanner

Bug #545737 reported by Kyle Clarke
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: simple-scan

I have an HP PS3310 Multifunction printer/scanner

Printer is found easily using the provided tools, but no way to do the same with the scanner functionality. When attempting to set up scanner, all I get is my webcam.

ProblemType: Bug
Architecture: i386
CheckboxSubmission: 856f6775be5b1c14537d85fb1e6f8ad3
CheckboxSystem: c69722ecac764861be52925fa50b4dcc
Date: Wed Mar 24 18:27:18 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100217)
MachineType: Acer AOA150
Package: simple-scan 0.9.9-0ubuntu1
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-17-generic root=UUID=d60ce2f8-ac18-4dc7-b21b-4e874b1f05c7 ro quiet splash
ProcEnviron:
 LANG=en_NZ.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-17.26-generic 2.6.32.10+drm33.1
SimpleScanLog:

SourcePackage: simple-scan
Uname: Linux 2.6.32-17-generic i686
dmi.bios.date: 05/09/2008
dmi.bios.vendor: Acer
dmi.bios.version: v0.3305
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.vendor: Acer
dmi.board.version: Base Board Version
dmi.chassis.type: 1
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAcer:bvrv0.3305:bd05/09/2008:svnAcer:pnAOA150:pvr1:rvnAcer:rn:rvrBaseBoardVersion:cvnChassisManufacturer:ct1:cvrChassisVersion:
dmi.product.name: AOA150
dmi.product.version: 1
dmi.sys.vendor: Acer

Revision history for this message
Kyle Clarke (kyleclarke) wrote :
Revision history for this message
Robert Ancell (robert-ancell) wrote :

Does your scanner show when running the following command:
$ scanimage -L

Revision history for this message
Kyle Clarke (kyleclarke) wrote :

thanks for getting back to me, I figured this would be kicked around for months if not longer without any one responding.

I typed the command into the terminal and it output :

device `v4l:/dev/video0' is a Noname USB 2.0 Camera virtual device

As mentioned in my original post, it just recognises my webcam. btw. Windows 7 didnt even recognise out of the box :P

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Sorry, might get kicked around some more :(
The problem is with the driver for your scanner, reassigning to the hplip package.

affects: simple-scan (Ubuntu) → hplip (Ubuntu)
summary: - Can not use wireless network scanner
+ Can not use HP PS3310 wireless network scanner
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Please run the following commands in a terminal window and post their output here:

lsusb
ls -l /dev/bus/usb/*/*
lpstat -v
lpinfo -v
sane-find-scanner
scanimage -L
hp-check -r
hp-info -i

Changed in hplip (Ubuntu):
status: New → Incomplete
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The first two commands are not needed, start with "lpstat -v".

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

"scanimage -L" shows the scanners on network-connected HP multi-function devices for me, problem is that simple-scan tries to make the UI too simple. The latest version does not have the Preferences function in its toolbar any more. You have to choose "Document"/"Preferences" in the menu to switch from your laptop camera or TV capture card to your scanner.

Revision history for this message
William Lightning (kassah) wrote :

I was able to detect my HP Photosmart C4700 using the command 'hp-probe -bnet -escan11' and use the resulting network URI with xsane.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Probably your network printer was not set up with the "hp" CUPS backend but with "dnssd" or "socket". Scanning only works if the print queue for the device is set up with the "hp" backend ("hp:..." URI).

Revision history for this message
William Lightning (kassah) wrote :

Yep this fixed mine.
I used "hp-probe -bnet -mmdns" to scan all my printers, and correct the auto detected CUPS URI with mDNS (to allow for DHCP changing IPs).

The resulting URI was:
hp:/net/Photosmart_C4700_series?zc=HPB96AF0

Possibly a bug should be opened with whatever does CUPS network printer detection, to allow the hp URI to be used by default.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I have several HP printers in my network and for all system-config-printer selects the "hp" CUPS backend by default.

Can you post the output of

lpstat -v

Revision history for this message
kornelix (mikecorn-deactivatedaccount) wrote : Re: [Bug 545737] Re: Can not use HP PS3310 wireless network scanner

I set up the print queue the usual way using the menu Administration -> Printing, and printing works fine. If this does not work for scanning, then Ubuntu has a problem what was introduced with 10.04. 9.10 works fine with xsane using the same printer setup method.

Thanks for the info, I will see if I can get it working this way.

Till Kamppeter wrote:
> Probably your network printer was not set up with the "hp" CUPS backend
> but with "dnssd" or "socket". Scanning only works if the print queue for
> the device is set up with the "hp" backend ("hp:..." URI).
>

Revision history for this message
William Lightning (kassah) wrote :

Doing some removing and adding of the printers. It looks like New Printer wizard detects both DNS-SD and static IP, but not mDNS. The DNS-SD section seems to appear first, which may be why you get people selecting that.

After using the wizard to add both of my HP printers. I used DNS-SD on my 1320 and IP based hp driver with the C4700.

kassah@archon:~$ lpstat -v
device for hp-LaserJet-1320-series: dnssd://hp%20LaserJet%201320%20series%20(8892E5)._printer._tcp.local/
device for HP-Photosmart-C4700-series: hp:/net/Photosmart_C4700_series?ip=192.168.1.111
kassah@archon:~$

With no mDNS with hp driver provided, using the hp driver selected one will break every time the printer gets a different IP via DHCP.

Revision history for this message
William Lightning (kassah) wrote :

Screenshot of New Printer Dialog. Showing the detection of both 1320 and C4700. In this particular run, hp driver driver was not detected for C4700.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The problem you suffer with system-config-printer is that it cannot join the auto-detection results which come from the same network printer due to the avahi-utils package not being installed on your system. Please install it. the newest package of system-config-printer (-0ubuntu9) has a dependency on avahi-utils.

affects: hplip (Ubuntu) → system-config-printer (Ubuntu)
Changed in system-config-printer (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
kornelix (mikecorn-deactivatedaccount) wrote :

system-config-printer finds the HP network printer but when searching for the driver here is what happens. The search for driver dialog simply ends with no message. This is the console output.

Traceback (most recent call last):
  File "/usr/share/system-config-printer/asyncipp.py", line 192, in send_reply
    if self._reply_handler:
AttributeError: '_IPPConnectionThread' object has no attribute '_reply_handler'
~ $:

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

kornelix, this is bug #520466 which is already fixed. Please update system-config-printer to at least -0ubuntu8.

Revision history for this message
William Lightning (kassah) wrote :

Confirmed that multiple printers showing is fixed. It still pulls up a static IP for the printer even when printer is setup for DHCP. Would it be possible/easy to add mdns detection? Should I open a new bug for that?

"avahi-browse -a -r -t -k" reports the mdns hostname as well as the IP.

Revision history for this message
Kyle Clarke (kyleclarke) wrote :

Wow, Ubuntu rocks.

I've been away for a few days and havent had the opportunity to do the prescribed "fixes". I did an update this morning, and my printer broke. Did another update just now and printer's fixed, scanner works perfectly for the first time ever.

Ubuntu = Community :)

Thanks

Revision history for this message
kornelix (mikecorn-deactivatedaccount) wrote :

Status Mar. 26:
avahi-utils is installed. system-config-printer is the one installed by update-manager and is current. Printer driver is not found. simple-scan does not detect printer/scanner.

Status Mar. 27:
After running update-manager this morning, which installed a new version of system-config-printer, everything now works. The printer driver was found and simple-scan found the scanner. The first scan attempt failed, the 2nd attempt was OK. The scanner takes a half-minute (?) to warm-up, so maybe simple-scan timed-out the first time. See console output below.

The system-config-printer dialog behaves strangely: It comes up non-responsive and then comes to life in 10-20 seconds (busy scanning for network printers?). Selecting the found printer was at first non-responsive, then the selection got highlighted after clicking somewhere else on the window. Strange.

Console outputs:
~ $: system-config-printer
Using drv:///hpcups.drv/hp-officejet_6300_series.ppd (status: 0)
~ $: simple-scan
** (simple-scan:6970): WARNING **: Unable to start device: Error during device I/O

Till Kamppeter wrote:
> kornelix, this is bug #520466 which is already fixed. Please update
> system-config-printer to at least -0ubuntu8.

> The problem you suffer with system-config-printer is that it cannot join
> the auto-detection results which come from the same network printer due
> to the avahi-utils package not being installed on your system. Please
> install it. the newest package of system-config-printer (-0ubuntu9) has
> a dependency on avahi-utils.
>
> ** Package changed: hplip (Ubuntu) => system-config-printer (Ubuntu)
>
> ** Changed in: system-config-printer (Ubuntu)
> Status: Incomplete => Fix Released
>

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

William Lightning, I have now uploaded a new system-config-printer (-0ubuntu10) which uses HPLIP URIs based on DNS-SD/mDNS host names instead of IPs. Then you printer should stay accessible even if the router changes the printer's IP.

Revision history for this message
William Lightning (kassah) wrote :

I have submitted bug #551106 around the duplication since it came back with -ubuntu10.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.