Re: [Ndiswrapper-general] Loading via pcmcia cardmanager
Status: Beta
Brought to you by:
pgiri
|
From: Cristiano De M. <dem...@na...> - 2004-03-19 15:09:06
|
Hi, download and install murasaki (http://www.dotaster.com/~shuu/linux/murasaki/) then add a line like this to /etc/murasaki/murasaki.pcimap: ndiswrapper <vendor_id> <device_id> 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 if you know <vendor_id> and <device_id> of your=20 WiFi card, otherwise starting first time murasaki service it will suggest you in /var/log/syslog the correct line to add to /etc/murasaki/murasaki.pcimap C. On Thu, 2004-03-18 at 15:20, Pontus Fuchs wrote: > On Thu, 2004-03-18 at 14:26, Oliver Friedrich wrote: >=20 > > Ok, than we are back at the start of this discussion ;) > > How to tell the cardmanager (i think, part of the hotplug subsystem) to > > load the ndiswrapper module or signal an already loaded ndiswrapper > > module to load a new windows driver if needed? >=20 > A normal kernel module knows what driver it supports and declares this > in the source. This information is used to create a /lib/modules/`uname > -r`/modules.pcimap file which the hotplug-scripts can use to find the > correct module for some pci-device. The problem is that ndiswrapper does > not know in advance which cards it will support because we dynamically > load the windows drivers. However you can manually edit the pcimap file > if you feel like it. There are probably other smarter ways do do this > but I leave that for somebody else to investigate. >=20 > >=20 > > Perhaps the last point is not complicated to implement, because it > > seems, that the ndiswrapper recognizes the reinsert of an already loade= d > > card and reinit the formerly loaded driver. > > Does the ndiswrapper get a general notification by the kernel that new > > hardware was detected or does the kernel only notifify the specific > > module for this hardware if loaded? If it is a general notification, > > than ndiswrapper could check, if it has a windows driver for it and loa= d > > it additionally to an already initilized driver ... >=20 > Upon module loading ndiswrapper loads all installed drivers. After this > we register with the PCI-subsystem as usual so as soon as a hotpluggable > card (for example cardbus) is inserted we get notified the normal way. >=20 > Pontus >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dcli= ck > _______________________________________________ > Ndiswrapper-general mailing list > Ndi...@li... > https://lists.sourceforge.net/lists/listinfo/ndiswrapper-general --=20 Cristiano De Michele E-mail: cri...@ph...= 1.it Department of Physics Tel. : +39064457131 University of Rome "La Sapienza" Fax : +39064463158 Piazzale Aldo Moro 2 I-00185 Roma - Italy =09 |