Further investigations show that when hal is invoked, nothing in /proc/net is setup yet (seems especially to be a problem for the ipw2200 driver, my other e100 driver works fine).
However, the stuff in /sys/class/net/eth* is setup fine. If I put a tiny sleep (not a real solution I know) in the classdev.c file just before it reads /proc/net/wireless everything works fine. There is some code in classdev.c that just looks for the /sys/class/net/wireless directory. I don't claim to know why it isn't used, but if I use that code instead (patch attached) everything works fine for me. Perhaps this should be given to the kernel people to work out why there is this race condition ? I would have thought /proc should be as up to date as /sys when the notification occurs ** Attachment added: "Detect wireless card via sysfs" http://librarian.launchpad.net/4278267/hal_classdev_patch.diff -- HAL changes wireless interface (net.80211) to wired (net.80203) in info.category after suspend https://launchpad.net/bugs/55809 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs