Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582168 - net-wireless/rtl8192eu - ebuild request for Realtek 8192eu 3rd party driver
Summary: net-wireless/rtl8192eu - ebuild request for Realtek 8192eu 3rd party driver
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2016-05-05 15:42 UTC by Nicola Sensini
Modified: 2020-03-24 16:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicola Sensini 2016-05-05 15:42:18 UTC
I would love to have an ebuild for this wireless module that isn't in kernel (even staging), yet (as of linux 4.5.3).

You can download the driver (working for 4.5.3) here:

https://github.com/donahue95/rtl8192eu-linux-driver

Just cd into the dir, then make && make install will create a 8192eu.ko module for the current running kernel.
Comment 1 Nicola Sensini 2016-05-05 15:45:37 UTC
# lsusb

Bus 001 Device 002: ID 0bda:818b Realtek Semiconductor Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0x818b 
  bcdDevice            2.00
  iManufacturer           1 Realtek
  iProduct                2 802.11n NIC
  iSerial                 3 00e04c000001
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           53
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           5
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              2 802.11n NIC
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x05  EP 5 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x06  EP 6 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x87  EP 7 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               3
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x08  EP 8 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength           12
  bNumDeviceCaps          1
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000002
      Link Power Management (LPM) Supported
Device Status:     0x0001
  Self Powered
Comment 2 Brian Evans (RETIRED) gentoo-dev 2016-05-05 16:20:28 UTC
This is probably obsolete with the kernel's rtl8xxxu which includes support for 8192eu
Comment 3 Nicola Sensini 2016-05-05 16:25:51 UTC
rtl8xxxu.ko doesn't work for my 8192eu card (0bda:818b).
Comment 4 Brian Evans (RETIRED) gentoo-dev 2016-05-05 16:28:12 UTC
(In reply to Nicola Sensini from comment #3)
> rtl8xxxu.ko doesn't work for my 8192eu card (0bda:818b).

It was temporarily disabled. [1]  In the future, the support will be there.

[1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ccfe1e85322090649d2fae599e55300c1512bf15
Comment 5 Alexander 2019-11-28 14:45:29 UTC
(In reply to Brian Evans from comment #2)
> This is probably obsolete with the kernel's rtl8xxxu which includes support
> for 8192eu

The fact is that the kernel module does not work with all rtl8192eu chips, in kernel sources there is no their VID / PID, and if you add them manually, the adapter starts to see the network, but cannot connect to them, unlike the third-party driver.

Here is a link to the kernel bugtracker with the problem https://bugzilla.kernel.org/show_bug.cgi?id=196769
Comment 6 Larry the Git Cow gentoo-dev 2020-03-24 16:37:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6f165b9632beb6826b1b7de81fc58ff68b9a0402

commit 6f165b9632beb6826b1b7de81fc58ff68b9a0402
Author:     Aleksandr Batyuk <abbat.2008@gmail.com>
AuthorDate: 2020-03-18 18:05:42 +0000
Commit:     Aleksandr Batyuk <abbat.2008@gmail.com>
CommitDate: 2020-03-18 18:05:42 +0000

    net-wireless/rtl8192eu: New Package
    
    Realtek RTL8192EU driver module for Linux kernel.
    
    Closes: https://bugs.gentoo.org/582168
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Aleksandr Batyuk <abbat.2008@gmail.com>

 net-wireless/rtl8192eu/Manifest                  |  1 +
 net-wireless/rtl8192eu/metadata.xml              |  8 ++++++++
 net-wireless/rtl8192eu/rtl8192eu-20200123.ebuild | 24 ++++++++++++++++++++++++
 3 files changed, 33 insertions(+)