From owner-freebsd-usb@freebsd.org Wed Nov 8 07:55:24 2017 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 01157E7086A for ; Wed, 8 Nov 2017 07:55:23 +0000 (UTC) (envelope-from netsick@gmail.com) Received: from mail-qt0-x231.google.com (mail-qt0-x231.google.com [IPv6:2607:f8b0:400d:c0d::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A581F6F212 for ; Wed, 8 Nov 2017 07:55:23 +0000 (UTC) (envelope-from netsick@gmail.com) Received: by mail-qt0-x231.google.com with SMTP id 31so2234714qtz.9 for ; Tue, 07 Nov 2017 23:55:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=8nXehwD+3R/OwKSbc6PH04PmUKXgR/imjuFMCI40Fg8=; b=Re7+CEIopRFvcRbDGdPhfQ+xDop1NoNgH8HswH247OWK+O0dffwxyXb0cqpKcFzlQH YQsUdaLT+pveHKY1Pmd4vKIvTjXNLZm1UzfPxCOzxBC0UKA69yw08e6Nb0FnnyfubYy/ ZH0cVWs/PJNEsrBKyFbXfd+PYvvycJn6m9YvNRWgPBsjiEEzAgQhxXiohhv5YO9mZpHV dGTWtHqO2zrfpaantk2nyW4AMLeOBbV7RDnDnEiepK5bwfQaiOT+5MhRq0lh4TgithLF a7QaSzKlx0jQT2519r9lCTNsRVbepqQT4gRcTKGTHfNvrIsCYbjA8cdFb86iBRQuUjex sStw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=8nXehwD+3R/OwKSbc6PH04PmUKXgR/imjuFMCI40Fg8=; b=PX1FIScFn5ECfB7bjaZyCQyIoQYJgC5CIArtu6Xq4yGyU57TM6c1hJy5+k1CswAuH8 f7vVgtjq2JG6ivNeWilvnXHfR8hgRpCcJI876Ujc9GPbeoDELLPu9K0z7UJuAQtfsd7J yqtx+zInazLq85yE1hB6ntzamOS5Gxo0LpQuEZyyONN353P6Jkaa3MEoEKUjEehKCt3y UbtEiWb8rxj1/XJcOPLvHjl1My8twIgJYhjPQcdqHT7pC6q5iqrbW/2nA1mNaHwoGNbl sU530iUb69NyLwZ6hGfLOAiVkiAkJLXOTqEoxi9rzH/lrUKCdC/MRZrcZnVegXc+byfP bV8w== X-Gm-Message-State: AJaThX6GsMiLQVfGYpyyxWpr3rpIMdc2I6Ja/XvdZ3J40I1ZtiqVPHfA wT1423nB/KvL0UJwOj0RPAW66VC1pUgUDvrfUWwOPA== X-Google-Smtp-Source: AGs4zMam1PLUmZPJxikKgNtEQmOX5LKH8yBn6CmTNMMUVlQwPEsmFoTJP1gKETMVQWC7LPtzj1Co1h/kgEZ0gPTK4PA= X-Received: by 10.200.41.19 with SMTP id y19mr2181711qty.300.1510127722408; Tue, 07 Nov 2017 23:55:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.237.60.84 with HTTP; Tue, 7 Nov 2017 23:55:21 -0800 (PST) From: Kris G Date: Wed, 8 Nov 2017 17:55:21 +1000 Message-ID: Subject: usb quirks for ugen0.2: at usbus0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2017 07:55:24 -0000 Hi, I am finding that I have to run below command each time I plug the USB device mentioned in subject to have ue0 interface appear. usbconfig -d 0.2 set_config 1 How do I go about doing this automatically? At the moment I just have the command above in /etc/rc.local but I prefer to fix it properly. Can someone give me some pointers? Thanks