10 BASH – Dischi fissi e memorie di massa viste da OpenSUSE

19 Febbraio, 2024 (14:57) | BASH, Linux | By: sargonsei

10 BASH – Dischi fissi e memorie di massa viste da OpenSUSE Tumbleweed

Analizzare Memorie Di Massa

Se l’ output è incompleto, impartire i comandi in modalità Super Utente.
I comandi:
inxi -SDp # Sistema operativo, H.D. e partizionamento disco rigido
lsblk -o vendor,tran,model,serial,type,pttype,mode,size,name,path,label,fstype,mountpoint | grep loop -v # Informazioni sulle partizioni
lsblk -o path,fstype,mountpoint | grep loop -v # Informazioni indispensabili per smontare e montare le partizioni
lsblk -o path,UUID,PARTUUID,LABEL,fstype,mountpoint | grep loop -v # Alternative a PATH per montare le partizioni
lsblk -o vendor,tran,model,serial,size,name,UUID,LABEL,mountpoint | egrep -v loop # Informazioni relative a dischi fissi e USB
lsblk -d | grep loop -v # Mostra memorie di massa
lsblk | grep snap -v # Mostra memorie di massa, Partizioni, Dimensioni, e Punti di mount
lsblk -m | grep loop -v # Mostra memorie di massa, Partizioni, Dimensioni, e Permessi
lsblk -f | grep loop -v # Mostra partizioni, File System, Label, UUID, Dimensioni, e Punti di mount
lsblk -p | grep loop -v # Mostra partizioni, Dimensioni, e Punti di mount
sudo blkid | grep loop -v # Mostra partizioni e relativi dati identificativi
df # Mostra partizioni, dimensioni, e punti di mount
df -T -h # Mostra partizioni, dimensioni, e punti di mount
dmesg|egrep -i 'sata|udma' # Mostra lettori CD/DVD
lspci -v | grep -iA 11 sata # Mostra controller SATA
#
sudo fdisk -l
sudo hdparm -I /dev/sda # Mostra informazioni dettagliate sul disco sda
sudo hdparm -I /dev/sr0 # Mostra informazioni dettagliate sul disco sr0

Esempi di output:

:~> inxi -SDp # Sistema operativo, H.D. e partizionamento disco rigido
System:
  Host: 192.168.1.6 Kernel: 6.7.4-1-default arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 5.27.10 Distro: openSUSE Tumbleweed 20240221
Drives:
  Local Storage: total: 1.38 TiB used: 602.01 GiB (42.7%)
  ID-1: /dev/nvme0n1 vendor: CYX model: SSD-C1000 size: 476.94 GiB
  ID-2: /dev/sda vendor: Western Digital model: WD10SPZX-22Z10T1
    size: 931.51 GiB type: USB
