[8.0] hplip3/ugen printer problem

Hans Petter Selasky hselasky at c2i.net
Sun Oct 18 17:46:59 UTC 2009


On Sunday 18 October 2009 15:39:10 Patrick Lamaiziere wrote:
> [FreeBSD 8.0/i386]
>
> Hello,
>
> I've got some troubles to print on an "all-in-one" printer HP
> Photosmart C4680 which should work with the port printer/hplip3. The
> printer prints half of a page, then ejects the page and prints the
> rest or, depending of the resolution, repeats some parts.
>
> It looks like there is a problem between hplip (hp is the cups backend)
> and ugen but I don't know why.
> I think the device disappears while printing, I see some
> "Unknown USB device: vendor 0x03f0 product 0x7411 bus uhub2" on the
> console.
>
> complete log : http://user.lamaiziere.net/patrick/hplip.txt.gz
>
> ugen_default_fs_callback:2192: st=1 alen=8192 aframes=1
> ugen_ioctl:1406: cmd=0x400155c2
> ugen_ioctl:1584: error=0
> ugen_ioctl:1406: cmd=0x400155c2
> ugen_ioctl:1584: error=16
> ugen_ioctl:1406: cmd=0x800155c0
> ugen_ioctl:ugen1_58d4e:fa uelrtr_ofrs=_ca0llback:2192: st=0 alen=8192
> aframes=1 ugen_ioctl:1406: cmd=0x400155c2
>
> ugen_ioctl:1584: error=16
> io/hpmud/musb.c 1028: bulk_write failed buf=0xbfbfc93c size=8192 len=-60:
> Permission denied ugen_default_fs_callback:2192: st=2 alen=0 aframes=0
> ugen_ioctl:1406: cmd=0x400155c2
> ugen_ioctl:1584: error=0
> ugen_ioctl:1406: cmd=0x400155c2
> ugen_ioctl:1584: error=16
> ugen_ioctl:1406: cmd=0xc014556f
>
> ...
> ugen_ioctl:1584: error=16
> io/hpmud/musb.c 1392: unable to write data
> hp:/usb/Photosmart_C4600_series?serial=CN987MF30J05BQ: 45 second io timeout
> ugen_default_fs_callback:2192: st=1 alen=8192 aframes=1
> ugen_ioctl:1406: cmd=0x400155c2
> ugen_ioctl:1584: error=0
> ugen_ioctl:1406: cmd=0x400155c2
> ugen_ioctl:1584: error=16
> ugen_ioctl:1406: cmd=0x800155c0
> ugen_ioctl:uge1n5_8d4e:fa uelrtr_fosr_=cal0lback:2192: st=0 alen=8192
> aframes=1 ugen_ioctl:1406: cmd=0x400155c2
>
>
> The scanner works very well, there is also a card reader attached at
> umass/da0 but I removed umass from my kernel to be sure there is no
> conflict.
>
> Any help will be appreciated, thanks.

Hi,

Which backend is your printer driver using?

1) libusb v0.1, v1.0 or v2.0 ?

2) /dev/usb/XXXX directly.

Could you check that first?

I recommend USB access using libusb.

--HPS


More information about the freebsd-usb mailing list