Actions

Linux drivers

From Ever changing code

A list of different hardware we need to install manually.

Install BCM Wireless network card

Follwing has been tested on:

  • 14e4:4311 - BCM4311 - Dell D420, 620, D630
$ lspci -nn | grep Network
0c:00.0 Network controller [0280]: Broadcom Corporation BCM4311 802.11b/g WLAN [14e4:4311] (rev 01)

Make sure you are connected to Internet, then install drivers:

sudo apt-get update
sudo apt-get install firmware-b43-installer
sudo apt-get remove bcmwl-kernel-source
sudo reboot

Install Nvidia GP108GLM Quadro P500 Mobile

This has been tested on Ubuntu 18.04 LTS running on Lenovo P52S laptop - i7-8550U. Visiting the following page and see what is the correct driver version for our graphic card. Afterwards, we will visit the graphic driver PPA homepage here and see if our graphic card is compatible with the drivers present in the repository.

sudo apt-get purge nvidia*
sudo add-apt-repository ppa:graphics-drivers
sudo apt-get update
sudo apt-get install nvidia-driver-430
sudo reboot


Verify

piotr@tp52s:~$ lsmod | grep nvidia
nvidia_uvm            815104  0
nvidia_drm             40960  8
nvidia_modeset       1110016  6 nvidia_drm
nvidia              18792448  552 nvidia_uvm,nvidia_modeset
ipmi_msghandler       102400  2 ipmi_devintf,nvidia
drm_kms_helper        172032  2 nvidia_drm,i915
drm                   458752  21 drm_kms_helper,nvidia_drm,i915
piotr@tp52s:~$ nvidia-smi 
Tue Jun 18 00:08:10 2019       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 430.26       Driver Version: 430.26       CUDA Version: 10.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Quadro P500         Off  | 00000000:02:00.0 Off |                  N/A |
| N/A   49C    P0    N/A /  N/A |    734MiB /  2002MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1369      G   /usr/lib/xorg/Xorg                           531MiB |
|    0      1544      G   /usr/bin/gnome-shell                         163MiB |
|    0      1937      G   gnome-control-center                           1MiB |
|    0      2104      G   /usr/bin/nvidia-settings                       1MiB |
|    0      3363      G   ...uest-channel-token=1036*********5314488    36MiB |
+-----------------------------------------------------------------------------+


ClipCapIt-190618-002226.PNG


Display help files

dpkg -L nvidia-driver-390

PCI ID Repository

The PCI IDs on your system is stored in the following file:

/usr/share/hwdata/pci.ids
# Syntax:
# vendor  vendor_name
#       device  device_name                             <-- single tab
#               subvendor subdevice  subsystem_name     <-- two tabs
Update the pci.ids file

The latest PCI ids are maintained by the PCI Ids site http://pci-ids.ucw.cz/

The following update-pciids command will download the compressed version of the file and install it accordingly. It will only work when you have either curl, or wget, or lynx on your system. The command is a part of pciutils package. In Ubuntu pci.ids file is downloaded daily.

# update-pciids
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  196k  100  196k    0     0   395k      0 --:--:-- --:--:-- --:--:--  539k
Done.