Partition:
  ID-1: / size: 48.91 GiB used: 14.46 GiB (29.6%) fs: ext4 dev: /dev/nvme0n1p4
  ID-2: /boot/efi size: 96 MiB used: 42.1 MiB (43.8%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /mnt/Dati size: 141.04 GiB used: 88.32 GiB (62.6%) fs: ntfs
    dev: /dev/nvme0n1p7
  ID-4: /mnt/L2 size: 43.99 GiB used: 30.1 GiB (68.4%) fs: ext4
    dev: /dev/nvme0n1p5
  ID-5: /mnt/L3 size: 39.08 GiB used: 11.16 GiB (28.5%) fs: ext4
    dev: /dev/nvme0n1p6
  ID-6: /mnt/W11 size: 200 GiB used: 47.53 GiB (23.8%) fs: ntfs
    dev: /dev/nvme0n1p3
  ID-7: /run/media/opensuse/INTENSO size: 931.28 GiB used: 410.4 GiB (44.1%)
    fs: vfat dev: /dev/sda1
:~> lsblk -o vendor,tran,model,serial,type,pttype,mode,size,name,path,label,fstype,mountpoint | grep loop -v # Informazioni sulle partizioni
VENDOR   TRAN   MODEL                SERIAL               TYPE PTTYPE MODE         SIZE NAME        PATH           LABEL    FSTYPE MOUNTPOINT
Intenso  usb    WDC WD10SPZX-22Z10T1 2017112430265        disk dos    brw-rw---- 931,5G sda         /dev/sda
                                                          part dos    brw-rw---- 931,5G └─sda1      /dev/sda1      INTENSO  vfat   /run/media/opensuse/INTENSO
Generic  usb    ATA/ATAPI Device     100000000000         disk        brw-rw----     0B sdb         /dev/sdb
HL-DT-ST usb    DVDRAM GP08NU20      0010101640003F1F5    rom         brw-rw----  1024M sr0         /dev/sr0
         nvme   CYX-SSD-C1000        230516000201N5121378 disk gpt    brw-rw---- 476,9G nvme0n1     /dev/nvme0n1
         nvme                                             part gpt    brw-rw----   100M ├─nvme0n1p1 /dev/nvme0n1p1 SYSTEM   vfat   /boot/efi
         nvme                                             part gpt    brw-rw----    16M ├─nvme0n1p2 /dev/nvme0n1p2
         nvme                                             part gpt    brw-rw----   200G ├─nvme0n1p3 /dev/nvme0n1p3 Windows  ntfs   /mnt/W11
         nvme                                             part gpt    brw-rw----    50G ├─nvme0n1p4 /dev/nvme0n1p4 L1       ext4   /
         nvme                                             part gpt    brw-rw----    45G ├─nvme0n1p5 /dev/nvme0n1p5 L2       ext4   /mnt/L2
         nvme                                             part gpt    brw-rw----    40G ├─nvme0n1p6 /dev/nvme0n1p6 L3       ext4   /mnt/L3
         nvme                                             part gpt    brw-rw----   141G ├─nvme0n1p7 /dev/nvme0n1p7 Dati     ntfs   /mnt/Dati
         nvme                                             part gpt    brw-rw----   800M └─nvme0n1p8 /dev/nvme0n1p8 Recovery ntfs
:~> lsblk -o path,fstype,mountpoint | grep loop -v # Informazioni indispensabili per smontare e montare le partizioni
PATH           FSTYPE MOUNTPOINT
/dev/sda
/dev/sda1      vfat   /run/media/opensuse/INTENSO
/dev/sdb
/dev/sr0
/dev/nvme0n1
/dev/nvme0n1p1 vfat   /boot/efi
/dev/nvme0n1p2
/dev/nvme0n1p3 ntfs   /mnt/W11
/dev/nvme0n1p4 ext4   /
/dev/nvme0n1p5 ext4   /mnt/L2
/dev/nvme0n1p6 ext4   /mnt/L3
/dev/nvme0n1p7 ntfs   /mnt/Dati
/dev/nvme0n1p8 ntfs
:~> lsblk -o path,UUID,PARTUUID,LABEL,fstype,mountpoint | grep loop -v # Alternative a PATH per montare le partizioni
PATH           UUID                                 PARTUUID                             LABEL    FSTYPE MOUNTPOINT
/dev/sda
/dev/sda1      3284-E8C7                            60817229-01                          INTENSO  vfat   /run/media/opensuse/INTENSO
/dev/sdb
/dev/sr0
/dev/nvme0n1
/dev/nvme0n1p1 1A32-EB64                            4d54f1a5-06f5-49a2-b2e5-33edc4d09e2f SYSTEM   vfat   /boot/efi
/dev/nvme0n1p2                                      dc01a7dc-a6ba-433b-95c7-0efe85576e63
/dev/nvme0n1p3 341033B2103379C6                     3fd157ba-7fb5-4874-8578-3a5270a63214 Windows  ntfs   /mnt/W11
/dev/nvme0n1p4 3468bef4-dfcc-4b9d-b669-3210886dff01 f075fb74-d086-46ad-85c1-6e25a6de5760 L1       ext4   /
/dev/nvme0n1p5 10df78d3-4195-457d-af10-700d1e85f377 dc59bb67-cbce-4453-adaf-563df6dda060 L2       ext4   /mnt/L2
/dev/nvme0n1p6 e9cb4d24-62b0-4ab6-b786-cd2b19d6ed54 1a457758-ae68-47f5-b160-21cfaeff0aa5 L3       ext4   /mnt/L3
/dev/nvme0n1p7 1A4C4B77758AFF87                     e2306890-b101-4cd6-875a-c6042cecf208 Dati     ntfs   /mnt/Dati
/dev/nvme0n1p8 2A74348174345235                     e3231ba4-c982-4a77-87de-5d0de726afb8 Recovery ntfs
:~> lsblk -o vendor,tran,model,serial,size,name,UUID,LABEL,mountpoint | egrep -v loop # Informazioni relative a dischi fissi e USB
VENDOR   TRAN   MODEL                SERIAL                 SIZE NAME        UUID                                 LABEL    MOUNTPOINT
Intenso  usb    WDC WD10SPZX-22Z10T1 2017112430265        931,5G sda
                                                          931,5G └─sda1      3284-E8C7                            INTENSO  /run/media/opensuse/INTENSO
Generic  usb    ATA/ATAPI Device     100000000000             0B sdb
HL-DT-ST usb    DVDRAM GP08NU20      0010101640003F1F5     1024M sr0
         nvme   CYX-SSD-C1000        230516000201N5121378 476,9G nvme0n1
         nvme                                               100M ├─nvme0n1p1 1A32-EB64                            SYSTEM   /boot/efi
         nvme                                                16M ├─nvme0n1p2
         nvme                                               200G ├─nvme0n1p3 341033B2103379C6                     Windows  /mnt/W11
         nvme                                                50G ├─nvme0n1p4 3468bef4-dfcc-4b9d-b669-3210886dff01 L1       /
         nvme                                                45G ├─nvme0n1p5 10df78d3-4195-457d-af10-700d1e85f377 L2       /mnt/L2
         nvme                                                40G ├─nvme0n1p6 e9cb4d24-62b0-4ab6-b786-cd2b19d6ed54 L3       /mnt/L3
         nvme                                               141G ├─nvme0n1p7 1A4C4B77758AFF87                     Dati     /mnt/Dati
         nvme                                               800M └─nvme0n1p8 2A74348174345235                     Recovery
:~> lsblk -d | grep loop -v # Mostra memorie di massa
NAME    MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda       8:0    0 931,5G  0 disk
sdb       8:16   1     0B  0 disk
sr0      11:0    1  1024M  0 rom
nvme0n1 259:0    0 476,9G  0 disk
:~> lsblk | grep snap -v # Mostra memorie di massa, Partizioni, Dimensioni, e Punti di mount.
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    0 931,5G  0 disk
└─sda1        8:1    0 931,5G  0 part /run/media/opensuse/INTENSO
sdb           8:16   1     0B  0 disk
sr0          11:0    1  1024M  0 rom
nvme0n1     259:0    0 476,9G  0 disk
├─nvme0n1p1 259:1    0   100M  0 part /boot/efi
├─nvme0n1p2 259:2    0    16M  0 part
├─nvme0n1p3 259:3    0   200G  0 part /mnt/W11
├─nvme0n1p4 259:4    0    50G  0 part /
├─nvme0n1p5 259:5    0    45G  0 part /mnt/L2
├─nvme0n1p6 259:6    0    40G  0 part /mnt/L3
├─nvme0n1p7 259:7    0   141G  0 part /mnt/Dati
└─nvme0n1p8 259:8    0   800M  0 part
:~> lsblk -m | grep loop -v # Mostra memorie di massa, Partizioni, Dimensioni, e Permessi
NAME          SIZE OWNER GROUP MODE
sda         931,5G root  disk  brw-rw----
└─sda1      931,5G root  disk  brw-rw----
sdb             0B root  disk  brw-rw----
sr0          1024M root  cdrom brw-rw----
nvme0n1     476,9G root  disk  brw-rw----
├─nvme0n1p1   100M root  disk  brw-rw----
├─nvme0n1p2    16M root  disk  brw-rw----
├─nvme0n1p3   200G root  disk  brw-rw----
├─nvme0n1p4    50G root  disk  brw-rw----
├─nvme0n1p5    45G root  disk  brw-rw----
├─nvme0n1p6    40G root  disk  brw-rw----
├─nvme0n1p7   141G root  disk  brw-rw----
└─nvme0n1p8   800M root  disk  brw-rw----
:~> lsblk -f | grep loop -v # Mostra partizioni, File System, Label, UUID, Dimensioni, e Punti di mount
NAME        FSTYPE FSVER LABEL    UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda
└─sda1      vfat   FAT32 INTENSO  3284-E8C7                             520,9G    44% /run/media/opensuse/INTENSO
sdb
sr0
nvme0n1
├─nvme0n1p1 vfat   FAT32 SYSTEM   1A32-EB64                              53,9M    44% /boot/efi
├─nvme0n1p2
├─nvme0n1p3 ntfs         Windows  341033B2103379C6                      152,5G    24% /mnt/W11
├─nvme0n1p4 ext4   1.0   L1       3468bef4-dfcc-4b9d-b669-3210886dff01   31,9G    30% /
├─nvme0n1p5 ext4   1.0   L2       10df78d3-4195-457d-af10-700d1e85f377   11,6G    68% /mnt/L2
├─nvme0n1p6 ext4   1.0   L3       e9cb4d24-62b0-4ab6-b786-cd2b19d6ed54   25,9G    29% /mnt/L3
├─nvme0n1p7 ntfs         Dati     1A4C4B77758AFF87                       52,7G    63% /mnt/Dati
└─nvme0n1p8 ntfs         Recovery 2A74348174345235
:~> lsblk -p | grep loop -v # Mostra partizioni, Dimensioni, e Punti di mount
NAME             MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
/dev/sda           8:0    0 931,5G  0 disk
└─/dev/sda1        8:1    0 931,5G  0 part /run/media/opensuse/INTENSO
/dev/sdb           8:16   1     0B  0 disk
/dev/sr0          11:0    1  1024M  0 rom
/dev/nvme0n1     259:0    0 476,9G  0 disk
├─/dev/nvme0n1p1 259:1    0   100M  0 part /boot/efi
├─/dev/nvme0n1p2 259:2    0    16M  0 part
├─/dev/nvme0n1p3 259:3    0   200G  0 part /mnt/W11
├─/dev/nvme0n1p4 259:4    0    50G  0 part /
├─/dev/nvme0n1p5 259:5    0    45G  0 part /mnt/L2
├─/dev/nvme0n1p6 259:6    0    40G  0 part /mnt/L3
├─/dev/nvme0n1p7 259:7    0   141G  0 part /mnt/Dati
└─/dev/nvme0n1p8 259:8    0   800M  0 part
:~> sudo blkid | grep loop -v # Mostra partizioni e relativi dati identificativi
[sudo] password di root:
/dev/nvme0n1p7: LABEL="Dati" BLOCK_SIZE="512" UUID="1A4C4B77758AFF87" TYPE="ntfs" PARTLABEL="Dati" PARTUUID="e2306890-b101-4cd6-875a-c6042cecf208"
/dev/nvme0n1p5: LABEL="L2" UUID="10df78d3-4195-457d-af10-700d1e85f377" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="L2" PARTUUID="dc59bb67-cbce-4453-adaf-563df6dda060"
/dev/nvme0n1p3: LABEL="Windows" BLOCK_SIZE="512" UUID="341033B2103379C6" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="3fd157ba-7fb5-4874-8578-3a5270a63214"
/dev/nvme0n1p1: LABEL_FATBOOT="SYSTEM" LABEL="SYSTEM" UUID="1A32-EB64" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="4d54f1a5-06f5-49a2-b2e5-33edc4d09e2f"
/dev/nvme0n1p8: LABEL="Recovery" BLOCK_SIZE="512" UUID="2A74348174345235" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="e3231ba4-c982-4a77-87de-5d0de726afb8"
/dev/nvme0n1p6: LABEL="L3" UUID="e9cb4d24-62b0-4ab6-b786-cd2b19d6ed54" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="L3" PARTUUID="1a457758-ae68-47f5-b160-21cfaeff0aa5"
/dev/nvme0n1p4: LABEL="L1" UUID="3468bef4-dfcc-4b9d-b669-3210886dff01" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="L1" PARTUUID="f075fb74-d086-46ad-85c1-6e25a6de5760"
/dev/nvme0n1p2: PARTLABEL="Microsoft reserved partition" PARTUUID="dc01a7dc-a6ba-433b-95c7-0efe85576e63"
/dev/sda1: LABEL="INTENSO" UUID="3284-E8C7" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="60817229-01"
:~> df # Mostra partizioni, dimensioni, e punti di mount
File system    1K-blocchi     Usati Disponib. Uso% Montato su
/dev/nvme0n1p4   51290592  15165644  33487124  32% /
devtmpfs             4096         4      4092   1% /dev
tmpfs             8076460         0   8076460   0% /dev/shm
efivarfs              192       100        88  54% /sys/firmware/efi/efivars
tmpfs             3230588      1760   3228828   1% /run
tmpfs             8076464         4   8076460   1% /tmp
/dev/nvme0n1p7  147894268  92608592  55285676  63% /mnt/Dati
/dev/nvme0n1p3  209715196  49836672 159878524  24% /mnt/W11
/dev/nvme0n1p5   46130004  31565072  12189252  73% /mnt/L2
/dev/nvme0n1p6   40973536  11697156  27162844  31% /mnt/L3
/dev/nvme0n1p1      98304     43068     55236  44% /boot/efi
tmpfs             1615292        76   1615216   1% /run/user/1000
/dev/sda1       976519104 430335552 546183552  45% /run/media/opensuse/INTENSO
:~> df -T -h # Mostra partizioni, dimensioni, e punti di mount
File system    Tipo      Dim. Usati Dispon. Uso% Montato su
/dev/nvme0n1p4 ext4       49G   15G     32G  32% /
devtmpfs       devtmpfs  4,0M  4,0K    4,0M   1% /dev
tmpfs          tmpfs     7,8G     0    7,8G   0% /dev/shm
efivarfs       efivarfs  192K  100K     88K  54% /sys/firmware/efi/efivars
tmpfs          tmpfs     3,1G  1,8M    3,1G   1% /run
tmpfs          tmpfs     7,8G  4,0K    7,8G   1% /tmp
/dev/nvme0n1p7 fuseblk   142G   89G     53G  63% /mnt/Dati
/dev/nvme0n1p3 fuseblk   200G   48G    153G  24% /mnt/W11
/dev/nvme0n1p5 ext4       44G   31G     12G  73% /mnt/L2
/dev/nvme0n1p6 ext4       40G   12G     26G  31% /mnt/L3
/dev/nvme0n1p1 vfat       96M   43M     54M  44% /boot/efi
tmpfs          tmpfs     1,6G   76K    1,6G   1% /run/user/1000
/dev/sda1      vfat      932G  411G    521G  45% /run/media/opensuse/INTENSO
:~> dmesg|egrep -i 'sata|udma' # Mostra lettori CD/DVD
[    0.764064] ahci 0000:00:17.0: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
[    0.765375] ata1: SATA max UDMA/133 abar m2048@0x80702000 port 0x80702100 irq 135 lpm-pol 0
[    0.765379] ata2: SATA max UDMA/133 abar m2048@0x80702000 port 0x80702180 irq 135 lpm-pol 0
[    1.084168] ata2: SATA link down (SStatus 4 SControl 300)
[    1.084204] ata1: SATA link down (SStatus 4 SControl 300)
[    2.150949] usb 2-3.3: Product: Generic USB3.0 to SATA bridge
:~> lspci -v | grep -iA 11 sata # Mostra controller SATA
00:17.0 SATA controller: Intel Corporation Tiger Lake-LP SATA Controller (rev 30) (prog-if 01 [AHCI 1.0])
        DeviceName: Onboard - SATA
        Subsystem: Intel Corporation Device 7270
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 135
        Memory at 80700000 (32-bit, non-prefetchable) [size=8K]
        Memory at 80703000 (32-bit, non-prefetchable) [size=256]
        I/O ports at 5090 [size=8]
        I/O ports at 5080 [size=4]
        I/O ports at 5060 [size=32]
        Memory at 80702000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: 
        Kernel driver in use: ahci
        Kernel modules: ahci
:~> sudo fdisk -l
Disk /dev/nvme0n1: 476,94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: CYX-SSD-C1000
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: BCCD6E2D-F8D5-4850-9847-84F6A7BD9F14

Dispositivo        Start       Fine   Settori  Size Tipo
/dev/nvme0n1p1      2048     206847    204800  100M EFI System
/dev/nvme0n1p2    206848     239615     32768   16M Microsoft reserved
/dev/nvme0n1p3    239616  419670015 419430400  200G Microsoft basic data
/dev/nvme0n1p4 419670016  524527615 104857600   50G Linux filesystem
/dev/nvme0n1p5 524527616  618899455  94371840   45G Linux filesystem
/dev/nvme0n1p6 618899456  702785535  83886080   40G Linux filesystem
/dev/nvme0n1p7 702785536  998574079 295788544  141G Microsoft basic data
/dev/nvme0n1p8 998576128 1000214527   1638400  800M Windows recovery environment


Disk /dev/sda: 931,51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: External USB 3.0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x60817229

Dispositivo Avvio Start       Fine    Settori   Size Id Tipo
/dev/sda1          2048 1953520064 1953518017 931,5G  c W95 FAT32 (LBA)
:~> sudo hdparm -I /dev/sda # Mostra informazioni dettagliate sul disco sda

/dev/sda:

ATA device, with non-removable media
        Model Number:       WDC WD10SPZX-22Z10T1
        Serial Number:      WD-WXT1A49017ZE
        Firmware Revision:  04.01A04
        Transport:          Serial, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
        Used: unknown (minor revision code 0x006d)
        Supported: 10 9 8 7 6 5
        Likely used: 10
Configuration:
        Logical         max     current
        cylinders       16383   0
        heads           16      0
        sectors/track   63      0
        --
        LBA    user addressable sectors:   268435455
        LBA48  user addressable sectors:  1953525168
        Logical  Sector size:                   512 bytes
        Physical Sector size:                  4096 bytes
        Logical Sector-0 offset:                  0 bytes
        device size with M = 1024*1024:      953869 MBytes
        device size with M = 1000*1000:     1000204 MBytes (1000 GB)
        cache/buffer size  = unknown
        Form Factor: 2.5 inch
        Nominal Media Rotation Rate: 5400
Capabilities:
        LBA, IORDY(can be disabled)
        Queue depth: 32
        Standby timer values: spec'd by Standard, with device specific minimum
        R/W multiple sector transfer: Max = 16  Current = 16
        Advanced power management level: 128
        DMA: *mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 udma6
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4
             Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
        Enabled Supported:
           *    SMART feature set
                Security Mode feature set
           *    Power Management feature set
           *    Write cache
           *    Look-ahead
           *    WRITE_BUFFER command
           *    READ_BUFFER command
           *    NOP cmd
           *    DOWNLOAD_MICROCODE
           *    Advanced Power Management feature set
                Power-Up In Standby feature set
           *    SET_FEATURES required to spinup after power up
           *    48-bit Address feature set
           *    Mandatory FLUSH_CACHE
           *    FLUSH_CACHE_EXT
           *    SMART error logging
           *    SMART self-test
           *    General Purpose Logging feature set
           *    64-bit World wide name
           *    IDLE_IMMEDIATE with UNLOAD
           *    {READ,WRITE}_DMA_EXT_GPL commands
           *    Segmented DOWNLOAD_MICROCODE
                unknown 119[8]
           *    Gen1 signaling speed (1.5Gb/s)
           *    Gen2 signaling speed (3.0Gb/s)
           *    Gen3 signaling speed (6.0Gb/s)
           *    Native Command Queueing (NCQ)
           *    Host-initiated interface power management
           *    Phy event counters
           *    Idle-Unload when NCQ is active
           *    NCQ priority information
           *    READ_LOG_DMA_EXT equivalent to READ_LOG_EXT
                DMA Setup Auto-Activate optimization
                Device-initiated interface power management
                Software settings preservation
           *    SMART Command Transport (SCT) feature set
           *    SCT Write Same (AC2)
           *    SCT Features Control (AC4)
           *    SCT Data Tables (AC5)
                unknown 206[12] (vendor specific)
                unknown 206[13] (vendor specific)
           *    Extended number of user addressable sectors
           *    DOWNLOAD MICROCODE DMA command
           *    WRITE BUFFER DMA command
           *    READ BUFFER DMA command
           *    Data Set Management TRIM supported (limit 10 blocks)
           *    Deterministic read data after TRIM
Security:
        Master password revision code = 65534
                supported
        not     enabled
        not     locked
        not     frozen
        not     expired: security count
                supported: enhanced erase
        184min for SECURITY ERASE UNIT. 184min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 50014ee2668498b0
        NAA             : 5
        IEEE OUI        : 0014ee
        Unique ID       : 2668498b0
Checksum: correct
:~> sudo hdparm -I /dev/sr0 # Mostra informazioni dettagliate sul disco sr0

/dev/sr0:
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0e 00 00 00 00 64 00 00 00 00 00 00 00 00 1b 00 00 00 00 00 00 00 00 00 00
:~>

09 BASH – Memoria RAM e SWAP viste da OpenSUSE

19 Febbraio, 2024 (14:55) | BASH, Linux | By: sargonsei

09 BASH – Memoria RAM e SWAP viste da OpenSUSE Tumbleweed

Onde evitare inutili allarmismi, si precisa che le recenti distribuzioni di Linux possono funzionare bene anche in assenza di partizione di SWAP, in quanto sono in grado di creare un apposito file-dati che ne fa le veci.

sudo inxi -Smjxxx # Visualizza Sistema Operativo, Memoria RAM e SWAP
free # Visualizza memoria RAM e SWAP presenti nel Computer
dmesg|egrep RAM # Verifica che la memoria RAM sia vista correttamente dal Sistema Operativo
dmesg|egrep -i swap # Verifica che la partizione SWAP sia stata montata correttamente

Esempi di output:

:~> sudo inxi -Smjxxx # Visualizza Sistema Operativo, Memoria RAM e SWAP
[sudo] password di root:
System:
  Host: 192.168.1.6 Kernel: 6.7.4-1-default arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc
  Console: pty pts/2 DM: SDDM Distro: openSUSE Tumbleweed 20240216
Memory:
  System RAM: total: 16 GiB available: 15.4 GiB used: 2.39 GiB (15.5%) igpu: 60 MiB
  Array-1: capacity: 64 GiB slots: 2 modules: 2 EC: None max-module-size: 32 GiB note: est.
  Device-1: Controller0-ChannelA-DIMM0 type: DDR4 detail: synchronous size: 8 GiB speed:
    spec: 2667 MT/s actual: 2400 MT/s volts: 1.2 width (bits): data: 64 total: 64
    manufacturer: Kimtigo Semiconductor (HK) Limited part-no: KTB900D4S8-8GB serial: 58083B0F
  Device-2: Controller1-ChannelA-DIMM0 type: DDR4 detail: synchronous size: 8 GiB speed:
    spec: 2667 MT/s actual: 2400 MT/s volts: 1.2 width (bits): data: 64 total: 64
    manufacturer: Kimtigo Semiconductor (HK) Limited part-no: KTB900D4S8-8GB serial: 58083B0E
Swap:
  Alert: No swap data was found.
:~>  free # Visualizza memoria RAM e SWAP presenti nel Computer
               total        used        free      shared  buff/cache   available
Mem:        16152928     2484668    12770668      447920     1625596    13668260
Swap:              0           0           0
:~>  dmesg|egrep RAM # Verifica che la memoria RAM sia vista correttamente dal Sistema Operativo
[    0.000000] BIOS-provided physical RAM map:
[    0.036093] RAMDISK: [mem 0x68295000-0x6a039fff]
[    0.191949] e820: reserve RAM buffer [mem 0x0009f000-0x0009ffff]
[    0.191951] e820: reserve RAM buffer [mem 0x6e205000-0x6fffffff]
[    0.191952] e820: reserve RAM buffer [mem 0x6fd36000-0x6fffffff]
[    0.191954] e820: reserve RAM buffer [mem 0x726a3000-0x73ffffff]
[    0.191955] e820: reserve RAM buffer [mem 0x76000000-0x77ffffff]
[    0.191957] e820: reserve RAM buffer [mem 0x47fc00000-0x47fffffff]
[    0.452349] systemd[1]: systemd 254.8+suse.22.g67a5ac1043 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA -SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK -XKBCOMMON -UTMP +SYSVINIT default-hierarchy=unified)
[    3.516660] systemd[1]: systemd 254.8+suse.22.g67a5ac1043 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA -SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK -XKBCOMMON -UTMP +SYSVINIT default-hierarchy=unified)
[    3.609472] scsi 3:0:0:0: CD-ROM            HL-DT-ST DVDRAM GP08NU20  1.01 PQ: 0 ANSI: 0
:~>  dmesg|egrep -i swap # Verifica che la partizione SWAP sia stata montata correttamente
[    0.074835] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.567094] systemd[1]: Reached target Swaps.
[    4.188219] systemd[1]: Reached target Swaps.
:~>

08 BASH – Lettore CD-DVD visto da OpenSUSE

19 Febbraio, 2024 (14:53) | BASH, Linux | By: sargonsei

08 BASH – Lettore CD-DVD visto da OpenSUSE Tumbleweed

Se l’ output è incompleto, impartire i comandi in modalità Super Utente.
I comandi:

inxi -Sdxxx # Sistema operativo, memorie di massa e lettori CD-DVD
lspci | awk '$2 == "SATA" {system("lspci -vs " $1)}' # Periferiche SATA connesse a porte PCI
lsusb -v | grep -iA 22 SATA # Periferiche SATA connesse a porte USB
#
/usr/sbin/hwinfo --cdrom # Informazioni relative a lettori CD-ROM (DVD)
sudo hwinfo --cdrom # Informazioni relative a lettori CD-ROM (DVD)
sudo hdparm -I /dev/sr0 # Mostra informazioni sul contenuto del disco sr0

Esempi di output:

:~> inxi -Sdxxx # Sistema operativo, memorie di massa e lettori CD-DVD
System:
  Host: 192.168.1.6 Kernel: 6.7.4-1-default arch: x86_64 bits: 64
    compiler: gcc v: 13.2.1 clocksource: tsc
  Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.12 wm: kwin_x11 vt: 2
    dm: SDDM Distro: openSUSE Tumbleweed 20240216
Drives:
  Local Storage: total: 476.94 GiB used: 187.07 GiB (39.2%)
  ID-1: /dev/nvme0n1 vendor: CYX model: SSD-C1000 size: 476.94 GiB
    speed: 31.6 Gb/s lanes: 4 tech: SSD serial: 230516000201N5121378
    fw-rev: SN09803 temp: 30.9 C scheme: GPT
  Optical-1: /dev/sr0 vendor: HL-DT-ST model: DVDRAM GP08NU20 rev: 1.01
    dev-links: cdrom
  Features: speed: 24 multisession: yes audio: yes dvd: yes
    rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
