On Fri, 2007-02-16 at 10:26 -0800, Jihua Cheng wrote: > Dan, > Thanks a lot! > > The card model is SD wireless card, attached into PCI card. PCI card > provides the bridge. > > I wrote this driver. I can insmod my driver and it works well with > wireless tools(iwconfig, iwlist, etc) and network command ( for example, > ping). I could find my driver loaded properly, by using lsmod. > > You mentioned "HAL doesn't appear to know about any wireless > interfaces". How can I make HAL know my wireless interface? Some system > function call?
Make sure it does the right thing with sysfs. - Do you call SET_NETDEV_DEV in your driver? - Does it show up in /proc/net/wireless? - What is the contents of /sys/class/net/ethX ? (where ethX should be replaced with the interface name of the wireless device that is created when you load your driver) - What is the contents of /sys/class/net/ethX/wireless? (same as above, replace ethX as appropriate) - Do you implement the get_wireless_stats function in your iw_handler_def structure? That's what actually allows the system to create the /sys/class/net/ethX/wireless directory for you. Dan _______________________________________________ NetworkManager-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/networkmanager-list
