From owner-freebsd-usb@FreeBSD.ORG Sun Jun 1 17:44:14 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9E133596 for ; Sun, 1 Jun 2014 17:44:14 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6052D20C5 for ; Sun, 1 Jun 2014 17:44:13 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id D48351FE026; Sun, 1 Jun 2014 19:44:11 +0200 (CEST) Message-ID: <538B6693.5010108@selasky.org> Date: Sun, 01 Jun 2014 19:44:51 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Matthias Apitz , freebsd-usb@freebsd.org Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL References: <20140601130025.GA2255@La-Habana> In-Reply-To: <20140601130025.GA2255@La-Habana> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jun 2014 17:44:14 -0000 On 06/01/14 15:00, Matthias Apitz wrote: > El día Monday, May 19, 2014 a las 08:45:01PM +0200, Datasmurf escribió: > >> Hello, >> >> i bought a few years ago, a parallel to usb cable from LogiLink [1]. >> It used to work fine with freebsd. >> >> [1] http://www.logilink.eu/showproduct/AU0003C.htm > > Hello, > > I bought this device now and it attaches as: > > Jun 1 11:02:12 La-Habana kernel: ugen1.2: at usbus1 > Jun 1 11:02:12 La-Habana kernel: ulpt0: on usbus1 > Jun 1 11:02:12 La-Habana kernel: ulpt0: using bi-directional mode > > # usbconfig -u 1 -a 2 dump_device_desc > ugen1.2: at usbus1, cfg=0 > md=HOST spd=FULL (12Mbps) pwr=ON (100mA) > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0100 > bDeviceClass = 0x0000 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0008 > idVendor = 0x067b > idProduct = 0x2305 > bcdDevice = 0x0200 > iManufacturer = 0x0001 > iProduct = 0x0002 > iSerialNumber = 0x0000 > bNumConfigurations = 0x0001 > > # uname -a > FreeBSD La-Habana 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r250588M: Sat Jun > 22 14:15:48 CEST 2013... > > > but I can not send data to the device: > > # cat Pango/my1st.ps > /dev/ulpt0 > cat: stdout: Input/output error > # cat Pango/my1st.ps > /dev/unlpt0 > cat: stdout: Input/output error > > Any ideas? > > matthias > What does: usbdump -i usbusX -f Y -s 65536 -vvv Outpu when you run the cat? --HPS