:~> lspci | awk '$2 == "SATA" {system("lspci -vs " $1)}' # Periferiche SATA connesse a porte PCI
00:17.0 SATA controller: Intel Corporation Tiger Lake-LP SATA Controller (rev 30) (prog-if 01 [AHCI 1.0])
        DeviceName: Onboard - SATA
        Subsystem: Intel Corporation Device 7270
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 135
        Memory at 80700000 (32-bit, non-prefetchable) [size=8K]
        Memory at 80703000 (32-bit, non-prefetchable) [size=256]
        I/O ports at 5090 [size=8]
        I/O ports at 5080 [size=4]
        I/O ports at 5060 [size=32]
        Memory at 80702000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: 
        Kernel driver in use: ahci
        Kernel modules: ahci

:~> lsusb -v | grep -iA 22 SATA # Periferiche SATA connesse a porte USB
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Couldn't open device, some information will be missing
Bus 001 Device 008: ID 152e:1640 LG (HLDS) INIC-1605 SATA Bridge
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 [unknown]
  bDeviceSubClass         0 [unknown]
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x152e LG (HLDS)
  idProduct          0x1640 INIC-1605 SATA Bridge
  bcdDevice            1.62
  iManufacturer           1 HLDS Inc
  iProduct                2 SuperMulti RW
  iSerial                 3 0010101640003F1F5
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0020
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
Couldn't open device, some information will be missing
--
Bus 002 Device 003: ID 1f75:0888 Innostor Technology Corporation IS888 SATA Storage Controller
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            0 [unknown]
  bDeviceSubClass         0 [unknown]
  bDeviceProtocol         0
  bMaxPacketSize0         9
  idVendor           0x1f75 Innostor Technology Corporation
  idProduct          0x0888 IS888 SATA Storage Controller
  bcdDevice            0.36
  iManufacturer           1 Generic
  iProduct                2 Generic USB3.0 to SATA bridge
  iSerial                 3 100000000000
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x002c
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              800mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0
:~> /usr/sbin/hwinfo --cdrom # Informazioni relative a lettori CD-ROM (DVD)
27: SCSI 300.0: 10602 CD-ROM (DVD)
  [Created at block.259]
  Unique ID: POWV.QGSRWIIfio8
  Parent ID: MZfG._jFtzZRlG19
  SysFS ID: /class/block/sr0
  SysFS BusID: 3:0:0:0
  SysFS Device Link: /devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.0/host3/target3:0:0/3:0:0:0
  Hardware Class: cdrom
  Model: "HL-DT-ST DVDRAM GP08NU20"
  Vendor: usb 0x152e "HL-DT-ST"
  Device: usb 0x1640 "DVDRAM GP08NU20"
  Revision: "1.01"
  Serial ID: "0010101640003F1F5"
  Driver: "usb-storage", "sr"
  Driver Modules: "usb_storage", "sr_mod"
  Device File: /dev/sr0 (/dev/sg1)
  Device Files: /dev/sr0, /dev/disk/by-diskseq/5, /dev/disk/by-id/usb-HL-DT-ST_DVDRAM_GP08NU20_0010101640003F1F5-0:0, /dev/disk/by-path/pci-0000:00:14.0-usb-0:9:1.0-scsi-0:0:0:0, /dev/cdrom, /dev/disk/by-path/pci-0000:00:14.0-usbv2-0:9:1.0-scsi-0:0:0:0
  Device Number: block 11:0 (char 21:1)
  Features: CD-R, CD-RW, DVD, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL, DVD-RAM, MRW, MRW-W
  Speed: 480 Mbps
  Module Alias: "usb:v152Ep1640d0162dc00dsc00dp00ic08isc02ip50in00"
  Driver Info #0:
    Driver Status: usb_storage is active
    Driver Activation Cmd: "modprobe usb_storage"
  Drive status: no medium
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #22 (USB Controller)
  Drive Speed: 24
:~>

07 BASH – Connessione a Internet vista da OpenSUSE

19 Febbraio, 2024 (14:49) | BASH, Linux | By: sargonsei

07 BASH – Connessione a Internet vista da OpenSUSE Tumbleweed

ATTENZIONE: Le prove sono state effettuate su un PC dotato di hardware in grado di connettersi ad internet sia tramite rete Ethernet, sia tramite WiFi USB, sia tramite WiFi integrato. I relativi output rilevano 2 periferiche WiFi USB in quanto -come dimostra l’output del comando [lsusb -vt]- la periferica WiFi USB integrata è connessa alla scheda madre tramite porta USB interna.

I comandi:
inxi -SnEzxxx # Sistema Operativo e Connessioni a Internet disponibili
lspci | grep -i net # Verifica la presenza di schede di rete integrate
lspci | awk '$2 == "Ethernet" {system("lspci -vs " $1)}' # Informazioni relative a Ethernet integrata
lspci | awk '$2 == "Network" {system("lspci -vs " $1)}' # Informazioni relative a WiFi integrato
sudo lspci -vd 10ec:8168|head -17 # Informazioni periferica PCI (Ethernet) avente vendor=10ec e product=8168
sudo lspci -vd 10ec:b852|head -17 # Informazioni periferica PCI (WiFi) avente vendor=10ec e product=b852
lsusb | grep -i wirel # Informazioni relative a WiFi USB
sudo lsusb -vd 0846:4260|head -17 # Informazioni periferica USB (WiFi porta USB) avente vendor=0846 e product=4260
lsusb -vs 001:009|head -17 # Informazioni periferica USB (WiFi connessa a porta USB) connessa al Bus 001 Device 009
lsusb -vt # Elenco periferiche USB e relativi hub
/usr/sbin/arp # Dati relativi alla rete internet
sudo cat "/var/lib/NetworkManager/NetworkManager.state" # Stato di NetworkManager
ip addr | sed '/^[0-9]/!d;s/: <.*$//' # Elenca dispositivi Internet
/usr/sbin/iwconfig # Visualizza parametri delle interfaccie di rete WIFI
nmcli device status # Visualizza informazioni di connessione
nmcli device wifi list # Rete WiFi in uso + raggiungibili
/usr/sbin/rfkill # Elenco, tipologia, e stato reti WiFi
cat /etc/resolv.conf # Informazioni sui server DNS configurati
dmesg | grep -i wireless # Verifica WiFi attivi e relativi firmware
dmesg | grep -i renamed # Verifica nomi connessioni Internet
ifconfig # Visualizza parametri delle interfaccie di rete
ls -l /etc/NetworkManager/system-connections # Lista files di configurazione connessione Internet
ping -c 5 192.168.1.1 # Raggiungibilità del proprio gateway (“router ADSL”)
ping -c 5 8.8.8.8 # Raggiungibilità di un host su Internet (senza risoluzione via server DNS)
ping -c 5 google.it # Raggiungibilità di un host su Internet (con risoluzione via server DNS)
route -n # Tabella di routing
/usr/sbin/lshw -c network # Informazioni sulle schede di rete rilevate (PCI e USB)
/usr/sbin/iwlist scan # Elenco Reti Wifi disponibili e relative caratteristiche
sudo cat "/etc/NetworkManager/system-connections/Wind3 HUB - C53194.nmconnection" # Informazioni relative a Network Manager e sue connessioni configurate +password

Esempi di output:

:~> inxi -SnEzxxx # Sistema Operativo e Connessioni a Internet disponibili
System:
  Kernel: 6.7.4-1-default arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc
  Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.12 wm: kwin_x11 vt: 2
    dm: SDDM Distro: openSUSE Tumbleweed 20240222
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: 4000
    bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp2s0 state: down mac: 
  Device-2: Realtek RTL8852BE PCIe 802.11ax Wireless Network
    driver: rtw89_8852be v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: 3000
    bus-ID: 03:00.0 chip-ID: 10ec:b852 class-ID: 0280
  IF: wlp3s0 state: up mac: 
  Device-3: NetGear WG111v3 54 Mbps Wireless [realtek RTL8187B]
    driver: rtl8187 type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-7:8
    chip-ID: 0846:4260 class-ID: 0000 serial: 
  IF: wlp0s20f0u7 state: down mac: 
Bluetooth:
  Device-1: Realtek Bluetooth Radio driver: btusb v: 0.8 type: USB rev: 1.0
    speed: 12 Mb/s lanes: 1 bus-ID: 1-2:2 chip-ID: 0bda:b85b class-ID: e001
    serial: 
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address:  bt-v: 5.3
    lmp-v: 12 class-ID: 6c0104
:~> lspci | grep -i net # Verifica la presenza di schede di rete integrate
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax Wireless Network Controller
:~> lspci | awk '$2 == "Ethernet" {system("lspci -vs " $1)}' # Informazioni relative a Ethernet integrata
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)
        Subsystem: Realtek Semiconductor Co., Ltd. Device 0123
        Flags: bus master, fast devsel, latency 0, IRQ 16
        I/O ports at 4000 [size=256]
        Memory at 80504000 (64-bit, non-prefetchable) [size=4K]
        Memory at 80500000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: 
        Kernel driver in use: r8169
        Kernel modules: r8169

:~> lspci | awk '$2 == "Network" {system("lspci -vs " $1)}' # Informazioni relative a WiFi integrato
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax Wireless Network Controller
        Subsystem: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax Wireless Network Controller
        Flags: bus master, fast devsel, latency 0, IRQ 140
        I/O ports at 3000 [size=256]
        Memory at 80400000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: 
        Kernel driver in use: rtw89_8852be
        Kernel modules: rtw89_8852be

:~> sudo lspci -vd 10ec:8168|head -17 # Informazioni periferica PCI (Ethernet) avente vendor=10ec e product=8168
[sudo] password di root:
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)
        Subsystem: Realtek Semiconductor Co., Ltd. Device 0123
        Flags: bus master, fast devsel, latency 0, IRQ 16
        I/O ports at 4000 [size=256]
        Memory at 80504000 (64-bit, non-prefetchable) [size=4K]
        Memory at 80500000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Endpoint, MSI 01
        Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
        Capabilities: [170] Latency Tolerance Reporting
        Capabilities: [178] L1 PM Substates
        Kernel driver in use: r8169
        Kernel modules: r8169
:~> sudo lspci -vd 10ec:b852|head -17 # Informazioni periferica PCI (WiFi) avente vendor=10ec e product=b852
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax Wireless Network Controller
        Subsystem: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax Wireless Network Controller
        Flags: bus master, fast devsel, latency 0, IRQ 140
        I/O ports at 3000 [size=256]
        Memory at 80400000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [148] Device Serial Number 00-e0-4c-ff-fe-88-52-01
        Capabilities: [158] Latency Tolerance Reporting
        Capabilities: [160] L1 PM Substates
        Kernel driver in use: rtw89_8852be
        Kernel modules: rtw89_8852be

:~> lsusb | grep -i wirel # Informazioni relative a WiFi USB
Bus 001 Device 008: ID 0846:4260 NetGear, Inc. WG111v3 54 Mbps Wireless [realtek RTL8187B]
:~> sudo lsusb -vd 0846:4260|head -17 # Informazioni periferica USB (WiFi porta USB) avente vendor=0846 e product=4260

Bus 001 Device 008: ID 0846:4260 NetGear, Inc. WG111v3 54 Mbps Wireless [realtek RTL8187B]
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 [unknown]
  bDeviceSubClass         0 [unknown]
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x0846 NetGear, Inc.
  idProduct          0x4260 WG111v3 54 Mbps Wireless [realtek RTL8187B]
  bcdDevice            2.00
  iManufacturer           1 Manufacturer_NETGEAR
  iProduct                2 NETGEAR WG111v3
  iSerial                 3 00223FEE429A
  bNumConfigurations      1
:~> lsusb -vt # Elenco periferiche USB e relativi hub
/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/12p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 002: Dev 002, If 0, Class=Wireless, Driver=btusb, 12M
        ID 0bda:b85b Realtek Semiconductor Corp.
    |__ Port 002: Dev 002, If 1, Class=Wireless, Driver=btusb, 12M
        ID 0bda:b85b Realtek Semiconductor Corp.
    |__ Port 003: Dev 003, If 0, Class=Hub, Driver=hub/4p, 480M
        ID 05e3:0610 Genesys Logic, Inc. Hub
    |__ Port 005: Dev 004, If 0, Class=Audio, Driver=snd-usb-audio, 12M
        ID 0d8c:0014 C-Media Electronics, Inc. Audio Adapter (Unitek Y-247A)
    |__ Port 005: Dev 004, If 1, Class=Audio, Driver=snd-usb-audio, 12M
        ID 0d8c:0014 C-Media Electronics, Inc. Audio Adapter (Unitek Y-247A)
    |__ Port 005: Dev 004, If 2, Class=Audio, Driver=snd-usb-audio, 12M
        ID 0d8c:0014 C-Media Electronics, Inc. Audio Adapter (Unitek Y-247A)
    |__ Port 005: Dev 004, If 3, Class=Human Interface Device, Driver=usbhid, 12M
        ID 0d8c:0014 C-Media Electronics, Inc. Audio Adapter (Unitek Y-247A)
    |__ Port 006: Dev 005, If 0, Class=Hub, Driver=hub/4p, 480M
        ID 05e3:0608 Genesys Logic, Inc. Hub
        |__ Port 002: Dev 006, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
            ID 258a:000c
        |__ Port 002: Dev 006, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
            ID 258a:000c
        |__ Port 004: Dev 007, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
            ID 047d:2048 Kensington Orbit Trackball with Scroll Ring
    |__ Port 007: Dev 008, If 0, Class=Vendor Specific Class, Driver=rtl8187, 480M
        ID 0846:4260 NetGear, Inc. WG111v3 54 Mbps Wireless [realtek RTL8187B]
/:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 10000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
    |__ Port 003: Dev 002, If 0, Class=Hub, Driver=hub/4p, 5000M
        ID 05e3:0626 Genesys Logic, Inc. Hub
        |__ Port 003: Dev 003, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
            ID 1f75:0888 Innostor Technology Corporation IS888 SATA Storage Controller
:~> /usr/sbin/arp # Dati relativi alla rete internet
wind3.hub.wind3.hub (192.168.1.1) at a8:02:db:c5:31:94 [ether]  on wlp3s0
:~> sudo cat "/var/lib/NetworkManager/NetworkManager.state" # Stato di NetworkManager
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
:~> ip addr | sed '/^[0-9]/!d;s/: <.*$//' # Elenca dispositivi Internet
1: lo
2: enp2s0
3: wlp3s0
4: wlp0s20f0u7
:~> /usr/sbin/iwconfig # Visualizza parametri delle interfaccie di rete WIFI
lo        no wireless extensions.

enp2s0    no wireless extensions.

wlp3s0    IEEE 802.11  ESSID:"Wind3 HUB - C53194"
          Mode:Managed  Frequency:2.422 GHz  Access Point: A8:02:DB:C5:31:94
          Bit Rate=216 Mb/s   Tx-Power=20 dBm
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=45/70  Signal level=-65 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:40   Missed beacon:0

wlp0s20f0u7  IEEE 802.11  ESSID:off/any
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off

:~> nmcli device status # Visualizza informazioni di connessione
DEVICE          TYPE      STATE                   CONNECTION
wlp3s0          wifi      collegato               wlp3s0
lo              loopback  connected (externally)  lo
wlp0s20f0u7     wifi      disconnesso             --
p2p-dev-wlp3s0  wifi-p2p  disconnesso             --
enp2s0          ethernet  non disponibile         --
:~> nmcli device wifi list # Rete WiFi in uso + raggiungibili
IN-USE  BSSID              SSID                MODE   CHAN  RATE        SIGNAL  BARS  SECURITY
*       A8:02:DB:C5:31:94  Wind3 HUB - C53194  Infra  3     540 Mbit/s  57      ▂▄▆_  WPA2
        9C:31:C3:CB:8B:1C  SKYWIFI_IRBCN       Infra  1     260 Mbit/s  37      ▂▄__  WPA2
        A8:02:DB:C5:31:95  Wind3 HUB - C53194  Infra  52    540 Mbit/s  34      ▂▄__  WPA2

