From owner-freebsd-usb@FreeBSD.ORG Sun Aug 3 00:53:47 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 679E4425 for ; Sun, 3 Aug 2014 00:53:47 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4E80E248F for ; Sun, 3 Aug 2014 00:53:47 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s730rlRp058514 for ; Sun, 3 Aug 2014 00:53:47 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 192345] [u3g] [umodem] [cdce] patch for new huawei 4G/LTE modems (E3272 tested), Novatel MC990D Device ID Date: Sun, 03 Aug 2014 00:53:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: rozhuk.im@gmail.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: 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.18 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Aug 2014 00:53:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192345 rozhuk.im@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #145259|0 |1 is obsolete| | --- Comment #2 from rozhuk.im@gmail.com --- Created attachment 145278 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=145278&action=edit add cdc 46 code -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Sun Aug 3 02:25:25 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BFCA0EBE for ; Sun, 3 Aug 2014 02:25:25 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A659B2BB0 for ; Sun, 3 Aug 2014 02:25:25 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s732PPj1092516 for ; Sun, 3 Aug 2014 02:25:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 192345] [u3g] [umodem] [cdce] patch for new huawei 4G/LTE modems (E3272 tested), Novatel MC990D Device ID Date: Sun, 03 Aug 2014 02:25:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: rozhuk.im@gmail.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: 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.18 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Aug 2014 02:25:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192345 rozhuk.im@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #145278|0 |1 is obsolete| | --- Comment #3 from rozhuk.im@gmail.com --- Created attachment 145289 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=145289&action=edit UISUBCLASS_ABSTRACT_CONTROL_MODEL -> 0x02, some cosmetic -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Sun Aug 3 19:27:09 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 77E17135 for ; Sun, 3 Aug 2014 19:27:09 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5E5A52534 for ; Sun, 3 Aug 2014 19:27:09 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s73JR9rJ074740 for ; Sun, 3 Aug 2014 19:27:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 192345] [u3g] [umodem] [cdce] patch for new huawei 4G/LTE modems (E3272 tested), Novatel MC990D Device ID Date: Sun, 03 Aug 2014 19:27:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: rozhuk.im@gmail.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: 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.18 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Aug 2014 19:27:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192345 rozhuk.im@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #145289|0 |1 is obsolete| | --- Comment #4 from rozhuk.im@gmail.com --- Created attachment 145319 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=145319&action=edit typo fix in comment -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Mon Aug 4 10:28:50 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E2CBBB5C for ; Mon, 4 Aug 2014 10:28:50 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CB4DF2438 for ; Mon, 4 Aug 2014 10:28:50 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s74ASo0H049861 for ; Mon, 4 Aug 2014 10:28:50 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 192375] New: Kingston DataTraveler G2 memory stick doesn't work Date: Mon, 04 Aug 2014 10:28:50 +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: 9.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gja822@narod.ru X-Bugzilla-Status: Needs Triage 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.18 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2014 10:28:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192375 Bug ID: 192375 Summary: Kingston DataTraveler G2 memory stick doesn't work Product: Base System Version: 9.3-RELEASE Hardware: amd64 OS: Any Status: Needs Triage Severity: Affects Only Me Priority: --- Component: usb Assignee: freebsd-usb@FreeBSD.org Reporter: gja822@narod.ru I've got this when inserting this very usb memory stick. And, no /dev/da* devices created. More over, when I de-inserting stick, I've got problems, such as when I de-insert with mounted stick (PS/2 keyboard dies!, other bug report?). ugen7.2: at usbus7 umass0: on usbus7 umass0: SCSI over Bulk-Only; quirks = 0x0100 umass0:11:0:-1: Attached to scbus11 da0 at umass-sim0 bus 0 scbus11 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: Serial Number 001CC0EC330FF02026BF0D49 da0: 40.000MB/s transfers da0: 7634MB (15636304 512 byte sectors: 255H 63S/T 973C) da0: quirks=0x2 (da0:umass-sim0:0:0:0): got CAM status 0x50 (da0:umass-sim0:0:0:0): fatal error, failed to attach to device da0 at umass-sim0 bus 0 scbus11 target 0 lun 0 da0: s/n 001CC0EC330FF02026BF0D49 detached (da0:umass-sim0:0:0:0): Periph destroyed -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Mon Aug 4 10:37:18 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2A085D40 for ; Mon, 4 Aug 2014 10:37:18 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 128052548 for ; Mon, 4 Aug 2014 10:37:18 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s74AbHmL082299 for ; Mon, 4 Aug 2014 10:37:17 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 192377] New: PS/2 keyboard dies when unproperly detach USB stick Date: Mon, 04 Aug 2014 10:37:18 +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: 9.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gja822@narod.ru X-Bugzilla-Status: Needs Triage 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.18 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2014 10:37:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192377 Bug ID: 192377 Summary: PS/2 keyboard dies when unproperly detach USB stick Product: Base System Version: 9.3-RELEASE Hardware: amd64 OS: Any Status: Needs Triage Severity: Affects Only Me Priority: --- Component: usb Assignee: freebsd-usb@FreeBSD.org Reporter: gja822@narod.ru Similar to 179107 and 179109 (though didn't try fix from 179109 yet). When I detach mounted USB memory stick, keyboard dies. The same happens when I detach "bad" memory stick, that I can't mount on my FreeBSD-9.3-RELEASE. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Tue Aug 5 10:20:01 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 93923CCC for ; Tue, 5 Aug 2014 10:20:01 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7AFC62119 for ; Tue, 5 Aug 2014 10:20:01 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s75AK1Dj036380 for ; Tue, 5 Aug 2014 10:20:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 192345] [u3g] [umodem] [cdce] patch for new huawei 4G/LTE modems (E3272 tested), Novatel MC990D Device ID Date: Tue, 05 Aug 2014 10:20:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: n_hibma@FreeBSD.org X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: n_hibma@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete cc assigned_to attachments.created Message-ID: In-Reply-To: References: 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.18 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2014 10:20:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192345 Nick Hibma changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #145319|0 |1 is obsolete| | CC| |n_hibma@FreeBSD.org Assignee|freebsd-usb@FreeBSD.org |n_hibma@FreeBSD.org --- Comment #5 from Nick Hibma --- Created attachment 145389 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=145389&action=edit Same patch but reduced to including only E3272 related changes; the rest was committed. The attached patch has been reduced to the stuff which has not yet been committed. Please note that this patch can not be applied as is to the sources due to me picking out the rest of the patch and committing that. This patch I am not quite sure how it works: It looks like the u3g driver is used to do the eject and ignore the device afterwards. The change around line 857 in u3g.c I don't like. Could you attach the output of dmesg after attaching the device? And the output of usbconfig -d ugenX.Y dump_device_desc Thanks for the other changes! They have been committed (in some form). -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Tue Aug 5 23:50:37 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 67BEFE4A for ; Tue, 5 Aug 2014 23:50:37 +0000 (UTC) Received: from mx.pao1.isc.org (mx.pao1.isc.org [IPv6:2001:4f8:0:2::2b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.isc.org", Issuer "RapidSSL CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C8B92868 for ; Tue, 5 Aug 2014 23:50:37 +0000 (UTC) Received: from zmx1.isc.org (zmx1.isc.org [149.20.0.20]) by mx.pao1.isc.org (Postfix) with ESMTP id 71485349308 for ; Tue, 5 Aug 2014 23:50:29 +0000 (UTC) Received: from zmx1.isc.org (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTP id A3A25160066; Wed, 6 Aug 2014 00:00:42 +0000 (UTC) Received: from [149.20.50.37] (dhcp-37.sql1.isc.org [149.20.50.37]) by zmx1.isc.org (Postfix) with ESMTPSA id A014B160052; Wed, 6 Aug 2014 00:00:42 +0000 (UTC) From: "Peter Losher" To: freebsd-usb@freebsd.org Subject: Setting USB probe priority... Date: Tue, 05 Aug 2014 16:50:27 -0700 Message-ID: <336D77E7-2845-4F62-9627-75D442CCAB14@isc.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=_MailMate_DE7F51F3-2BF8-4CCD-A954-3A0F2819FC5C_="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Mailer: MailMate (1.8r4214) X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mx.pao1.isc.org Cc: Dan Mahoney X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2014 23:50:37 -0000 This is an OpenPGP/MIME signed message (RFC 3156 and 4880). --=_MailMate_DE7F51F3-2BF8-4CCD-A954-3A0F2819FC5C_= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable (please include my and Dan's email in any responses as we normally don't = lurk on the USB mailing list) So @work we use serial->USB TTY MUX's to handle our serial console needs,= and at some sites we have a need that is greater than a single 16 port d= evice (the max you can get). The problem is that with two of these 16 po= rt USB devices is that sometimes during a reboot that the "second" device= gets probed first and so the first 16 and second 16 /dev/ttyU* blocks sw= ap around... which of course plays havoc with any symlinks we have to the= devices in rtty or conserver. :( Is there any way to tell the USB code to always select a certain device f= irst? I assume this has been a issue with USB storage devices so this sh= ouldn't be a new issue. And I tried searching for a answer on the web to= no avail. Ideas? Thanks - Peter -- [ plosher@isc.org | Senior Operations Architect | ISC | PGP E8048D08 ] --=_MailMate_DE7F51F3-2BF8-4CCD-A954-3A0F2819FC5C_= Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQIcBAEBAgAGBQJT4W3DAAoJEDzXduktsrNOjusP/2nDqho4hFBozD3OMDKWiANY LXBbqqWytJZTuNeLLeUfb8+3tPZXUm/JTa9XYfDLZGBzhr/rIYpMedSyTLEsfHLq 9Kmq26wdJ5gxUq4YqhYN6ppDbGcnS1zWKeTAERwicw1qlZyWLpLESOrNHX8Y2aLz 3mxVh2K9ariURBSJ/gAz0Vu6fHKtBe6Sv51jyJb0VtJisnoWxcF94rtlqu0+1Kbt XTQKmm+V8axaRteAFqrUDBnCYeuDcqmI53UfYrEPw0E4w8Htl72qlGTlitSGfE4H dKghvGME/zmNwR4PU0/WEwOWY6+6SlMUWEf9Dl1sqpsREfoH4kTUY4vcpXwidYoW oMJ5w+KdcHDWj5OxgydxrzwyIz6DYvnkRCCqjlnCv4JEvw/BeyrNgo3q+WqVYxuE 7P3O6XWtb9Biabb9X/kuy+/GXqFWiKwyQPQeTzXMaibDYQey+aX3A81XYlFj4QV0 l72YDSdDp+1syoiuVRawG+YLTXm5U02k+hP2nAuREprHoLJSl2krwMB3xQ0CKHiE tJBslsG/7+++yIwxjfqGpnHqcZzr/eElI77BoGDvuLkCkiPwyj0ikBxAlNLGjtxv 1Vzoh7nE40Gmy/mjqRRnHHyFbtg6cOjHizhH2Whp/f+K1fMALdyCXqNYbfQjjKDs xnpddbMdg5dIM1XoQPaq =Loez -----END PGP SIGNATURE----- --=_MailMate_DE7F51F3-2BF8-4CCD-A954-3A0F2819FC5C_=-- From owner-freebsd-usb@FreeBSD.ORG Wed Aug 6 06:19:59 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 96042905 for ; Wed, 6 Aug 2014 06:19:59 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5AC47260B for ; Wed, 6 Aug 2014 06:19:59 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 352D91FE027; Wed, 6 Aug 2014 08:19:56 +0200 (CEST) Message-ID: <53E1C928.8040409@selasky.org> Date: Wed, 06 Aug 2014 08:20:24 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Peter Losher , freebsd-usb@freebsd.org Subject: Re: Setting USB probe priority... References: <336D77E7-2845-4F62-9627-75D442CCAB14@isc.org> In-Reply-To: <336D77E7-2845-4F62-9627-75D442CCAB14@isc.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Dan Mahoney X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2014 06:19:59 -0000 On 08/06/14 01:50, Peter Losher wrote: > (please include my and Dan's email in any responses as we normally don't lurk on the USB mailing list) > > So @work we use serial->USB TTY MUX's to handle our serial console needs, and at some sites we have a need that is greater than a single 16 port device (the max you can get). The problem is that with two of these 16 port USB devices is that sometimes during a reboot that the "second" device gets probed first and so the first 16 and second 16 /dev/ttyU* blocks swap around... which of course plays havoc with any symlinks we have to the devices in rtty or conserver. :( > > Is there any way to tell the USB code to always select a certain device first? I assume this has been a issue with USB storage devices so this shouldn't be a new issue. And I tried searching for a answer on the web to no avail. > > Ideas? Hi, USB enumerates in sequential order, but sometimes devices might not be ready to enumerate, and then a port is skipped. Does the device have a serial number? usbconfig -d X.Y dump_device_desc |grep iSerial If yes, this can be filtered by a devd rule, when the device attaches, and then you can switch the serial number to create any symbolic links. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Aug 6 06:34:07 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C12BEBC4 for ; Wed, 6 Aug 2014 06:34:07 +0000 (UTC) Received: from mx.ams1.isc.org (mx.ams1.isc.org [IPv6:2001:500:60::65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.isc.org", Issuer "RapidSSL CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5CC4D27A5 for ; Wed, 6 Aug 2014 06:34:07 +0000 (UTC) Received: from bikeshed.isc.org (bikeshed.isc.org [IPv6:2001:4f8:3:d::19]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mail.isc.org", Issuer "RapidSSL CA" (not verified)) by mx.ams1.isc.org (Postfix) with ESMTPS id 3AC451FCAAB; Wed, 6 Aug 2014 06:34:03 +0000 (UTC) Received: by bikeshed.isc.org (Postfix, from userid 10302) id 17A37216C31; Wed, 6 Aug 2014 06:34:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by bikeshed.isc.org (Postfix) with ESMTP id 16165216C25; Wed, 6 Aug 2014 06:34:02 +0000 (UTC) (envelope-from dmahoney@isc.org) Date: Wed, 6 Aug 2014 06:34:02 +0000 (UTC) From: Dan Mahoney To: Hans Petter Selasky Subject: Re: Setting USB probe priority... In-Reply-To: <53E1C928.8040409@selasky.org> Message-ID: References: <336D77E7-2845-4F62-9627-75D442CCAB14@isc.org> <53E1C928.8040409@selasky.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-ID: 0xE919EC51 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mx.ams1.isc.org Cc: freebsd-usb@freebsd.org, Peter Losher X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2014 06:34:07 -0000 On Wed, 6 Aug 2014, Hans Petter Selasky wrote: > On 08/06/14 01:50, Peter Losher wrote: > > (please include my and Dan's email in any responses as we normally don't > > lurk on the USB mailing list) > > > > So @work we use serial->USB TTY MUX's to handle our serial console needs, > > and at some sites we have a need that is greater than a single 16 port > > device (the max you can get). The problem is that with two of these 16 port > > USB devices is that sometimes during a reboot that the "second" device gets > > probed first and so the first 16 and second 16 /dev/ttyU* blocks swap > > around... which of course plays havoc with any symlinks we have to the > > devices in rtty or conserver. :( > > > > Is there any way to tell the USB code to always select a certain device > > first? I assume this has been a issue with USB storage devices so this > > shouldn't be a new issue. And I tried searching for a answer on the web to > > no avail. > > > > Ideas? > > Hi, > > USB enumerates in sequential order, but sometimes devices might not be ready > to enumerate, and then a port is skipped. > > Does the device have a serial number? > > usbconfig -d X.Y dump_device_desc |grep iSerial > > If yes, this can be filtered by a devd rule, when the device attaches, and > then you can switch the serial number to create any symbolic links. Curiously, it looks like one of our two usb-to-serial devices (both are 16-port devices), presents as 16 separate USB devices, and the other presents as clusters of four: iSerialNumber = 0x0003 iSerialNumber = 0x0003 iSerialNumber = 0x0003 iSerialNumber = 0x0003 iSerialNumber = 0x0000 iSerialNumber = 0x0003 iSerialNumber = 0x0003 iSerialNumber = 0x0000 iSerialNumber = 0x0003 iSerialNumber = 0x0003 iSerialNumber = 0x0003 iSerialNumber = 0x0003 iSerialNumber = 0x0003 iSerialNumber = 0x0003 iSerialNumber = 0x0003 iSerialNumber = 0x0000 iSerialNumber = 0x0003 iSerialNumber = 0x0003 iSerialNumber = 0x0003 iSerialNumber = 0x0003 iSerialNumber = 0x0003 iSerialNumber = 0x0003 iSerialNumber = 0x0003 However, if I understand you correctly, not-ready issues aside, what we really need to do is to ensure that our devices are simply plugged into USB ports that are probed in the correct order, and assuming they're all ready to probe, this shouldn't be a problem. What I think happened here was that one of these devices was added to an earlier-sequenced port after bootup. Of course, from the back of a server, it's totally non-obvious what the sequence is. Is there an easy way to tell where in the probe sequence a given port will be? -Dan From owner-freebsd-usb@FreeBSD.ORG Wed Aug 6 06:37:55 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 448ADC1A for ; Wed, 6 Aug 2014 06:37:55 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C94FF27BD for ; Wed, 6 Aug 2014 06:37:54 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id F36881FE027; Wed, 6 Aug 2014 08:37:52 +0200 (CEST) Message-ID: <53E1CD5D.5010601@selasky.org> Date: Wed, 06 Aug 2014 08:38:21 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Dan Mahoney Subject: Re: Setting USB probe priority... References: <336D77E7-2845-4F62-9627-75D442CCAB14@isc.org> <53E1C928.8040409@selasky.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org, Peter Losher X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2014 06:37:55 -0000 On 08/06/14 08:34, Dan Mahoney wrote: > > > On Wed, 6 Aug 2014, Hans Petter Selasky wrote: > >> On 08/06/14 01:50, Peter Losher wrote: >>> (please include my and Dan's email in any responses as we normally don't >>> lurk on the USB mailing list) >>> >>> So @work we use serial->USB TTY MUX's to handle our serial console needs, >>> and at some sites we have a need that is greater than a single 16 port >>> device (the max you can get). The problem is that with two of these 16 port >>> USB devices is that sometimes during a reboot that the "second" device gets >>> probed first and so the first 16 and second 16 /dev/ttyU* blocks swap >>> around... which of course plays havoc with any symlinks we have to the >>> devices in rtty or conserver. :( >>> >>> Is there any way to tell the USB code to always select a certain device >>> first? I assume this has been a issue with USB storage devices so this >>> shouldn't be a new issue. And I tried searching for a answer on the web to >>> no avail. >>> >>> Ideas? >> >> Hi, >> >> USB enumerates in sequential order, but sometimes devices might not be ready >> to enumerate, and then a port is skipped. >> >> Does the device have a serial number? >> >> usbconfig -d X.Y dump_device_desc |grep iSerial >> >> If yes, this can be filtered by a devd rule, when the device attaches, and >> then you can switch the serial number to create any symbolic links. > > Curiously, it looks like one of our two usb-to-serial devices (both are > 16-port devices), presents as 16 separate USB devices, and the other > presents as clusters of four: > > iSerialNumber = 0x0003 > iSerialNumber = 0x0003 > iSerialNumber = 0x0003 > iSerialNumber = 0x0003 > iSerialNumber = 0x0000 > iSerialNumber = 0x0003 > iSerialNumber = 0x0003 > iSerialNumber = 0x0000 > iSerialNumber = 0x0003 > iSerialNumber = 0x0003 > iSerialNumber = 0x0003 > iSerialNumber = 0x0003 > iSerialNumber = 0x0003 > iSerialNumber = 0x0003 > iSerialNumber = 0x0003 > iSerialNumber = 0x0000 > iSerialNumber = 0x0003 > iSerialNumber = 0x0003 > iSerialNumber = 0x0003 > iSerialNumber = 0x0003 > iSerialNumber = 0x0003 > iSerialNumber = 0x0003 > iSerialNumber = 0x0003 > > However, if I understand you correctly, not-ready issues aside, what we > really need to do is to ensure that our devices are simply plugged into > USB ports that are probed in the correct order, and assuming they're all > ready to probe, this shouldn't be a problem. > > What I think happened here was that one of these devices was added to > an earlier-sequenced port after bootup. > > Of course, from the back of a server, it's totally non-obvious what the > sequence is. Is there an easy way to tell where in the probe sequence a > given port will be? > > -Dan > Hi, Ports are probed 1,2,3,4, if they are labeled as such. When adding new equipment, you can force a re-enumeration of the root HUB, where the devices are attached, and then the order shall be the same as at reboot: usbconfig -d X.1 set_config 255 usbconfig -d X.1 set_config 0 If the devices are attached to different USB controllers there is no guarantee about the probe order. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Aug 8 15:16:27 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 83AA7ED4 for ; Fri, 8 Aug 2014 15:16:27 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6C85C2095 for ; Fri, 8 Aug 2014 15:16:27 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s78FGRpd021017 for ; Fri, 8 Aug 2014 15:16:27 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 183728] libusb20 examples filenames cause problems on windows. Date: Fri, 08 Aug 2014 15:16:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: joerg@FreeBSD.org X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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.18 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2014 15:16:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=183728 Joerg Wunsch changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jerker.back@gmail.com --- Comment #3 from Joerg Wunsch --- *** Bug 171347 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@FreeBSD.ORG Sat Aug 9 20:25:17 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6DA5A8C1 for ; Sat, 9 Aug 2014 20:25:17 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 55FB324E1 for ; Sat, 9 Aug 2014 20:25:17 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s79KPHj1032128 for ; Sat, 9 Aug 2014 20:25:17 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 133989] [usb8] [ukbd] USB keyboard dead at mountroot> prompt Date: Sat, 09 Aug 2014 20:25:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yaneurabeya@gmail.com X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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.18 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Aug 2014 20:25:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=133989 --- Comment #8 from yaneurabeya@gmail.com --- The real problem in my case (and in general probably) is that the SYSINIT/probe order for ukbd is too late. Setting the kern.cam.boot_delay tunable to 30000 (30 seconds) in loader gave ukbd enough time to probe and attach my USB keyboard before the system panicked at the mountroot prompt. -- You are receiving this mail because: You are the assignee for the bug.