From owner-freebsd-usb@freebsd.org Wed Sep 23 18:15:56 2015 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2878CA079CD for ; Wed, 23 Sep 2015 18:15:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F03E41BD9 for ; Wed, 23 Sep 2015 18:15:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t8NIFtKt048893 for ; Wed, 23 Sep 2015 18:15:55 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 203289] BeagleBone Black invalid USB target descriptors Date: Wed, 23 Sep 2015 18:15:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2015 18:15:56 -0000 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: emaste@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: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (50mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0002 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x0001 idProduct = 0x0001 bcdDevice = 0x0100 iManufacturer = 0x0007 iProduct = 0x0008 iSerialNumber = 0x0009 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.