IN-USE  BSSID              SSID                MODE   CHAN  RATE        SIGNAL  BARS  SECURITY
        A8:02:DB:C5:31:94  Wind3 HUB - C53194  Infra  3     540 Mbit/s  79      ▂▄▆_  WPA2
        9C:31:C3:CB:8B:1C  SKYWIFI_IRBCN       Infra  1     260 Mbit/s  65      ▂▄▆_  WPA2
:~> /usr/sbin/rfkill # Elenco, tipologia, e stato reti WiFi
ID TYPE      DEVICE      SOFT      HARD
 0 bluetooth hci0   unblocked unblocked
 1 wlan      phy0   unblocked unblocked
 2 wlan      phy1   unblocked unblocked
:~> 

06 BASH – Processore visto da OpenSUSE

18 Febbraio, 2024 (23:44) | BASH, Linux | By: sargonsei

06 BASH – Processore visto da OpenSUSE Tumbleweed

Se l’ output è incompleto, impartire i comandi in modalità Super Utente.
I comandi:
inxi -SCxxx # Sistema Operativo e Processore
lscpu # Informazioni relative al Processore
cat /proc/cpuinfo # Informazioni relative al Processore
sudo hwinfo --cpu # Informazioni dettagliate relative al Processore
/usr/sbin/hwinfo --cpu # Informazioni dettagliate relative al Processore

Esempi di output:

:~> inxi -SCxxx # Sistema Operativo e Processore
System:
  Host: 192.168.1.6 Kernel: 6.7.4-1-default arch: x86_64 bits: 64
    compiler: gcc v: 13.2.1 clocksource: tsc
  Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.12 wm: kwin_x11 vt: 2
    dm: SDDM Distro: openSUSE Tumbleweed 20240216
CPU:
  Info: quad core model: 11th Gen Intel Core i7-11390H bits: 64 type: MT MCP
    smt: enabled arch: Tiger Lake rev: 2 cache: L1: 320 KiB L2: 5 MiB L3: 12 MiB
  Speed (MHz): avg: 469 high: 953 min/max: 400/5000:4800 cores: 1: 400
    2: 953 3: 400 4: 400 5: 400 6: 400 7: 400 8: 400 bogomips: 54696
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
:~> lscpu # Informazioni relative al Processore
Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         39 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  8
  On-line CPU(s) list:   0-7
Vendor ID:               GenuineIntel
  Model name:            11th Gen Intel(R) Core(TM) i7-11390H @ 3.40GHz
    CPU family:          6
    Model:               140
    Thread(s) per core:  2
    Core(s) per socket:  4
    Socket(s):           1
    Stepping:            2
    CPU(s) scaling MHz:  32%
    CPU max MHz:         5000,0000
    CPU min MHz:         400,0000
    BogoMIPS:            6837,00
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art
                          arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr p
                         dcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l2 cdp_l2 ssbd ibrs ibpb stibp
                         ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflusho
                         pt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves split_lock_detect dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp
                         _pkg_req vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid movdiri movdir64b fsrm avx512_vp2intersect
                          md_clear ibt flush_l1d arch_capabilities
Virtualization features:
  Virtualization:        VT-x
Caches (sum of all):
  L1d:                   192 KiB (4 instances)
  L1i:                   128 KiB (4 instances)
  L2:                    5 MiB (4 instances)
  L3:                    12 MiB (1 instance)
NUMA:
  NUMA node(s):          1
  NUMA node0 CPU(s):     0-7
Vulnerabilities:
  Gather data sampling:  Mitigation; Microcode
  Itlb multihit:         Not affected
  L1tf:                  Not affected
  Mds:                   Not affected
  Meltdown:              Not affected
  Mmio stale data:       Not affected
  Retbleed:              Not affected
  Spec rstack overflow:  Not affected
  Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:            Mitigation; Enhanced / Automatic IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence
  Srbds:                 Not affected
  Tsx async abort:       Not affected
:~> cat /proc/cpuinfo # Informazioni relative al Processore
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 140
model name      : 11th Gen Intel(R) Core(TM) i7-11390H @ 3.40GHz
stepping        : 2
microcode       : 0x34
cpu MHz         : 1447.907
cache size      : 12288 KB
physical id     : 0
siblings        : 8
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 27
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l2 cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves split_lock_detect dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid movdiri movdir64b fsrm avx512_vp2intersect md_clear ibt flush_l1d arch_capabilities
vmx flags       : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple pml ept_mode_based_exec tsc_scaling
bugs            : spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb gds
bogomips        : 6837.00
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 140
model name      : 11th Gen Intel(R) Core(TM) i7-11390H @ 3.40GHz
stepping        : 2
microcode       : 0x34
cpu MHz         : 924.780
cache size      : 12288 KB
physical id     : 0
siblings        : 8
core id         : 1
cpu cores       : 4
apicid          : 2
initial apicid  : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 27
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l2 cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves split_lock_detect dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid movdiri movdir64b fsrm avx512_vp2intersect md_clear ibt flush_l1d arch_capabilities
vmx flags       : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple pml ept_mode_based_exec tsc_scaling
bugs            : spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb gds
bogomips        : 6837.00
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

processor       : 2
vendor_id       : GenuineIntel
cpu family      : 6
model           : 140
model name      : 11th Gen Intel(R) Core(TM) i7-11390H @ 3.40GHz
stepping        : 2
microcode       : 0x34
cpu MHz         : 970.261
cache size      : 12288 KB
physical id     : 0
siblings        : 8
core id         : 2
cpu cores       : 4
apicid          : 4
initial apicid  : 4
fpu             : yes
fpu_exception   : yes
cpuid level     : 27
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l2 cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves split_lock_detect dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid movdiri movdir64b fsrm avx512_vp2intersect md_clear ibt flush_l1d arch_capabilities
vmx flags       : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple pml ept_mode_based_exec tsc_scaling
bugs            : spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb gds
bogomips        : 6837.00
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

processor       : 3
vendor_id       : GenuineIntel
cpu family      : 6
model           : 140
model name      : 11th Gen Intel(R) Core(TM) i7-11390H @ 3.40GHz
stepping        : 2
microcode       : 0x34
cpu MHz         : 984.734
cache size      : 12288 KB
physical id     : 0
siblings        : 8
core id         : 3
cpu cores       : 4
apicid          : 6
initial apicid  : 6
fpu             : yes
fpu_exception   : yes
cpuid level     : 27
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l2 cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves split_lock_detect dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid movdiri movdir64b fsrm avx512_vp2intersect md_clear ibt flush_l1d arch_capabilities
vmx flags       : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple pml ept_mode_based_exec tsc_scaling
bugs            : spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb gds
bogomips        : 6837.00
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

processor       : 4
vendor_id       : GenuineIntel
cpu family      : 6
model           : 140
model name      : 11th Gen Intel(R) Core(TM) i7-11390H @ 3.40GHz
stepping        : 2
microcode       : 0x34
cpu MHz         : 2735.317
cache size      : 12288 KB
physical id     : 0
siblings        : 8
core id         : 0
cpu cores       : 4
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 27
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l2 cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves split_lock_detect dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid movdiri movdir64b fsrm avx512_vp2intersect md_clear ibt flush_l1d arch_capabilities
vmx flags       : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple pml ept_mode_based_exec tsc_scaling
bugs            : spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb gds
bogomips        : 6837.00
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

processor       : 5
vendor_id       : GenuineIntel
cpu family      : 6
model           : 140
model name      : 11th Gen Intel(R) Core(TM) i7-11390H @ 3.40GHz
stepping        : 2
microcode       : 0x34
cpu MHz         : 400.000
cache size      : 12288 KB
physical id     : 0
siblings        : 8
core id         : 1
cpu cores       : 4
apicid          : 3
initial apicid  : 3
fpu             : yes
fpu_exception   : yes
cpuid level     : 27
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l2 cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves split_lock_detect dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid movdiri movdir64b fsrm avx512_vp2intersect md_clear ibt flush_l1d arch_capabilities
vmx flags       : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple pml ept_mode_based_exec tsc_scaling
bugs            : spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb gds
bogomips        : 6837.00
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

processor       : 6
vendor_id       : GenuineIntel
cpu family      : 6
model           : 140
model name      : 11th Gen Intel(R) Core(TM) i7-11390H @ 3.40GHz
stepping        : 2
microcode       : 0x34
cpu MHz         : 932.139
cache size      : 12288 KB
physical id     : 0
siblings        : 8
core id         : 2
cpu cores       : 4
apicid          : 5
initial apicid  : 5
fpu             : yes
fpu_exception   : yes
cpuid level     : 27
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l2 cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves split_lock_detect dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid movdiri movdir64b fsrm avx512_vp2intersect md_clear ibt flush_l1d arch_capabilities
vmx flags       : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple pml ept_mode_based_exec tsc_scaling
bugs            : spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb gds
bogomips        : 6837.00
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

processor       : 7
vendor_id       : GenuineIntel
cpu family      : 6
model           : 140
model name      : 11th Gen Intel(R) Core(TM) i7-11390H @ 3.40GHz
stepping        : 2
microcode       : 0x34
cpu MHz         : 993.642
cache size      : 12288 KB
physical id     : 0
siblings        : 8
core id         : 3
cpu cores       : 4
apicid          : 7
initial apicid  : 7
fpu             : yes
fpu_exception   : yes
cpuid level     : 27
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l2 cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves split_lock_detect dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid movdiri movdir64b fsrm avx512_vp2intersect md_clear ibt flush_l1d arch_capabilities
vmx flags       : vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple pml ept_mode_based_exec tsc_scaling
bugs            : spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb gds
bogomips        : 6837.00
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:

:~> sudo hwinfo --cpu # Informazioni dettagliate relative al Processore
[sudo] password di root:
01: None 00.0: 10103 CPU
  [Created at cpu.509]
  Unique ID: rdCR.j8NaKXDZtZ6
  Hardware Class: cpu
  Arch: X86-64
  Vendor: "GenuineIntel"
  Model: 6.140.2 "11th Gen Intel(R) Core(TM) i7-11390H @ 3.40GHz"
  Features: fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,pdpe1gb,rdtscp,lm,constant_tsc,art,arch_perfmon,pebs,bts,rep_good,nopl,xtopology,nonstop_tsc,cpuid,aperfmperf,tsc_known_freq,pni,pclmulqdq,dtes64,monitor,ds_cpl,vmx,est,tm2,ssse3,sdbg,fma,cx16,xtpr,pdcm,pcid,sse4_1,sse4_2,x2apic,movbe,popcnt,tsc_deadline_timer,aes,xsave,avx,f16c,rdrand,lahf_lm,abm,3dnowprefetch,cpuid_fault,epb,cat_l2,cdp_l2,ssbd,ibrs,ibpb,stibp,ibrs_enhanced,tpr_shadow,flexpriority,ept,vpid,ept_ad,fsgsbase,tsc_adjust,bmi1,avx2,smep,bmi2,erms,invpcid,rdt_a,avx512f,avx512dq,rdseed,adx,smap,avx512ifma,clflushopt,clwb,intel_pt,avx512cd,sha_ni,avx512bw,avx512vl,xsaveopt,xsavec,xgetbv1,xsaves,split_lock_detect,dtherm,ida,arat,pln,pts,hwp,hwp_notify,hwp_act_window,hwp_epp,hwp_pkg_req,vnmi,avx512vbmi,umip,pku,ospke,avx512_vbmi2,gfni,vaes,vpclmulqdq,avx512_vnni,avx512_bitalg,avx512_vpopcntdq,rdpid,movdiri,movdir64b,fsrm,avx512_vp2intersect,md_clear,ibt,flush_l1d,arch_capa
  Clock: 808 MHz
  BogoMips: 6837.00
  Cache: 12288 kb
  Units/Processor: 16
  Config Status: cfg=no, avail=yes, need=no, active=unknown

02: None 01.0: 10103 CPU
  [Created at cpu.509]
  Unique ID: wkFv.j8NaKXDZtZ6
  Hardware Class: cpu
  Arch: X86-64
  Vendor: "GenuineIntel"
  Model: 6.140.2 "11th Gen Intel(R) Core(TM) i7-11390H @ 3.40GHz"
  Features: fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,pdpe1gb,rdtscp,lm,constant_tsc,art,arch_perfmon,pebs,bts,rep_good,nopl,xtopology,nonstop_tsc,cpuid,aperfmperf,tsc_known_freq,pni,pclmulqdq,dtes64,monitor,ds_cpl,vmx,est,tm2,ssse3,sdbg,fma,cx16,xtpr,pdcm,pcid,sse4_1,sse4_2,x2apic,movbe,popcnt,tsc_deadline_timer,aes,xsave,avx,f16c,rdrand,lahf_lm,abm,3dnowprefetch,cpuid_fault,epb,cat_l2,cdp_l2,ssbd,ibrs,ibpb,stibp,ibrs_enhanced,tpr_shadow,flexpriority,ept,vpid,ept_ad,fsgsbase,tsc_adjust,bmi1,avx2,smep,bmi2,erms,invpcid,rdt_a,avx512f,avx512dq,rdseed,adx,smap,avx512ifma,clflushopt,clwb,intel_pt,avx512cd,sha_ni,avx512bw,avx512vl,xsaveopt,xsavec,xgetbv1,xsaves,split_lock_detect,dtherm,ida,arat,pln,pts,hwp,hwp_notify,hwp_act_window,hwp_epp,hwp_pkg_req,vnmi,avx512vbmi,umip,pku,ospke,avx512_vbmi2,gfni,vaes,vpclmulqdq,avx512_vnni,avx512_bitalg,avx512_vpopcntdq,rdpid,movdiri,movdir64b,fsrm,avx512_vp2intersect,md_clear,ibt,flush_l1d,arch_capa
  Clock: 3319 MHz
  BogoMips: 6837.00
  Cache: 12288 kb
  Units/Processor: 16
  Config Status: cfg=no, avail=yes, need=no, active=unknown

03: None 02.0: 10103 CPU
  [Created at cpu.509]
  Unique ID: +rIN.j8NaKXDZtZ6
  Hardware Class: cpu
  Arch: X86-64
  Vendor: "GenuineIntel"
  Model: 6.140.2 "11th Gen Intel(R) Core(TM) i7-11390H @ 3.40GHz"
  Features: fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,pdpe1gb,rdtscp,lm,constant_tsc,art,arch_perfmon,pebs,bts,rep_good,nopl,xtopology,nonstop_tsc,cpuid,aperfmperf,tsc_known_freq,pni,pclmulqdq,dtes64,monitor,ds_cpl,vmx,est,tm2,ssse3,sdbg,fma,cx16,xtpr,pdcm,pcid,sse4_1,sse4_2,x2apic,movbe,popcnt,tsc_deadline_timer,aes,xsave,avx,f16c,rdrand,lahf_lm,abm,3dnowprefetch,cpuid_fault,epb,cat_l2,cdp_l2,ssbd,ibrs,ibpb,stibp,ibrs_enhanced,tpr_shadow,flexpriority,ept,vpid,ept_ad,fsgsbase,tsc_adjust,bmi1,avx2,smep,bmi2,erms,invpcid,rdt_a,avx512f,avx512dq,rdseed,adx,smap,avx512ifma,clflushopt,clwb,intel_pt,avx512cd,sha_ni,avx512bw,avx512vl,xsaveopt,xsavec,xgetbv1,xsaves,split_lock_detect,dtherm,ida,arat,pln,pts,hwp,hwp_notify,hwp_act_window,hwp_epp,hwp_pkg_req,vnmi,avx512vbmi,umip,pku,ospke,avx512_vbmi2,gfni,vaes,vpclmulqdq,avx512_vnni,avx512_bitalg,avx512_vpopcntdq,rdpid,movdiri,movdir64b,fsrm,avx512_vp2intersect,md_clear,ibt,flush_l1d,arch_capa
  Clock: 666 MHz
  BogoMips: 6837.00
  Cache: 12288 kb
  Units/Processor: 16
  Config Status: cfg=no, avail=yes, need=no, active=unknown

