* Identifying PCMCIA modems
@ 2006-06-07 12:50 Ian Pilcher
2006-06-07 13:41 ` Alexander E. Patrakov
2006-06-07 13:47 ` Kay Sievers
0 siblings, 2 replies; 3+ messages in thread
From: Ian Pilcher @ 2006-06-07 12:50 UTC (permalink / raw)
To: linux-hotplug
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.
Thanks!
--
====================================
Ian Pilcher i.pilcher@comcast.net
====================================
_______________________________________________
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Identifying PCMCIA modems
2006-06-07 12:50 Identifying PCMCIA modems Ian Pilcher
@ 2006-06-07 13:41 ` Alexander E. Patrakov
2006-06-07 13:47 ` Kay Sievers
1 sibling, 0 replies; 3+ messages in thread
From: Alexander E. Patrakov @ 2006-06-07 13:41 UTC (permalink / raw)
To: linux-hotplug
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Identifying PCMCIA modems
2006-06-07 12:50 Identifying PCMCIA modems Ian Pilcher
2006-06-07 13:41 ` Alexander E. Patrakov
@ 2006-06-07 13:47 ` Kay Sievers
1 sibling, 0 replies; 3+ messages in thread
From: Kay Sievers @ 2006-06-07 13:47 UTC (permalink / raw)
To: linux-hotplug
On Wed, 2006-06-07 at 07:50 -0500, 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.
Usually you look at the CIS:
http://www.pcmcia.org/pccard.htm#04
So SYSFS{func_id} may indicate a serial port. Don't know how reliable
that information is in reality.
You may want to ask the guys here for specifics:
http://lists.infradead.org/mailman/listinfo/linux-pcmcia
Kay
_______________________________________________
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-06-07 13:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-07 12:50 Identifying PCMCIA modems Ian Pilcher
2006-06-07 13:41 ` Alexander E. Patrakov
2006-06-07 13:47 ` Kay Sievers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).