El día Monday, June 02, 2014 a las 05:38:43PM +0200, Hans Petter Selasky 
escribió:

> >> Try compiling the ulpt module with USB_DEBUG set:
> >>
> >> ee /sys/modules/usb/ulpt/Makefile
> >>
> >> ADD:
> >>
> >> CFLAGS+= -DUSB_DEBUG
> >>
> >> Rebuild and install the module.
> >>
> >> Set hw.usb.ulpt.debug=15
> >
> > Here it goes:
> >
> > # sysctl hw.usb.ulpt.debug=15
> > hw.usb.ulpt.debug: 0 -> 15
> >
> > (now attaching the USB cable)
> >
> > # tail -f /var/log/messages
> > Jun  2 16:57:59 La-Habana kernel: ugen1.2: <Prlific Technology Inc.> at 
> > usbus1
> > Jun  2 16:57:59 La-Habana kernel: ulpt_probe:
> > Jun  2 16:57:59 La-Habana kernel: ulpt_probe:
> > Jun  2 16:57:59 La-Habana kernel: ulpt_attach: sc=0xc5833700
> > Jun  2 16:57:59 La-Habana kernel: ulpt0: <Prlific Technology Inc.  
> > IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
> > Jun  2 16:57:59 La-Habana kernel: ulpt_attach: setting alternate config 
> > number: 1
> > Jun  2 16:57:59 La-Habana kernel: ulpt0: using bi-directional mode
> > Jun  2 16:58:00 La-Habana kernel: ulpt_status_callback: 
> > error=USB_ERR_TIMEOUT
> > Jun  2 16:58:29 La-Habana last message repeated 22 times
> >
> > (now doing in anaother session 'date > /dev/unlpt0')
> >
> > Jun  2 16:58:30 La-Habana su: guru to root on /dev/pts/1
> > Jun  2 16:58:30 La-Habana kernel: ulpt_status_callback: 
> > error=USB_ERR_TIMEOUT
> > Jun  2 16:58:41 La-Habana last message repeated 7 times
> > Jun  2 16:58:42 La-Habana kernel: ulpt_write_callback: state=0x0 actlen=0
> > Jun  2 16:58:42 La-Habana kernel: ulpt_status_callback: 
> > error=USB_ERR_TIMEOUT
> Hi,
> 
> TIMEOUT means the device is not receiving any data. Can you confirm that 
> the device is still working using other computers?

Hi,

I've pluged'in the USB-2-parallel cable into a Win7 laptop and Win
recogniced the model of the printer at the other end of the cable fine
as HP LasetJet 4ML and prints ofc fine too. I'm surprised, btw, that the
toner after so many years in the cellary is still fine :-)

And now?

> 
> Did you dump the complete device and configuration descriptor?

What could I provide as information or debug log?

Thanks

        matthias
-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: g...@unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-170-4527211       |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign
_______________________________________________
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