RE: ifupdown plugin adds wifi device as wired (with patch)



On Tue, 2009-03-24 at 17:14 +0100, Gertjan de Back wrote:
> > However, the devtype is never used by the callback, so it shouldn't
> really
> > make a difference for you.
> 
> I guess you're right. I was following how the device was added and ran
> into this which seemed to be the problem. But wasn't.
> 
> > What are the symptoms you are trying to fix?
> 
> Our wifi device (AR6000 based via SDIO/MMC card interface) refused to
> show up in NetworkManager, even though it is up and running in Linux and
> HAL knows all about the device.
> 
> In the meantime, I think that I've found the cause. NM requires the
> device driver to be set and looks for info.linux.driver at the
> net.originating_device. In my case the originating device is an mmc_host
> which has no specific driver. I've temporarily worked around the assert
> by returning an empty string for the driver driver, as it appears that
> it can do without one.
> 
> What kind of device driver is NM expecting here? The AR6000 kernel
> driver which created the wlan0 device, the mmc_host driver or something
> else?

Your device is an SDIO device, right?  In that case, it should have the
MMC host as the parent device, and your SDIO driver as the 'driver'
device.

What do you have for:

ls -al /sys/class/net/wlan0

and

ls -al /sys/class/net/wlan0/device

Is there a 'driver' link at:

ls -al /sys/class/net/wlan0/device/driver

If there's no 'driver link there, your driver or it's SDIO subsystem is
wrong.  Are you using the in-kernel SDIO subsystem, and if not, why not?

Dan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]