Re: Are All Drives Installed .

2020-06-25 Thread Mark Allums

On 6/25/2020 4:36 PM, Arun Mathai wrote:

Hello Guys,

 I own a Dell e6420 ,  and i had installed debian buster (mate).But 
the brightness and wifi drivers and i assume the hdmi drivers were not 
installed. How can i know that all the drivers for my device is installed?


You may need to install device firmware.  It is not installed by 
default.  Drivers come in packages.  Check if the driver package for 
your device is installed.  Rebooting will be necessary, and you may need 
to check configuration defaults.


Mark



Re: Are All Drives Installed .

2020-06-25 Thread David Christensen

On 2020-06-25 04:41, Greg Wooledge wrote:

On Thu, Jun 25, 2020 at 02:36:02PM -0700, Arun Mathai wrote:



The first thing you need to know is the difference between driver
and firmware.


Good point.  I installed the following Wi-Fi firmware package:

firmware-iwlwifi



When it comes to firmware, you can usually run "dmesg | grep -i firmware"
to see what firmware files the kernel wants to load, and which ones it
failed to load, and which ones it succeeded in loading.


2020-06-25 13:03:38 root@tinkywinky ~
# dmesg | grep -i firmware
[0.163136] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[9.856867] iwlwifi :03:00.0: firmware: direct-loading firmware 
iwlwifi-6000g2a-6.ucode
[9.857132] iwlwifi :03:00.0: loaded firmware version 18.168.6.1 
op_mode iwldvm




When you say "(mate)", this tells me you most likely used one of the
semi-official Debian Live installer images.  Not the standard netinst
image, and definitely not the unofficial netinst-plus-nonfree-firmware
image.


I prefer Debian 9 and the "amd64-xfce-CD-1" images:

https://cdimage.debian.org/cdimage/archive/

https://cdimage.debian.org/cdimage/archive/9.12.0/amd64/iso-cd/debian-9.12.0-amd64-xfce-CD-1.iso



Or it could be one of
those "Optimus" horror shows, with both an Intel chipset and an nvidia
chipset, in which case you are screwed.


I did try to install Debian on this same Latitude E6520 several years 
ago, and Optimus was a problem.  But, it does work today (with Optimums 
disabled in CMOS Setup).



David



Re: Are All Drives Installed .

2020-06-25 Thread David Christensen

On 2020-06-25 14:36, Arun Mathai wrote:

Hello Guys,

  I own a Dell e6420 ,  and i had installed debian buster (mate).But the 
brightness and wifi drivers and i assume the hdmi drivers were not 
installed. How can i know that all the drivers for my device is installed.


Regards,

Arun Mathai



My daily driver is Debian 9 amd64 Xfce on a 2.5" SSD that I move between 
computers as needed.  It was primarily in a Dell Inspiron E1505 for many 
years, but I recently upgraded to a Dell Latitude E6520.



The Inspiron had Intel graphics.  I presume the Debian Installer 
installed the Intel graphics driver.  Graphics worked, including brightness.



The Latitude has Intel graphics and an NVIDIA card ("Optimus").  I 
disabled Optimus in the BIOS.  Graphics works, including brightness. 
But exploring with lspci(8), dmesg(1), /proc/modules, etc., I cannot 
tell if Debian is using Intel or NVIDIA (?).



I recall the Inspiron came with a Broadcom Wi-Fi adapter.  I changed it 
out for an Intel adapter.  It needed the following driver package:


firmware-iwlwifi


The Latitude came with an Intel Wi-Fi adapter.  It appears to be using 
the above driver, and it works:


2020-06-25 13:01:53 root@tinkywinky ~
# dmesg | grep wifi
[9.838188] iwlwifi :03:00.0: can't disable ASPM; OS doesn't have 
ASPM control
[9.856867] iwlwifi :03:00.0: firmware: direct-loading firmware 
iwlwifi-6000g2a-6.ucode
[9.857132] iwlwifi :03:00.0: loaded firmware version 18.168.6.1 
op_mode iwldvm

[9.926992] iwlwifi :03:00.0: CONFIG_IWLWIFI_DEBUG disabled
[9.927087] iwlwifi :03:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
[9.927187] iwlwifi :03:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled
[9.927282] iwlwifi :03:00.0: Detected Intel(R) Centrino(R) 
Advanced-N 6205 AGN, REV=0xB0

[9.930845] iwlwifi :03:00.0: L1 Enabled - LTR Disabled
[9.937749] iwlwifi :03:00.0: RF_KILL bit toggled to disable radio.
[   10.210427] iwlwifi :03:00.0 wlp3s0: renamed from wlan0



STFW I found the following Dell web page.  Given the age of our Latitude 
computers (ca. 2012), it may not be of much use:


https://www.dell.com/support/article/en-us/sln151664/how-to-install-ubuntu-linux-on-your-dell-pc


David



Re: Are All Drives Installed .

2020-06-25 Thread Greg Wooledge
On Thu, Jun 25, 2020 at 02:36:02PM -0700, Arun Mathai wrote:
>  I own a Dell e6420

Google says this is a laptop, released in years 2010-2012.

> ,  and i had installed debian buster (mate).But the
> brightness and wifi drivers and i assume the hdmi drivers were not
> installed. How can i know that all the drivers for my device is installed.

The typo in the Subject: is a bit unfortunate, but we can work with
that.

The first thing you need to know is the difference between driver
and firmware.

A driver is a chunk of code that runs inside the kernel, often loaded
on demand as a kernel module.  Most drivers are included in the kernel
packages that you've already installed.  Some drivers have to be built
from source code on your system, using headers that match your kernel.

Firmware is a chunk of code that runs inside a device.  It's loaded
from a file on your disk, and uploaded into the device at boot time.
The kernel doesn't know or care what the firmware does; the kernel only
needs to know its name.

When it comes to firmware, you can usually run "dmesg | grep -i firmware"
to see what firmware files the kernel wants to load, and which ones it
failed to load, and which ones it succeeded in loading.  Given the
firmware filename from the kernel, you can do a package file search
to figure out which non-free package contains that firmware (if any).
Then, once you know what package to install, you simply use
"apt install packagename" to install it.


When you say "(mate)", this tells me you most likely used one of the
semi-official Debian Live installer images.  Not the standard netinst
image, and definitely not the unofficial netinst-plus-nonfree-firmware
image.

As such, you've got a system that's 100% Free (as in Libre), and does
not include any non-free firmware or drivers.

Sadly, almost all computers sold today require some non-free firmware
to work properly.  *Especially* laptops, and *MOST* especially wireless
network interfaces.  Wireless is the *worst* when it comes to Freedom.

In order to get your non-free devices working correctly, there are a
few steps to follow:

0) Make sure you actually have network repository lines for Debian
   in your /etc/apt/sources.list.  If you did an install without a
   working network, you may not have a working sources.list file,
   because this part of the installer was written by people who
   are completely out of touch with the user base.

1) Add " contrib non-free" to each network repository line in
  /etc/apt/sources.list and then run "apt update".

  Steps 0 and 1 together would give you a sources.list that looks
  like this:

deb http://deb.debian.org/debian buster main contrib non-free
deb http://deb.debian.org/debian-security buster/updates main contrib non-free
deb http://deb.debian.org/debian buster-updates main contrib non-free

   If your network didn't work during installation, you can just remove
   *everything* in the sources.list file and replace it with those
   three lines.  Don't forget to run "apt update".

2) Identify the hardware.  For most built-in devices, you can run
   "lspci -nn".  Don't forget the -nn option, as this adds the PCI ID
   code to the output, and that's the *only* way to be absolutely
   sure what the hardware actually is.  Vendors love to change the
   hardware but keep the model number the same, so you can't count
   on model numbers alone.

   For USB devices, you would normally use "lsusb".

3) Figure out what firmware and/or drivers are required for that
   hardware.  This is the hard part.  It's something you can Google
   for, given the PCI ID and model number and the key word "Debian".
   Other people who've dealt with your hardware in the past are
   likely to have posted about it *somewhere* on the Internet, and
   you can simply dig up their past advice.

   Or, you can post the "lspci -nn" or "lsusb" output for the device
   here, and it's pretty likely that someone will know how to deal
   with it.

For your video issues, on a laptop this old, it's possible that you
may only need to add some non-free firmware, and that may fix
everything.  Or, if it's an nvidia chipset, you may need to use
a non-free driver instead of the Free driver.  Or it could be one of
those "Optimus" horror shows, with both an Intel chipset and an nvidia
chipset, in which case you are screwed.

We won't know until we see the lspci -nn output.

For your wireless interface issues, you could need a whole non-free
driver, or you could simply need firmware.  Some of the drivers aren't
even in Debian, and have to be installed from outside sources.  Wireless
is the *worst*.



Re: Are All Drives Installed .

2020-06-25 Thread echo test
>
> Hello,

I'm a newbie too, if you want to know if your drivers are installed look at
the kernel logs with:
$ dmesg
If they're not you should see some error/warning messages. By default
Debian will not install non free software like proprietary drivers. If this
cause your issue, find the related driver and install it. For example, if
you use:
$ lspci
You may find your network adapter named Atheros.* then install
atheros-firmeware.deb. hope this help.

Normally nobody can help you without knowing what are the devices you whose
you want the drivers. Sorry if my English is bad, it's not my mother
language.


>
> Le jeu. 25 juin 2020 à 11:06, Arun Mathai  a
> écrit :
>
>> Hello Guys,
>>
>>   I own a Dell e6420 ,  and i had installed debian buster (mate).But the
>> brightness and wifi drivers and i assume the hdmi drivers were not
>> installed. How can i know that all the drivers for my device is installed.
>>
>> Regards,
>>
>> Arun Mathai
>>
>>
>>


Are All Drives Installed .

2020-06-25 Thread Arun Mathai

Hello Guys,

 I own a Dell e6420 ,  and i had installed debian buster (mate).But the 
brightness and wifi drivers and i assume the hdmi drivers were not 
installed. How can i know that all the drivers for my device is installed.


Regards,

Arun Mathai