Re: ULPT error: ulpt_status_callback: error=USB_ERR_STALLED
> Hi, > > Could you add "-vvv" to the usbdump command, to get the USB request aswell. > Maybe we commented out the wrong request. At the end, I restarted lpd. 19:36:42.287179 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x6a1a3 19:36:42.287357 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED frame[0] WRITE 0 bytes flags 0 <0> status 0xca1a1 19:36:42.336190 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x4a1a3 19:36:42.336353 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED frame[0] WRITE 0 bytes flags 0 <0> status 0xea1a1 19:36:42.385183 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x6a1a3 19:36:42.385343 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED frame[0] WRITE 0 bytes flags 0 <0> status 0xca1a1 19:36:42.434180 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x4a1a3 19:36:42.434367 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED frame[0] WRITE 0 bytes flags 0 <0> status 0xea1a1 19:36:42.483199 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x6a1a3 19:36:42.483363 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED frame[0] WRITE 0 bytes flags 0 <0> status 0xca1a1 19:36:42.532197 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x4a1a3 19:36:42.532356 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED frame[0] WRITE 0 bytes flags 0 <0> status 0xea1a1 19:36:42.581184 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x6a1a3 19:36:42.581343 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED frame[0] WRITE 0 bytes flags 0 <0> status 0xca1a1 19:36:42.630177 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x4a1a3 19:36:42.630373 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED frame[0] WRITE 0 bytes flags 0 <0> status 0xea1a1 19:36:42.679199 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x6a1a3 19:36:42.679366 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED frame[0] WRITE 0 bytes flags 0 <0> status 0xca1a1 19:36:42.728193 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x4a1a3 19:36:42.728356 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED frame[0] WRITE 0 bytes flags 0 <0> status 0xea1a1 19:36:42.777185 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x6a1a3 19:36:42.777382 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED frame[0] WRITE 0 bytes flags 0 <0> status 0xca1a1 19:36:42.826177 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x4a1a3 19:36:42.826373 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED frame[0] WRITE 0 bytes flags 0 <0> status 0xea1a1 19:36:42.875200 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x6a1a3 19:36:42.875363 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED frame[0] WRITE 0 bytes flags 0 <0> status 0xca1a1 19:36:42.924193 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 frame[0] WRITE 8 bytes 02 01 00 00 01 00 00 00 -- -- -- -- -- -- -- -- || flags 0 <0> status 0x4a1a3 19:36:42.924354 usbus2.3 DONE-CTRL-EP=
Re: ULPT error: ulpt_status_callback: error=USB_ERR_STALLED
On 10/28/13 18:34, Aurélien Croc wrote: Hi, Hi, Look for function "ulpt_watchdog()": […] I recompiled the kernel and test printing something. The result is the same: nothing happens and when I dump the usb messages I got exactly what I attached this morning: 18:32:13.949199 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 18:32:13.949366 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED 18:32:13.998194 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 18:32:13.998358 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED The problem is not solved at all :( Hi, Could you add "-vvv" to the usbdump command, to get the USB request aswell. Maybe we commented out the wrong request. --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"
Re: ULPT error: ulpt_status_callback: error=USB_ERR_STALLED
Hi, > Hi, > > Look for function "ulpt_watchdog()": > […] I recompiled the kernel and test printing something. The result is the same: nothing happens and when I dump the usb messages I got exactly what I attached this morning: 18:32:13.949199 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 18:32:13.949366 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED 18:32:13.998194 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=50 18:32:13.998358 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=50,ERR=STALLED The problem is not solved at all :( Aurélien ___ 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"
Re: ULPT error: ulpt_status_callback: error=USB_ERR_STALLED
On 10/28/13 10:37, Aurélien Croc de Suray wrote: You can try to edit the "sys/dev/usb/serial/ulpt.c" driver and remove the reading of the status message. Please can you be more precise? I'm not sure what to do. And do you think this will solve the reading / writing problem? I think your device might be counterfeit, given the bad spelling of the manufacturer. This string comes from the device itself. Well, very nice... I bought it in a famous computer shop.. Thank you again for your help Hi, Look for function "ulpt_watchdog()": static void ulpt_watchdog(void *arg) { struct ulpt_softc *sc = arg; mtx_assert(&sc->sc_mtx, MA_OWNED); #if 0 /* add this */ /* * Only read status while the device is not opened, due to * possible hardware or firmware bug in some printers. */ if (sc->sc_fflags == 0) usbd_transfer_start(sc->sc_xfer[ULPT_INTR_DT_RD]); #endif /* add this */ usb_callout_reset(&sc->sc_watchdog, hz, &ulpt_watchdog, sc); } --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"
Re: ULPT error: ulpt_status_callback: error=USB_ERR_STALLED
> You can try to edit the "sys/dev/usb/serial/ulpt.c" driver and remove > the reading of the status message. Please can you be more precise? I'm not sure what to do. And do you think this will solve the reading / writing problem? > I think your device might be counterfeit, given the bad spelling of the > manufacturer. This string comes from the device itself. Well, very nice... I bought it in a famous computer shop.. Thank you again for your help Aurélien ___ 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"
Re: ULPT error: ulpt_status_callback: error=USB_ERR_STALLED
On 10/28/13 10:05, Aurélien Croc de Suray wrote: >> Hi, >> >> Is this some kind of cheap clone, hence Prolofic is spelled wrong? > > It seems the company name is spelled wrong since the vendor ID corresponds to > Prolific Technology Inc.: > > # usbconfig -u 2 -a 3 dump_device_desc > ugen2.3: at usbus2, cfg=0 > md=HOST spd=FULL (12Mbps) pwr=ON (100mA) > >bLength = 0x0012 >bDescriptorType = 0x0001 >bcdUSB = 0x0100 >bDeviceClass = 0x >bDeviceSubClass = 0x >bDeviceProtocol = 0x >bMaxPacketSize0 = 0x0008 >idVendor = 0x067b >idProduct = 0x2305 >bcdDevice = 0x0200 >iManufacturer = 0x0001 >iProduct = 0x0002 >iSerialNumber = 0x >bNumConfigurations = 0x0001 > > >> Else there are two printer port devices: >> /dev/ulptX and /dev/unlptX >> Did you try both? > > It is the same with /dev/unlptx.. > > >> Can you show a USB dump while opening these devices. > > You'll find three attached files representing the dump of the usb activity when > I plug in the device, when I open and try to read on ulpt0 and unlpt0. > Hi, You can try to edit the "sys/dev/usb/serial/ulpt.c" driver and remove the reading of the status message. I think your device might be counterfeit, given the bad spelling of the manufacturer. This string comes from the device itself. The one that is supplied with FreeBSD is spelled correctly: > grep -ri prolif /usr/src/sys/dev/usb/usbdevs vendor PROLIFIC0x067bProlific Technology vendor PROLIFIC20x5372Prolific Technologies --HPS >> What host controller is this device connected through? > > The host controller is an Intel EHCI root hub: > # usbconfig -u 2 -a 1 dump_device_desc > ugen2.1: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) > pwr=SAVE (0mA) > >bLength = 0x0012 >bDescriptorType = 0x0001 >bcdUSB = 0x0200 >bDeviceClass = 0x0009 >bDeviceSubClass = 0x >bDeviceProtocol = 0x0001 >bMaxPacketSize0 = 0x0040 >idVendor = 0x >idProduct = 0x >bcdDevice = 0x0100 >iManufacturer = 0x0001 >iProduct = 0x0002 >iSerialNumber = 0x >bNumConfigurations = 0x0001 > > > Regards, > > Aurélien > ___ 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"
Re: ULPT error: ulpt_status_callback: error=USB_ERR_STALLED
> Hi, > > Is this some kind of cheap clone, hence Prolofic is spelled wrong? It seems the company name is spelled wrong since the vendor ID corresponds to Prolific Technology Inc.: # usbconfig -u 2 -a 3 dump_device_desc ugen2.3: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0100 bDeviceClass = 0x bDeviceSubClass = 0x bDeviceProtocol = 0x bMaxPacketSize0 = 0x0008 idVendor = 0x067b idProduct = 0x2305 bcdDevice = 0x0200 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x bNumConfigurations = 0x0001 > Else there are two printer port devices: > /dev/ulptX and /dev/unlptX > Did you try both? It is the same with /dev/unlptx.. > Can you show a USB dump while opening these devices. You'll find three attached files representing the dump of the usb activity when I plug in the device, when I open and try to read on ulpt0 and unlpt0. > What host controller is this device connected through? The host controller is an Intel EHCI root hub: # usbconfig -u 2 -a 1 dump_device_desc ugen2.1: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0009 bDeviceSubClass = 0x bDeviceProtocol = 0x0001 bMaxPacketSize0 = 0x0040 idVendor = 0x idProduct = 0x bcdDevice = 0x0100 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x bNumConfigurations = 0x0001 Regards, Aurélien08:57:29.089671 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=0 08:57:29.089954 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=0 08:57:29.090035 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=0 08:57:29.090234 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=0 08:57:29.103310 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:29.103475 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0,ERR=0 08:57:29.103593 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:29.103831 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=20,IVAL=0,ERR=0 08:57:29.103916 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:29.104076 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=4,IVAL=0,ERR=0 08:57:29.104156 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:29.104352 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=4,IVAL=0,ERR=0 08:57:29.104436 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:29.104594 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=4,IVAL=0,ERR=0 08:57:29.104672 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:29.105076 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=52,IVAL=0,ERR=0 08:57:29.105160 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:29.105359 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=4,IVAL=0,ERR=0 08:57:29.105442 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:29.105801 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=44,IVAL=0,ERR=0 08:57:29.105922 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:29.106201 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=12,IVAL=0,ERR=0 08:57:29.106283 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:29.106719 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=80,IVAL=0,ERR=0 08:57:29.106800 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=0 08:57:29.106924 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=0 08:57:29.150177 usbus2.3 SUBM-CTRL-EP=,SPD=FULL,NFR=1,SLEN=8,IVAL=0 08:57:29.150459 usbus2.3 DONE-CTRL-EP=,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=0 08:57:29.152056 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:29.152303 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=STALLED 08:57:30.151413 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:30.151606 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=STALLED 08:57:31.151400 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:31.151625 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=STALLED 08:57:32.151406 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:32.151565 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=STALLED 08:57:33.151436 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:33.151635 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=STALLED 08:57:34.151534 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:34.151822 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=STALLED 08:57:35.151440 usbus2.3 SUBM-CTRL-EP=0080,SPD=FULL,NFR=2,SLEN=8,IVAL=0 08:57:35.151722 usbus2.3 DONE-CTRL-EP=0080,SPD=FULL,NFR=1,SLEN=0,IVAL=0,ERR=STALLED 08:57:36.151463 usbus2.3 SUBM-CTRL-EP=00
Re: ULPT error: ulpt_status_callback: error=USB_ERR_STALLED
On 10/27/13 22:28, Aurélien Croc wrote: Hello, In order to use my printer I just bought an USB to parallel connector. Whereas it works perfectly under Linux I am not able to print under FreeBSD. When I plug the USB connecter to my computer and set the ulpt debug level to 15, I can read: ugen2.4: at usbus2 ulpt_probe: ulpt_probe: ulpt_attach: sc=0xfe0007f4fe00 ulpt0: on usbus2 ulpt_attach: setting alternate config number: 1 ulpt0: using bi-directional mode ulpt_status_callback: error=USB_ERR_STALLED Hi, Is this some kind of cheap clone, hence Prolofic is spelled wrong? You can try using "usbdump -i usbusX -f Y -s 65536" to figure out all the USB activity. Else there are two printer port devices: /dev/ulptX and /dev/unlptX Did you try both? Can you show a USB dump while opening these devices. What host controller is this device connected through? --HPS The last message repeats indefinitely while the connecter is plugged in. When I try to read or write the /dev/ulpt0 it hangs.. About the usb to parallel cable it is an USB1 device: ugen2.4: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) My FreeBSD version is 9.2: FreeBSD paris 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 r...@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 I found that in 2009 someone got the same problem and a patch was proposed but its URL is no more available: http://lists.freebsd.org/pipermail/freebsd-usb/2009-March/006531.html Please can you help me? Thank you in advance. Regards, Aurélien ___ 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" ___ 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"
ULPT error: ulpt_status_callback: error=USB_ERR_STALLED
Hello, In order to use my printer I just bought an USB to parallel connector. Whereas it works perfectly under Linux I am not able to print under FreeBSD. When I plug the USB connecter to my computer and set the ulpt debug level to 15, I can read: ugen2.4: at usbus2 ulpt_probe: ulpt_probe: ulpt_attach: sc=0xfe0007f4fe00 ulpt0: on usbus2 ulpt_attach: setting alternate config number: 1 ulpt0: using bi-directional mode ulpt_status_callback: error=USB_ERR_STALLED The last message repeats indefinitely while the connecter is plugged in. When I try to read or write the /dev/ulpt0 it hangs.. About the usb to parallel cable it is an USB1 device: ugen2.4: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) My FreeBSD version is 9.2: FreeBSD paris 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 r...@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 I found that in 2009 someone got the same problem and a patch was proposed but its URL is no more available: http://lists.freebsd.org/pipermail/freebsd-usb/2009-March/006531.html Please can you help me? Thank you in advance. Regards, Aurélien ___ 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"