Realtek linux drivers ubuntu

Как установить драйвер Wi-Fi для Realtek RTL8821CE в Ubuntu 18.04?

Я пытаюсь установить драйверы для моего Wi-Fi на моем рабочем столе HP All-in-one. Мне сказали показать вывод команды «sudo lshw -C network», вот она:

Вывод из «lspci -nnk | grep -A2 0280»:

2 ответа

(Этот вопрос является дубликатом Wi-Fi, который не работает на Lenovo ThinkPad E570 (Realtek RTL8821CE), но я был рад, что в итоге мы нашли решение, поэтому напишу, что сработало для Haz.)

Насколько я могу судить, на момент написания этой статьи в официальных репозиториях Ubuntu еще не было Wifi Driver для Realtek RTL8821CE.

На github есть репозиторий с драйвером RTL8821CE, предназначенный для ядер 4.14 и выше и специально для Arch Linux, без поддержки других дистрибутивов Linux: https://github.com/tomaspinho/rtl8821ce

(Незначительное замечание: по состоянию на февраль 2019 года tomaspinho, к сожалению, больше не может поддерживать драйвер, поскольку у него больше нет доступа к компьютеру с этим чипсетом, и поэтому может потребоваться новый сопровождающий, но драйвер по-прежнему работает с Ubuntu 18.04 по состоянию на то время.)

Однако, как сообщается, он прекрасно работает с Ubuntu 18.04.

Решение взято непосредственно из поста № 4 Praseodym: https://ubuntuforums.org/showthread.php?t=2398917 и установит несколько пакетов для сборки модуля драйвера wifi (git, dkms, build-essential & linux). -headers) и клонировать репозиторий git из tomaspinho.

DKMS используется потому, что это «система, которая автоматически перекомпилирует и устанавливает модуль ядра при установке или обновлении нового ядра».

Откройте терминал и введите следующие строки (Вы можете вырезать и вставить, если хотите):

После того, как это успешно завершено, вы должны перезагрузиться и обнаружить, что ваш Wi-Fi работает.

Вы также хотите убедиться, что SecureBoot отключен в настройках BIOS, иначе он не позволит вам загрузить неподписанный модуль самодостаточного ядра.

Источник

Как установить звуковые драйвера Realtek ?

Как установить звуковые драйвера Realtek ? качал от сюда (Linux driver (3.0) 5.18rc8 2014/5/21 4597k)

стоит Ubuntu 14.04 Карта встроеная. Инфо о карте: guitar@guitar:

$ lspci |grep Audio 00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) 01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1) guitar@guitar:

$ alsactl -v alsactl version 1.0.27.2

А что, «из коробки» звук не работет?

он работает но плохо, 2 приложения не может использовать, сейчас я слушал музыку и включил программу «Rakarrack» и звук упал( а когда в игры играю я слышу как звук плачет(

я даже не знаю где это находится)

Особого смысла обновлять нет, там в архиве тот же alsa driver, что используется сейчас, вот выдержка из readme:

Можете попробовать использовать pulseaudio.

Ну а по поводу описанных вами проблем, так это надо просить инженеров Realtek, что бы они помогли разработчикам alsa в написании драйверов для их аудио кодеков или написали этот код для alsa сами.

купи нормальную звуковуху, которую мужыканты советуют, пульзаудию снеси напрочь

а зачем удалять ? я посмотрел, она одаляет системные фичи и параметры.

Если ты ее не трогал, похоже она падает. Можно попробовать найти гайд по отключению PulseAudio, если не поможет, значит альса виновата.

а если будет альса виновата то что делать ?

Покупать другую карту. Или пробовать ставить новое ядро в вашем дистрибутиве.

а я думал что если установлю линбку то проблем меньше будет) но не тут то было( но хоть не виснет как винта.

Тоже 14,04-и такая же звуковуха. наверное нужно будет пассатижами выдернуть микросхему. ALC888

tar jxvpf LinuxPkg_x.xxrcxx.tar.bz2 tar jxvpf alsa-driver-1.0.xx.tar.bz2 ./configure make make install

Читайте также:  Установка windows zver sp3

К этим дровам ещё нужно Pulseaudio, qpaeq. Ещё VLC с настроенным параметрическим эквалайзером. Тогда офигенный звук.

Чип ALC888S хорошая вещь, но ещё нужна и акустика вроде Defender Mercury 55 MkII.

Если есть всё выше описанное, то из всех плейеров самый лучший звук только в плейере VLC через чип ALC888S. Настройки в VLC нужно сбросить vlc —reset-config и настроить только аудио-фильтры галочки перенаправитель каналов, эффект виртуального объёма в наушниках, фильтр управления усилением, параметрический эквалайзер (20 15 20000 15 60 12,50 100 1000 -15 100 8000 12,50 100), нормализация громкости. qpaeq сделать от середины вниз улыбку. В итоге получится жирный бас и чистые высокие

Правда фирменные дрова от Realtek, в некоторых системах слетают при обновлении ядра Linux в системе. Просто нужно повторить в терминале суперпользователя:

Источник

Realtek linux drivers ubuntu

Realtek RTL8811CU/RTL8821CU USB wifi adapter driver version 5.4.1 for Linux 4.4.x up to 5.x

Before build this driver make sure make , gcc , linux-header / kernel-devel , bc and git have been installed.

First, clone this repository

Check the name of the interface

Check the interface name of your wifi adapter using ifconfig . Usually, it will be wlan0 by default, but it may vary depends on the kernel and your device. On Ubuntu, for example, it may be named as wlx + MAC address. (https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/)

If this is the case, you can either disable the feature following the link above, or replace the name used in the driver by

Build and install with DKMS

DKMS is a system which will automatically recompile and install a kernel module when a new kernel gets installed or updated. To make use of DKMS, install the dkms package.

To make use of the DKMS feature with this project, just run:

If you later on want to remove it, run:

Plug your USB-wifi-adapter into your PC

If wifi can be detected, congratulations. If not, maybe you need to switch your device usb mode by the following steps in terminal:

  1. find your usb-wifi-adapter device ID, like «0bda:1a2b», by type:
  1. switch the mode by type: (the device ID must be yours.)

Need install usb_modeswitch (Archlinux: sudo pacman -S usb_modeswitch )

Make it permanent

If steps above worked fine and in order to avoid periodically having to make usb_modeswitch you can make it permanent (Working in Ubuntu 18.04 LTS):

Edit usb_modeswitch rules:

Append before the end line LABEL=»modeswitch_rules_end» the following:

Make sure to set your ATTR and the -v argument to the left portion of the output of lsusb device ID, and your ATTR and -p argument to the right portion of the lsusb device ID. For example (for the Cudy AC600 usb wifi adapter) the output from lsusb command looks like this:

then your configuration in /lib/udev/rules.d/40-usb_modeswitch.rules should be

Build and install without DKMS

Use following commands:

If you later on want to remove it, do the following:

Checking installed driver

If you successfully install the driver, the driver is installed on /lib/modules/
/kernel/drivers/net/wireless/realtek/rtl8821cu . Check the driver with the ls command:

Make sure 8821cu.ko file present on that directory

Check with DKMS (if installing via DKMS):

sudo dkms status

ARM architecture tweak for this driver (this solves compilation problem of this driver):

Use the tool ‘iw’, please don’t use other tools like ‘airmon-ng’

About

Realtek RTL8811CU/RTL8821CU USB Wi-Fi adapter driver for Linux

Источник

Realtek linux drivers ubuntu

Realtek RTL8821CE Driver

This repository hosts the code for the Arch Linux AUR Package. It’s targeting Linux > 4.14 and is being developed for Arch Linux and Ubuntu 18.10. No support will be provided for other Linux distributions or Linux Kernel versions outside of that range.

Читайте также:  Новое название windows 10

The maintainers of this repository are not Realtek employees and are maintaining this repository for their own usage. Further feature development (such as proper power saving, etc.) will not be pursued here, but will be gladly integrated if newer driver sources are provided by Realtek. Use at your own risk.

This driver can be installed using DKMS. This is a system which will automatically recompile and install a kernel module when a new kernel gets installed or updated. To make use of DKMS, install the dkms package.

Installation of Driver

Make sure you have a proper build environment and dkms installed.

The following steps are required prior to building the driver on Ubuntu/Debian:

Ubuntu users may also install the prebuilt rtl8821ce-dkms package, an older version of the driver maintained by the Ubuntu MOTU Developers group for bionic, eoan and focal. It has been known to work in cases where the newer driver available here does not. Bugs and issues with that package should be reported at Launchpad rather than here.

Make sure you have the base-devel package group installed before you proceed for the necessary compilation tools.

Installing from AUR

Dependencies for manual installation on Arch Linux

If you are running a non-vanilla kernel then install the headers to match the kernel package. Proceed to the section below.

An unofficial Gentoo package is available, using this repository as upstream. It is available from the trolltoo overlay. Gentoo does not use or require dkms for packaged drivers.

Manual installation of driver

In order to install the driver open a terminal in the directory with the source code and execute the following command:

Removal of Driver

Open a terminal window and git clone the repository to your local disk

Then run the installation script:

Remove the driver:

Make sure you have your local copy of this repository fully updated:

Clean any stale binaries:

When reporting issues, please make sure that debugging is enabled. To enable debugging either set MAKEFLAGS=»CONFIG_RTW_DEBUG = y» before compilation or edit Makefile:

This will enable verbose debug logging, helpful to developers.

PCIe Activate State Power Management

Your distribution may come with PCIe Active State Power Management enabled by default. That may conflict with this driver. To disable:

Add pci=noaer at the end of GRUB_CMDLINE_LINUX_DEFAULT. Line should look like this:

Then update your GRUB configuration:

Lenovo Yoga laptops

Some new Yoga laptops (like the Yoga 530) come with rtl8821ce as the Wi-Fi/Bluetooth chip. But the ideapad-laptop module, which may come included in your distribution, may conflict with this driver. To disable:

BlueTooth is not working

This may be due to the Kernel loading up the wrong firmware file for this card. Please take a look at @wahsot’s tutorial at https://github.com/tomaspinho/rtl8821ce/issues/19#issuecomment-452196840 to see if that helps you out.

If your system uses Secure Boot, disable it via BIOS settings, otherwise the kernel will not accept user-supplied modules.

Unstable connection — slowdowns or dropouts

The problem may be due to the periodic scanning of access points by the network applet.

This fix worked helpful on Pop! _OS/Ubuntu 20.10 and Fedora 33. Both with GNOME and NetworkManager. #179

Set the BSSID from your network applet. In GNOME this can be done in WiFi Settings > Your profile > Identity > BSSID .

We are going to disable the Connectivity Check option in NetworkManager. This by editing the file in /var/lib/NetworkManager/NetworkManager-intern.conf and adding the following instructions at the end:

Читайте также:  Linux compatible что это такое

Then, just reboot or restart the NetworkManager unit to fix the problem.

Wi-Fi not working for kernel >= 5.9

The Linux Kernel 5.9 version comes with a broken rtw88 module developed by Realtek that has poor compatibility with most revision of the 8821ce chip.

You must disable it by adding the following to your module blacklists ( /etc/modprobe.d/blacklist.conf ):

Then, make sure you have the rtl8821ce module correctly installed.

Turn off your computer, wait a few seconds (to force firmware reload) and then turn it on again.

Wi-Fi and Bluetooth don’t work after suspend

This is a bug that won’t be fixed until/if Realtek implements proper power management themselves. Given they are now only working in rtw88 , this driver will most likely never be fixed in this regard. Please avoid opening issues about this.

Monitor (promiscuous) mode doesn’t work

This driver doesn’t support it and never will. Please avoid opening issues about this.

Источник

Realtek linux drivers ubuntu

Realtek R8101 linux driver source

This is the official linux driver source for Realtek RTL8101E/RTL8102E/RTL8103E/RTL8105E/RTL8106E/RTL8107E FE 100M NICs, obtained from here. Tested on Ubuntu 20.04 in my Dell Inspiron 1440 laptop, ethernet works flawlessly with a speed of 95 Mbps upload and download.

Since Ubuntu 18 these NICs are being used with the default r8169 driver (which is for the R8169 gigabit ethernet controller only), which causes terrible download and upload speeds. Installing the official driver for 810xE series fixes it.

Driver version: 1.035.03
Release date: 26/05/2020

NOTE: I upgraded to another laptop few months ago so I’m no longer maintaining this repo.

How to install this driver?

  • First of all, clone this repo to some folder and cd into that folder
  • Install basic dependencies for compiling the driver: sudo apt install build-essential linux-headers-$(uname -r)
  • Unload the existing r8169 driver: sudo modprobe -r r8169
  • Block the r8169 driver in modprobe: sudo sh -c ‘echo blacklist r8169 >> /etc/modprobe.d/blacklist.conf’
  • Run the automatic build & install script: sudo ./autorun.sh . Ignore errors if any.
  • Check if the driver is loaded: lsmod | grep r8101 , it will return a single line like r8101 204800 0
  • If the driver is not loaded, then run sudo modprobe r8101 .
  • Now try connecting. If you don’t see the connection then you might need a reboot.
  • Enjoy ethernet speeds upto 100Mbps!

Some additional info

/r8101, the link status can be forced to one of the 4 modes as following command. # insmod ./src/r8101.ko speed=SPEED_MODE duplex=DUPLEX_MODE autoneg=NWAY_OPTION where SPEED_MODE = 100 for 100Mbps = 10 for 10Mbps DUPLEX_MODE = 0 for half-duplex = 1 for full-duplex NWAY_OPTION = 0 for auto-negotiation off (true force) = 1 for auto-negotiation on (nway force) For example: # insmod ./src/r8101.ko speed=100 duplex=0 autoneg=1 will force PHY to operate in 100Mpbs Half-duplex(nway force). 2. Force the link status by using ethtool. a. Insert the driver first. b. Make sure that ethtool exists in /sbin. c. Force the link status as the following command. # ethtool -s ethX speed SPEED_MODE duplex DUPLEX_MODE autoneg NWAY_OPTION where SPEED_MODE = 100 for 100Mbps = 10 for 10Mbps DUPLEX_MODE = half for half-duplex = full for full-duplex NWAY_OPTION = off for auto-negotiation off (true force) = on for auto-negotiation on (nway force) For example: # ethtool -s eth0 speed 100 duplex full autoneg on will force PHY to operate in 100Mpbs Full-duplex(nway force). RTL8101E, RTL8102E and RTL8103E do not support Jumbo Frame. «>

About

Official linux driver source for Realtek R810xE 100M ethernet controllers

Источник

Оцените статью