Received: by 10.213.65.68 with SMTP id h4csp623309imn; Fri, 6 Apr 2018 06:20:14 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+x1ykZBvDBXod6WHtN9MmKX0I0bNR8ugSD1o5gW8YWmz7Zq9+AioMu8x0q3KG9QBaztUP+ X-Received: by 2002:a17:902:10c:: with SMTP id 12-v6mr26711380plb.405.1523020814200; Fri, 06 Apr 2018 06:20:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523020814; cv=none; d=google.com; s=arc-20160816; b=fMDqJzB1QcFphgn5Si5cX3yIueUzplY6gEoyZrri9N55XT82LhFQ/RRLGokIU5/38G BcKN3JYMxFusPQsYSJgoripOSKXPNP0atzr3iTdtaXAr2itL8wxFn1yWG4H0DMxxLGp0 HA9JeaHsuq1UYT2L0xOra6Fk/LJK4k3nyKysCwzw1iztABexrir2hPKz7EuMWl4tHFvB lnLuCyIoEhkgYAc6TcLztSRiMIGKd8iHH9+MzIF5/koLVgL86wZtisfKex5lXJY6YTi1 eIy/hd+OFr6ihY1mOG7L48XC1IPa3NfneVD6ygKxb0K/oVjAZclg72COQ272H9KKZbFC AGcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=2bCBoVQJfi8CAYFtb/Xv+PNDpxnBokVUJLarCJoPkJU=; b=Aued/9cG90E2LWRap34vDUKlAT+5XZL+Y3RgS0JH56Duxa9rwCBsQiQMlJmMXNATo4 xSHj+i8HiWT/x57Ol7DAJWO1Esos2y0AKwvavFfHbxBSLkeeb27oCzX61XSmCKowg8BS sp8Cvrbhj3olkmMuvczkdfEVEUy8v4/TXWTTexfa1xTcW8e64RFcqzU//qmkiAaaHXvo VLacXvyWjkmiW1aaENSKcrAtvhCGTkAXj2mMcyQuzZRWT6koNo3uG6Rj00pmS0nzRk+T Dle4C7C3gekSP3WL2DtayN+kuvYzAcHlSO7fADPAJ9sWlWMuwRxV3vDI0DfigmRxDb4X VwUw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y2-v6si8401633pli.242.2018.04.06.06.20.00; Fri, 06 Apr 2018 06:20:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753203AbeDFNSW (ORCPT + 99 others); Fri, 6 Apr 2018 09:18:22 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:51352 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753180AbeDFNSV (ORCPT ); Fri, 6 Apr 2018 09:18:21 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id C84B7D54; Fri, 6 Apr 2018 13:18:20 +0000 (UTC) Date: Fri, 6 Apr 2018 15:18:20 +0200 From: Greg Kroah-Hartman To: Paul Menzel Cc: Michael Tokarev , linux-input@vger.kernel.org, Linux Kernel Mailing List , Ben Caradoc-Davies Subject: Re: Commit *driver core: emit uevents when device is bound to a driver* causes regression Message-ID: <20180406131820.GA4555@kroah.com> References: <8d22cfe6-90b6-eb86-d82e-0e037bfbed4e@molgen.mpg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8d22cfe6-90b6-eb86-d82e-0e037bfbed4e@molgen.mpg.de> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 06, 2018 at 02:20:40PM +0200, Paul Menzel wrote: > Dear Linux folks, > > > Commit 1455cf8 (driver core: emit uevents when device is bound to a > driver) [1], introduced in Linux 4.14-rc1, causes a regression in user > space. > > After disconnecting USB devices, they are still shown as plugged in [2][3]. > > > I seem to be having a similar issue, but with an iPhone X using USB > > to provide internet access. Even after the phone is disconnected, it > > still shows up as "loaded active plugged". The only way to fix this > > is to reboot or use a different USB port. > > `git bisect` shows that commit 1455cf8 (driver core: emit uevents when > device is bound to a driver) is at fault [4]. > > As user space should not break with newer Linux kernels, do you know what to > do about that or can you think of a fix? I thought we fixed this with follow-on patches, are you sure you are using the latest 4.14.y kernel that has been released? thanks, greg k-h