From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rajkumar Manoharan Date: Mon, 13 Sep 2010 06:44:01 +0000 Subject: Re: [PATCH] rules: add udev rule for ath9k_htc (AR7010) device Message-Id: <20100913063201.GA2407@vmraj-lnx.users.atheros.com> List-Id: References: <1284116300-9060-1-git-send-email-rmanoharan@atheros.com> In-Reply-To: <1284116300-9060-1-git-send-email-rmanoharan@atheros.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Fri, Sep 10, 2010 at 04:50:01PM +0530, Kay Sievers wrote: > On Fri, Sep 10, 2010 at 12:58, Rajkumar Manoharan > wrote: > > AR7010 cards detected as USB Mass storage mode by default and an eject > > command is required to switch to wireless mode. > > This has nothing to do with persistent device naming, and the core of > udev can not be made device specific. It's installed on all > architectures and systems, and therefore such hardware specific > matches can not be in the default rule set. > > Udev rules must not call any tools from /usr. Some packages do that, > but the main udev package should not do that. Note, that I absolutely > don't mind if people do that, because I think /usr must _never_ be on > a separate partition. > > Also the main udev package can not ship hardware specific rules, > nobody will care about them, and they will no be maintained here and > just bit-rot. Maybe it can go into the usb_modeswitch package, which > does this eject thing for many other devices? > > Thanks, > Kay Thanks for your input and the rule has been integrated into usb_modeswitch package. Thanks, Rajkumar