[{"data":1,"prerenderedAt":605},["ShallowReactive",2],{"\u002Fdocs\u002Fusage\u002Fhardware-and-drivers":3},{"id":4,"title":5,"body":6,"description":596,"extension":597,"meta":598,"navigation":599,"path":601,"seo":602,"stem":603,"__hash__":604},"docs\u002Fdocs\u002Fusage\u002Fhardware-and-drivers.md","Hardware and Drivers",{"type":7,"value":8,"toc":580},"minimark",[9,13,22,25,30,40,110,114,120,125,132,201,208,223,226,234,274,281,285,288,366,380,384,399,402,444,451,455,466,470,480,484,490,510,514,529,533,540,544,565,569,576],[10,11,5],"h1",{"id":12},"hardware-and-drivers",[14,15,16,17,21],"p",{},"On Windows, you often download drivers from manufacturers' websites. On LeiOS, almost all drivers\nare part of the Linux kernel and are already there. LeiOS also includes the ",[18,19,20],"strong",{},"firmware"," that many\ndevices need: for Intel, AMD, Realtek and Atheros Wi-Fi, Intel and AMD graphics, Intel sound and\nBluetooth chips, plus processor microcode updates for Intel and AMD.",[14,23,24],{},"So in most cases: plug it in, and it works. This page covers the exceptions.",[26,27,29],"h2",{"id":28},"see-whats-in-your-computer","See what's in your computer",[14,31,32,35,36,39],{},[18,33,34],{},"System Settings → About this System"," shows the essentials. The ",[18,37,38],{},"Info Center"," app shows\neverything in detail. In the terminal:",[41,42,47],"pre",{"className":43,"code":44,"language":45,"meta":46,"style":46},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","inxi -Fxz        # full overview: CPU, graphics, audio, network, drives\ninxi -G          # graphics only\ninxi -N          # network adapters and their drivers\nlspci -k         # PCI devices and the driver each one uses\nlsusb            # USB devices\n","bash","",[48,49,50,67,78,89,101],"code",{"__ignoreMap":46},[51,52,55,59,63],"span",{"class":53,"line":54},"line",1,[51,56,58],{"class":57},"sBMFI","inxi",[51,60,62],{"class":61},"sfazB"," -Fxz",[51,64,66],{"class":65},"sHwdD","        # full overview: CPU, graphics, audio, network, drives\n",[51,68,70,72,75],{"class":53,"line":69},2,[51,71,58],{"class":57},[51,73,74],{"class":61}," -G",[51,76,77],{"class":65},"          # graphics only\n",[51,79,81,83,86],{"class":53,"line":80},3,[51,82,58],{"class":57},[51,84,85],{"class":61}," -N",[51,87,88],{"class":65},"          # network adapters and their drivers\n",[51,90,92,95,98],{"class":53,"line":91},4,[51,93,94],{"class":57},"lspci",[51,96,97],{"class":61}," -k",[51,99,100],{"class":65},"         # PCI devices and the driver each one uses\n",[51,102,104,107],{"class":53,"line":103},5,[51,105,106],{"class":57},"lsusb",[51,108,109],{"class":65},"            # USB devices\n",[26,111,113],{"id":112},"graphics","Graphics",[14,115,116,119],{},[18,117,118],{},"Intel and AMD graphics"," work out of the box, including 3D acceleration and video decoding. There\nis nothing to install.",[121,122,124],"h3",{"id":123},"nvidia-graphics","NVIDIA graphics",[14,126,127,128,131],{},"NVIDIA cards work out of the box with the open-source ",[18,129,130],{},"nouveau"," driver, which is fine for the\ndesktop and videos. For gaming, 3D work and CUDA, install NVIDIA's own driver from Debian:",[133,134,135,163,186,198],"ol",{},[136,137,138,139],"li",{},"Check which driver your card needs:",[41,140,142],{"className":43,"code":141,"language":45,"meta":46,"style":46},"sudo apt install nvidia-detect\nnvidia-detect\n",[48,143,144,158],{"__ignoreMap":46},[51,145,146,149,152,155],{"class":53,"line":54},[51,147,148],{"class":57},"sudo",[51,150,151],{"class":61}," apt",[51,153,154],{"class":61}," install",[51,156,157],{"class":61}," nvidia-detect\n",[51,159,160],{"class":53,"line":69},[51,161,162],{"class":57},"nvidia-detect\n",[136,164,165,166,182,185],{},"Install the driver it recommends, usually:",[41,167,169],{"className":43,"code":168,"language":45,"meta":46,"style":46},"sudo apt install nvidia-driver\n",[48,170,171],{"__ignoreMap":46},[51,172,173,175,177,179],{"class":53,"line":54},[51,174,148],{"class":57},[51,176,151],{"class":61},[51,178,154],{"class":61},[51,180,181],{"class":61}," nvidia-driver\n",[183,184],"br",{},"The driver is built for your kernel during installation. That takes a few minutes.",[136,187,188,191,192,197],{},[18,189,190],{},"If Secure Boot is on",", follow ",[193,194,196],"a",{"href":195},"#drivers-and-secure-boot","Drivers and Secure Boot"," below\nbefore you restart.",[136,199,200],{},"Restart.",[14,202,203,204,207],{},"Check that it is used with ",[48,205,206],{},"nvidia-smi",".",[209,210,211],"note",{},[14,212,213,214,217,218,222],{},"If the screen stays black on the first start after installing LeiOS on a computer with an NVIDIA\ncard, add ",[48,215,216],{},"nomodeset"," to the boot entry once, as described in\n",[193,219,221],{"href":220},"\u002Fdocs\u002Fusage\u002Ftroubleshooting#black-screen-after-booting","Troubleshooting",", and then install the\ndriver as shown above.",[121,224,196],{"id":225},"drivers-and-secure-boot",[14,227,228,229,233],{},"With Secure Boot on, your computer only loads kernel drivers that are signed by a key it trusts.\nDrivers that are built on your computer, like NVIDIA's driver or some Wi-Fi drivers, are signed\nwith a key that LeiOS creates for you (a ",[230,231,232],"em",{},"Machine Owner Key",", MOK). You have to tell your computer\nto trust it, once:",[133,235,236,257,264],{},[136,237,238,239],{},"After installing the driver, import the key and choose a one-time password:",[41,240,242],{"className":43,"code":241,"language":45,"meta":46,"style":46},"sudo mokutil --import \u002Fvar\u002Flib\u002Fdkms\u002Fmok.pub\n",[48,243,244],{"__ignoreMap":46},[51,245,246,248,251,254],{"class":53,"line":54},[51,247,148],{"class":57},[51,249,250],{"class":61}," mokutil",[51,252,253],{"class":61}," --import",[51,255,256],{"class":61}," \u002Fvar\u002Flib\u002Fdkms\u002Fmok.pub\n",[136,258,259,260,263],{},"Restart. A blue ",[18,261,262],{},"MOK management"," screen appears before LeiOS starts.",[136,265,266,267,270,271,207],{},"Choose ",[18,268,269],{},"Enroll MOK → Continue → Yes",", enter the one-time password, and choose ",[18,272,273],{},"Reboot",[14,275,276,277,207],{},"You only do this once. Later driver updates are signed with the same key. If you'd rather skip\nthis, you can also turn Secure Boot off; see\n",[193,278,280],{"href":279},"\u002Fdocs\u002Fgetting-started\u002Fbooting-and-secure-boot#secure-boot","Booting and Secure Boot",[26,282,284],{"id":283},"wi-fi","Wi-Fi",[14,286,287],{},"Most Wi-Fi adapters work right away. If yours doesn't show any networks:",[133,289,290,301,336],{},[136,291,292,293,296,297,300],{},"Check that Wi-Fi isn't turned off: look for a Wi-Fi key or switch on your laptop, and for\n",[18,294,295],{},"Airplane mode"," in the network menu. In the terminal, ",[48,298,299],{},"rfkill list"," shows whether something is\nblocked.",[136,302,303,304,329,331,332,335],{},"Look for missing firmware:",[41,305,307],{"className":43,"code":306,"language":45,"meta":46,"style":46},"sudo dmesg | grep -i firmware\n",[48,308,309],{"__ignoreMap":46},[51,310,311,313,316,320,323,326],{"class":53,"line":54},[51,312,148],{"class":57},[51,314,315],{"class":61}," dmesg",[51,317,319],{"class":318},"sMK4o"," |",[51,321,322],{"class":57}," grep",[51,324,325],{"class":61}," -i",[51,327,328],{"class":61}," firmware\n",[183,330],{},"Lines with ",[230,333,334],{},"failed to load"," name the file the adapter needs.",[136,337,338,341,342,345,346,349,350],{},[18,339,340],{},"Broadcom"," adapters are the most common exception. Many need the ",[48,343,344],{},"firmware-brcm80211"," package,\nsome older ones the ",[48,347,348],{},"broadcom-sta-dkms"," driver. Install the right one with a network cable or\nUSB tethering from your phone, for example:",[41,351,353],{"className":43,"code":352,"language":45,"meta":46,"style":46},"sudo apt install firmware-brcm80211\n",[48,354,355],{"__ignoreMap":46},[51,356,357,359,361,363],{"class":53,"line":54},[51,358,148],{"class":57},[51,360,151],{"class":61},[51,362,154],{"class":61},[51,364,365],{"class":61}," firmware-brcm80211\n",[14,367,368,369,376,377,207],{},"If you're not sure what your adapter needs, ask on ",[193,370,375],{"href":371,"rel":372,"target":374},"https:\u002F\u002Fdiscord.gg\u002F8YC5BXjCc5",[373],"nofollow","_blank","Discord","\nwith the output of ",[48,378,379],{},"inxi -N",[26,381,383],{"id":382},"printers-and-scanners","Printers and scanners",[14,385,386,387,390,391,394,395,398],{},"Open ",[18,388,389],{},"System Settings → Printers"," and click ",[18,392,393],{},"Add Printer",". Most network printers from the last\nyears are found automatically and work without a driver (",[230,396,397],{},"driverless printing",", also known as\nIPP Everywhere or AirPrint).",[14,400,401],{},"For printers that need a driver:",[403,404,405,418],"table",{},[406,407,408],"thead",{},[409,410,411,415],"tr",{},[412,413,414],"th",{},"Brand",[412,416,417],{},"Install",[419,420,421,432],"tbody",{},[409,422,423,427],{},[424,425,426],"td",{},"HP",[424,428,429],{},[48,430,431],{},"sudo apt install hplip",[409,433,434,437],{},[424,435,436],{},"Brother, Canon, Epson and others",[424,438,439,440,443],{},"Search for the model in Discover or with ",[48,441,442],{},"apt search printer-driver",", or look for a Debian driver on the manufacturer's site.",[14,445,446,447,450],{},"For scanning, install ",[18,448,449],{},"Skanpage"," from Discover. Most USB and network scanners work without\nsetup.",[26,452,454],{"id":453},"bluetooth","Bluetooth",[14,456,457,458,461,462,465],{},"Click the ",[18,459,460],{},"Bluetooth icon"," in the system tray, or open ",[18,463,464],{},"System Settings → Bluetooth",", and pair\nyour headphones, mouse, keyboard or controller.",[26,467,469],{"id":468},"sound","Sound",[14,471,457,472,475,476,479],{},[18,473,474],{},"volume icon"," in the system tray to choose the output (speakers, headphones, HDMI) and\ninput device. ",[230,477,478],{},"System Settings → Sound"," has all details. LeiOS uses PipeWire, which handles\nBluetooth headsets and professional audio alike.",[26,481,483],{"id":482},"your-phone","Your phone",[14,485,486,489],{},[18,487,488],{},"KDE Connect"," links your phone and your computer over Wi-Fi: send files, share the clipboard,\nsee phone notifications on your desktop, and use your phone as a remote control.",[133,491,492,498,501],{},[136,493,494,495,497],{},"Install ",[18,496,488],{}," on your phone from the Google Play Store, F-Droid or the App Store.",[136,499,500],{},"Make sure both devices are on the same Wi-Fi network.",[136,502,386,503,506,507,207],{},[18,504,505],{},"System Settings → KDE Connect"," on LeiOS, select your phone and click ",[18,508,509],{},"Pair",[26,511,513],{"id":512},"displays","Displays",[14,515,516,517,520,521,524,525,528],{},"Set the resolution, refresh rate, arrangement and ",[18,518,519],{},"scaling"," for high-resolution screens in\n",[18,522,523],{},"System Settings → Display & Monitor",". External monitors are detected when you plug them in.\n",[18,526,527],{},"Night Light"," in the same section makes colors warmer in the evening.",[26,530,532],{"id":531},"touchpad-and-gestures","Touchpad and gestures",[14,534,535,536,539],{},"Configure tapping, scrolling direction and speed in ",[18,537,538],{},"System Settings → Touchpad",". On touchpads,\nswipe up with four fingers for the overview of all windows, and left or right with four fingers to\nswitch virtual desktops.",[26,541,543],{"id":542},"battery-and-power","Battery and power",[14,545,457,546,549,550,553,554,557,558,561,562,207],{},[18,547,548],{},"battery icon"," in the system tray to switch between ",[18,551,552],{},"Power Save",", ",[18,555,556],{},"Balanced"," and\n",[18,559,560],{},"Performance",". More options, such as what happens when you close the lid, are in ",[18,563,564],{},"System\nSettings → Power Management",[26,566,568],{"id":567},"firmware-updates","Firmware updates",[14,570,571,572,207],{},"Discover installs firmware updates for supported laptops, docks, SSDs and accessories. See\n",[193,573,575],{"href":574},"\u002Fdocs\u002Fusage\u002Fupdates-and-maintenance#firmware-updates","Updates and Maintenance",[577,578,579],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}",{"title":46,"searchDepth":69,"depth":69,"links":581},[582,583,587,588,589,590,591,592,593,594,595],{"id":28,"depth":69,"text":29},{"id":112,"depth":69,"text":113,"children":584},[585,586],{"id":123,"depth":80,"text":124},{"id":225,"depth":80,"text":196},{"id":283,"depth":69,"text":284},{"id":382,"depth":69,"text":383},{"id":453,"depth":69,"text":454},{"id":468,"depth":69,"text":469},{"id":482,"depth":69,"text":483},{"id":512,"depth":69,"text":513},{"id":531,"depth":69,"text":532},{"id":542,"depth":69,"text":543},{"id":567,"depth":69,"text":568},"Check your hardware on LeiOS, install NVIDIA drivers (also with Secure Boot), fix Wi-Fi firmware, and set up printers, scanners, Bluetooth and your phone.","md",{},{"title":600},"Hardware & Drivers","\u002Fdocs\u002Fusage\u002Fhardware-and-drivers",{"title":5,"description":596},"docs\u002Fusage\u002Fhardware-and-drivers","XjFAR0r0FPE2mwlYRLVHx7uO28HwW3YNjaWH_RRbSVI",1794173486592]