Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 2009 00:07:41 +0100
From:      Alex Troussov <erleya@gmail.com>
To:        freebsd-usb@freebsd.org
Subject:   usb printer rejects incoming data
Message-ID:  <20091116230741.GA46228@erley.homeip.net>

next in thread | raw e-mail | index | archive | help
Hello all,

Recently I upgraded to the latest RELENG_8 and rebuilt world.
Now I'm having strange problems with my USB printer (Samsung CLP 315).
Digging into it these last days, I found that it seems to refuse
incoming data via USB port.
I'm using foo2qpdl filter and it generates a standard QPDL stream for that
printer, the problem occurs when I try to feed that data to the printer.
Here is some details about my environment:

>uname -a
FreeBSD xxxx.yyyy.net 8.0-PRERELEASE FreeBSD 8.0-PRERELEASE #26: Sun
Nov 15 15:44:11 CET 2009 root@xxxx.yyyy.net:/usr/obj/usr/src/sys/ERLEY  i386

>sudo usbconfig
ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen1.1: <UHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen2.1: <UHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen3.1: <UHCI root HUB Intel> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen4.1: <EHCI root HUB Intel> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen4.2: <802.11 bg WLAN Ralink> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen0.2: <CanoScan Canon> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen4.3: <CLP-310 Series Samsung Electronics Co., Ltd.> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen1.2: <Protection Station EATON> at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON

>sudo ls -l /dev/u* | grep 4.3
lrw-rw-rw-  1 daemon  daemon           9 16 ΞΟΡ 14:07 /dev/ugen4.3@ -> usb/4.3.0
crw-rw-rw-  1 daemon  daemon      0, 140 16 ΞΟΡ 14:07 4.3.0
crw-rw-rw-  1 daemon  daemon      0, 142 16 ΞΟΡ 14:07 4.3.1
crw-rw-rw-  1 daemon  daemon      0, 143 16 ΞΟΡ 14:07 4.3.2

>sudo cat tiger.qpdl > /dev/usb/4.3.0
cat: stdout: Input/output error

I'm sure this file tiger.qpdl contains the data needed, I created it
from /usr/local/share/ghostscript/8.64/examples/tiger.eps using gs + foo2qpdl
and tested on another PC.

Any ideas?

WBR, Alex




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091116230741.GA46228>