From owner-freebsd-usb@FreeBSD.ORG Tue Jul 14 15:14:47 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9619A1065678 for ; Tue, 14 Jul 2009 15:14:47 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.swip.net [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id 72EE58FC08 for ; Tue, 14 Jul 2009 15:14:46 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=O9hCZltEcc0A:10 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=B46BS8Jd-tCkHLlpZBcA:9 a=5CDx2Oiu9rTbawa1bd0A:7 a=sCBuESXvBVQcCS4Muq2ZZolDDSIA:4 a=kk3sFB-h1WzXJMtw0fQA:9 a=V7XfvOvNcn7e3xJEMJ6scxr6avYA:4 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1106277072; Tue, 14 Jul 2009 17:14:44 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 14 Jul 2009 17:14:25 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA1; KDE/4.2.4; i386; ; ) References: <20090714.233517.193688805.sanpei@sanpei.org> In-Reply-To: <20090714.233517.193688805.sanpei@sanpei.org> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_TDKXKETzHrNbWwN" Message-Id: <200907141714.27199.hselasky@c2i.net> X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: MIHIRA Sanpei Yoshiro Subject: Re: ulpt(EPSON PM-820C Inkjet Printer) does not work on 8-current X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jul 2009 15:14:48 -0000 --Boundary-00=_TDKXKETzHrNbWwN Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Tuesday 14 July 2009 16:35:17 MIHIRA Sanpei Yoshiro wrote: > hi. > > I upgrade my home server to 8.0-BETA1(8-current). > > But ulpt does not work fine with EPSON PM-820C Ink jet Printer. > > <> > usbus2: on ohci1 > > usbus2: 12Mbps Full Speed USB v1.0 > > ulpt0: on usbus2 > ulpt0: using bi-directional mode > > [Problem 1] /etc/devd.conf does not work. > > I use EPSON PM-820C with Windows 2000 Professional via samba. > > And this printer was needed to send magic packet(which was written > in devd, printf), when I use via USB port. And I restart all print > jobs (``lpc restart all''). > > But after I upgrade to 8-current, that was not executed correctly, > I think. > > <> > lp|local line printer:\ > > :sh:mx#0:\ > :lp=/dev/ulpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: > > <> > attach 100 { > device-name "ulpt[0-9]+"; > match "vendor" "0x04b8"; > match "product" "0x0005"; > match "release" "0x0100"; > action "sleep 5;printf '000\033\001@EJL 1284.4\n@EJL \n' | tr > 0 '\0' > /dev/$device-name"; action "lpc restart all"; > }; > detach 100 { > device-name "ulpt[0-9]+"; > action "lprm -"; > }; > > [Problem 2] print job was stop at printing > > I send magic packet and restart print job manually. > Print Job which send from Windows 2000 Pro was hung up when > 1/3 range of paper size was printed. > No message was output to dmesg. > How can I debug this problem? > Hi, Replace the USB files in your system with the ones in the attached tarball. Then build a new kernel and report again. FreeBSD 8-current only. tar -jxvf usb_files.tar.bz2 -C /sys/dev/usb --HPS --Boundary-00=_TDKXKETzHrNbWwN--