On Mon, 2010-07-12 at 02:32 +0000, Gary Trakhman wrote: > yup: > lrwxrwxrwx 1 root root 0 Jul 11 19:40 driver -> > ../../../../bus/pci/drivers/ath5k > > and > lrwxrwxrwx 1 root root 0 Jul 11 19:40 driver -> > ../../../../bus/pci/drivers/r8169
NM gets the driver from udev attributes; you could use this program: http://cgit.freedesktop.org/ModemManager/ModemManager/tree/test/lsudev.c to see what we get for the device with the updated kernel. You'd build it like so: gcc -o lsudev `pkg-config --libs --cflags gudev-1.0 glib-2.0` lsudev.c and run it like so: ./lsudev net On my 2.6.33.6 system, it gives me: ------------------------------------------------------ Name: eth0 Type: (null) Subsys: net Number: 0 Path: /sys/devices/pci0000:00/0000:00:19.0/net/eth0 Driver: (null) Action: (null) Seq Num: 0 Dev File: (null) Properties: UDEV_LOG: 3 DEVPATH: /devices/pci0000:00/0000:00:19.0/net/eth0 INTERFACE: eth0 IFINDEX: 2 SUBSYSTEM: net ID_VENDOR_FROM_DATABASE: Intel Corporation ID_MODEL_FROM_DATABASE: 82567LM Gigabit Network Connection ID_BUS: pci ID_VENDOR_ID: 0x8086 ID_MODEL_ID: 0x10f5 ------------------------------------------------------ Name: 0000:00:19.0 Type: (null) Subsys: pci Number: 0 Path: /sys/devices/pci0000:00/0000:00:19.0 Driver: e1000e Action: (null) Seq Num: 0 Dev File: (null) Properties: UDEV_LOG: 3 DEVPATH: /devices/pci0000:00/0000:00:19.0 DRIVER: e1000e PCI_CLASS: 20000 PCI_ID: 8086:10F5 PCI_SUBSYS_ID: 103C:30E1 PCI_SLOT_NAME: 0000:00:19.0 MODALIAS: pci:v00008086d000010F5sv0000103Csd000030E1bc02sc00i00 SUBSYSTEM: pci The DRIVER and 'Driver:' things there are what we care about. I'm really curious what your system says... Dan > > > On Mon, Jul 12, 2010 at 2:21 AM, Andrey Borzenkov <[email protected]> wrote: > > On Monday 12 of July 2010 04:33:18 Gary Trakhman wrote: > >> Trying to hunt this down, nm can't figure out my devices, but I can > >> use them manually just fine. What should I look for or what's wrong? > >> there are lots of files in /sys/class/net/... > >> > >> > >> Jul 11 19:48:20 gary-laptop NetworkManager[13622]: <info> > >> NetworkManager (version 0.8.0.999) is starting... > >> Jul 11 19:48:20 gary-laptop NetworkManager[13622]: <info> trying to > >> start the modem manager... > >> Jul 11 19:48:20 gary-laptop NetworkManager[13622]: <info> Loaded > >> plugin keyfile: (c) 2007 - 2008 Red Hat, Inc. To report bugs please > >> use the NetworkManager mailing list. > >> Jul 11 19:48:20 gary-laptop NetworkManager[13622]: <info> found WiFi > >> radio killswitch rfkill0 (at /sys/class/rfkill/rfkill0) (driver > >> <unknown>) > >> Jul 11 19:48:20 gary-laptop NetworkManager[13622]: <info> WiFi > >> enabled by radio killswitch; enabled by state file > >> Jul 11 19:48:20 gary-laptop NetworkManager[13622]: <info> WWAN > >> enabled by radio killswitch; enabled by state file > >> Jul 11 19:48:20 gary-laptop NetworkManager[13622]: <info> WiMAX > >> enabled by radio killswitch; enabled by state file > >> Jul 11 19:48:20 gary-laptop NetworkManager[13622]: <info> Networking > >> is enabled by state file > >> Jul 11 19:48:20 gary-laptop NetworkManager[13622]: <warn> > >> /sys/class/net/eth0: couldn't determine device driver; ignoring... > >> Jul 11 19:48:20 gary-laptop NetworkManager[13622]: <warn> > >> /sys/class/net/wlan0: couldn't determine device driver; ignoring... > > > > I would look under /sys/class/net/<interface>/device/ - it is expected > > to have driver symlink, like > > > > {pts/3}% ll /sys/class/net/eth0/device/driver > > lrwxrwxrwx 1 root root 0 2010-07-12 06:17 > > /sys/class/net/eth0/device/driver -> ../../../../bus/pci/drivers/tg3/ > > > _______________________________________________ > networkmanager-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/networkmanager-list _______________________________________________ networkmanager-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/networkmanager-list