04: None 03.0: 10103 CPU
  [Created at cpu.509]
  Unique ID: 4zLr.j8NaKXDZtZ6
  Hardware Class: cpu
  Arch: X86-64
  Vendor: "GenuineIntel"
  Model: 6.140.2 "11th Gen Intel(R) Core(TM) i7-11390H @ 3.40GHz"
  Features: fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,pdpe1gb,rdtscp,lm,constant_tsc,art,arch_perfmon,pebs,bts,rep_good,nopl,xtopology,nonstop_tsc,cpuid,aperfmperf,tsc_known_freq,pni,pclmulqdq,dtes64,monitor,ds_cpl,vmx,est,tm2,ssse3,sdbg,fma,cx16,xtpr,pdcm,pcid,sse4_1,sse4_2,x2apic,movbe,popcnt,tsc_deadline_timer,aes,xsave,avx,f16c,rdrand,lahf_lm,abm,3dnowprefetch,cpuid_fault,epb,cat_l2,cdp_l2,ssbd,ibrs,ibpb,stibp,ibrs_enhanced,tpr_shadow,flexpriority,ept,vpid,ept_ad,fsgsbase,tsc_adjust,bmi1,avx2,smep,bmi2,erms,invpcid,rdt_a,avx512f,avx512dq,rdseed,adx,smap,avx512ifma,clflushopt,clwb,intel_pt,avx512cd,sha_ni,avx512bw,avx512vl,xsaveopt,xsavec,xgetbv1,xsaves,split_lock_detect,dtherm,ida,arat,pln,pts,hwp,hwp_notify,hwp_act_window,hwp_epp,hwp_pkg_req,vnmi,avx512vbmi,umip,pku,ospke,avx512_vbmi2,gfni,vaes,vpclmulqdq,avx512_vnni,avx512_bitalg,avx512_vpopcntdq,rdpid,movdiri,movdir64b,fsrm,avx512_vp2intersect,md_clear,ibt,flush_l1d,arch_capa
  Clock: 1683 MHz
  BogoMips: 6837.00
  Cache: 12288 kb
  Units/Processor: 16
  Config Status: cfg=no, avail=yes, need=no, active=unknown

05: None 04.0: 10103 CPU
  [Created at cpu.509]
  Unique ID: 94PJ.j8NaKXDZtZ6
  Hardware Class: cpu
  Arch: X86-64
  Vendor: "GenuineIntel"
  Model: 6.140.2 "11th Gen Intel(R) Core(TM) i7-11390H @ 3.40GHz"
  Features: fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,pdpe1gb,rdtscp,lm,constant_tsc,art,arch_perfmon,pebs,bts,rep_good,nopl,xtopology,nonstop_tsc,cpuid,aperfmperf,tsc_known_freq,pni,pclmulqdq,dtes64,monitor,ds_cpl,vmx,est,tm2,ssse3,sdbg,fma,cx16,xtpr,pdcm,pcid,sse4_1,sse4_2,x2apic,movbe,popcnt,tsc_deadline_timer,aes,xsave,avx,f16c,rdrand,lahf_lm,abm,3dnowprefetch,cpuid_fault,epb,cat_l2,cdp_l2,ssbd,ibrs,ibpb,stibp,ibrs_enhanced,tpr_shadow,flexpriority,ept,vpid,ept_ad,fsgsbase,tsc_adjust,bmi1,avx2,smep,bmi2,erms,invpcid,rdt_a,avx512f,avx512dq,rdseed,adx,smap,avx512ifma,clflushopt,clwb,intel_pt,avx512cd,sha_ni,avx512bw,avx512vl,xsaveopt,xsavec,xgetbv1,xsaves,split_lock_detect,dtherm,ida,arat,pln,pts,hwp,hwp_notify,hwp_act_window,hwp_epp,hwp_pkg_req,vnmi,avx512vbmi,umip,pku,ospke,avx512_vbmi2,gfni,vaes,vpclmulqdq,avx512_vnni,avx512_bitalg,avx512_vpopcntdq,rdpid,movdiri,movdir64b,fsrm,avx512_vp2intersect,md_clear,ibt,flush_l1d,arch_capa
  Clock: 400 MHz
  BogoMips: 6837.00
  Cache: 12288 kb
  Units/Processor: 16
  Config Status: cfg=no, avail=yes, need=no, active=unknown

06: None 05.0: 10103 CPU
  [Created at cpu.509]
  Unique ID: EBSn.j8NaKXDZtZ6
  Hardware Class: cpu
  Arch: X86-64
  Vendor: "GenuineIntel"
  Model: 6.140.2 "11th Gen Intel(R) Core(TM) i7-11390H @ 3.40GHz"
  Features: fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,pdpe1gb,rdtscp,lm,constant_tsc,art,arch_perfmon,pebs,bts,rep_good,nopl,xtopology,nonstop_tsc,cpuid,aperfmperf,tsc_known_freq,pni,pclmulqdq,dtes64,monitor,ds_cpl,vmx,est,tm2,ssse3,sdbg,fma,cx16,xtpr,pdcm,pcid,sse4_1,sse4_2,x2apic,movbe,popcnt,tsc_deadline_timer,aes,xsave,avx,f16c,rdrand,lahf_lm,abm,3dnowprefetch,cpuid_fault,epb,cat_l2,cdp_l2,ssbd,ibrs,ibpb,stibp,ibrs_enhanced,tpr_shadow,flexpriority,ept,vpid,ept_ad,fsgsbase,tsc_adjust,bmi1,avx2,smep,bmi2,erms,invpcid,rdt_a,avx512f,avx512dq,rdseed,adx,smap,avx512ifma,clflushopt,clwb,intel_pt,avx512cd,sha_ni,avx512bw,avx512vl,xsaveopt,xsavec,xgetbv1,xsaves,split_lock_detect,dtherm,ida,arat,pln,pts,hwp,hwp_notify,hwp_act_window,hwp_epp,hwp_pkg_req,vnmi,avx512vbmi,umip,pku,ospke,avx512_vbmi2,gfni,vaes,vpclmulqdq,avx512_vnni,avx512_bitalg,avx512_vpopcntdq,rdpid,movdiri,movdir64b,fsrm,avx512_vp2intersect,md_clear,ibt,flush_l1d,arch_capa
  Clock: 2780 MHz
  BogoMips: 6837.00
  Cache: 12288 kb
  Units/Processor: 16
  Config Status: cfg=no, avail=yes, need=no, active=unknown

07: None 06.0: 10103 CPU
  [Created at cpu.509]
  Unique ID: JIVF.j8NaKXDZtZ6
  Hardware Class: cpu
  Arch: X86-64
  Vendor: "GenuineIntel"
  Model: 6.140.2 "11th Gen Intel(R) Core(TM) i7-11390H @ 3.40GHz"
  Features: fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,pdpe1gb,rdtscp,lm,constant_tsc,art,arch_perfmon,pebs,bts,rep_good,nopl,xtopology,nonstop_tsc,cpuid,aperfmperf,tsc_known_freq,pni,pclmulqdq,dtes64,monitor,ds_cpl,vmx,est,tm2,ssse3,sdbg,fma,cx16,xtpr,pdcm,pcid,sse4_1,sse4_2,x2apic,movbe,popcnt,tsc_deadline_timer,aes,xsave,avx,f16c,rdrand,lahf_lm,abm,3dnowprefetch,cpuid_fault,epb,cat_l2,cdp_l2,ssbd,ibrs,ibpb,stibp,ibrs_enhanced,tpr_shadow,flexpriority,ept,vpid,ept_ad,fsgsbase,tsc_adjust,bmi1,avx2,smep,bmi2,erms,invpcid,rdt_a,avx512f,avx512dq,rdseed,adx,smap,avx512ifma,clflushopt,clwb,intel_pt,avx512cd,sha_ni,avx512bw,avx512vl,xsaveopt,xsavec,xgetbv1,xsaves,split_lock_detect,dtherm,ida,arat,pln,pts,hwp,hwp_notify,hwp_act_window,hwp_epp,hwp_pkg_req,vnmi,avx512vbmi,umip,pku,ospke,avx512_vbmi2,gfni,vaes,vpclmulqdq,avx512_vnni,avx512_bitalg,avx512_vpopcntdq,rdpid,movdiri,movdir64b,fsrm,avx512_vp2intersect,md_clear,ibt,flush_l1d,arch_capa
  Clock: 850 MHz
  BogoMips: 6837.00
  Cache: 12288 kb
  Units/Processor: 16
  Config Status: cfg=no, avail=yes, need=no, active=unknown

08: None 07.0: 10103 CPU
  [Created at cpu.509]
  Unique ID: OPYj.j8NaKXDZtZ6
  Hardware Class: cpu
  Arch: X86-64
  Vendor: "GenuineIntel"
  Model: 6.140.2 "11th Gen Intel(R) Core(TM) i7-11390H @ 3.40GHz"
  Features: fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,pdpe1gb,rdtscp,lm,constant_tsc,art,arch_perfmon,pebs,bts,rep_good,nopl,xtopology,nonstop_tsc,cpuid,aperfmperf,tsc_known_freq,pni,pclmulqdq,dtes64,monitor,ds_cpl,vmx,est,tm2,ssse3,sdbg,fma,cx16,xtpr,pdcm,pcid,sse4_1,sse4_2,x2apic,movbe,popcnt,tsc_deadline_timer,aes,xsave,avx,f16c,rdrand,lahf_lm,abm,3dnowprefetch,cpuid_fault,epb,cat_l2,cdp_l2,ssbd,ibrs,ibpb,stibp,ibrs_enhanced,tpr_shadow,flexpriority,ept,vpid,ept_ad,fsgsbase,tsc_adjust,bmi1,avx2,smep,bmi2,erms,invpcid,rdt_a,avx512f,avx512dq,rdseed,adx,smap,avx512ifma,clflushopt,clwb,intel_pt,avx512cd,sha_ni,avx512bw,avx512vl,xsaveopt,xsavec,xgetbv1,xsaves,split_lock_detect,dtherm,ida,arat,pln,pts,hwp,hwp_notify,hwp_act_window,hwp_epp,hwp_pkg_req,vnmi,avx512vbmi,umip,pku,ospke,avx512_vbmi2,gfni,vaes,vpclmulqdq,avx512_vnni,avx512_bitalg,avx512_vpopcntdq,rdpid,movdiri,movdir64b,fsrm,avx512_vp2intersect,md_clear,ibt,flush_l1d,arch_capa
  Clock: 400 MHz
  BogoMips: 6837.00
  Cache: 12288 kb
  Units/Processor: 16
  Config Status: cfg=no, avail=yes, need=no, active=unknown
:~>

05 BASH – Porte e periferiche USB viste da OpenSUSE

18 Febbraio, 2024 (23:21) | BASH, Linux | By: sargonsei

05 BASH – Porte e periferiche USB viste da OpenSUSE Tumbleweed

Se l’ output è incompleto, impartire i comandi in modalità Super Utente.
I comandi:
inxi -SJxxx # Sistema operativo e porte USB
lspci | awk '$2 == "USB" {system("lspci -vs " $1)}' # Informazioni relative a porte USB
lsusb # Elenca periferiche USB
lsusb -t # Informazioni dettagliate periferiche USB connesse
lsusb -s AAA:BBB -v # Informazioni dettagliate periferica USB connessa al Bus AAA Device BBB
lsusb -vs 001:009|head -17 # Informazioni periferica USB connessa al Bus 001 Device 009
sudo lsusb -vd 0846:4260|head -17 # Informazioni periferica avente vendor=0846 e product=4260 connessa a porta USB
#
sudo hwinfo --usb-ctrl # Informazioni relative ai controller USB
sudo hwinfo --usb # Informazioni relative alle periferiche USB
/usr/sbin/hwinfo --usb-ctrl # Informazioni relative ai controller USB
/usr/sbin/hwinfo --usb # Informazioni relative alle periferiche USB

Esempi di output:

:~> inxi -SJxxx # Sistema operativo e porte USB
System:
  Host: 192.168.1.6 Kernel: 6.7.4-1-default arch: x86_64 bits: 64
    compiler: gcc v: 13.2.1 clocksource: tsc
  Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.12 wm: kwin_x11 vt: 2
    dm: SDDM Distro: openSUSE Tumbleweed 20240216
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s lanes: 1 chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-2:2 info: Realtek Bluetooth Radio type: bluetooth
    driver: btusb interfaces: 2 rev: 1.0 speed: 12 Mb/s lanes: 1 power: 500mA
    chip-ID: 0bda:b85b class-ID: e001 serial: 00e04c000001
  Hub-2: 1-3:3 info: Genesys Logic Hub ports: 4 rev: 2.1 speed: 480 Mb/s
    lanes: 1 power: 100mA chip-ID: 05e3:0610 class-ID: 0900
  Device-1: 1-5:4 info: C-Media Audio Adapter (Unitek Y-247A)
    type: audio,HID driver: cmedia_hs100b,snd-usb-audio,usbhid interfaces: 4
    rev: 1.1 speed: 12 Mb/s lanes: 1 power: 100mA chip-ID: 0d8c:0014
    class-ID: 0300
  Hub-3: 1-6:5 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s
    lanes: 1 power: 100mA chip-ID: 05e3:0608 class-ID: 0900
  Device-1: 1-6.2:7 info: HAILUCK USB KEYBOARD type: keyboard,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s lanes: 1
    power: 100mA chip-ID: 258a:000c class-ID: 0300
  Device-2: 1-6.4:8 info: Kensington Orbit Trackball with Scroll Ring
    type: mouse driver: hid-generic,usbhid interfaces: 1 rev: 2.0
    speed: 1.5 Mb/s lanes: 1 power: 100mA chip-ID: 047d:2048 class-ID: 0301
  Device-3: 1-9:6 info: LG (HLDS) INIC-1605 SATA Bridge type: mass storage
    driver: usb-storage interfaces: 1 rev: 2.0 speed: 480 Mb/s lanes: 1
    power: 2mA chip-ID: 152e:1640 class-ID: 0802 serial: 0010101640003F1F5
  Hub-4: 2-0:1 info: super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    lanes: 1 chip-ID: 1d6b:0003 class-ID: 0900
  Device-1: 2-2:2 info: JMicron / USA External USB 3.0 type: mass storage
    driver: uas interfaces: 1 rev: 3.0 speed: 5 Gb/s lanes: 1 power: 896mA
    chip-ID: 152d:0579 class-ID: 0806 serial: 2017112430265
  Hub-5: 2-3:3 info: Genesys Logic Hub ports: 4 rev: 3.2 speed: 5 Gb/s
    lanes: 1 chip-ID: 05e3:0626 class-ID: 0900
  Device-1: 2-3.3:4 info: Innostor IS888 SATA Storage Controller
    type: mass storage driver: usb-storage interfaces: 1 rev: 3.0 speed: 5 Gb/s
    lanes: 1 power: 800mA chip-ID: 1f75:0888 class-ID: 0806
    serial: 100000000000
