Identifying PCMCIA modems
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!
Signature · 10 lines
==================================== Ian Pilcher [email protected] ==================================== _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 7 lines · Ian Pilcher
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.
Signature · 7 lines
Alexander E. Patrakov _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 7 lines · Ian Pilcher
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel