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
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to