[Bug 162671] Re: VT6656 wireless chipset is unsupported
Nicolas Laurencin
nico.laurencin at gmail.com
Fri Apr 30 21:28:31 UTC 2010
Hi Everyone. I don't know if anyone is interested but here is my 2 cents about the resume from sleep issue with the vntwusb compiled from 1.20.3 on 9.10 32bits.
Basically when the system wakes up and the modules are reloaded, the usb port is made available to vntwusb, which then assigns it a network interface (eth1 or whatever), and then the usb device is reset (from looking at dmesg). Problem is that by that time NetworkManager has already restarted. And it seems that when the this happens, NetworkManager loses track of the device. I know a simple restart network-manager does the trick but that's not good enough.
As a comparison, in a normal boot, NetworkManager is started a long time after the modules have been loaded, so the usb device is ready and waiting.
So for me, while waiting for a better solution, I have edited the
following file to introduce a (small) delay in waking up NetworkManager
from suspend: the file is /usr/lib/pm-utils/sleep.d/55NetworkManager and
in the resume_nm section I have a introduced the following line BEFORE
the dbus_send: sleep 0.5. That way when NetworkManager wakes up the
module/device pair is ready. Your mileage may vary and it might be that
for some people the 0.5 needs to be longer or can be even shorter.
Otherwise the module functions quite well, if a bit slow at connecting
to my WPA2 network.
--
VT6656 wireless chipset is unsupported
https://bugs.launchpad.net/bugs/162671
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.
More information about the kernel-bugs
mailing list