[Bug 55809] Re: HAL changes wireless interface (net.80211) to wired (net.80203) in info.category after suspend
gnome at flowerday.cx
Fri Sep 15 22:17:20 UTC 2006
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"
HAL changes wireless interface (net.80211) to wired (net.80203) in info.category after suspend
More information about the desktop-bugs