From owner-freebsd-stable@freebsd.org Sun Jul 26 00:45:54 2015 Return-Path: Delivered-To: freebsd-stable@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 78B6D9A5819 for ; Sun, 26 Jul 2015 00:45:54 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ie0-x22e.google.com (mail-ie0-x22e.google.com [IPv6:2607:f8b0:4001:c03::22e]) (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 4D2DFD98; Sun, 26 Jul 2015 00:45:54 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by iecri3 with SMTP id ri3so42342742iec.2; Sat, 25 Jul 2015 17:45:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Dg44YlU9Q5sgHzxfh4VNY2UHb+E+hMgM7lKAKFB43so=; b=PKbxz6Zi0HPbml2fpdYAguUzAdtvat3Njxd7Sr0IoO0LZDi0vGaRRs27Hz+CvlyndI lciSSqQqPFv8Dx2CwguJPpp/6WfX45V3axGHwC70nHNPeTlLHpQwaipBRhTRobUiJLZT SRrSO7wtOBDU81TAP7JGC3FlglGOhnjOdx6UF3iz6ZhuXybaB4hJf6Yo6quFq4t3/3h1 WN9d3G8eoNxbVr7qcdiSOMUUTv1c23YX9SQG2nW/OH04m7gu0wxG/JMbCv7MveteHre5 E0VFaQLpFLmdpu3vz1Ss39wdiiI4KH1UCqMYyOH+kugXavZ6Wx50FoGtdQBgobf1qDd8 wQ+Q== MIME-Version: 1.0 X-Received: by 10.50.60.100 with SMTP id g4mr6651961igr.41.1437871553595; Sat, 25 Jul 2015 17:45:53 -0700 (PDT) Received: by 10.36.38.133 with HTTP; Sat, 25 Jul 2015 17:45:53 -0700 (PDT) In-Reply-To: References: <86oak289hv.fsf@gly.ftfl.ca> <86oaj9dnbo.fsf@gly.ftfl.ca> <12509399.h3RdpFfE1l@ralph.baldwin.cx> Date: Sat, 25 Jul 2015 17:45:53 -0700 Message-ID: Subject: Re: suspend/resume regression From: Adrian Chadd To: Kevin Oberman Cc: John Baldwin , Joseph Mingrone , "Brandon J. Wandersee" , FreeBSD-STABLE Mailing List Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2015 00:45:54 -0000 Hi, Yes, the USB device suspend/resume thing is a more generic suspend/resume problem. Warner has some ideas - eg, registering a "is this a new device?" method; the device driver will check if the device has changed upon resume and optionally go through a detach/reattach process. So for USB it could be something about the serial or FS label; for wifi drivers it could be the MAC / serial number of the NIC, etc. -adrian