Re: ulpt problem (USB_ERR_IOERROR)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Hans Petter Selasky <hselasky@...>
Cc: <freebsd-current@...>
Date: Friday, July 3, 2009 - 12:52 pm

Le Fri, 3 Jul 2009 17:56:54 +0200,
Hans Petter Selasky a écrit :

> Have you tried:

No, it returns
# usbconfig -u 0 -a 2 reset
usbconfig: could not reset device: Input/output error

Then ulpt detaches
ulpt0: at uhub0, port 1, addr 2 (disconnected)
ulpt_detach:653: sc=0xc317f000

> To me it looks like a problem about your printer USB firmware. Does

Yes, after the first job:

# usbconfig -u 0 -a 2 dump_curr_config_desc ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON

Configuration index 0

bLength = 0x0009
bDescriptorType = 0x0002
wTotalLength = 0x0020
bNumInterfaces = 0x0001
bConfigurationValue = 0x0001
iConfiguration = 0x0000
bmAttributes = 0x00c0
bMaxPower = 0x0001

Interface 0
bLength = 0x0009
bDescriptorType = 0x0004
bInterfaceNumber = 0x0000
bAlternateSetting = 0x0000
bNumEndpoints = 0x0002
bInterfaceClass = 0x0007
bInterfaceSubClass = 0x0001
bInterfaceProtocol = 0x0002
iInterface = 0x0000

Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0001
bmAttributes = 0x0002
wMaxPacketSize = 0x0040
bInterval = 0x0000
bRefresh = 0x0000
bSynchAddress = 0x0000

Endpoint 1
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0082
bmAttributes = 0x0002
wMaxPacketSize = 0x0040
bInterval = 0x0000
bRefresh = 0x0000
bSynchAddress = 0x0000

It looks like there are some problems even with the first job (I missed
this point before).

ulpt0: using bi-directional
ulpt_write_callback:220: state=0x0 actlen=0
ulpt_write_callback:220: state=0x1 actlen=2889
ulpt_write_callback:220: state=0x1 actlen=3023
...
ulpt_status_callback:352: error=USB_ERR_STALLED
ulpt_write_callback:220: state=0x1 actlen=16384
ulpt_write_callback:220: state=0x1 actlen=16384
...
ulpt_status_callback:352: error=USB_ERR_IOERROR
ulpt_write_callback:220: state=0x1 actlen=16384
ulpt_write_callback:220: state=0x1 actlen=16384
...
ulpt_status_callback:352: error=USB_ERR_IOERROR
ulpt_write_callback:220: state=0x1 actlen=16384
ulpt_write_callback:220: state=0x1 actlen=15970
ulpt_status_callback:352: error=USB_ERR_IOERROR
ulpt_status_callback:352: error=USB_ERR_IOERROR
ulpt_status_callback:352: error=USB_ERR_IOERROR
... (ad eternam)

If it can help, I can compare with FreeBSD 7.2.

Thank you.
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ulpt problem (USB_ERR_IOERROR), Patrick Lamaiziere, (Fri Jul 3, 11:26 am)
Re: ulpt problem (USB_ERR_IOERROR), Hans Petter Selasky, (Sat Jul 4, 3:45 am)
Re: ulpt problem (USB_ERR_IOERROR), Patrick Lamaiziere, (Sat Jul 4, 10:43 am)
Re: ulpt problem (USB_ERR_IOERROR), Hans Petter Selasky, (Sun Jul 5, 4:39 am)
Re: ulpt problem (USB_ERR_IOERROR), Patrick Lamaiziere, (Mon Jul 6, 10:11 am)
Re: ulpt problem (USB_ERR_IOERROR), Hans Petter Selasky, (Mon Jul 6, 11:50 am)
Re: ulpt problem (USB_ERR_IOERROR), Hans Petter Selasky, (Tue Jul 7, 2:39 pm)
Re: ulpt problem (USB_ERR_IOERROR), Patrick Lamaiziere, (Sat Jul 11, 5:26 pm)
Re: ulpt problem (USB_ERR_IOERROR), Hans Petter Selasky, (Sun Jul 12, 3:52 am)
Re: ulpt problem (USB_ERR_IOERROR), Patrick Lamaiziere, (Sun Jul 12, 9:41 pm)
Re: ulpt problem (USB_ERR_IOERROR), Hans Petter Selasky, (Mon Jul 13, 2:46 am)
Re: ulpt problem (USB_ERR_IOERROR), Patrick Lamaiziere, (Thu Jul 16, 3:55 pm)
Re: ulpt problem (USB_ERR_IOERROR), Hans Petter Selasky, (Thu Jul 16, 4:22 pm)
Re: ulpt problem (USB_ERR_IOERROR), Patrick Lamaiziere, (Thu Jul 16, 6:50 pm)
Re: ulpt problem (USB_ERR_IOERROR), Hans Petter Selasky, (Fri Jul 17, 2:54 am)
Re: ulpt problem (USB_ERR_IOERROR), Patrick Lamaiziere, (Mon Jul 6, 2:39 pm)
Re: ulpt problem (USB_ERR_IOERROR), Hans Petter Selasky, (Sun Jul 5, 3:29 am)
Re: ulpt problem (USB_ERR_IOERROR), Hans Petter Selasky, (Fri Jul 3, 11:58 am)
Re: ulpt problem (USB_ERR_IOERROR), Patrick Lamaiziere, (Fri Jul 3, 1:34 pm)
Re: ulpt problem (USB_ERR_IOERROR), Sam Leffler, (Fri Jul 3, 2:25 pm)
Re: ulpt problem (USB_ERR_IOERROR), Patrick Lamaiziere, (Sat Jul 4, 3:14 am)
Re: ulpt problem (USB_ERR_IOERROR), Hans Petter Selasky, (Fri Jul 3, 11:56 am)
Re: ulpt problem (USB_ERR_IOERROR), Patrick Lamaiziere, (Fri Jul 3, 12:52 pm)
Re: ulpt problem (USB_ERR_IOERROR), Hans Petter Selasky, (Fri Jul 3, 1:29 pm)
Re: ulpt problem (USB_ERR_IOERROR), Patrick Lamaiziere, (Sat Jul 4, 3:07 am)