From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alexander E. Patrakov" Date: Wed, 07 Jun 2006 13:41:21 +0000 Subject: Re: Identifying PCMCIA modems Message-Id: <4486D781.4010005@ums.usu.ru> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Ian Pilcher wrote: > A fairly basic question for which Google provided no help... > > Is there any straightforward way to identify a PCMCIA card as a modem? > (No jokes about reading the label please.) > > I've got a rule written using the SYSFS{manf_id} and SYSFS{card_id} of > my modem, but I'd like to make it more general. Wild guess for a rule that matches all PCMCIA serial ports and thus all hardware PCMCIA modems (but I have no PCMCIA devices, so no guarantees): DRIVER="serial-cs", SYMLINK+="pcmcia-modem" Of course that's oversimplified and doesn't work for the case where there are two modems. There is no generic way to identify PCMCIA winmodems. -- Alexander E. Patrakov _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel