I recompiled the mwifiex driver using the patch linked at
http://askubuntu.com/a/262010/88546 (the one that comments out uap and
p2p) and can confirm that it does indeed fix the problem.  I had to
reboot twice after copying over the new kernel objects - first shutdown
after loading them had a hang, and first reboot following that they
didn't work.  After this everything seemed fine though.

The process for doing this is fairly simple but will need to be done
every time the kernel is updated (though I'm guessing there is some way
around this).  It would be great if someone with more knowledge could
try and debug exactly why there is this error in the driver and suggest
a fix that doesn't comment things out.  I'll try and look around  a bit
myself, but don't have any real knowledge of drivers.

I basically followed the guide here:
http://askubuntu.com/questions/191538/how-do-i-compile-just-wireless-
drivers-in-kernel.  You will need to install the linux-source for your
current kernel version as well.  Make sure you've blacklisted mwifiex
and mwifiex_usb before doing this.  You can test if they are working by
doing sudo insmod mwifiex.ko (once you've built it) and then sudo insmod
mwifiex_usb.ko (these referring to the built versions).  If everything
looks good to go, copy all of the built .ko files into
/lib/modules/kernel/your_cool_kernel_version/drivers/net/wireless/mwifiex.

I'll post a more detailed guide on one of the askubuntu threads and post
a link to it later.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1165938

Title:
  Marvell 88W8797 (Surface Pro) wifi does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1165938/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to