https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203289

            Bug ID: 203289
           Summary: BeagleBone Black invalid USB target descriptors
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: usb
          Assignee: freebsd-usb@FreeBSD.org
          Reporter: ema...@freebsd.org

BeagleBone Black image has a number of issues with the USB target, found while
using http://www.usblyzer.com/ to get the BBB serial console working with
Windows.

# usbconfig -d ugen1.5 dump_device_desc
ugen1.5: <SERIALNET The FreeBSD Project> at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON (50mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x0002  <Communication device>
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0000 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x0001 
  idProduct = 0x0001 
  bcdDevice = 0x0100 
  iManufacturer = 0x0007  <The FreeBSD Project>
  iProduct = 0x0008  <SERIALNET>
  iSerialNumber = 0x0009  <January 2015>
  bNumConfigurations = 0x0001 

The image presents a composite device and it seems that this typically requires
either bDeviceClass to be zero, or bDeviceClass, bDeviceSubClass and
bDeviceProtocol are 0xEF, 0x02, and 0x01 respectively.

usblyzer also reports (for the Device Qualifier Descriptor):
bMaxPacketSize0 00h Should be 64 bytes for high-speed devices
bNumConfigurations 00h Should be greater than zero

Note that Device Descriptor bMaxPacketSize is 64 and bNumConfigurations is 1

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to