From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id 393571EFAEE; Sat, 26 Aug 2017 10:48:49 -0400 (EDT) Received: from mail-oi0-x230.google.com (mail-oi0-x230.google.com [IPv6:2607:f8b0:4003:c06::230]) by befuddled.reisers.ca (Postfix) with ESMTPS id BD5181EFA5D for ; Sat, 26 Aug 2017 10:48:47 -0400 (EDT) Received: by mail-oi0-x230.google.com with SMTP id g127so3925921oic.1 for ; Sat, 26 Aug 2017 07:48:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=cUApSDwLILmpqWGarxt0jW/QnJ1FNTLKq0M89WirJOk=; b=UzrgTo3ZJBzilvbUpi0Wpzx1Slpm6h6ZvizL7EpwuvA2OfJAG1uq9Do2qod25JW7kC laMSaXSeU/PWxxiPXX5H8+NXw8Uo8jFxA28ZHbkTdFE5KnF2wF5TME0E/P3ZtfgqC6kG ixxIcX+h7SWoK1dQr9t4V2P2EBNCxykV0QMmMVi4IHj4UFiG/Sbluss7soFHO0SuEtI3 p2ovYBt6OvWtxYcLgQGM+OXev9fZZBgJWW96t2M4J9kLPe3iSeMyY0Bp8OLwOcH5+H2t EYjm1vSVcon2zVzlAXoZqjzdEXy50uZK3f+wPa8TBz+DMwaw82D8EODf0/5bmTpKvAHW UN3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=cUApSDwLILmpqWGarxt0jW/QnJ1FNTLKq0M89WirJOk=; b=X7SRikKXOFzMcw4E0irQEPtgOB8nnXKcp7n3yaYC268OMfzXjjsASsNxIz0Gqq++eE 01G6iD8ohM2tpxgObjJTLtPeJ5gUlD87f2FGKIH65e5GL1zb+mCYhuC4FSUHvQ63VfM7 XzbQaS4SBF9J9ATecuqZUuY2eb1qHcOgRoAxjnRhaFnrLmtpN4yygOZYvOg36fC/LPvM GUdy8nk8NXh0h31hKLG4wBhwkF5zw4fE7i0U0N1jk3HKWVaZwq8M/987cwEzrs59LU3g +GDLYNxu3ZmM2HBUEuTRO0qTV2AbiVMvTWX6f7p8/z/u6V+3lhzUFY3RHiTKJ5dy15/c nIEg== X-Gm-Message-State: AHYfb5ii+uhJbBWvJRatR2l0wc1kRPKjE2uDMBiqTLyrTMgmW1YqCCYS frZWh58nV0hsu/wViLnrzOVpezMf2g== X-Received: by 10.202.188.2 with SMTP id m2mr2311697oif.55.1503758921517; Sat, 26 Aug 2017 07:48:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.42.85 with HTTP; Sat, 26 Aug 2017 07:48:40 -0700 (PDT) Received: by 10.157.42.85 with HTTP; Sat, 26 Aug 2017 07:48:40 -0700 (PDT) In-Reply-To: References: From: Okash Khawaja Date: Sat, 26 Aug 2017 15:48:40 +0100 Message-ID: Subject: usb-autoload To: Samuel Thibault Cc: "Speakup is a screen review system for Linux." X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: speakup@linux-speakup.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Aug 2017 14:48:49 -0000 Hi, When we implement our usb-serial driver, how will that driver tell speakup_ltlk etc the minor device number? I'm assuming this scenario: no speakup module is loaded, then user plugs in usb synth, our usb-serial driver gets loaded which finds out minor device number, and then loads something like speakup_ltlk and passes major and minor device number to it. I am thinking of modifying speakup driver so that it can take in dev parameter after it has been loaded. Is there a simpler way? Thanks, Okash