:~> lspci | awk '$2 == "USB" {system("lspci -vs " $1)}' # Informazioni relative a porte USB
00:14.0 USB controller: Intel Corporation Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller (rev 30) (prog-if 30 [XHCI])
        DeviceName: Onboard - Other
        Subsystem: Intel Corporation Device 7270
        Flags: bus master, medium devsel, latency 0, IRQ 125
        Memory at 6001100000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: 
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

:~> lsusb # Elenca periferiche USB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0bda:b85b Realtek Semiconductor Corp. Bluetooth Radio
Bus 001 Device 003: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 004: ID 0d8c:0014 C-Media Electronics, Inc. Audio Adapter (Unitek Y-247A)
Bus 001 Device 005: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 006: ID 152e:1640 LG (HLDS) INIC-1605 SATA Bridge
Bus 001 Device 007: ID 258a:000c HAILUCK CO.,LTD USB KEYBOARD
Bus 001 Device 008: ID 047d:2048 Kensington Orbit Trackball with Scroll Ring
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 152d:0579 JMicron Technology Corp. / JMicron USA Technology Corp. External USB 3.0
Bus 002 Device 003: ID 05e3:0626 Genesys Logic, Inc. Hub
Bus 002 Device 004: ID 1f75:0888 Innostor Technology Corporation IS888 SATA Storage Controller
:~> lsusb -t # Informazioni dettagliate periferiche USB connesse
/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/12p, 480M
    |__ Port 002: Dev 002, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 002: Dev 002, If 1, Class=Wireless, Driver=btusb, 12M
    |__ Port 003: Dev 003, If 0, Class=Hub, Driver=hub/4p, 480M
    |__ Port 005: Dev 004, If 0, Class=Audio, Driver=snd-usb-audio, 12M
    |__ Port 005: Dev 004, If 1, Class=Audio, Driver=snd-usb-audio, 12M
    |__ Port 005: Dev 004, If 2, Class=Audio, Driver=snd-usb-audio, 12M
    |__ Port 005: Dev 004, If 3, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 006: Dev 005, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 002: Dev 007, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 002: Dev 007, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
        |__ Port 004: Dev 008, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 009: Dev 006, If 0, Class=Mass Storage, Driver=usb-storage, 480M
/:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 10000M
    |__ Port 002: Dev 002, If 0, Class=Mass Storage, Driver=uas, 5000M
    |__ Port 003: Dev 003, If 0, Class=Hub, Driver=hub/4p, 5000M
        |__ Port 003: Dev 004, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
:~> sudo hwinfo --usb-ctrl # Informazioni relative ai controller USB
[sudo] password di root:
28: PCI 14.0: 0c03 USB Controller (XHCI)
  [Created at pci.386]
  Unique ID: MZfG._jFtzZRlG19
  SysFS ID: /devices/pci0000:00/0000:00:14.0
  SysFS BusID: 0000:00:14.0
  Hardware Class: usb controller
  Device Name: "Onboard - Other"
  Model: "Intel Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0xa0ed "Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller"
  SubVendor: pci 0x8086 "Intel Corporation"
  SubDevice: pci 0x7270
  Revision: 0x30
  Driver: "xhci_hcd"
  Driver Modules: "xhci_pci"
  Memory Range: 0x6001100000-0x600110ffff (rw,non-prefetchable)
  IRQ: 125 (205835 events)
  Module Alias: "pci:v00008086d0000A0EDsv00008086sd00007270bc0Csc03i30"
  Driver Info #0:
    Driver Status: xhci_pci is active
    Driver Activation Cmd: "modprobe xhci_pci"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
:~> sudo hwinfo --usb # Informazioni relative alle periferiche USB
02: SCSI 300.0: 10600 Disk
  [Created at block.266]
  Unique ID: TdZS.YEmZRTYbH92
  SysFS ID: /class/block/sdb
  SysFS BusID: 3:0:0:0
  SysFS Device Link: /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.3/2-3.3:1.0/host3/target3:0:0/3:0:0:0
  Hardware Class: disk
  Model: "Generic ATA/ATAPI Device"
  Vendor: usb 0x1f75 "Generic"
  Device: usb 0x0888 "ATA/ATAPI Device"
  Serial ID: "100000000000"
  Driver: "usb-storage", "sd"
  Driver Modules: "usb_storage", "sd_mod"
  Device File: /dev/sdb (/dev/sg1)
  Device Files: /dev/sdb, /dev/disk/by-diskseq/4, /dev/disk/by-path/pci-0000:00:14.0-usb-0:3.3:1.0-scsi-0:0:0:0, /dev/disk/by-id/usb-Generic_ATA_ATAPI_Device_100000000000-0:0, /dev/disk/by-path/pci-0000:00:14.0-usbv3-0:3.3:1.0-scsi-0:0:0:0
  Device Number: block 8:16-8:31 (char 21:1)
  Geometry (Logical): CHS 1024/0/62
  Module Alias: "usb:v1F75p0888d0036dc00dsc00dp00ic08isc06ip50in00"
  Driver Info #0:
    Driver Status: uas is active
    Driver Activation Cmd: "modprobe uas"
  Driver Info #1:
    Driver Status: usb_storage is active
    Driver Activation Cmd: "modprobe usb_storage"
  Drive status: no medium
  Config Status: cfg=new, avail=yes, need=no, active=unknown

03: SCSI 400.0: 10602 CD-ROM (DVD)
  [Created at block.259]
  Unique ID: POWV.QGSRWIIfio8
  SysFS ID: /class/block/sr0
  SysFS BusID: 4:0:0:0
  SysFS Device Link: /devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.0/host4/target4:0:0/4:0:0:0
  Hardware Class: cdrom
  Model: "HL-DT-ST DVDRAM GP08NU20"
  Vendor: usb 0x152e "HL-DT-ST"
  Device: usb 0x1640 "DVDRAM GP08NU20"
  Revision: "1.01"
  Serial ID: "0010101640003F1F5"
  Driver: "usb-storage", "sr"
  Driver Modules: "usb_storage", "sr_mod"
  Device File: /dev/sr0 (/dev/sg2)
  Device Files: /dev/sr0, /dev/cdrom, /dev/disk/by-path/pci-0000:00:14.0-usbv2-0:9:1.0-scsi-0:0:0:0, /dev/disk/by-id/usb-HL-DT-ST_DVDRAM_GP08NU20_0010101640003F1F5-0:0, /dev/disk/by-path/pci-0000:00:14.0-usb-0:9:1.0-scsi-0:0:0:0, /dev/disk/by-diskseq/6
  Device Number: block 11:0 (char 21:2)
  Features: CD-R, CD-RW, DVD, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL, DVD-RAM, MRW, MRW-W
  Speed: 480 Mbps
  Module Alias: "usb:v152Ep1640d0162dc00dsc00dp00ic08isc02ip50in00"
  Driver Info #0:
    Driver Status: usb_storage is active
    Driver Activation Cmd: "modprobe usb_storage"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Drive Speed: 24

07: USB 00.0: 10800 Keyboard
  [Created at usb.122]
  Unique ID: aLrk.wns3qfzDTh5
  Parent ID: MtLc.d7FDLX76qXB
  SysFS ID: /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.2/1-6.2:1.0
  SysFS BusID: 1-6.2:1.0
  Hardware Class: keyboard
  Model: "HAILUCK CO.,LTD USB KEYBOARD"
  Hotplug: USB
  Vendor: usb 0x258a "HAILUCK CO.,LTD"
  Device: usb 0x000c "USB KEYBOARD"
  Revision: "1.00"
  Driver: "usbhid"
  Driver Modules: "usbhid"
  Device File: /dev/input/event6
  Device Files: /dev/input/event6, /dev/input/by-id/usb-HAILUCK_CO._LTD_USB_KEYBOARD-event-kbd, /dev/input/by-path/pci-0000:00:14.0-usb-0:6.2:1.0-event-kbd, /dev/input/by-path/pci-0000:00:14.0-usbv2-0:6.2:1.0-event-kbd
  Device Number: char 13:70
  Speed: 1.5 Mbps
  Module Alias: "usb:v258Ap000Cd0100dc00dsc00dp00ic03isc01ip01in00"
  Driver Info #0:
    XkbRules: xfree86
    XkbModel: pc104
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #9 (Hub)

08: USB 00.0: 11500 Bluetooth Device
  [Created at usb.122]
  Unique ID: cLrx.vTy_PXMEN47
  Parent ID: k4bc.2DFUsyrieMD
  SysFS ID: /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0
  SysFS BusID: 1-2:1.0
  Hardware Class: bluetooth
  Model: "Realtek Bluetooth Radio"
  Hotplug: USB
  Vendor: usb 0x0bda "Realtek Semiconductor Corp."
  Device: usb 0xb85b "Bluetooth Radio"
  Serial ID: "00e04c000001"
  Driver: "btusb"
  Driver Modules: "btusb"
  Speed: 12 Mbps
  Module Alias: "usb:v0BDApB85Bd0000dcE0dsc01dp01icE0isc01ip01in00"
  Driver Info #0:
    Driver Status: btusb is active
    Driver Activation Cmd: "modprobe btusb"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #17 (Hub)

09: USB 00.0: 10a00 Hub
  [Created at usb.122]
  Unique ID: MtLc.d7FDLX76qXB
  Parent ID: k4bc.2DFUsyrieMD
  SysFS ID: /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0
  SysFS BusID: 1-6:1.0
  Hardware Class: hub
  Model: "Genesys Logic Hub"
  Hotplug: USB
  Vendor: usb 0x05e3 "Genesys Logic, Inc."
  Device: usb 0x0608 "Hub"
  Revision: "85.36"
  Driver: "hub"
  Driver Modules: "usbcore"
  Speed: 480 Mbps
  Module Alias: "usb:v05E3p0608d8536dc09dsc00dp01ic09isc00ip00in00"
  Driver Info #0:
    Driver Status: usbcore is active
    Driver Activation Cmd: "modprobe usbcore"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #17 (Hub)

10: USB 00.3: 0000 Unclassified device
  [Created at usb.122]
  Unique ID: HHUe.Rpc2Hp6bk7B
  Parent ID: k4bc.2DFUsyrieMD
  SysFS ID: /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.3
  SysFS BusID: 1-5:1.3
  Hardware Class: unknown
  Model: "C-Media Electronics Audio Adapter (Unitek Y-247A)"
  Hotplug: USB
  Vendor: usb 0x0d8c "C-Media Electronics, Inc."
  Device: usb 0x0014 "Audio Adapter (Unitek Y-247A)"
  Revision: "1.00"
  Driver: "usbhid"
  Driver Modules: "usbhid"
  Device File: /dev/input/event5
  Device Files: /dev/input/event5, /dev/input/by-path/pci-0000:00:14.0-usbv2-0:5:1.3-event, /dev/input/by-path/pci-0000:00:14.0-usb-0:5:1.3-event, /dev/input/by-id/usb-C-Media_Electronics_Inc._USB_Audio_Device-event-if03
  Device Number: char 13:69
  Speed: 12 Mbps
  Module Alias: "usb:v0D8Cp0014d0100dc00dsc00dp00ic03isc00ip00in03"
  Driver Info #0:
    Driver Status: usbhid is active
    Driver Activation Cmd: "modprobe usbhid"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #17 (Hub)

11: USB 00.1: 0401 Multimedia audio controller
  [Created at usb.122]
  Unique ID: NwzV.0zGQ5BCeC13
  Parent ID: k4bc.2DFUsyrieMD
  SysFS ID: /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1
  SysFS BusID: 1-5:1.1
  Hardware Class: sound
  Model: "C-Media Electronics Audio Adapter (Unitek Y-247A)"
  Hotplug: USB
  Vendor: usb 0x0d8c "C-Media Electronics, Inc."
  Device: usb 0x0014 "Audio Adapter (Unitek Y-247A)"
  Revision: "1.00"
  Driver: "snd-usb-audio"
  Driver Modules: "snd_usb_audio"
  Speed: 12 Mbps
  Module Alias: "usb:v0D8Cp0014d0100dc00dsc00dp00ic01isc02ip00in01"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #17 (Hub)

12: USB 00.0: 10a00 Hub
  [Created at usb.122]
  Unique ID: 2UT6.lRoCB54l1cE
  Parent ID: k4bc.2DFUsyrieMD
  SysFS ID: /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0
  SysFS BusID: 1-3:1.0
  Hardware Class: hub
  Model: "Genesys Logic Hub"
  Hotplug: USB
  Vendor: usb 0x05e3 "Genesys Logic, Inc."
  Device: usb 0x0610 "Hub"
  Revision: "6.63"
  Driver: "hub"
  Driver Modules: "usbcore"
  Speed: 480 Mbps
  Module Alias: "usb:v05E3p0610d0663dc09dsc00dp01ic09isc00ip00in00"
  Driver Info #0:
    Driver Status: usbcore is active
    Driver Activation Cmd: "modprobe usbcore"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #17 (Hub)

13: USB 00.0: 10600 Disk
  [Created at usb.122]
  Unique ID: hSuP.tXDbvEJvZ4B
  Parent ID: pBe4.xYNhIwdOaa6
  SysFS ID: /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0
  SysFS BusID: 2-2:1.0
  Hardware Class: disk
  Model: "JMicron Technology Corp. / JMicron External USB 3.0"
  Hotplug: USB
  Vendor: usb 0x152d "JMicron Technology Corp. / JMicron USA Technology Corp."
  Device: usb 0x0579 "External USB 3.0"
  Revision: "1.00"
  Serial ID: "2017112430265"
  Driver: "uas"
  Driver Modules: "uas"
  Module Alias: "usb:v152Dp0579d0100dc00dsc00dp00ic08isc06ip62in00"
  Driver Info #0:
    Driver Status: uas is active
    Driver Activation Cmd: "modprobe uas"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #20 (Hub)

14: USB 00.1: 10503 USB Mouse
  [Created at usb.122]
  Unique ID: 1X5p.91WXKfLRIg5
  Parent ID: MtLc.d7FDLX76qXB
  SysFS ID: /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.2/1-6.2:1.1
  SysFS BusID: 1-6.2:1.1
  Hardware Class: mouse
  Model: "HAILUCK CO.,LTD USB KEYBOARD"
  Hotplug: USB
  Vendor: usb 0x258a "HAILUCK CO.,LTD"
  Device: usb 0x000c "USB KEYBOARD"
  Revision: "1.00"
  Compatible to: int 0x0210 0x0045
  Driver: "usbhid"
  Driver Modules: "usbhid"
  Device File: /dev/input/mice (/dev/input/mouse0)
  Device Files: /dev/input/mice, /dev/input/mouse0, /dev/input/event7, /dev/input/by-path/pci-0000:00:14.0-usb-0:6.2:1.1-event-mouse, /dev/input/by-path/pci-0000:00:14.0-usbv2-0:6.2:1.1-event-mouse, /dev/input/by-id/usb-HAILUCK_CO._LTD_USB_KEYBOARD-if01-event-mouse, /dev/input/by-path/pci-0000:00:14.0-usbv2-0:6.2:1.1-mouse, /dev/input/by-path/pci-0000:00:14.0-usb-0:6.2:1.1-mouse, /dev/input/by-id/usb-HAILUCK_CO._LTD_USB_KEYBOARD-if01-mouse
  Device Number: char 13:63 (char 13:32)
  Speed: 1.5 Mbps
  Module Alias: "usb:v258Ap000Cd0100dc00dsc00dp00ic03isc00ip00in01"
  Driver Info #0:
    Buttons: 5
    Wheels: 4
    XFree86 Protocol: explorerps/2
    GPM Protocol: exps2
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #9 (Hub)

