From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8E32CC55186 for ; Sat, 25 Apr 2020 07:01:18 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4993020767 for ; Sat, 25 Apr 2020 07:01:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kroah.com header.i=@kroah.com header.b="lsSJgSku"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="ZIk/v1zD" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4993020767 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kroah.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.92.3) (envelope-from ) id 1jSEoH-00071K-HV; Sat, 25 Apr 2020 03:01:09 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jSEoF-000712-8A for kernelnewbies@kernelnewbies.org; Sat, 25 Apr 2020 03:01:08 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 98A5A144E; Sat, 25 Apr 2020 03:01:02 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 25 Apr 2020 03:01:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=xt7bb9tY2p028Yu/TXF9zSucbue reW0Ci9A/978vx3I=; b=lsSJgSkut9E2VBi4hs81+yo0UUXD9btSJWYT6w86U+f 25xl7yF3i+8G8901o8IpWVoBWLqCXFQtFsw7wvgbc1qO5xgjRZAm7s7rcmDy4cRh Z/HrC6daxyTuvpZJMXTafLDMDom/21F2/11i34EH7igYZMB2bsYMH4qIOCt7k64d NNmh2oP0aQXjzpAGmbfGs+C560TEnNWd4DXQ+nDZ50nReTop6mUE3oXSDY/IM6cF 0VOZ4BYuMvNAAh8IS8UrjaPI040VmwJBGBxJT3NgOv2E+UxJJVfnwLbKlCX2dAtx rc6jVl4AvrK9LBP/gOMU7qnUsW7x7X3pqc+u5KikUmg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=xt7bb9 tY2p028Yu/TXF9zSucbuereW0Ci9A/978vx3I=; b=ZIk/v1zDdJSs214uqJJzjJ Zj9idzh/HIDeCuqMc7Yu16DgyH+uESzAgNgl+I35tolhgD4+EsWcAmqBNsWQKKYX 4NEzYm4FX/RAzRU8Bj7lc6U/oJcIk9RKmgpoDoiMeNuMtoluLBTzhzyGpIro7zgW b6I6WJ5kC8OwB9Nf0ewFFOD3VswVfUe1JEKla94pvLriHVdGbSf6T+e8vJm6TVi8 xD1tgv+srlQPVkaLpLltF8OEiG83fACHh9mQPhu0aqPXI8BPofXfW4XD6ZRrb6Ua HXUREI8HOl3kZuRsTvAF65tCzPra9pmqsAOebMgQILr+00IBkrXq6BbTdsFxkSsg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrhedvgdduudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesthdtre dttddtvdenucfhrhhomhepifhrvghgucfmjfcuoehgrhgvgheskhhrohgrhhdrtghomheq necuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepkeefrdekiedrkeelrddutd ejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghhr vghgsehkrhhorghhrdgtohhm X-ME-Proxy: Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) by mail.messagingengine.com (Postfix) with ESMTPA id D92193280067; Sat, 25 Apr 2020 03:01:00 -0400 (EDT) Date: Sat, 25 Apr 2020 09:00:56 +0200 From: Greg KH To: Sohaib Mhmd Subject: Re: USB driver Message-ID: <20200425070056.GA2042217@kroah.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Cc: kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org On Sat, Apr 25, 2020 at 07:44:12AM +0200, Sohaib Mhmd wrote: > Hi everyone, I made a very simple USB driver > , > but the problem is that the probe and disconnect functions never was called. What USB device is currently attached to the ids that your driver wants to bind to? Unload/unbind that and then your driver should work. greg k-h _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies