Bug 104704

Summary: Add Xerox WorkCentre M15 to the list of unidirectional USB printers
Product: Base System Reporter: Eygene Ryabinkin <rea-fbsd>
Component: usbAssignee: Florent Thoumie <flz>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 6.2-PRERELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Eygene Ryabinkin 2006-10-23 09:30:16 UTC
USB printer Xerox WorkCentre M15 reports the bidirectional functionality
to the USB subsystem, but all read requests are failing.

Fix: Force unidirectional mode via usb_quirks.c. The patch is attached.
The device and vendor IDs are numerical, because there is no Xerox
manufacturer ID in the official list of USB vendors.
How-To-Repeat: Compile kernel with the ulpt support, plug in the Xerox WorkCentre M15
printer and try to read something from the device via 'cat < /dev/ulpt0'.
It will hang and when ^C will be pressed it will tell that I/O error
occured.

Xerox support was unable to comment if their printer supports native
USB bidirectionality or the bidirectional interface is supported through
IEEE 1284.4 layer. Or the device just wrongly specifies its
bidirectionality.
Comment 1 dfilter service freebsd_committer freebsd_triage 2006-11-11 23:53:44 UTC
flz         2006-11-11 23:53:25 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/usb          usb_quirks.c usbdevs 
  Log:
  Fix USB printer Xerox WorkCentre M15 adding a quirk to bypass
  reported bidirectional functionality.
  
  PR:             usb/104704
  Submitted by:   Eygene <rea-fbsd@codelabs.ru>
  X-MFC after:    6.2-RELEASE
  
  Revision  Changes    Path
  1.55      +1 -0      src/sys/dev/usb/usb_quirks.c
  1.277     +4 -0      src/sys/dev/usb/usbdevs
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 2 Florent Thoumie freebsd_committer freebsd_triage 2006-11-11 23:54:34 UTC
State Changed
From-To: open->patched

Committed to HEAD. MFC after 6.2R. 


Comment 3 Florent Thoumie freebsd_committer freebsd_triage 2006-11-11 23:54:34 UTC
Responsible Changed
From-To: freebsd-usb->flz

Grab.
Comment 4 Florent Thoumie freebsd_committer freebsd_triage 2007-01-22 17:57:33 UTC
State Changed
From-To: patched->closed

MFC'ed to RELENG_6. Thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2007-01-22 17:57:47 UTC
flz         2007-01-22 17:57:30 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/dev/usb          usb_quirks.c usbdevs 
  Log:
  MFC:
  
    Fix USB printer Xerox WorkCentre M15 adding a quirk to bypass
    reported bidirectional functionality.
  
        src/sys/dev/usb/usbdevs: rev 1.276 -> 1.277
        src/sys/dev/usb/usb_quirks.c: rev 1.54 -> 1.55
  
  PR:             usb/104704
  Submitted by:   Eygene <rea-fbsd@codelabs.ru>
  
  Revision    Changes    Path
  1.41.2.7    +1 -0      src/sys/dev/usb/usb_quirks.c
  1.232.2.20  +4 -0      src/sys/dev/usb/usbdevs
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"