15: USB 00.0: 10503 USB Mouse
  [Created at usb.122]
  Unique ID: Sc54.FtS8OJK8n_9
  Parent ID: MtLc.d7FDLX76qXB
  SysFS ID: /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.4/1-6.4:1.0
  SysFS BusID: 1-6.4:1.0
  Hardware Class: mouse
  Model: "Kensington Orbit Trackball with Scroll Ring"
  Hotplug: USB
  Vendor: usb 0x047d "Kensington"
  Device: usb 0x2048 "Orbit Trackball with Scroll Ring"
  Revision: "1.20"
  Compatible to: int 0x0210 0x0025
  Driver: "usbhid"
  Driver Modules: "usbhid"
  Device File: /dev/input/mice (/dev/input/mouse1)
  Device Files: /dev/input/mice, /dev/input/mouse1, /dev/input/event15, /dev/input/by-path/pci-0000:00:14.0-usb-0:6.4:1.0-event-mouse, /dev/input/by-id/usb-047d_Kensington_Eagle_Trackball-event-mouse, /dev/input/by-path/pci-0000:00:14.0-usbv2-0:6.4:1.0-event-mouse, /dev/input/by-path/pci-0000:00:14.0-usbv2-0:6.4:1.0-mouse, /dev/input/by-id/usb-047d_Kensington_Eagle_Trackball-mouse, /dev/input/by-path/pci-0000:00:14.0-usb-0:6.4:1.0-mouse
  Device Number: char 13:63 (char 13:33)
  Speed: 1.5 Mbps
  Module Alias: "usb:v047Dp2048d0120dc00dsc00dp00ic03isc01ip02in00"
  Driver Info #0:
    Buttons: 5
    Wheels: 2
    XFree86 Protocol: explorerps/2
    GPM Protocol: exps2
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #9 (Hub)

17: USB 00.0: 10a00 Hub
  [Created at usb.122]
  Unique ID: k4bc.2DFUsyrieMD
  SysFS ID: /devices/pci0000:00/0000:00:14.0/usb1/1-0:1.0
  SysFS BusID: 1-0:1.0
  Hardware Class: hub
  Model: "Linux Foundation 2.0 root hub"
  Hotplug: USB
  Vendor: usb 0x1d6b "Linux Foundation"
  Device: usb 0x0002 "2.0 root hub"
  Revision: "6.07"
  Serial ID: "0000:00:14.0"
  Driver: "hub"
  Driver Modules: "usbcore"
  Speed: 480 Mbps
  Module Alias: "usb:v1D6Bp0002d0607dc09dsc00dp01ic09isc00ip00in00"
  Driver Info #0:
    Driver Status: usbcore is active
    Driver Activation Cmd: "modprobe usbcore"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

18: USB 00.0: 10a00 Hub
  [Created at usb.122]
  Unique ID: 7bWa.5ZZhlZ0Udc5
  Parent ID: pBe4.xYNhIwdOaa6
  SysFS ID: /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3:1.0
  SysFS BusID: 2-3:1.0
  Hardware Class: hub
  Model: "Genesys Logic USB3.1 Hub"
  Hotplug: USB
  Vendor: usb 0x05e3 "Genesys Logic, Inc."
  Device: usb 0x0626 "USB3.1 Hub"
  Revision: "6.63"
  Driver: "hub"
  Driver Modules: "usbcore"
  Module Alias: "usb:v05E3p0626d0663dc09dsc00dp03ic09isc00ip00in00"
  Driver Info #0:
    Driver Status: usbcore is active
    Driver Activation Cmd: "modprobe usbcore"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #20 (Hub)

20: USB 00.0: 10a00 Hub
  [Created at usb.122]
  Unique ID: pBe4.xYNhIwdOaa6
  SysFS ID: /devices/pci0000:00/0000:00:14.0/usb2/2-0:1.0
  SysFS BusID: 2-0:1.0
  Hardware Class: hub
  Model: "Linux Foundation 3.0 root hub"
  Hotplug: USB
  Vendor: usb 0x1d6b "Linux Foundation"
  Device: usb 0x0003 "3.0 root hub"
  Revision: "6.07"
  Serial ID: "0000:00:14.0"
  Driver: "hub"
  Driver Modules: "usbcore"
  Module Alias: "usb:v1D6Bp0003d0607dc09dsc00dp03ic09isc00ip00in00"
  Driver Info #0:
    Driver Status: usbcore is active
    Driver Activation Cmd: "modprobe usbcore"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
:~>

04 BASH – Scheda audio del PC vista da OpenSUSE

18 Febbraio, 2024 (22:15) | BASH, Linux | By: sargonsei

04 BASH – Scheda audio del PC vista da OpenSUSE Tumbleweed

I comandi:
inxi -SAxxx # Sistema Operativo e periferiche audio
lspci | awk '$2 == "Audio" {system("lspci -ks " $1)}' # Lista schede Audio PCI
lspci -vs 00:1f.3 # Informazioni relative a periferica PCI 00:1f.3
lsusb -vd 0d8c:0014|head -17 # Informazioni periferica USB (audio) avente vendor=0d8c e product=0014
pactl list short | grep alsa # Mostra lista periferiche ALSA connesse al PC
pactl list short sources # Mostra lista periferiche ALSA SOURCES connesse al PC
pactl list short sources | grep 'output' # Mostra lista periferiche ALSA SOURCES in grado di fornire un OUTPUT connesse al PC
sudo hwinfo --sound # Informazioni relative alla scheda audio
/usr/sbin/hwinfo --sound # Informazioni relative alla scheda audio

Esempi di output:

:~> inxi -SAxxx # Sistema Operativo e periferiche audio
System:
  Host: 192.168.1.6 Kernel: 6.7.4-1-default arch: x86_64 bits: 64
    compiler: gcc v: 13.2.1 clocksource: tsc
  Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.12 wm: kwin_x11 vt: 2
    dm: SDDM Distro: openSUSE Tumbleweed 20240216
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Realtek
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a0c8
    class-ID: 0403
  Device-2: C-Media Audio Adapter (Unitek Y-247A)
    driver: cmedia_hs100b,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
    lanes: 1 bus-ID: 1-5:4 chip-ID: 0d8c:0014 class-ID: 0300
  API: ALSA v: k6.7.4-1-default status: kernel-api with: aoss
    type: oss-emulator
  Server-1: PipeWire v: 1.0.3 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
:~> lspci | awk '$2 == "Audio" {system("lspci -ks " $1)}' # Lista schede Audio PCI
00:1f.3 Audio device: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 30)
        DeviceName: Onboard - Sound
        Subsystem: Realtek Semiconductor Co., Ltd. Device 3000
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
:~> lspci -vs 00:1f.3 # Informazioni relative a periferica PCI 00:1f.3
00:1f.3 Audio device: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 30)
        DeviceName: Onboard - Sound
        Subsystem: Realtek Semiconductor Co., Ltd. Device 3000
        Flags: bus master, fast devsel, latency 32, IRQ 139
        Memory at 6001118000 (64-bit, non-prefetchable) [size=16K]
        Memory at 6001000000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: 
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl

:~>  lsusb -vd 0d8c:0014|head -17 # Informazioni periferica USB (audio) avente vendor=0d8c e product=0014
Couldn't open device, some information will be missing

Bus 001 Device 004: ID 0d8c:0014 C-Media Electronics, Inc. Audio Adapter (Unitek Y-247A)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 [unknown]
  bDeviceSubClass         0 [unknown]
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0d8c C-Media Electronics, Inc.
  idProduct          0x0014 Audio Adapter (Unitek Y-247A)
  bcdDevice            1.00
  iManufacturer           1 C-Media Electronics Inc.
  iProduct                2 USB Audio Device
  iSerial                 0 
  bNumConfigurations      1
:~> pactl list short | grep alsa # Mostra lista periferiche ALSA connesse al PC
43      alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo      PipeWire        s16le 2ch 48000Hz       SUSPENDED
45      alsa_output.pci-0000_00_1f.3.hdmi-stereo        PipeWire        s32le 2ch 48000Hz       SUSPENDED
43      alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo.monitor      PipeWire        s16le 2ch 48000Hz       SUSPENDED
44      alsa_input.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.mono-fallback       PipeWire        s16le 1ch 48000Hz       SUSPENDED
45      alsa_output.pci-0000_00_1f.3.hdmi-stereo.monitor        PipeWire        s32le 2ch 48000Hz       SUSPENDED
41      alsa_card.usb-C-Media_Electronics_Inc._USB_Audio_Device-00      alsa
42      alsa_card.pci-0000_00_1f.3      alsa
:~> pactl list short sources # Mostra lista periferiche ALSA SOURCES connesse al PC
43      alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo.monitor      PipeWire        s16le 2ch 48000Hz       SUSPENDED
44      alsa_input.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.mono-fallback       PipeWire        s16le 1ch 48000Hz       SUSPENDED
45      alsa_output.pci-0000_00_1f.3.hdmi-stereo.monitor        PipeWire        s32le 2ch 48000Hz       SUSPENDED
:~> pactl list short sources | grep 'output' # Mostra lista periferiche ALSA SOURCES in grado di fornire un OUTPUT connesse al PC
43      alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo.monitor      PipeWire        s16le 2ch 48000Hz       SUSPENDED
45      alsa_output.pci-0000_00_1f.3.hdmi-stereo.monitor        PipeWire        s32le 2ch 48000Hz       SUSPENDED
:~> sudo hwinfo --sound # Informazioni relative alla scheda audio
19: PCI 1f.3: 0403 Audio device                                 
  [Created at pci.386]
  Unique ID: nS1_.rdW+5BseEGE
  SysFS ID: /devices/pci0000:00/0000:00:1f.3
  SysFS BusID: 0000:00:1f.3
  Hardware Class: sound
  Device Name: "Onboard - Sound"
  Model: "Intel Tiger Lake-LP Smart Sound Technology Audio Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0xa0c8 "Tiger Lake-LP Smart Sound Technology Audio Controller"
  SubVendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
  SubDevice: pci 0x3000 
  Revision: 0x30
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0x6001118000-0x600111bfff (rw,non-prefetchable)
  Memory Range: 0x6001000000-0x60010fffff (rw,non-prefetchable)
  IRQ: 139 (948 events)
  Module Alias: "pci:v00008086d0000A0C8sv000010ECsd00003000bc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Driver Info #1:
    Driver Status: snd_sof_pci_intel_tgl is active
    Driver Activation Cmd: "modprobe snd_sof_pci_intel_tgl"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

38: USB 00.1: 0401 Multimedia audio controller
  [Created at usb.122]
  Unique ID: NwzV.0zGQ5BCeC13
  Parent ID: k4bc.2DFUsyrieMD
  SysFS ID: /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.1
  SysFS BusID: 1-5:1.1
  Hardware Class: sound
  Model: "C-Media Electronics Audio Adapter (Unitek Y-247A)"
  Hotplug: USB
  Vendor: usb 0x0d8c "C-Media Electronics, Inc."
  Device: usb 0x0014 "Audio Adapter (Unitek Y-247A)"
  Revision: "1.00"
  Driver: "snd-usb-audio"
  Driver Modules: "snd_usb_audio"
  Speed: 12 Mbps
  Module Alias: "usb:v0D8Cp0014d0100dc00dsc00dp00ic01isc02ip00in01"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #44 (Hub)

:~>

03 BASH – Scheda grafica e monitor visti da OpenSUSE

18 Febbraio, 2024 (21:12) | BASH, Linux, Video | By: sargonsei

03 BASH – Scheda grafica e monitor visti da OpenSUSE Tumbleweed

inxi -SG # Sistema operativo, scheda grafica e monitor
xrandr -q # Risoluzioni video possibili ed impostate
lspci | awk '$2 == "VGA" {system("lspci -vs " $1)}' # Informazioni relative alla scheda grafica PCI
/usr/sbin/hwinfo --monitor # Informazioni dettagliate relative al monitor
sudo hwinfo --monitor # Informazioni dettagliate relative al monitor

Esempi di output:

:~> inxi -SG # Sistema operativo, scheda grafica e monitor
System:
  Host: 192.168.1.6 Kernel: 6.7.4-1-default arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 5.27.10 Distro: openSUSE Tumbleweed 20240216
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] driver: i915 v: kernel
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915
    resolution: 1360x768~60Hz
  API: EGL v: 1.5 drivers: iris,swrast platforms: x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 23.3.5
    renderer: Mesa Intel Xe Graphics (TGL GT2)
  API: Vulkan v: 1.3.275 drivers: N/A surfaces: xcb,xlib
:~> xrandr -q # Risoluzioni video possibili ed impostate
Screen 0: minimum 320 x 200, current 1360 x 768, maximum 16384 x 16384
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 connected primary 1360x768+0+0 (normal left inverted right x axis y axis) 1600mm x 900mm
   1360x768      60.37*+
   1920x1080     60.00    50.00    59.94
   1280x1024     60.02
   1280x720      60.61    60.00    50.00    59.94
   1024x768      60.00
   800x600       60.32
   720x576       50.00
   720x480       60.00    59.94
   640x480       60.00    59.94
:~> lspci | awk '$2 == "VGA" {system("lspci -vs " $1)}' # Informazioni relative alla scheda grafica PCI
00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 03) (prog-if 00 [VGA controller])
        DeviceName: Onboard - Video
        Subsystem: Intel Corporation Device 2212
        Flags: bus master, fast devsel, latency 0, IRQ 136
        Memory at 6000000000 (64-bit, non-prefetchable) [size=16M]
        Memory at 4000000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 5000 [size=64]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: 
        Kernel driver in use: i915
        Kernel modules: i915

:~> sudo hwinfo --monitor # Informazioni dettagliate relative al monitor
[sudo] password di root:
32: None 00.0: 10002 LCD Monitor
  [Created at monitor.125]
  Unique ID: rdCR.RhibC2Mxnv3
  Parent ID: _Znp.DSVSd+ZMZj1
  Hardware Class: monitor
  Model: "LCD TV"
  Vendor: ___
  Device: eisa 0x9000 "LCD TV"
  Serial ID: "15"
  Resolution: 640x480@60Hz
  Resolution: 800x600@60Hz
  Resolution: 1024x768@60Hz
  Resolution: 640x480@60Hz
  Resolution: 800x600@60Hz
  Resolution: 1024x768@60Hz
  Resolution: 1280x1024@60Hz
  Resolution: 1280x720@60Hz
  Resolution: 1360x768@60Hz
  Size: 1600x900 mm
  Year of Manufacture: 2008
  Week of Manufacture: 1
  Detailed Timings #0:
     Resolution: 1360x768
     Horizontal: 1360 1424 1536 1792 (+64 +176 +432) +hsync
       Vertical:  768  771  777  795 (+3 +9 +27) +vsync
    Frequencies: 86.00 MHz, 47.99 kHz, 60.37 Hz
  Year of Manufacture: 2008
  Week of Manufacture: 1
  Detailed Timings #1:
     Resolution: 1280x720
     Horizontal: 1280 1390 1430 1650 (+110 +150 +370) +hsync
       Vertical:  720  725  730  750 (+5 +10 +30) +vsync
    Frequencies: 75.00 MHz, 45.45 kHz, 60.61 Hz
  Driver Info #0:
    Max. Resolution: 1280x1024
    Vert. Sync Range: 48-62 Hz
    Hor. Sync Range: 14-68 kHz
    Bandwidth: 86 MHz
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #27 (VGA compatible controller)
:~>

