← Back to team overview

kernel-packages team mailing list archive

[Bug 1525254] Re: The r8188eu driver shipped with wily is broken, new working driver exists

 

Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v4.4 kernel[0].

If this bug is fixed in the mainline kernel, please add the following
tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag:
'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as
"Confirmed".


Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4-rc5-wily

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1525254

Title:
  The r8188eu driver shipped with wily is broken, new working driver
  exists

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  After update to wily, I have continuous disconnections with a tplink
  725N wifi usb dongle that uses the r8188eu driver to the point that
  the dongle is completely useless.

  In vivid, the  driver driver shipped with the kernel was problematic
  but working a bit better (some disconnections, and incorrect link
  quality reporting, but OK for the rest) so we definitely have a
  REGRESSION.

  Furthermore, on the tplink driver the *source* or a driver that works
  fine is available:

  http://www.tp-link.us/res/down/soft/TL-WN725N_V2_150911.zip

  Porting to a format consistent with the pristine kernel has been done,
  see

  https://github.com/lwfinger/rtl8188eu/issues/152

  and

  https://www.dropbox.com/s/znp5munr03oow0b/rtl8188eu-linux-
  driver.zip?dl=0

  The thing still does not compile cleanly against the 4.2 kernel
  shipped in wily, because the interface of cfg80211_disconnected has
  changed, but the fix is trivial

  diff -r rtl8188eu-linux-driver/os_dep/linux/ioctl_cfg80211.c rtl8188eu-linux-driver2/os_dep/linux/ioctl_cfg80211.c
  907c907
  <                       cfg80211_disconnected(padapter->pnetdev, 0, NULL, 0, GFP_ATOMIC);
  ---
  >                       cfg80211_disconnected(padapter->pnetdev, 0, NULL, 0, false, GFP_ATOMIC);

  Furthermore there is a re-definition that needs removing

  diff -r rtl8188eu-linux-driver/hal/hal_com_phycfg.c rtl8188eu-linux-driver2/hal/hal_com_phycfg.c
  2578c2578
  < char  file_path[PATH_LENGTH_MAX];
  ---
  > //char        file_path[PATH_LENGTH_MAX];

  Once that is done, the tplink driver works perfectly.

  Please update wily to use the new driver.

  It may be worth informing the upstream kernel maintainer and Greg K.H.
  about the new opensource driver for possible inclusion  in the
  upstream kernel staging tree in place of the troublesome driver that
  is currently there.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: linux-image-generic 4.2.0.19.21
  ProcVersionSignature: Ubuntu 4.2.0-19.23-generic 4.2.6
  Uname: Linux 4.2.0-19-generic x86_64
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  callegar   2596 F.... pulseaudio
  CurrentDesktop: KDE
  Date: Fri Dec 11 14:50:16 2015
  EcryptfsInUse: Yes
  HibernationDevice: RESUME=UUID=c50b4249-43ed-49ef-a3d8-ec7aa9718265
  MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
  ProcFB:
   
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.2.0-19-generic root=/dev/mapper/DISK00-root ro quiet splash nomdmonddf nomdmonisw
  RelatedPackageVersions:
   linux-restricted-modules-4.2.0-19-generic N/A
   linux-backports-modules-4.2.0-19-generic  N/A
   linux-firmware                            1.149.3
  SourcePackage: linux
  StagingDrivers: r8188eu
  UpgradeStatus: Upgraded to wily on 2015-11-28 (12 days ago)
  WpaSupplicantLog:
   
  dmi.bios.date: 04/21/2010
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: P2.10
  dmi.board.name: N68-S
  dmi.board.vendor: ASRock
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP2.10:bd04/21/2010:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnN68-S:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: To Be Filled By O.E.M.
  dmi.product.version: To Be Filled By O.E.M.
  dmi.sys.vendor: To Be Filled By O.E.M.

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


References