Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm trying to setup a user interface that will allow for driver selection for PCMCIA devices. The idea is that when a user inserts a PCMCIA card, a window will popup asking the user to choose from a list of available drivers. Then the selected driver is loaded and configured in the normal manner.
The reason I want to do this is for performing wireless assessments. It's very inconvenient to carry around multiple copies /etc/pcmcia/config files and restart pcmcia services (which isn't always feasible, if another card is in use!) when I need to switch from HostAP to Airjack driver.
My first thought was to have a simple shell script execute by adding a new qualifier to the 'class' sections of the config file. This solution, however, would require a hack of pcmcia, and a re-hack for every new release. My other thought was to write a kernel module that does the same functions as pcmcia but with the ability to execute a selection script. Both of these solutions will work but neither of them appear to be optimal.
I know there's an elegant solution to this problem and since I'm new to the linux PCMCIA manifold I figured I throw this out there and see if anyone has done something similar or is more knowledgeable about linux pcmcia.
Any suggestions as to how to go about doing this would be greatly appreciated!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.