02 BASH – Le periferiche e i bus PCI visti da OpenSUSE.

18 Febbraio, 2024 (16:03) | BASH, Linux | By: sargonsei

02 BASH – Le periferiche e i bus PCI visti da OpenSUSE Tumbleweed.

Se l’ output è incompleto, impartire i comandi in modalità Super Utente.
I comandi:
lspci -k # Lista connettore PCI + Periferiche + Driver
lspci | awk '$2 == "VGA" {system("lspci -vs " $1)}' # Lista schede video PCI (VGA)
lspci | awk '$2 == "Audio" {system("lspci -vs " $1)}' # Lista schede Audio PCI
lspci | awk '$2 == "Ethernet" {system("lspci -vs " $1)}' # Lista schede Ethernet
lspci | awk '$2 == "Network" {system("lspci -vs " $1)}' # Lista schede Network
lspci | awk '$2 == "RAM" {system("lspci -vs " $1)}' # Lista schede RAM
lspci | awk '$2 == "SATA" {system("sudo lspci -vs " $1)}' # Lista schede SATA
lspci | awk '$2 == "USB" {system("lspci -vs " $1)}' # Lista schede USB
sudo lspci -vs AA:BB.C # Informazioni relative a periferica PCI AA:BB.C

Esempi di output:

:~> lspci -k # Lista connettore PCI + Periferiche + Driver
00:00.0 Host bridge: Intel Corporation 11th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
        DeviceName: Onboard - Other
        Subsystem: Intel Corporation Device 7270
        Kernel modules: igen6_edac
00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 03)
        DeviceName: Onboard - Video
        Subsystem: Intel Corporation Device 2212
        Kernel driver in use: i915
        Kernel modules: i915
00:08.0 System peripheral: Intel Corporation GNA Scoring Accelerator module (rev 02)
        DeviceName: Onboard - Other
        Subsystem: Intel Corporation Device 7270
00:0a.0 Signal processing controller: Intel Corporation Tigerlake Telemetry Aggregator Driver (rev 01)
        DeviceName: Onboard - Other
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: intel_vsec
        Kernel modules: intel_vsec
00:14.0 USB controller: Intel Corporation Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller (rev 30)
        DeviceName: Onboard - Other
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
00:14.2 RAM memory: Intel Corporation Tiger Lake-LP Shared SRAM (rev 30)
        DeviceName: Onboard - Other
        Subsystem: Intel Corporation Device 7270
00:15.0 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #0 (rev 30)
        DeviceName: Onboard - Other
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:15.2 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #2 (rev 30)
        DeviceName: Onboard - Other
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:15.3 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #3 (rev 30)
        DeviceName: Onboard - Other
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:16.0 Communication controller: Intel Corporation Tiger Lake-LP Management Engine Interface (rev 30)
        DeviceName: Onboard - Other
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Tiger Lake-LP SATA Controller (rev 30)
        DeviceName: Onboard - SATA
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: ahci
        Kernel modules: ahci
00:19.0 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #4 (rev 30)
        DeviceName: Onboard - Other
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:19.1 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #5 (rev 30)
        DeviceName: Onboard - Other
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:1c.0 PCI bridge: Intel Corporation Tiger Lake-LP PCI Express Root Port #5 (rev 30)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: pcieport
00:1d.0 PCI bridge: Intel Corporation Tiger Lake-LP PCI Express Root Port #9 (rev 30)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: pcieport
00:1d.1 PCI bridge: Intel Corporation Tiger Lake-LP PCI Express Root Port #10 (rev 30)
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: pcieport
00:1e.0 Communication controller: Intel Corporation Tiger Lake-LP Serial IO UART Controller #0 (rev 30)
        DeviceName: Onboard - Other
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:1e.3 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO SPI Controller #1 (rev 30)
        DeviceName: Onboard - Other
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:1f.0 ISA bridge: Intel Corporation Tiger Lake-LP LPC Controller (rev 30)
        DeviceName: Onboard - Other
        Subsystem: Intel Corporation Device 7270
00:1f.3 Audio device: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 30)
        DeviceName: Onboard - Sound
        Subsystem: Realtek Semiconductor Co., Ltd. Device 3000
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
00:1f.4 SMBus: Intel Corporation Tiger Lake-LP SMBus Controller (rev 30)
        DeviceName: Onboard - Other
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
00:1f.5 Serial bus controller: Intel Corporation Tiger Lake-LP SPI Controller (rev 30)
        DeviceName: Onboard - Other
        Subsystem: Intel Corporation Device 7270
        Kernel driver in use: intel-spi
        Kernel modules: spi_intel_pci
01:00.0 Non-Volatile memory controller: MAXIO Technology (Hangzhou) Ltd. NVMe SSD Controller MAP1202 (DRAM-less) (rev 01)
        Subsystem: MAXIO Technology (Hangzhou) Ltd. NVMe SSD Controller MAP1202 (DRAM-less)
        Kernel driver in use: nvme
        Kernel modules: nvme
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)
        Subsystem: Realtek Semiconductor Co., Ltd. Device 0123
        Kernel driver in use: r8169
        Kernel modules: r8169
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax Wireless Network Controller
        Subsystem: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax Wireless Network Controller
        Kernel driver in use: rtw89_8852be
        Kernel modules: rtw89_8852be
:~> lspci | awk '$2 == "VGA" {system("lspci -vs " $1)}' # Lista schede video PCI (VGA)
00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 03) (prog-if 00 [VGA controller])
        DeviceName: Onboard - Video
        Subsystem: Intel Corporation Device 2212
        Flags: bus master, fast devsel, latency 0, IRQ 136
        Memory at 6000000000 (64-bit, non-prefetchable) [size=16M]
        Memory at 4000000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 5000 [size=64]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: 
        Kernel driver in use: i915
        Kernel modules: i915

:~> lspci | awk '$2 == "Audio" {system("lspci -vs " $1)}' # Lista schede Audio PCI
00:1f.3 Audio device: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 30)
        DeviceName: Onboard - Sound
        Subsystem: Realtek Semiconductor Co., Ltd. Device 3000
        Flags: bus master, fast devsel, latency 32, IRQ 139
        Memory at 6001118000 (64-bit, non-prefetchable) [size=16K]
        Memory at 6001000000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: 
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl

:~> lspci | awk '$2 == "USB" {system("lspci -vs " $1)}' # Lista schede USB
00:14.0 USB controller: Intel Corporation Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller (rev 30) (prog-if 30 [XHCI])
        DeviceName: Onboard - Other
        Subsystem: Intel Corporation Device 7270
        Flags: bus master, medium devsel, latency 0, IRQ 125
        Memory at 6001100000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: 
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

:~> lspci | awk '$2 == "Ethernet" {system("lspci -vs " $1)}' # Lista schede Ethernet
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)
        Subsystem: Realtek Semiconductor Co., Ltd. Device 0123
        Flags: bus master, fast devsel, latency 0, IRQ 16
        I/O ports at 4000 [size=256]
        Memory at 80504000 (64-bit, non-prefetchable) [size=4K]
        Memory at 80500000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: 
        Kernel driver in use: r8169
        Kernel modules: r8169

:~> lspci | awk '$2 == "Network" {system("lspci -vs " $1)}' # Lista schede Network
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax Wireless Network Controller
        Subsystem: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax Wireless Network Controller
        Flags: bus master, fast devsel, latency 0, IRQ 140
        I/O ports at 3000 [size=256]
        Memory at 80400000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: 
        Kernel driver in use: rtw89_8852be
        Kernel modules: rtw89_8852be

:~> lspci | awk '$2 == "RAM" {system("lspci -vs " $1)}' # Lista schede RAM
00:14.2 RAM memory: Intel Corporation Tiger Lake-LP Shared SRAM (rev 30)
        DeviceName: Onboard - Other
        Subsystem: Intel Corporation Device 7270
        Flags: fast devsel
        Memory at 600111c000 (64-bit, non-prefetchable) [disabled] [size=16K]
        Memory at 6001129000 (64-bit, non-prefetchable) [disabled] [size=4K]
        Capabilities: 

:~> lspci | awk '$2 == "SATA" {system("lspci -vs " $1)}' # Lista schede SATA
00:17.0 SATA controller: Intel Corporation Tiger Lake-LP SATA Controller (rev 30) (prog-if 01 [AHCI 1.0])
        DeviceName: Onboard - SATA
        Subsystem: Intel Corporation Device 7270
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 135
        Memory at 80700000 (32-bit, non-prefetchable) [size=8K]
        Memory at 80703000 (32-bit, non-prefetchable) [size=256]
        I/O ports at 5090 [size=8]
        I/O ports at 5080 [size=4]
        I/O ports at 5060 [size=32]
        Memory at 80702000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: 
        Kernel driver in use: ahci
        Kernel modules: ahci

:~>

01 BASH – Tutto l’hardware del PC visto da OpenSUSE

18 Febbraio, 2024 (15:05) | BASH, Linux | By: sargonsei

01 BASH – Tutto l’hardware del PC visto da OpenSUSE Tumbleweed

Per avere una lista di tutto l’hardware del PC, occorre aprire un terminale e impartire uno di questi comandi:
inxi -Fz # Visualizza l'hardware del computer, tranne i dati personali
sudo dmidecode # Visualizza tutto l'hardware del computer
/usr/sbin/hwinfo # Visualizza tutto l'hardware del computer
sudo hwinfo # Visualizza tutto l'hardware del computer

Il primo comando, consente di visualizzare in poche decine di righe un riassunto di tutto l’hardware e del Sistema Operativo in uso, omettendo i dati personali che potrebbero consentire l’individuazione univoca del computer ovvero del luogo in cui il computer si trova; la brevità e la riservatezza di questo comando, ne consentono la pubblicazione dell’output senza rischi per l’utente.
Qualora l’utente non sia interessato alla riservatezza, può omettere il parametro [z].
Qualora l’utente desideri un output più o meno dettagliato, può impartire il comando da amministratore e/o sostituire il parametro [F] con altri parametri che forniscono l’output desiderato; per esempio:
sudo inxi -SMmCzxxx # Visualizza dettagliatamente dati del Sistema Operativo e della macchina, tranne i dati personali
sudo inxi -v7xxx # Visualizza dettagliatamente tutto l'hardware del computer, compresi i dati personali
inxi -Snxxx # Visualizza dettagliatamente dati del Sistema Operativo e della connessione ad internet, compresi i dati personali.

Siccome l’output dei comandi dmidecode ed hwinfo è spesso troppo lungo per essere visualizzato per intero nel terminale, si consiglia di usare i comandi
sudo dmidecode > dmidecode.txt # Crea il file di testo [dmidecode.txt] contenente l'output del comando [sudo dmidecode]
sudo hwinfo > hwinfo.txt # Crea il file di testo [hwinfo.txt] contenente l'output del comando [sudo hwinfo]
e poi di visualizzare il contenuto dei files di testo così prodotti.

Esempi di output:

:~> inxi -Fz # Visualizza l'hardware del computer, tranne i dati personali
System:
  Kernel: 6.7.4-1-default arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 5.27.10 Distro: openSUSE Tumbleweed 20240216
Machine:
  Type: Desktop Mobo: N/A model: N/A serial: 
    UEFI: American Megatrends LLC. v: 5.19 date: 02/01/2023
CPU:
  Info: quad core model: 11th Gen Intel Core i7-11390H bits: 64 type: MT MCP
    cache: L2: 5 MiB
  Speed (MHz): avg: 400 min/max: 400/5000:4800 cores: 1: 400 2: 400 3: 400
    4: 400 5: 400 6: 400 7: 400 8: 400
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] driver: i915 v: kernel
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915
    resolution: 1360x768~60Hz
  API: EGL v: 1.5 drivers: iris,swrast platforms: x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 23.3.5
    renderer: Mesa Intel Xe Graphics (TGL GT2)
  API: Vulkan v: 1.3.275 drivers: N/A surfaces: xcb,xlib
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio driver: snd_hda_intel
  Device-2: C-Media Audio Adapter (Unitek Y-247A)
    driver: cmedia_hs100b,snd-usb-audio,usbhid type: USB
  API: ALSA v: k6.7.4-1-default status: kernel-api
  Server-1: PipeWire v: 1.0.3 status: active
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: enp2s0 state: down mac: 
  Device-2: Realtek RTL8852BE PCIe 802.11ax Wireless Network
    driver: rtw89_8852be
  IF: wlp3s0 state: up mac: 
Bluetooth:
  Device-1: Realtek Bluetooth Radio driver: btusb type: USB
  Report: btmgmt ID: hci0 state: up address:  bt-v: 5.3
Drives:
  Local Storage: total: 1.38 TiB used: 187.04 GiB (13.3%)
  ID-1: /dev/nvme0n1 vendor: CYX model: SSD-C1000 size: 476.94 GiB
  ID-2: /dev/sda vendor: Western Digital model: WD10SPZX-22Z10T1
    size: 931.51 GiB type: USB
Partition:
  ID-1: / size: 48.91 GiB used: 9.85 GiB (20.1%) fs: ext4 dev: /dev/nvme0n1p4
  ID-2: /boot/efi size: 96 MiB used: 42.1 MiB (43.8%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 49.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB note: est. available: 15.4 GiB used: 2.73 GiB (17.7%)
  Processes: 249 Uptime: 1h 33m Shell: Bash inxi: 3.3.33
:~> sudo inxi -SMmCzxxx # Visualizza dettagliatamente dati del Sistema Operativo e della macchina, tranne i dati personali
[sudo] password di root:
System:
  Kernel: 6.7.4-1-default arch: x86_64 bits: 64 compiler: gcc v: 13.2.1 clocksource: tsc
  Console: pty pts/3 DM: SDDM Distro: openSUSE Tumbleweed 20240216
Machine:
  Type: Desktop Mobo: N/A model: N/A serial: N/A uuid: 03000200-0400-0500-0006-000700080009
    UEFI: American Megatrends LLC. v: 5.19 date: 02/01/2023
Memory:
  System RAM: total: 16 GiB available: 15.4 GiB used: 2.71 GiB (17.6%) igpu: 60 MiB
  Array-1: capacity: 64 GiB slots: 2 modules: 2 EC: None max-module-size: 32 GiB note: est.
  Device-1: Controller0-ChannelA-DIMM0 type: DDR4 detail: synchronous size: 8 GiB speed:
    spec: 2667 MT/s actual: 2400 MT/s volts: 1.2 width (bits): data: 64 total: 64
    manufacturer: Kimtigo Semiconductor (HK) Limited part-no: KTB900D4S8-8GB serial: 
  Device-2: Controller1-ChannelA-DIMM0 type: DDR4 detail: synchronous size: 8 GiB speed:
    spec: 2667 MT/s actual: 2400 MT/s volts: 1.2 width (bits): data: 64 total: 64
    manufacturer: Kimtigo Semiconductor (HK) Limited part-no: KTB900D4S8-8GB serial: 
CPU:
  Info: quad core model: 11th Gen Intel Core i7-11390H bits: 64 type: MT MCP smt: enabled
    arch: Tiger Lake rev: 2 cache: L1: 320 KiB L2: 5 MiB L3: 12 MiB
  Speed (MHz): avg: 400 min/max: 400/5000:4800 volts: 0.9 V ext-clock: 100 MHz cores: 1: 400
    2: 400 3: 400 4: 400 5: 400 6: 400 7: 400 8: 400 bogomips: 54696
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
:~>