Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Jun 2014 19:44:51 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Matthias Apitz <guru@unixarea.de>, freebsd-usb@freebsd.org
Subject:   Re: Fwd: USB to parallel for printer HP LaserJet 4mL
Message-ID:  <538B6693.5010108@selasky.org>
In-Reply-To: <20140601130025.GA2255@La-Habana>
References:  <20140601130025.GA2255@La-Habana>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Prlific Technology Inc.> at usbus1
> Jun  1 11:02:12 La-Habana kernel: ulpt0: <Prlific Technology Inc.  IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> 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: <IEEE-1284 Controller Prlific Technology Inc.> 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  <Prlific Technology Inc.>
>    iProduct = 0x0002  <IEEE-1284 Controller>
>    iSerialNumber = 0x0000  <no string>
>    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



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